/* Full-window heroes, stronger contrast, and a single navigation treatment. */
.article {
    padding-top: 0
}

.article-hero,
.static-admin-hero,
.record-editor-hero {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4rem max(5vw, calc((100vw - 1160px)/2));
    background: linear-gradient(115deg, #214a3e, #46654a);
    color: #fff7e7;
    border-radius: 0;
    margin-bottom: 3rem
}

.article-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 3rem
}

.article .article-hero h1 {
    font-size: clamp(2.5rem, 4.4vw, 4.6rem);
    line-height: 1.07;
    color: #fff8e8;
    letter-spacing: -.045em
}

.site-main .article-hero .meta {
    color: #ffdfaa
}

.article-hero .article-image {
    width: 100%;
    height: auto;
    max-height: min(60vh, 520px);
    object-fit: contain;
    object-position: center;
    background: #123c36;
    border-radius: 8px;
    box-shadow: 0 15px 50px #102b3540
}

.static-admin {
    padding-top: 0
}

.static-admin-hero .eyebrow {
    color: #ffdaa5
}

.static-admin-hero h1 {
    color: #fff8e8
}

.record-editor-hero h1 {
    color: #fff8e8
}

.record-editor-hero .eyebrow,
.record-editor-hero .editor-back {
    color: #ffdda5
}

.record-editor-hero p {
    color: #f0f4e7
}

.donate-page {
    display: block
}

.donate-story {
    min-height: 420px;
    padding: 4rem max(5vw, calc((100vw - 1160px)/2));
    gap: 2rem
}

    .donate-story > div {
        max-width: 900px
    }

.donate-panel {
    padding: 3rem 5vw
}

.donate-card {
    width: min(100%, 620px)
}

.login-page {
    grid-template-columns: 1fr
}

.login-story {
    padding: 3rem max(5vw, calc((100vw - 1160px)/2));
    min-height: 360px
}

.login-story-copy {
    max-width: 850px
}

    .login-story-copy h1 {
        font-size: clamp(3rem, 5vw, 4.5rem)
    }

.login-quote {
    display: none
}

.login-panel {
    padding: 3rem 5vw
}

.login-card {
    width: min(100%, 520px)
}

@media(max-width:760px) {
    .article-hero {
        grid-template-columns: 1fr;
        padding: 3rem 6vw;
        gap: 1.5rem
    }

        .article-hero .article-image {
            max-height: 360px
        }

    .static-admin-hero,
    .record-editor-hero {
        padding: 3rem 6vw
    }

    .donate-story,
    .login-story {
        padding: 3rem 6vw
    }

    .article .article-hero h1 {
        font-size: 2.7rem
    }
}

html {
    overflow-x: clip
}

.site-main {
    overflow: visible;
    --muted: #40564d
}

.site-header.rich-header {
    background: #143f3a !important;
    border-bottom: 1px solid #ffffff19;
    z-index: 30
}

    .site-header.rich-header .brand img {
        width: 54px !important;
        height: 54px !important;
        transform: none !important;
        filter: none !important
    }

    .site-header.rich-header .brand {
        gap: .5rem !important
    }

        .site-header.rich-header .brand span {
            margin-left: 0 !important
        }

.rich-header nav {
    letter-spacing: .025em
}

    .rich-header nav a {
        color: #f5f6ec !important
    }

    .rich-header nav .nav-login {
        color: #143f3a !important
    }

    .rich-header nav .nav-studio {
        background: #c99859;
        color: #152f28 !important;
        border-color: #c99859
    }

        .rich-header nav .nav-studio:hover {
            background: #e9bb7f;
            color: #152f28 !important
        }

.rich-header .menu-toggle span {
    background: #fff5e4
}

.story-dropdown-toggle {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    color: #fff6e6;
    padding: .8rem .7rem;
    border: 1px solid transparent;
    transition: background .2s, border-color .2s
}

    .story-dropdown-toggle:hover,
    .story-dropdown-toggle[aria-expanded=true] {
        background: #ffffff0c;
        border-color: #ffffff30
    }

    .story-dropdown-toggle > span {
        display: inline-block;
        width: .55rem;
        height: .55rem;
        margin-left: .12rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        font-size: 0;
        line-height: 0;
        transform: translateY(-.16rem) rotate(45deg);
        transition: transform .2s
    }

    .story-dropdown-toggle[aria-expanded=true] > span {
        transform: translateY(.08rem) rotate(225deg)
    }

.story-dropdown-links {
    top: calc(100% + 1rem);
    left: -1rem;
    width: 330px;
    min-width: 0;
    padding: 1.2rem;
    background: #143b34;
    border: 1px solid #698775;
    border-radius: 14px;
    box-shadow: 0 24px 65px #071b2855;
    animation: dropdownEnter .18s ease both
}

.story-dropdown-caption {
    margin: 0;
    padding: .1rem .4rem .8rem;
    color: #efc590;
    font-size: .6rem;
    letter-spacing: .1em;
    line-height: 1.6
}

.rich-header .story-dropdown-links a {
    display: grid;
    grid-template-columns: 25px 1fr 18px;
    gap: .7rem;
    align-items: center;
    padding: 1rem .6rem;
    border-radius: 7px;
    color: #fff8ec !important;
    letter-spacing: 0;
    text-transform: none;
    border-top: 1px solid #ffffff15
}

    .rich-header .story-dropdown-links a:hover,
    .rich-header .story-dropdown-links a.active {
        background: #2d5545;
        color: #fff !important;
        transform: none
    }

    .rich-header .story-dropdown-links a:after {
        display: none
    }

.story-link-number {
    color: #edc28a;
    font: 400 .7rem 'DM Mono', monospace
}

