/* Jodi Jenks Wellness theme
   Inspired by the supplied botanical artwork, with deeper tones for accessible contrast. */

:root {
    --forest-950: #0b2a20;
    --forest-900: #123c2d;
    --forest-700: #285b43;
    --forest-100: #dfe9df;
    --plum-900: #3b193c;
    --plum-700: #59285e;
    --amethyst-600: #774783;
    --amethyst-100: #eaddeb;
    --gold-600: #b57619;
    --gold-400: #d5a44b;
    --cream-50: #fffdf8;
    --cream-100: #f8f2e8;
    --cream-200: #eee2d0;
    --ink: #202720;
    --white: #ffffff;
    --shadow: 0 24px 70px rgb(18 60 45 / 14%);
    --radius-lg: 2rem;
    --radius-md: 1.25rem;
    --content-width: 76rem;
    --font-display: Georgia, 'Times New Roman', serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 12%, rgb(213 164 75 / 12%), transparent 25rem),
        var(--cream-50);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    color: var(--white);
    background: var(--plum-900);
    border-radius: 0.5rem;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: 1.5rem 0;
}

.brand {
    display: grid;
    grid-template-columns: 3.5rem auto;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    color: var(--forest-900);
    text-decoration: none;
}

.brand__icon {
    grid-row: 1 / 3;
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

.brand__name {
    align-self: end;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.brand__descriptor {
    color: var(--plum-700);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.site-nav > a:not(.button) {
    text-decoration-color: transparent;
    text-underline-offset: 0.35rem;
}

.site-nav > a:not(.button):hover {
    color: var(--plum-700);
    text-decoration-color: var(--gold-600);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.8rem 1.4rem;
    color: var(--white);
    background: var(--forest-900);
    border: 2px solid var(--forest-900);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgb(18 60 45 / 16%);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    background: var(--plum-700);
    border-color: var(--plum-700);
    box-shadow: 0 14px 28px rgb(59 25 60 / 20%);
    transform: translateY(-2px);
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.text-link:focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 4px;
}

.button--small {
    min-height: 2.65rem;
    padding: 0.6rem 1.15rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(26rem, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6.5rem);
    width: min(calc(100% - 3rem), var(--content-width));
    min-height: calc(100vh - 7.5rem);
    margin: 0 auto;
    padding: 3rem 0 7rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--plum-700);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 2.5rem;
    height: 2px;
    margin: 0 0.85rem 0.25rem 0;
    background: var(--gold-600);
}

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

.hero h1,
h2,
h3 {
    margin-top: 0;
    font-family: var(--font-display);
}

.hero h1 {
    max-width: 11ch;
    margin-bottom: 1.5rem;
    color: var(--forest-950);
    font-size: clamp(3.6rem, 7vw, 6.75rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.hero h1 em {
    color: var(--plum-700);
    font-weight: 400;
}

.hero__intro {
    max-width: 36rem;
    margin: 0;
    color: #425047;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: 2.25rem;
}

.text-link {
    color: var(--forest-900);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 0.35rem;
    color: var(--gold-600);
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(0.25rem);
}

.hero__art {
    position: relative;
    isolation: isolate;
}

.hero__art > img {
    position: relative;
    z-index: 1;
    width: min(100%, 38rem);
    margin: 0 auto;
    border: 1px solid rgb(18 60 45 / 10%);
    border-radius: 48% 48% 2rem 2rem;
    box-shadow: var(--shadow);
}

.hero__halo {
    position: absolute;
    z-index: -1;
    inset: -3rem -2rem 10%;
    background: radial-gradient(circle, var(--amethyst-100) 0 52%, transparent 52.5%);
}

.approach {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 7vw, 7rem);
    padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--content-width)) / 2));
    color: var(--white);
    background: var(--forest-900);
}

