/* DeLisa Rose — responsive brand system */
:root {
    --burgundy: #741329;
    --burgundy-dark: #480b1a;
    --burgundy-deep: #310711;
    --rose: #a82d49;
    --cream: #fbf7f0;
    --cream-deep: #f1e8dc;
    --gold: #d5a64d;
    --gold-light: #f0d69b;
    --ink: #2d2524;
    --muted: #706866;
    --white: #ffffff;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --shadow: 0 18px 50px rgba(52, 17, 23, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.container {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    margin: 12px;
    padding: 12px 16px;
    z-index: 1000;
    background: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 252, 247, 0.97);
    border-bottom: 1px solid rgba(116, 19, 41, 0.12);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 230px;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.8vw, 38px);
    font-size: 13px;
    font-weight: 600;
}

.primary-navigation > a:not(.button) {
    position: relative;
    padding: 12px 0;
}

.primary-navigation > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: var(--burgundy);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.primary-navigation > a:not(.button):hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(116, 19, 41, 0.2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 19px;
    height: 2px;
    margin: auto;
    background: var(--burgundy);
    transition: transform 180ms ease;
}

.menu-icon {
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-icon::before {
    transform: translateY(-6px);
}

.menu-icon::after {
    transform: translateY(6px);
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(48, 7, 17, 0.18);
}

.button-small {
    min-height: 42px;
    padding: 10px 20px;
    color: var(--white);
    background: var(--burgundy);
    font-size: 10px;
}

.button-burgundy {
    color: var(--white);
    background: var(--burgundy);
}

.button-burgundy:hover,
.button-small:hover {
    background: var(--burgundy-dark);
}

.button-gold {
    color: var(--burgundy-deep);
    background: var(--gold-light);
}

.button-gold:hover {
    background: #f5e1b6;
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--burgundy-deep);
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image {
    background-image: url("../images/bg1.png");
    background-position: center 40%;
    background-size: cover;
    opacity: 0.82;
}

.hero-shade {
    background: linear-gradient(90deg, rgba(32, 8, 12, 0.88) 0%, rgba(43, 10, 18, 0.72) 38%, rgba(43, 10, 18, 0.12) 78%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 66px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--burgundy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow-gold {
    color: var(--gold-light);
}

.hero h1,
.ambition h2,
.founder h2,
.partner-grid h2,
.updates h2 {
    max-width: 740px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(48px, 6.4vw, 82px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.99;
}

.hero h1 em,
.ambition h2 em,
.founder h2 em,
.partner-grid h2 em,
.updates h2 em {
    color: var(--gold-light);
    font-weight: 500;
}

.hero-copy {
    max-width: 500px;
    margin: 24px 0 27px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.text-link-light {
    color: var(--white);
}

.hero-note {
    max-width: 520px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.section-pad {
    padding: 96px 0;
}

.mission {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(213, 166, 77, 0.10), transparent 55%),
        var(--cream);
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 52px;
}

.centered {
    text-align: center;
}

.section-heading h2,
.section-topline h2,
.pathway-card h3,
.location-info h3 {
    margin: 0;
    color: var(--burgundy);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.section-heading h2 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
}

.section-heading h2 span {
    color: var(--burgundy-dark);
    font-size: 1.18em;
}

.section-intro {
    max-width: 680px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 17px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.mission-item {
    padding: 8px 32px 18px;
    text-align: center;
}

.mission-item + .mission-item {
    border-left: 1px solid rgba(213, 166, 77, 0.8);
}

.mission-number {
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: clamp(76px, 10vw, 116px);
    font-weight: 600;
    letter-spacing: -0.08em;
    line-height: 0.95;
}

.mission-label {
    max-width: 260px;
    margin: 10px auto 9px;
    color: var(--burgundy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mission-item p {
    max-width: 280px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
}

.mission-footnote {
    max-width: 850px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.center-action {
    margin-top: 30px;
    text-align: center;
}

.pathways {
    background: #f4ede4;
}

.section-topline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 35px;
}

.section-topline h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
}

.muted,
.section-side-copy {
    color: var(--muted);
}

.muted {
    margin: 10px 0 0;
}

.section-side-copy {
    max-width: 440px;
    margin: 0 0 4px;
    font-size: 14px;
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pathway-card {
    overflow: hidden;
    border: 1px solid rgba(116, 19, 41, 0.08);
    border-radius: 12px;
    background: var(--cream);
    box-shadow: 0 8px 26px rgba(52, 17, 23, 0.05);
}

.pathway-photo {
    height: 205px;
    background-position: center;
    background-size: cover;
}

.photo-home {
    background-image: linear-gradient(0deg, rgba(35, 16, 13, 0.08), rgba(35, 16, 13, 0.02)), url("../images/Homeownership.jpg");
    background-position: 78% 55%;
}

.photo-invest {
    background-image: linear-gradient(0deg, rgba(35, 16, 13, 0.08), rgba(35, 16, 13, 0.02)), url("../images/Investment_Education.jpg");
    background-position: 52% 35%;
}

.photo-agents {
    background-image: linear-gradient(0deg, rgba(35, 16, 13, 0.10), rgba(35, 16, 13, 0.02)), url("../images/Agent_Growth.jpg");
    background-position: center 25%;
}

.pathway-content {
    position: relative;
    padding: 27px 25px 28px;
}

.round-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    margin-top: -49px;
    margin-bottom: 12px;
    border: 3px solid var(--cream);
    border-radius: 50%;
    color: var(--white);
    background: var(--burgundy);
    font-family: var(--serif);
    font-size: 22px;
}

.pathway-card h3 {
    font-size: 27px;
    line-height: 1.2;
}

.pathway-card p {
    min-height: 92px;
    margin: 12px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.underlined-link,
.location-info a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--burgundy);
    color: var(--burgundy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pathway-card-text {
    grid-column: 1 / -1;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.pathway-card-text .pathway-content {
    display: grid;
    grid-template-columns: auto 1fr 2fr auto;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.pathway-card-text .round-icon {
    margin: 0;
    border-color: var(--cream);
}

.pathway-card-text h3,
.pathway-card-text p {
    margin: 0;
}

.pathway-card-text p {
    min-height: 0;
}

.ambition {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(115deg, #4b091a, #790f2b 60%, #3e0918);
}

.ambition-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(circle at 12% 25%, var(--gold-light) 1px, transparent 2px), radial-gradient(circle at 80% 70%, var(--gold-light) 1px, transparent 2px);
    background-size: 42px 42px, 56px 56px;
}

.ambition-inner {
    position: relative;
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.ambition h2,
.partner-grid h2,
.updates h2 {
    font-size: clamp(43px, 5vw, 66px);
}

.ambition-copy > p:not(.eyebrow) {
    max-width: 470px;
    margin: 22px 0 25px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
}

.ambition-art {
    position: relative;
    min-height: 290px;
    display: grid;
    place-items: center;
}

.network-orbit {
    position: absolute;
    width: min(100%, 430px);
    aspect-ratio: 1.45;
    border: 1px solid rgba(240, 214, 155, 0.55);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.orbit-two {
    width: min(90%, 385px);
    transform: rotate(35deg);
}

.network-center {
    width: 135px;
    height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(47, 5, 15, 0.38);
    box-shadow: 0 0 45px rgba(240, 214, 155, 0.12);
}

.network-center span {
    font-family: var(--serif);
    font-size: 52px;
    line-height: 1;
}

.network-center small {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.network-caption {
    position: absolute;
    right: 0;
    bottom: 3px;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    line-height: 1.2;
    text-align: right;
}

.locations {
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.location-card {
    overflow: hidden;
    border-radius: 10px;
    background: #fffdfa;
    box-shadow: 0 10px 28px rgba(52, 17, 23, 0.07);
}

.location-visual {
    height: 190px;
    display: flex;
    align-items: end;
    justify-content: end;
    padding: 18px;
    background-color: #9a6c5a;
    background-size: cover;
    background-position: center;
}

.location-visual span {
    padding: 6px 10px;
    border-radius: 5px;
    color: var(--burgundy);
    background: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.location-dallas {
    background-image: linear-gradient(0deg, rgba(38, 12, 20, 0.32), transparent 65%), url("../images/Dallas_Texas.jpg");
    background-position: 80% 45%;
}

.location-oakland {
    background-image: linear-gradient(0deg, rgba(38, 12, 20, 0.32), transparent 65%), url("../images/Oakland_California.jpg");
    background-position: center 45%;
}

.location-panama {
    background-image: linear-gradient(0deg, rgba(38, 12, 20, 0.32), transparent 65%), url("../images/Panama_City.jpg");
    background-position: center 40%;
}

.location-info {
    padding: 18px 21px 22px;
}

.status-label {
    color: #8c6b36;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-info h3 {
    margin: 6px 0 12px;
    font-size: 25px;
}

.location-info a {
    font-size: 10px;
}

.location-disclaimer {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.founder {
    padding-top: 75px;
    padding-bottom: 75px;
    background: #f2e9df;
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.founder h2 {
    color: var(--burgundy);
    font-size: clamp(46px, 5vw, 66px);
}

.founder h2 em {
    color: #b47d3c;
}

.founder-copy > p:not(.eyebrow) {
    max-width: 490px;
    color: var(--muted);
    font-size: 15px;
}

.founder-copy .button {
    margin-top: 12px;
}

.founder-photo-wrap {
    position: relative;
    min-height: 460px;
}

.founder-photo {
    width: 100%;
    height: 460px;
    border-radius: 4px 110px 4px 4px;
    object-fit: cover;
    object-position: center 30%;
    box-shadow: var(--shadow);
}

.founder-photo-note {
    position: absolute;
    right: -18px;
    bottom: 28px;
    max-width: 250px;
    padding: 17px 22px;
    color: var(--white);
    background: var(--burgundy);
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
}

.partners {
    color: var(--white);
    background: var(--burgundy-dark);
}

.partner-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 85px;
}

.partner-grid h2 em {
    color: var(--gold-light);
}

.partner-grid > div:first-child > p:not(.eyebrow) {
    max-width: 470px;
    color: rgba(255, 255, 255, 0.8);
}

.partner-actions {
    border-top: 1px solid rgba(240, 214, 155, 0.35);
}

.partner-action {
    display: grid;
    grid-template-columns: 42px 1fr 24px;
    align-items: center;
    gap: 15px;
    padding: 21px 0;
    border-bottom: 1px solid rgba(240, 214, 155, 0.35);
}

.partner-action > span {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 20px;
}

.partner-action strong,
.partner-action small {
    display: block;
}

.partner-action strong {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
}

.partner-action small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.partner-action b {
    color: var(--gold-light);
    font-size: 20px;
    font-weight: 400;
}

.updates {
    color: var(--white);
    background:
        radial-gradient(ellipse at 95% 5%, rgba(213, 166, 77, 0.18), transparent 45%),
        linear-gradient(120deg, #3c0714, #6d1025);
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 85px;
    align-items: center;
}

.updates h2 {
    color: var(--white);
}

.updates > .container > div > p:not(.eyebrow) {
    max-width: 460px;
    color: rgba(255, 255, 255, 0.82);
}

.updates-small {
    font-size: 12px;
}

.updates-form {
    padding: 30px;
    border: 1px solid rgba(240, 214, 155, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
}

.form-row input,
.form-row select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.form-row input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.form-row select option {
    color: var(--ink);
    background: var(--white);
}

.button-submit {
    width: 100%;
    margin-top: 5px;
    cursor: pointer;
}

.form-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    line-height: 1.5;
}

.site-footer {
    background: #fffdf9;
}

.footer-main {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(116, 19, 41, 0.12);
}

.footer-brand img {
    width: 190px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.footer-main nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #514746;
    font-size: 11px;
    font-weight: 600;
}

.back-top {
    color: var(--burgundy);
    font-size: 11px;
    font-weight: 700;
}

.footer-bottom {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 980px) {
    .primary-navigation {
        gap: 17px;
        font-size: 12px;
    }

    .brand img {
        width: 190px;
    }

    .hero {
        min-height: 560px;
    }

    .section-pad {
        padding: 78px 0;
    }

    .pathway-grid {
        gap: 14px;
    }

    .pathway-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .founder-grid,
    .partner-grid,
    .updates-grid {
        gap: 45px;
    }

    .footer-main nav {
        gap: 13px;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 76px;
    }

    .container {
        width: min(100% - 36px, 600px);
    }

    .header-inner {
        min-height: 74px;
    }

    .brand img {
        width: 184px;
        max-height: 57px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 12px 22px 22px;
        border-bottom: 1px solid rgba(116, 19, 41, 0.12);
        background: var(--cream);
        box-shadow: 0 18px 24px rgba(40, 10, 18, 0.1);
    }

    .primary-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .primary-navigation > a:not(.button) {
        padding: 13px 4px;
        border-bottom: 1px solid rgba(116, 19, 41, 0.1);
    }

    .primary-navigation > a:not(.button)::after {
        display: none;
    }

    .primary-navigation .button {
        margin-top: 15px;
    }

    .hero {
        min-height: 650px;
        align-items: end;
    }

    .hero-image {
        background-position: 57% center;
    }

    .hero-shade {
        background: linear-gradient(0deg, rgba(32, 8, 12, 0.92) 0%, rgba(43, 10, 18, 0.78) 45%, rgba(43, 10, 18, 0.08) 100%);
    }

    .hero-content {
        padding-top: 250px;
        padding-bottom: 45px;
    }

    .hero h1 {
        font-size: clamp(44px, 11vw, 64px);
    }

    .hero-copy {
        max-width: 460px;
        font-size: 16px;
    }

    .hero-actions {
        align-items: flex-start;
        gap: 12px 22px;
    }

    .section-pad {
        padding: 66px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-intro {
        font-size: 15px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mission-item {
        padding: 23px 12px;
    }

    .mission-item + .mission-item {
        border-top: 1px solid rgba(213, 166, 77, 0.8);
        border-left: 0;
    }

    .mission-number {
        font-size: 82px;
    }

    .section-topline {
        display: block;
        margin-bottom: 27px;
    }

    .section-side-copy {
        margin-top: 16px;
        font-size: 13px;
    }

    .pathway-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .pathway-photo {
        height: 220px;
    }

    .pathway-card p {
        min-height: 0;
    }

    .pathway-card-text {
        min-height: 0;
    }

    .pathway-card-text .pathway-content {
        grid-template-columns: auto 1fr;
        gap: 12px 16px;
    }

    .pathway-card-text .round-icon {
        grid-row: 1 / 3;
    }

    .pathway-card-text p,
    .pathway-card-text .underlined-link {
        grid-column: 2;
    }

    .ambition-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 65px;
        padding-bottom: 60px;
    }

    .ambition-art {
        min-height: 230px;
    }

    .network-caption {
        right: 2%;
        bottom: 0;
        font-size: 17px;
    }

    .location-visual {
        height: 210px;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .founder-photo-wrap {
        min-height: 380px;
        margin-right: 10px;
    }

    .founder-photo {
        height: 380px;
        border-top-right-radius: 82px;
    }

    .founder-photo-note {
        right: -10px;
        bottom: 18px;
    }

    .partner-grid,
    .updates-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .updates-form {
        padding: 22px;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 25px;
        padding-bottom: 25px;
        gap: 18px;
    }

    .footer-main nav {
        gap: 12px 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 14px;
        padding-bottom: 14px;
        gap: 5px;
    }
}

@media (max-width: 390px) {
    .container {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .text-link {
        font-size: 10px;
    }

    .pathway-card h3 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}



/* WHEALTHY philosophy section */
.whealthy {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 95% 5%, rgba(213, 166, 77, 0.13), transparent 28%),
        linear-gradient(135deg, #f8f0e7 0%, #fffaf4 55%, #f1e7dc 100%);
}

.whealthy::before {
    position: absolute;
    top: -130px;
    right: -110px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(116, 19, 41, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.whealthy-heading {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 42px;
}

.whealthy-heading h2 {
    margin: 10px 0 0;
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.whealthy-heading h2 em {
    color: #bd8b35;
    font-weight: 500;
}

.whealthy-intro {
    max-width: 510px;
    padding-bottom: 5px;
}

.whealthy-intro p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.whealthy-intro .whealthy-definition {
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.45;
}

.whealthy-definition strong {
    font-weight: 600;
}

.whealthy-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.whealthy-card {
    position: relative;
    min-height: 260px;
    padding: 27px 24px 25px;
    overflow: hidden;
    border: 1px solid rgba(116, 19, 41, 0.10);
    border-radius: 15px;
    background: rgba(255, 253, 249, 0.86);
    box-shadow: 0 14px 38px rgba(52, 17, 23, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.whealthy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(52, 17, 23, 0.11);
}

.whealthy-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(116, 19, 41, 0.28);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.whealthy-symbol {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid rgba(213, 166, 77, 0.6);
    border-radius: 50%;
    color: var(--burgundy);
    background: #fbf1dc;
    font-size: 25px;
}

.whealthy-card h3 {
    margin: 0 0 10px;
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 600;
}

.whealthy-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.whealthy-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 22px 26px;
    border-radius: 12px;
    background: var(--burgundy-dark);
}

.whealthy-bottom p {
    margin: 0;
    color: var(--cream);
    font-family: var(--serif);
    font-size: clamp(18px, 2vw, 23px);
}

.whealthy-bottom .button {
    flex: 0 0 auto;
}

.whealthy-note {
    max-width: 900px;
    margin: 15px auto 0;
    color: #807572;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 900px) {
    .whealthy-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

@media (max-width: 560px) {
    .whealthy-heading h2 {
        font-size: 39px;
    }

    .whealthy-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .whealthy-card {
        min-height: auto;
        padding: 23px;
    }

    .whealthy-symbol {
        margin-bottom: 15px;
    }

    .whealthy-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .whealthy-bottom .button {
        width: 100%;
    }
}