.story-dropdown-links strong {
    display: block;
    font-size: .95rem;
    line-height: 1.4
}

.story-dropdown-links small {
    display: block;
    color: #d5e5d4;
    font-weight: 400;
    font-size: .75rem;
    margin-top: .25rem;
    line-height: 1.5
}

.story-dropdown-links a > span:last-child {
    color: #efc590;
    font-size: 1.1rem
}

@keyframes dropdownEnter {
    from {
        opacity: 0;
        transform: translateY(-5px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* The content stays aligned to the site grid while backgrounds reach both window edges. */
.new-home-hero,
.resource-hero,
.purpose-hero,
.collection-hero,
.topics-hero,
.news-hero,
.admin-hero,
.contact-hero {
    width: auto;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    padding-left: max(5vw, calc((100vw - 1160px)/2));
    padding-right: max(5vw, calc((100vw - 1160px)/2))
}

.new-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(250px, .7fr);
    align-items: center;
    gap: 4rem;
    min-height: 730px;
    min-height: clamp(680px, 88svh, 950px);
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: #25473c;
    animation: none
}

.home-hero-landscape {
    position: absolute;
    z-index: -3;
    inset: -4%;
    background: url('images/hero-path-v1.jpg') center 62%/cover no-repeat;
    animation: landscapeDrift 28s ease-in-out infinite alternate
}

.new-home-hero:before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(90deg, #133c36ef 0%, #224b3cce 38%, #244b3b65 68%, #765b2c25 100%), linear-gradient(0deg, #14382bb8, transparent 55%);
    pointer-events: none
}

.new-home-hero:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, #f6d49138, transparent 55%);
    pointer-events: none
}

.home-hero-halo {
    position: absolute;
    right: -9%;
    top: 4%;
    width: 660px;
    aspect-ratio: 1;
    border: 1px solid #ffe2a538;
    border-radius: 50%;
    box-shadow: 0 0 0 65px #ffe2a508, 0 0 0 130px #ffe2a505;
    pointer-events: none;
    z-index: -1;
    animation: haloBreathe 13s ease-in-out infinite alternate
}

.new-home-copy {
    max-width: 780px;
    position: relative;
    z-index: 2
}

    .new-home-copy .eyebrow {
        color: #ffdda5;
        letter-spacing: .19em;
        font-weight: 700;
        font-size: .72rem;
        margin-bottom: 1.7rem
    }

    .new-home-copy h1 {
        color: #fff8e9;
        font-size: clamp(3.8rem, 6.1vw, 6.25rem);
        line-height: 1.06;
        letter-spacing: -.05em;
        text-shadow: 0 3px 28px #123c3650;
        max-width: 800px;
        margin-bottom: 1.8rem
    }

    .new-home-copy .new-home-lead {
        color: #f0f4e8;
        font-size: 1.12rem;
        line-height: 1.9;
        max-width: 560px
    }

    .new-home-copy .hero-actions {
        display: flex;
        gap: 1.5rem;
        align-items: center;
        position: relative;
        z-index: 3
    }

    .new-home-copy .hero-button {
        background: #f1c583;
        color: #153a2c;
        border: 1px solid #f1c583;
        border-radius: 5px;
        padding: 1rem 1.35rem;
        font-weight: 700;
        box-shadow: 0 8px 24px #15352830
    }

        .new-home-copy .hero-button:hover {
            background: #ffdfac;
            transform: translateY(-3px)
        }

    .new-home-copy .text-button {
        color: #fff8e9 !important;
        border-bottom: 1px solid #f3d8ad;
        padding: .6rem 0;
        font-weight: 600;
        font-size: .87rem
    }

        .new-home-copy .text-button:hover {
            color: #ffdda5 !important
        }

.new-home-hero .founder-portrait {
    align-self: end;
    justify-self: center;
    width: 270px;
    padding: .65rem .65rem 0;
    margin: 0 0 1rem;
    max-width: 100%;
    background: #fff8ea;
    box-shadow: 0 24px 80px #082a2850;
    border: 1px solid #fff9e9c9;
    border-radius: 8px;
    transform: rotate(4deg);
    animation: founderCardFloat 8s ease-in-out infinite;
    z-index: 2
}

    .new-home-hero .founder-portrait:before {
        display: none
    }

    .new-home-hero .founder-portrait img {
        height: 285px;
        border-radius: 4px;
        object-fit: cover;
        object-position: 50% 30%;
        filter: none
    }

    .new-home-hero .founder-portrait figcaption {
        position: static;
        margin: 0;
        padding: 1rem .5rem 1.2rem;
        background: transparent;
        color: #244136;
        font-size: .78rem;
        line-height: 1.6;
        letter-spacing: 0;
        font-weight: 600
    }

.new-home-hero .portrait-orbit {
    font-size: 3.5rem;
    top: -1.7rem;
    right: -1.2rem;
    color: #f7d49d;
    text-shadow: 0 3px 12px #19453340
}

@keyframes landscapeDrift {
    from {
        transform: scale(1.02) translateX(-.6%)
    }

    to {
        transform: scale(1.08) translateX(.6%)
    }
}

@keyframes founderCardFloat {

    0%, 100% {
        transform: translateY(0) rotate(4deg)
    }

    50% {
        transform: translateY(-13px) rotate(2deg)
    }
}

@keyframes haloBreathe {
    from {
        transform: scale(.94);
        opacity: .55
    }

    to {
        transform: scale(1.06);
        opacity: 1
    }
}

.purpose-hero {
    min-height: 500px;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(115deg, #20483d, #3f634b 70%, #79835c);
    color: #fff5e3;
    gap: 5rem
}

    .purpose-hero h1 {
        color: #fff8eb
    }

    .purpose-hero .eyebrow {
        color: #ffdaa0
    }

    .purpose-hero > div > p:not(.eyebrow) {
        color: #f1f4e7
    }

    .purpose-hero .purpose-art {
        width: 330px;
        max-width: 100%;
        justify-self: end;
        background: #ffffff0d;
        border: 1px solid #f1dab44a
    }

.purpose-art > span {
    color: #e7bd80
}

.purpose-art i {
    color: #fff2da
}

.collection-hero,
.news-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 75% 0, #62826385, transparent 60%), linear-gradient(110deg, #1b433b, #345c46);
    padding-top: 4.5rem;
    padding-bottom: 4rem;
    min-height: 400px;
    color: #fff8e9
}

    .collection-hero h1,
    .news-hero h1 {
        color: #fff8e9
    }

    .collection-hero .eyebrow,
    .news-hero .eyebrow {
        color: #ffdc9f
    }

    .collection-hero > p:not(.eyebrow),
    .news-hero > p:not(.eyebrow) {
        color: #eff5e8;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto
    }

.collection-switch {
    position: relative;
    z-index: 2;
    gap: .35rem;
    padding: .35rem;
    background: #102f29;
    border: 1px solid #b1c9ae6b;
    border-radius: 9px;
    width: fit-content;
    margin: 2rem auto 0;
    flex-wrap: wrap
}

    .collection-switch a {
        border: 0;
        border-radius: 5px;
        color: #f5f5e8;
        padding: .9rem 1.4rem;
        font-weight: 700;
        cursor: pointer;
        pointer-events: auto;
        transition: background .18s, color .18s
    }

        .collection-switch a.selected {
            background: #edc78c;
            color: #193c2d;
            box-shadow: 0 3px 8px #051a1a25
        }

        .collection-switch a:hover:not(.selected) {
            background: #365e4d;
            color: #fff
        }

.collection-search {
    margin-top: 2.5rem
}

.resource-hero {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 510px;
    padding-top: 0;
    padding-bottom: 0
}

    .resource-hero > div {
        padding: 4.5rem 0;
        max-width: 700px
    }

    .resource-hero:after {
        background: linear-gradient(90deg, #0c2e2ce8, #153d319c 53%, #1b3c2929)
    }

    .resource-hero h1 {
        color: #fff9e9;
        font-size: clamp(3.3rem, 5.4vw, 5.6rem)
    }

    .resource-hero p:not(.eyebrow) {
        color: #f4f4e9;
        max-width: 540px
    }

    .resource-hero .eyebrow {
        color: #ffe0ad
    }

.resource-urgent {
    background: #244c3e;
    color: #fff6e5;
    border-color: #66856b;
    padding: 1.7rem 2rem
}

    .resource-urgent > span {
        color: #f0c184
    }

    .resource-urgent h2 {
        color: #fff7e8
    }

    .resource-urgent p {
        color: #edf3e8
    }

    .resource-urgent a {
        color: #ffdea8
    }

.resource-directory .section-head > p {
    color: #344c40
}

.resource-controls {
    background: #214539;
    border-color: #385d48;
    padding: 1.5rem
}

    .resource-controls label {
        color: #fff5df
    }

    .resource-controls input,
    .resource-controls select {
        color: #172f25;
        background: #fffdf5;
        border-color: #a8bea0
    }

        .resource-controls input::placeholder {
            color: #586653;
            opacity: 1
        }

.resource-count {
    color: #334d3a;
    font-weight: 600
}

.resource-category > h3 {
    color: #234431;
    border-bottom-color: #8fa783
}

.resource-card {
    border-color: #bdccb4;
    background: #fffdf5;
    box-shadow: 0 4px 14px #193e2a08
}

    .resource-card h4 {
        color: #243c2c
    }

    .resource-card p,
    .resource-card a {
        color: #245031
    }

.resource-card-mark {
    color: #466b35
}

.resource-category:nth-of-type(even) {
    background: #234839;
    padding: 2rem;
    border-radius: 8px;
    margin-left: -2rem;
    margin-right: -2rem
}

    .resource-category:nth-of-type(even) > h3 {
        color: #ffedcd;
        border-bottom-color: #89a57d75
    }

    .resource-category:nth-of-type(even) .resource-card {
        background: #315442;
        border-color: #6b8b5e;
        box-shadow: none
    }

        .resource-category:nth-of-type(even) .resource-card h4 {
            color: #fff9e9
        }

        .resource-category:nth-of-type(even) .resource-card p,
        .resource-category:nth-of-type(even) .resource-card a {
            color: #f4deb3
        }

    .resource-category:nth-of-type(even) .resource-card-mark {
        color: #edc587
    }

    .resource-category:nth-of-type(even) .resource-card:hover {
        background: #3a604a;
        border-color: #adc08d
    }

.resource-connection {
    background: #234939;
    color: #fff6e4;
    border-left: 5px solid #d8ae72
}

    .resource-connection h2 {
        color: #fff6e4
    }

    .resource-connection .eyebrow {
        color: #f0ca90
    }

    .resource-connection p {
        color: #f0f4e6
    }

    .resource-connection a {
        color: #ffdfa7
    }

    .resource-connection small {
        color: #e1e9d7
    }

.resource-disclaimer {
    color: #3f513c
}

.founder-intro p,
.founder-intro .intro-large,
.value-grid p,
.home-invitation > p:not(.eyebrow),
.purpose-detail > p {
    color: #344c3f
}

.site-main .meta {
    color: #465d4f
}

.site-main .eyebrow {
    font-weight: 600
}

.home-values .section-head > span {
    color: #566d42
}

.home-post > p:not(.meta) {
    color: #3b5145
}

.journal-card > div > p:not(.meta) {
    color: #3b5145
}

.static-admin > p,
.studio-library > p,
.static-group summary span {
    color: #3b543a
}

.static-field-actions span {
    color: #31542d
}

.footer-intro > p {
    color: #d5e5d9
}

.footer-bottom {
    color: #cadccf
}

.resource-card a:focus-visible,
.collection-switch a:focus-visible,
.rich-header nav a:focus-visible {
    outline: 3px solid #dba559;
    outline-offset: 4px
}

.topics-hero {
    padding: 0;
    grid-template-columns: 1fr 1fr
}

    .topics-hero > div {
        padding-left: 5vw;
        padding-right: max(5vw, calc((100vw - 1160px)/2))
    }

.admin-hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem
}

.contact-hero {
    padding-top: 4rem;
    padding-bottom: 4rem
}

@media(max-width:1150px) and (min-width:761px) {
    .new-home-hero {
        grid-template-columns: minmax(0, 1.5fr) minmax(220px, .6fr);
        gap: 2rem
    }

    .new-home-copy h1 {
        font-size: clamp(3.5rem, 6.4vw, 5.5rem)
    }

    .new-home-hero .founder-portrait {
        width: 230px
    }

        .new-home-hero .founder-portrait img {
            height: 250px
        }

    .purpose-hero {
        gap: 2rem
    }

        .purpose-hero .purpose-art {
            width: 280px
        }
}

@media(max-width:760px) {
    .site-header.rich-header {
        padding: .85rem 5vw
    }

        .site-header.rich-header .brand img {
            width: 42px !important;
            height: 42px !important
        }

    .rich-header nav {
        background: #143f3a;
        border-color: #ffffff30
    }

    .rich-header.menu-open nav {
        gap: .4rem .8rem
    }

    .rich-header nav a {
        color: #fff6e7 !important
    }

    .rich-header nav .nav-login {
        color: #143f3a !important
    }

    .story-dropdown {
        grid-column: 1/-1
    }

    .story-dropdown-toggle {
        font-size: .8rem;
        padding: 1rem .35rem
    }

    .story-dropdown-links {
        position: static;
        width: 100%;
        margin: .5rem 0;
        padding: .8rem;
        background: #0f312b;
        box-shadow: none;
        max-width: none
    }

    .rich-header .story-dropdown-links a {
        padding: .9rem .5rem;
        grid-template-columns: 23px 1fr 20px
    }

    .story-dropdown-caption {
        font-size: .58rem
    }

    .story-dropdown-links small {
        color: #e2ebdb
    }

    .new-home-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: 850px;
        padding: 4rem 6vw 3.5rem
    }

    .new-home-copy h1 {
        font-size: clamp(3.4rem, 10.8vw, 5rem);
        line-height: 1.08;
        letter-spacing: -.055em
    }

    .new-home-copy .new-home-lead {
        font-size: 1rem;
        line-height: 1.85;
        max-width: 530px
    }

    .new-home-copy .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 1.15rem
    }

    .new-home-copy .hero-button {
        font-size: .8rem;
        padding: .9rem 1rem
    }

    .new-home-copy .text-button {
        font-size: .78rem
    }

    .new-home-hero .founder-portrait {
        width: 200px;
        justify-self: end;
        align-self: center;
        margin-right: 4vw;
        margin-bottom: 0;
        padding: .5rem .5rem 0
    }

        .new-home-hero .founder-portrait img {
            height: 185px
        }

        .new-home-hero .founder-portrait figcaption {
            font-size: .67rem;
            padding: .65rem .3rem .85rem
        }

    .new-home-hero .portrait-orbit {
        font-size: 2.8rem;
        right: -1rem;
        top: -1.3rem
    }

    .home-hero-halo {
        width: 390px;
        right: -30%;
        top: 45%
    }

    .new-home-hero:before {
        background: linear-gradient(100deg, #133c36ee, #224b3cb5 70%, #3d5f3f7a), linear-gradient(0deg, #14382b90, transparent)
    }

    .purpose-hero {
        grid-template-columns: 1fr;
        padding: 3rem 6vw;
        gap: 2rem
    }

        .purpose-hero h1 {
            font-size: 3.3rem
        }

        .purpose-hero .purpose-art {
            width: 230px;
            justify-self: end;
            aspect-ratio: 1.2;
            margin: 0
        }

    .collection-hero,
    .news-hero {
        padding: 3.5rem 6vw 3rem
    }

    .collection-switch {
        flex-wrap: nowrap;
        width: 100%;
        max-width: 370px
    }

        .collection-switch a {
            flex: 1;
            text-align: center;
            padding: .85rem .6rem;
            font-size: .75rem
        }

    .resource-hero {
        min-height: 460px;
        padding: 0 6vw
    }

        .resource-hero > div {
            padding: 3.5rem 0
        }

        .resource-hero h1 {
            font-size: 3.2rem
        }

    .resource-urgent {
        padding: 1.5rem 1.2rem
    }

    .resource-directory .section-head h2 {
        font-size: 2.6rem
    }

    .resource-category:nth-of-type(even) {
        margin-left: -5vw;
        margin-right: -5vw;
        padding: 1.5rem 5vw;
        border-radius: 0
    }

    .resource-controls {
        padding: 1.2rem
    }

    .topics-hero {
        grid-template-columns: 1fr
    }

        .topics-hero > div {
            padding: 3rem 6vw
        }

    .admin-hero,
    .contact-hero {
        padding-left: 6vw;
        padding-right: 6vw
    }

        .contact-hero h1 {
            font-size: 3.4rem
        }
}