.approach h2,
.connect h2 {
    max-width: 16ch;
    margin-bottom: 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.approach > p {
    align-self: end;
    max-width: 34rem;
    margin: 0;
    color: var(--forest-100);
    font-size: 1.12rem;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: 6rem 0;
}

.pillar {
    min-height: 19rem;
    padding: 1.75rem;
    border: 1px solid var(--cream-200);
    border-right: 0;
}

.pillar:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.pillar:last-child {
    border-right: 1px solid var(--cream-200);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pillar--accent {
    color: var(--white);
    background: var(--plum-700);
    border-color: var(--plum-700);
}

.pillar__number {
    color: var(--gold-600);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.pillar h3 {
    margin: 4rem 0 0.75rem;
    color: var(--forest-900);
    font-size: 2rem;
}

.pillar--accent h3,
.pillar--accent .pillar__number {
    color: var(--white);
}

.pillar p {
    margin: 0;
    color: #566157;
    font-size: 0.92rem;
}

.pillar--accent p {
    color: var(--amethyst-100);
}

.connect {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto 5rem;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    color: var(--white);
    background: var(--plum-900);
    border-radius: var(--radius-lg);
}

.connect > img {
    width: clamp(5rem, 10vw, 8.5rem);
    height: clamp(5rem, 10vw, 8.5rem);
    object-fit: contain;
}

.connect h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.button--light {
    color: var(--forest-950);
    background: var(--cream-50);
    border-color: var(--cream-50);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem max(1.5rem, calc((100vw - var(--content-width)) / 2));
    color: var(--forest-100);
    background: var(--forest-950);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0;
}

.site-footer span {
    margin: 0 0.5rem;
    color: var(--gold-400);
}

@media (max-width: 860px) {
    .site-nav > a:not(.button) {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 4rem;
    }

    .hero__content {
        max-width: 42rem;
    }

    .hero__art {
        width: min(100%, 38rem);
        margin: 1rem auto 0;
    }

    .approach {
        grid-template-columns: 1fr;
    }

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

    .pillar,
    .pillar:first-child,
    .pillar:last-child {
        border: 1px solid var(--cream-200);
        border-radius: 0;
    }

    .pillar:first-child {
        border-radius: var(--radius-md) 0 0 0;
    }

    .pillar:nth-child(2) {
        border-radius: 0 var(--radius-md) 0 0;
    }

    .pillar:nth-child(3) {
        border-radius: 0 0 0 var(--radius-md);
    }

    .pillar:last-child {
        border-radius: 0 0 var(--radius-md) 0;
    }

    .connect {
        grid-template-columns: auto 1fr;
    }

    .connect .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .site-header,
    .hero,
    .pillars,
    .connect {
        width: min(calc(100% - 2rem), var(--content-width));
    }

    .brand {
        grid-template-columns: 2.75rem auto;
        column-gap: 0.55rem;
    }

    .brand__icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .brand__name {
        font-size: 1.05rem;
    }

    .site-nav .button {
        min-height: 2.4rem;
        padding: 0.45rem 0.9rem;
    }

    .hero {
        gap: 3rem;
        padding-top: 3rem;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 17vw, 4.8rem);
    }

    .hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 4rem 0;
    }

    .pillar,
    .pillar:first-child,
    .pillar:nth-child(2),
    .pillar:nth-child(3),
    .pillar:last-child {
        min-height: auto;
        border-radius: var(--radius-md);
    }

    .pillar h3 {
        margin-top: 2rem;
    }

    .connect {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .connect > img,
    .connect .button {
        grid-column: 1;
        justify-self: center;
    }

    .site-footer {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Remedy House continuity and service catalog */

.site-nav a[aria-current='page'] {
    color: var(--plum-700);
    text-decoration-color: var(--gold-600);
}

.continuity-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.7rem 1.5rem;
    color: var(--forest-100);
    background: var(--forest-950);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.continuity-banner strong {
    color: var(--white);
}

.continuity-banner a {
    margin-left: 0.75rem;
    color: var(--gold-400);
    font-weight: 800;
    text-underline-offset: 0.25rem;
}

.hero--services {
    min-height: calc(100vh - 10rem);
    padding-bottom: 6rem;
}

.hero--services h1 {
    max-width: 12ch;
    font-size: clamp(3.4rem, 6.5vw, 6.2rem);
}

.service-intro,
.detail-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 7vw, 7rem);
    padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--content-width)) / 2));
    color: var(--white);
    background: var(--forest-900);
}