@media(max-width:390px) {
    .new-home-copy .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem
    }

    .new-home-copy h1 {
        font-size: 3.15rem
    }

    .new-home-hero {
        padding-top: 3.3rem
    }

    .resource-hero h1 {
        font-size: 2.85rem
    }
}

@media(prefers-reduced-motion:reduce) {

    .home-hero-landscape,
    .home-hero-halo,
    .new-home-hero .founder-portrait,
    .story-dropdown-links {
        animation: none !important
    }

    .new-home-hero .founder-portrait {
        transform: rotate(2deg)
    }

    .collection-switch a {
        transition: none
    }
}

.home-hero-slideshow {
    position: absolute;
    z-index: -3;
    inset: -4%;
    overflow: hidden;
    background: #21473c
}

    .home-hero-slideshow img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        filter: saturate(.85);
        animation: heroSlide 24s ease-in-out infinite
    }

        .home-hero-slideshow img:nth-child(2) {
            animation-delay: 6s
        }

        .home-hero-slideshow img:nth-child(3) {
            animation-delay: 12s
        }

        .home-hero-slideshow img:nth-child(4) {
            animation-delay: 18s
        }

@keyframes heroSlide {

    0%, 22% {
        opacity: 0;
        transform: scale(1.06)
    }

    7%, 17% {
        opacity: 1
    }

    25%, 100% {
        opacity: 0;
        transform: scale(1.16)
    }
}