.section-heading h2,
.service-intro h2,
.legacy-story h2,
.pathway h2,
.care-note h2,
.jodi-story h2,
.team-section h2,
.detail-cta h2 {
    max-width: 17ch;
    margin-bottom: 0;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.service-intro > p {
    align-self: end;
    max-width: 34rem;
    margin: 0;
    color: var(--forest-100);
    font-size: 1.12rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: 6rem 0;
}

.service-card {
    display: flex;
    min-height: 26rem;
    padding: 2rem;
    flex-direction: column;
    color: var(--ink);
    border: 1px solid var(--cream-200);
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-card:nth-child(1) {
    border-radius: var(--radius-md) 0 0 0;
}

.service-card:nth-child(3) {
    border-radius: 0 var(--radius-md) 0 0;
}

.service-card:nth-last-child(3) {
    border-radius: 0 0 0 var(--radius-md);
}

.service-card:last-child {
    border-radius: 0 0 var(--radius-md) 0;
}

.service-card:hover {
    z-index: 1;
    color: var(--white);
    background: var(--plum-700);
    border-color: var(--plum-700);
    transform: translateY(-0.35rem);
}

.service-card:focus-visible {
    z-index: 2;
    outline: 3px solid var(--gold-400);
    outline-offset: 3px;
}

.service-card__number {
    color: var(--gold-600);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.service-card__tagline {
    margin: 1.25rem 0 0;
    color: var(--plum-700);
    font-family: var(--font-display);
    font-style: italic;
}

.service-card h2,
.service-card h3 {
    margin: 3.5rem 0 0.8rem;
    color: var(--forest-900);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.08;
}

.service-card h2 {
    margin-top: 0.5rem;
}

.service-card > p:not(.service-card__tagline) {
    margin: 0;
    color: #566157;
}

.service-card ul {
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0 1.2rem;
    border-top: 1px solid var(--cream-200);
    color: #566157;
    font-size: 0.9rem;
}

.service-card__link {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--forest-900);
    font-size: 0.82rem;
    font-weight: 900;
}

.service-card__link span {
    margin-left: 0.35rem;
    color: var(--gold-600);
}

.service-card:hover h2,
.service-card:hover h3,
.service-card:hover > p,
.service-card:hover ul,
.service-card:hover .service-card__link,
.service-card:hover .service-card__number,
.service-card:hover .service-card__tagline {
    color: var(--white);
}

.service-grid--catalog {
    gap: 1rem;
}

.service-grid--catalog .service-card {
    border-radius: var(--radius-md);
}

.legacy-story {
    position: relative;
    display: grid;
    grid-template-columns: 0.35fr 1fr 0.8fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - var(--content-width)) / 2));
    overflow: hidden;
    color: var(--white);
    background: var(--plum-900);
}

.legacy-story__mark {
    display: grid;
    width: clamp(7rem, 13vw, 11rem);
    aspect-ratio: 1;
    place-items: center;
    background: rgb(255 255 255 / 7%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 50%;
}

.legacy-story__mark img {
    width: 80%;
}

.legacy-story p {
    color: var(--amethyst-100);
}

.text-link--light {
    display: inline-block;
    margin-top: 1rem;
    color: var(--white);
}

.pathway {
    display: flex;
    align-items: center;
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: 7rem 0;
    flex-direction: column;
}

.section-heading--center {
    text-align: center;
}

.section-heading--center h2 {
    margin-right: auto;
    margin-left: auto;
}

.pathway__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 4rem 0 2.5rem;
}

.pathway__steps article {
    padding: 0 2.5rem;
    border-right: 1px solid var(--cream-200);
}

.pathway__steps article:last-child {
    border-right: 0;
}

.pathway__steps span,
.team-card > span {
    color: var(--gold-600);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.pathway__steps h3 {
    margin: 1.5rem 0 0.5rem;
    color: var(--forest-900);
    font-size: 1.8rem;
}

.pathway__steps p {
    margin: 0;
    color: #566157;
}

.connect--location p:last-child {
    margin-bottom: 0;
    color: var(--amethyst-100);
}

.page-hero {
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 7vw, 5rem);
}

.page-hero h1,
.detail-hero h1,
.about-hero h1 {
    max-width: 16ch;
    margin: 0;
    color: var(--forest-950);
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.page-hero > p:last-child {
    max-width: 48rem;
    margin: 2rem 0 0 auto;
    color: #566157;
    font-size: 1.2rem;
}

.care-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto 6rem;
    padding: 3rem;
    background: var(--cream-100);
    border-radius: var(--radius-md);
}

.care-note h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.care-note p {
    margin: 0;
    color: #566157;
}

.detail-hero {
    align-items: end;
    padding-top: clamp(5rem, 10vw, 8rem);
    padding-bottom: clamp(5rem, 10vw, 8rem);
}

.detail-hero h1 {
    color: var(--white);
}

.detail-hero > p {
    max-width: 35rem;
    margin: 0;
    color: var(--forest-100);
    font-size: 1.15rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 3rem;
    color: var(--forest-100);
    font-size: 0.82rem;
    font-weight: 800;
    text-underline-offset: 0.3rem;
}

.back-link span {
    margin-right: 0.35rem;
    color: var(--gold-400);
}

.offering-list {
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: 3rem 0 7rem;
}

.offering {
    display: grid;
    grid-template-columns: 4rem 1fr minmax(14rem, 0.55fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--cream-200);
}

.offering__index {
    color: var(--gold-600);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.offering__format,
.offering__meta > span {
    margin: 0 0 0.7rem;
    color: var(--plum-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.offering h2 {
    margin: 0 0 1rem;
    color: var(--forest-900);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
}

.offering__content > p:last-child {
    max-width: 40rem;
    margin-bottom: 0;
    color: #566157;
}

.offering__meta {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.offering__meta strong {
    margin-bottom: 1.25rem;
    color: var(--forest-900);
    font-size: 0.9rem;
}

.offering__meta .text-link {
    margin-top: auto;
}

.detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - var(--content-width)) / 2));
    color: var(--white);
    background: var(--plum-900);
}