.purpose-art {
    isolation: isolate
}

    .purpose-art img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(.75);
        opacity: .8
    }

    .purpose-art > span {
        position: relative;
        z-index: 1;
        text-shadow: 0 3px 18px #173e3666
    }

.policy-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 510px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 5rem max(5vw, calc((100vw - 1160px)/2));
    background: linear-gradient(120deg, #123d36, #466b53);
    color: #fff8ea;
    overflow: hidden
}

    .policy-hero h1 {
        max-width: 650px;
        font-size: clamp(3.4rem, 6.5vw, 6.5rem);
        line-height: .98;
        color: #fff8ea
    }

    .policy-hero p:not(.eyebrow) {
        max-width: 480px;
        color: #e1eee1;
        line-height: 1.8
    }

    .policy-hero .eyebrow {
        color: #ffd694
    }

    .policy-hero img {
        width: 100%;
        height: 360px;
        object-fit: cover;
        border-radius: 45% 8px 45% 8px;
        box-shadow: 0 25px 70px #062a244f;
        animation: policyFloat 8s ease-in-out infinite
    }

.policy-content {
    padding: 5rem 0 7rem;
    max-width: 900px
}

    .policy-content h2 {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        margin: .5rem 0 1rem
    }

    .policy-content > p:not(.eyebrow) {
        max-width: 760px;
        color: var(--muted);
        line-height: 1.9
    }

.policy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0
}

    .policy-grid article {
        padding: 1.6rem;
        border-top: 2px solid #e1ae6d;
        background: #fffdf6;
        box-shadow: 0 15px 35px #173e3610
    }

    .policy-grid span {
        color: #be7d45;
        font: 700 .75rem 'DM Mono'
    }

    .policy-grid h3 {
        margin: .8rem 0;
        font-size: 1.3rem
    }

    .policy-grid p {
        color: var(--muted);
        font-size: .9rem;
        line-height: 1.7
    }

@keyframes policyFloat {
    50% {
        transform: translateY(-12px) rotate(1deg)
    }
}

@media(max-width:760px) {
    .policy-hero {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem
    }

        .policy-hero img {
            height: 250px
        }

    .policy-grid {
        grid-template-columns: 1fr
    }

    .policy-content {
        padding: 3.5rem 0 5rem
    }

    .story-dropdown-toggle {
        justify-content: center;
        width: 100%
    }

    .story-dropdown {
        grid-column: 1/-1;
        text-align: center
    }

    .rich-header .story-dropdown-links {
        position: absolute;
        top: calc(100% + .5rem);
        left: 0.2%;
        transform: translateX(-50%);
        width: min(330px, calc(100vw - 3.2rem))
    }
}

@media(prefers-reduced-motion:reduce) {

    .spectacular-loader:before,
    .loader-sun,
    .loader-orbit,
    .loader-dots,
    .home-hero-slideshow img,
    .policy-hero img {
        animation: none
    }

        .home-hero-slideshow img:first-child {
            opacity: 1
        }
}

.purpose-hero,
.policy-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden
}