.detail-cta p:last-child {
    max-width: 40rem;
    color: var(--amethyst-100);
}

.about-hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: 5rem 0 8rem;
}

.about-hero h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
}

.about-hero p:last-child {
    color: #566157;
    font-size: 1.1rem;
}

.about-hero img {
    border-radius: 48% 48% var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
}

.jodi-story {
    padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--content-width)) / 2));
    color: var(--white);
    background: var(--forest-900);
}

.jodi-story > div {
    display: grid;
    grid-template-columns: 1.05fr 0.75fr;
    gap: clamp(3rem, 8vw, 8rem);
}

.jodi-story p {
    color: var(--forest-100);
}

.team-section {
    width: min(calc(100% - 3rem), var(--content-width));
    margin: 0 auto;
    padding: 7rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 4rem;
}

.team-card {
    min-height: 21rem;
    padding: 2.5rem;
    background: var(--cream-100);
    border-radius: var(--radius-md);
}

.team-card h3 {
    margin: 3rem 0 0.25rem;
    color: var(--forest-900);
    font-size: 2rem;
}

.team-card__role {
    color: var(--plum-700);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-card p:last-child {
    color: #566157;
}

.site-footer--expanded {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    align-items: start;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    font-size: 0.72rem;
}

.site-footer--expanded > div:not(.footer-brand) {
    display: flex;
    gap: 0.45rem;
    flex-direction: column;
}

.site-footer--expanded strong {
    margin-bottom: 0.65rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.site-footer--expanded a {
    text-decoration-color: rgb(255 255 255 / 25%);
    text-underline-offset: 0.25rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
}

.footer-brand div {
    display: flex;
    gap: 0.25rem;
    flex-direction: column;
}

.footer-brand strong {
    margin: 0;
}

@media (max-width: 900px) {
    .site-nav > a[href^='tel'] {
        display: none;
    }

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

    .service-card,
    .service-card:nth-child(1),
    .service-card:nth-child(3),
    .service-card:nth-last-child(3),
    .service-card:last-child {
        border-radius: var(--radius-md);
    }

    .legacy-story {
        grid-template-columns: auto 1fr;
    }

    .legacy-story > div:last-child {
        grid-column: 2;
    }

    .offering {
        grid-template-columns: 3rem 1fr;
    }

    .offering__meta {
        grid-column: 2;
    }

    .site-footer--expanded {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .continuity-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.1rem;
    }

    .continuity-banner a {
        margin: 0.35rem 0 0;
    }

    .service-intro,
    .detail-hero,
    .care-note,
    .about-hero,
    .jodi-story > div {
        grid-template-columns: 1fr;
    }

    .legacy-story {
        grid-template-columns: 1fr;
    }

    .legacy-story > div:last-child {
        grid-column: 1;
    }

    .pathway__steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .pathway__steps article {
        padding: 0 0 2.5rem;
        border-right: 0;
        border-bottom: 1px solid var(--cream-200);
    }

    .pathway__steps article:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .detail-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-hero {
        padding-top: 3rem;
    }

    .about-hero img {
        order: -1;
    }
}

@media (max-width: 560px) {
    .site-nav {
        gap: 0.65rem;
    }

    .site-nav > a:first-child {
        display: block;
        font-size: 0.76rem;
    }

    .service-grid,
    .team-grid,
    .site-footer--expanded {
        grid-template-columns: 1fr;
    }

    .service-grid {
        gap: 0.75rem;
        width: min(calc(100% - 2rem), var(--content-width));
        padding: 4rem 0;
    }

    .service-card {
        min-height: 22rem;
    }

    .page-hero,
    .offering-list,
    .team-section,
    .pathway {
        width: min(calc(100% - 2rem), var(--content-width));
    }

    .page-hero h1,
    .detail-hero h1,
    .about-hero h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .care-note {
        width: min(calc(100% - 2rem), var(--content-width));
        margin-bottom: 4rem;
        padding: 2rem;
    }

    .offering {
        grid-template-columns: 1fr;
        padding: 2.5rem 0;
    }

    .offering__meta {
        grid-column: 1;
    }

    .team-grid {
        margin-top: 3rem;
    }

    .team-card {
        min-height: auto;
        padding: 2rem;
    }

    .footer-brand,
    .site-footer--expanded > div {
        grid-column: 1;
    }

    .site-footer--expanded {
        align-items: flex-start;
        text-align: left;
    }
}