.purpose-hero {
    min-height: clamp(620px, 78vh, 900px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    padding-top: 7rem;
    padding-bottom: 7rem
}

    .purpose-hero:before,
    .policy-hero:before {
        content: "";
        position: absolute;
        z-index: -1;
        width: clamp(220px, 32vw, 520px);
        aspect-ratio: 1;
        border: 1px solid #ffe1a85c;
        border-radius: 43% 57% 64% 36% / 46% 39% 61% 54%;
        right: -8%;
        top: -25%;
        box-shadow: 0 0 0 28px #ffe1a814, 0 0 0 70px #ffe1a80b;
        animation: heroShapeDrift 15s ease-in-out infinite
    }

    .purpose-hero:after,
    .policy-hero:after {
        content: "";
        position: absolute;
        z-index: -1;
        width: clamp(180px, 25vw, 390px);
        height: clamp(180px, 25vw, 390px);
        left: -10%;
        bottom: -30%;
        border-radius: 57% 43% 38% 62% / 45% 63% 37% 55%;
        background: linear-gradient(135deg, #f2bf7b44, #c66e6940);
        filter: blur(1px);
        animation: heroShapeFloat 12s ease-in-out infinite alternate
    }

.purpose-art {
    width: 100%;
    min-height: 430px;
    border-radius: 48% 10% 42% 12% / 20% 12% 30% 14%;
    box-shadow: 0 30px 80px #082d2855;
    animation: heroImageFloat 9s ease-in-out infinite alternate
}

    .purpose-art:after {
        content: "";
        position: absolute;
        inset: 7%;
        border: 1px solid #fff0c477;
        border-radius: 46% 12% 38% 18%;
        z-index: 1;
        animation: heroFramePulse 7s ease-in-out infinite
    }

    .purpose-art > span {
        font-size: 8rem;
        filter: drop-shadow(0 5px 20px #173e3677);
        animation: heroSparkle 4s ease-in-out infinite alternate
    }

.policy-hero {
    min-height: clamp(650px, 82vh, 940px);
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    padding-top: 7rem;
    padding-bottom: 7rem
}

    .policy-hero:before {
        right: -4%;
        top: -18%;
        border-radius: 51% 49% 36% 64% / 39% 58% 42% 61%
    }

    .policy-hero:after {
        left: 42%;
        bottom: -38%;
        background: linear-gradient(135deg, #f2bf7b38, #71b99f32);
        animation-duration: 16s
    }

    .policy-hero img {
        height: clamp(430px, 58vh, 650px);
        border-radius: 48% 10% 43% 11% / 18% 13% 30% 16%;
        box-shadow: 0 35px 95px #062a2475;
        animation: heroImageFloat 10s ease-in-out infinite alternate
    }

.policy-content {
    position: relative
}

    .policy-content:before {
        content: "✦";
        position: absolute;
        right: 3%;
        top: 2rem;
        color: #e4af6e55;
        font-size: 8rem;
        animation: heroSparkle 5s ease-in-out infinite alternate
    }

@keyframes heroShapeDrift {

    0%, 100% {
        transform: rotate(-12deg) translate3d(0, 0, 0)
    }

    50% {
        transform: rotate(18deg) translate3d(-35px, 25px, 0)
    }
}

@keyframes heroShapeFloat {
    0% {
        transform: translate3d(0, 0) rotate(-12deg) scale(.9)
    }

    100% {
        transform: translate3d(80px, -45px) rotate(22deg) scale(1.1)
    }
}

@keyframes heroImageFloat {
    0% {
        transform: translateY(0) rotate(-1deg) scale(1)
    }

    100% {
        transform: translateY(-16px) rotate(1.5deg) scale(1.025)
    }
}

@keyframes heroFramePulse {

    0%, 100% {
        transform: scale(.98);
        opacity: .45
    }

    50% {
        transform: scale(1.03);
        opacity: .9
    }
}

@keyframes heroSparkle {
    0% {
        transform: rotate(-8deg) scale(.9);
        opacity: .6
    }

    100% {
        transform: rotate(8deg) scale(1.08);
        opacity: 1
    }
}

@media(max-width:760px) {
    .purpose-hero {
        min-height: 760px;
        grid-template-columns: 1fr;
        padding-top: 5rem;
        padding-bottom: 4rem
    }

    .purpose-art {
        min-height: 330px;
        width: 92%;
        justify-self: center
    }

        .purpose-art > span {
            font-size: 6rem
        }

    .policy-hero {
        min-height: 780px;
        grid-template-columns: 1fr;
        padding-top: 5rem;
        padding-bottom: 4rem
    }

        .policy-hero img {
            height: 310px;
            width: 94%;
            justify-self: center
        }

    .policy-content:before {
        font-size: 5rem;
        top: 1rem;
        right: 0
    }
}

@media(prefers-reduced-motion:reduce) {

    .purpose-hero:before,
    .purpose-hero:after,
    .purpose-art,
    .purpose-art:after,
    .purpose-art > span,
    .policy-hero:before,
    .policy-hero:after,
    .policy-hero img,
    .policy-content:before {
        animation: none
    }
}

/* Dark teal palette: keep the warm gold accents while unifying the site's greens. */
:root {
    --ink: #103f43;
    --muted: #587174;
    --line: #d4e0dc;
    --mint: #d7ece8
}

body {
    color: #103f43
}

.rich-header,
.site-header.rich-header {
    background: #0d3b40 !important
}

.rich-footer {
    background: #082c30
}

.new-home-hero {
    background: #17484b
}

    .new-home-hero:before {
        background: linear-gradient(90deg, #0b363bef 0%, #155052ce 38%, #1e5b5965 68%, #765b2c25 100%), linear-gradient(0deg, #0b3134b8, transparent 55%)
    }

.founder-journey,
.purpose-invitation,
.topic-section {
    background: #103f43
}

.purpose-hero {
    background: linear-gradient(115deg, #0f4145, #17605d 70%, #36706b)
}

.policy-hero {
    background: linear-gradient(120deg, #0d3b40, #17605d)
}

.login-story {
    background: linear-gradient(145deg, #082f33, #10565a 56%, #cb6e58)
}

.login-icon {
    background: #103f43
}

.resource-hero {
    background: #103f43
}

.story-dropdown-links {
    background: #0d3b40
}

.rich-header .story-dropdown-links a:hover,
.rich-header .story-dropdown-links a.active {
    background: #1b5959
}

.hero-button,
.primary-action {
    background: #103f43
}

    .hero-button:hover,
    .primary-action:hover {
        background: #d06f58
    }

.eyebrow,
.meta,
.card-kicker {
    color: #438f8d
}

.story-dropdown-toggle {
    gap: .2rem
}

    .story-dropdown-toggle > span {
        transition: transform .3s cubic-bezier(.4, 0, .2, 1)
    }

@media(max-width:760px) {
    .rich-header .story-dropdown {
        position: relative;
        width: 100%
    }

    .rich-header .story-dropdown-links {
        position: absolute;
        top: calc(100% + .15rem);
        left: 0.2%;
        right: auto;
        width: calc(100vw - 3.5rem);
        margin: 0;
        transform: translateX(-50%)
    }
}

/* Keep the login experience split on larger screens and readable on phones. */
.login-page {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

.login-story,
.login-panel {
    min-height: 640px;
}

.login-panel {
    padding: clamp(2rem, 4vw, 4rem);
}

.login-card {
    width: 100%;
    max-width: 520px;
}

.rich-header nav a.nav-login,
.rich-header nav a.nav-login[aria-current="page"] {
    background: linear-gradient(180deg, #fff6d7, #f7e8ba) !important;
    border-color: rgba(255, 214, 143, .5) !important;
    color: #163b36 !important;
}

.rich-header nav a.nav-login:hover,
.rich-header nav a.nav-login[aria-current="page"]:hover {
    background: linear-gradient(180deg, #ffe4a5, #f6d688) !important;
    color: #123c40 !important;
}

@media(max-width:760px) {
    .login-page {
        grid-template-columns: 1fr;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .login-story,
    .login-panel {
        min-height: auto;
    }

    .login-story {
        padding: 3rem 6vw;
    }

    .login-panel {
        padding: 2rem 1.1rem 3rem;
    }

    .login-card {
        max-width: 520px;
        padding: 2rem 1.5rem;
    }
}

/* Purpose-page heroes use the banner as a near full-bleed image, with the copy layered over it. */
.purpose-hero {
    display: flex;
    align-items: center;
    min-height: clamp(680px, 82vh, 940px);
    padding-top: clamp(5rem, 10vw, 9rem);
    padding-bottom: clamp(5rem, 10vw, 9rem);
    background: #103f43
}

    .purpose-hero > div:first-child {
        position: relative;
        z-index: 3;
        max-width: 700px;
        padding: clamp(1.5rem, 4vw, 4rem);
        border: 1px solid #fff1c43d;
        border-radius: 18px;
        background: linear-gradient(110deg, #082e35de, #103f43a8 72%, transparent);
        box-shadow: 0 22px 55px #06282c45
    }

    .purpose-hero .purpose-art {
        position: absolute;
        z-index: 1;
        inset: 0;
        width: auto;
        min-height: 0;
        border-radius: 0;
        box-shadow: none;
        animation: none
    }

        .purpose-hero .purpose-art img {
            opacity: .92;
            filter: saturate(.9);
            animation: purposeBannerDrift 18s ease-in-out infinite alternate
        }

        .purpose-hero .purpose-art:before {
            content: "";
            position: absolute;
            z-index: 1;
            inset: 0;
            background: linear-gradient(90deg, #072f35d9 0%, #0d414c9c 38%, #124b4a38 72%, #0a2d3424 100%), linear-gradient(0deg, #062b32b8, transparent 48%, #082f354d);
            pointer-events: none
        }

        .purpose-hero .purpose-art:after {
            inset: 2.5%;
            z-index: 2;
            border-radius: 10px 34% 12px 38%;
            border-color: #ffe3a866;
            animation: purposeFrameSweep 8s ease-in-out infinite
        }

        .purpose-hero .purpose-art > span {
            position: absolute;
            z-index: 3;
            right: 8%;
            top: 12%;
            font-size: clamp(5rem, 11vw, 10rem);
            color: #ffe0a0;
            animation: heroSparkle 4s ease-in-out infinite alternate
        }

@keyframes purposeBannerDrift {
    from {
        transform: scale(1.04) translate3d(-1%, 0, 0)
    }

    to {
        transform: scale(1.12) translate3d(1%, -1%, 0)
    }
}

@keyframes purposeFrameSweep {

    0%, 100% {
        opacity: .35;
        transform: scale(.985) rotate(-1deg)
    }

    50% {
        opacity: .95;
        transform: scale(1.01) rotate(1deg)
    }
}

@media(max-width:760px) {
    .purpose-hero {
        min-height: 700px;
        padding: 5rem 6vw
    }

        .purpose-hero > div:first-child {
            max-width: 100%;
            padding: 1.5rem;
            background: linear-gradient(120deg, #082e35e8, #103f43ad 82%, transparent)
        }

        .purpose-hero .purpose-art > span {
            right: 8%;
            top: 8%;
            font-size: 5rem
        }
}

@media(prefers-reduced-motion:reduce) {

    .purpose-hero .purpose-art img,
    .purpose-hero .purpose-art:after {
        animation: none
    }
}

/* Final purpose-hero composition: compact full-bleed image with centered overlay copy. */
.purpose-hero {
    display: grid;
    place-items: center;
    min-height: clamp(440px, 58vh, 620px);
    padding: 4rem max(5vw, calc((100vw - 1160px)/2));
    text-align: center
}

    .purpose-hero > div:first-child {
        grid-area: 1/1;
        justify-self: center;
        max-width: 760px;
        padding: clamp(1.5rem, 3.5vw, 3.2rem);
        border: 1px solid #ffe3a85c;
        border-radius: 24px;
        background: linear-gradient(135deg, #062e35dd, #0d4549bb 65%, #0d454955);
        box-shadow: 0 24px 70px #06282c55;
        backdrop-filter: blur(3px);
        animation: purposeCopyRise .8s ease-out both
    }

        .purpose-hero > div:first-child h1 {
            margin: .8rem auto 1.1rem;
            font-size: clamp(3rem, 6vw, 6rem);
            line-height: .98;
            color: #fff8eb
        }

        .purpose-hero > div:first-child > p:not(.eyebrow) {
            color: #e3f0e8
        }

    .purpose-hero .purpose-art {
        grid-area: 1/1;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0
    }

        .purpose-hero .purpose-art img {
            animation: purposeBannerDrift 20s ease-in-out infinite alternate
        }

        .purpose-hero .purpose-art:before {
            background: linear-gradient(180deg, #062e3540, #062e3566 58%, #062e35a8), linear-gradient(90deg, #062e3540, #0d515030 50%, #062e3540)
        }

        .purpose-hero .purpose-art:after {
            inset: 3%;
            border-radius: 28% 8% 25% 10%;
            animation: purposeFrameSweep 9s ease-in-out infinite
        }

        .purpose-hero .purpose-art > span {
            right: 7%;
            top: 10%;
            font-size: clamp(4rem, 9vw, 8rem)
        }

@keyframes purposeCopyRise {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:760px) {
    .purpose-hero {
        min-height: 520px;
        padding: 3rem 1rem
    }

        .purpose-hero > div:first-child {
            width: min(100%, 540px);
            padding: 1.5rem 1.2rem
        }

            .purpose-hero > div:first-child h1 {
                font-size: clamp(2.8rem, 12vw, 4.2rem)
            }

        .purpose-hero .purpose-art > span {
            right: 5%;
            top: 7%;
            font-size: 4rem
        }
}

@media(prefers-reduced-motion:reduce) {
    .purpose-hero > div:first-child {
        animation: none
    }
}

.collection-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(430px, 58vh, 620px);
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
    text-align: center
}

.collection-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
    filter: saturate(.9);
    animation: collectionHeroDrift 18s ease-in-out infinite alternate
}

.collection-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #062f35c9, #104c4b88 52%, #0b30368f), linear-gradient(0deg, #062a31a8, transparent 55%);
    z-index: 1
}

.collection-hero:after {
    content: "";
    position: absolute;
    width: clamp(240px, 36vw, 500px);
    aspect-ratio: 1;
    border: 1px solid #ffe2a85c;
    border-radius: 48% 52% 60% 40% / 43% 38% 62% 57%;
    right: -8%;
    top: -35%;
    box-shadow: 0 0 0 30px #ffe2a812;
    animation: collectionShapeFloat 12s ease-in-out infinite alternate
}

.collection-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: clamp(1.4rem, 3vw, 2.8rem);
    border: 1px solid #ffe2a84f;
    border-radius: 24px;
    background: #07353bc4;
    box-shadow: 0 22px 60px #06282c55;
    backdrop-filter: blur(3px);
    animation: purposeCopyRise .8s ease-out both
}

    .collection-hero-content > p:not(.eyebrow) {
        color: #eff5e8;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto
    }

.journal-collection-hero .collection-hero-image {
    object-position: center 45%
}

.podcast-collection-hero .collection-hero-image {
    object-position: center 50%
}

@keyframes collectionHeroDrift {
    from {
        transform: scale(1.04) translateX(-1%)
    }

    to {
        transform: scale(1.12) translateX(1%)
    }
}

@keyframes collectionShapeFloat {
    from {
        transform: rotate(-12deg) translateY(0)
    }

    to {
        transform: rotate(20deg) translateY(35px)
    }
}

@media(max-width:760px) {
    .collection-hero {
        min-height: 500px;
        padding: 3rem 1rem
    }

    .collection-hero-content {
        padding: 1.4rem 1rem
    }

    .collection-hero-image {
        object-position: center
    }

    .collection-hero-content h1 {
        font-size: clamp(2.7rem, 11vw, 4rem)
    }
}

@media(prefers-reduced-motion:reduce) {

    .collection-hero-image,
    .collection-hero:after {
        animation: none
    }
}

/* Give the home values room to breathe and a little tactile feedback. */
.home-values .value-grid {
    gap: 1.35rem;
}

    .home-values .value-grid article {
        position: relative;
        min-height: 255px;
        padding: 2rem 1.8rem 1.8rem;
        overflow: hidden;
        border: 1px solid #cbd8c8;
        border-top: 4px solid #6c9273;
        border-radius: 18px;
        background: linear-gradient(145deg, #fffdf6 0%, #f0f4e9 100%);
        box-shadow: 0 12px 28px #193e2a10;
        animation: valueCardRise .65s cubic-bezier(.22, .8, .28, 1) both;
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }

        .home-values .value-grid article:nth-child(2) {
            animation-delay: .1s;
            border-top-color: #d08a67;
        }

        .home-values .value-grid article:nth-child(3) {
            animation-delay: .2s;
            border-top-color: #b28a55;
        }

        .home-values .value-grid article:after {
            position: absolute;
            right: -2.5rem;
            bottom: -3rem;
            width: 8rem;
            height: 8rem;
            border-radius: 50%;
            background: #dce8d533;
            content: "";
            pointer-events: none;
        }

        .home-values .value-grid article:hover {
            border-color: #8daa8a;
            box-shadow: 0 18px 34px #193e2a1c;
            transform: translateY(-6px);
        }

.home-values .value-mark {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    background: #dfead9;
    box-shadow: inset 0 0 0 1px #ffffffb8;
    animation: valueMarkFloat 4s ease-in-out infinite;
}

.home-values .value-grid article:nth-child(2) .value-mark {
    background: #f0dfd4;
    color: #a7604b;
    animation-delay: .6s;
}

.home-values .value-grid article:nth-child(3) .value-mark {
    background: #efe5cd;
    color: #9a743e;
    animation-delay: 1.2s;
}

.home-values .value-grid h3,
.home-values .value-grid p {
    position: relative;
    z-index: 1;
}

.home-values .value-grid h3 {
    margin-top: 1.45rem;
}

@keyframes valueCardRise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes valueMarkFloat {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }

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

@media(max-width:760px) {
    .home-values .value-grid {
        gap: 1rem;
    }

        .home-values .value-grid article {
            min-height: 0;
            padding: 1.6rem 1.4rem 1.5rem;
        }
}

@media(prefers-reduced-motion:reduce) {
    .home-values .value-grid article,
    .home-values .value-mark {
        animation: none;
    }

    .home-values .value-grid article {
        transition: none;
    }
}
