@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    --ink: #293d37;
    --sage: #dce7dc;
    --cream: #f9f7f0;
    --deep: #34584d;
    --muted: #697971
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'DM Sans',sans-serif;
    background: var(--cream)
}

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

.header {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    background: var(--cream)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px
}

    .brand small {
        display: block;
        letter-spacing: .25em;
        font-size: 9px;
        margin-top: 4px
    }

.brand-mark {
    width: 45px;
    height: 45px;
    border: 1px solid #80978a;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: italic 24px Georgia
}

.header nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px
}

.nav-cta {
    border: 1px solid var(--ink);
    padding: 12px 20px;
    border-radius: 30px
}

.hero {
    background: #e6eee5;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 610px;
    overflow: hidden
}

.hero-copy {
    padding: 110px 7% 60px 13%;
    z-index: 1
}

.eyebrow {
    letter-spacing: .19em;
    font-weight: 700;
    font-size: 11px;
    color: #5c7968
}

.hero h1, .intro h2, .section-heading h2, .fees h2, .contact h2 {
    font: normal clamp(46px,5.3vw,82px)/1.06 'DM Serif Display',serif;
    letter-spacing: -.025em;
    margin: 24px 0
}

.hero em, h2 em {
    font-weight: 400;
    color: #739282
}

.hero-copy p {
    max-width: 450px;
    line-height: 1.85;
    color: #57675f;
    font-size: 16px
}

.actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 34px
}

.button {
    background: var(--deep);
    color: white;
    padding: 17px 28px;
    border-radius: 40px;
    display: inline-block;
    font-size: 13px;
    font-weight: 600
}

    .button span {
        margin-left: 22px
    }

.text-link {
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid #81988b;
    padding-bottom: 6px
}

.hero-note {
    margin-top: 70px;
    font-size: 11px;
    color: #6c8074;
    letter-spacing: .05em
}

.hero-art {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 55px 60px 0
}

.art-circle {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: #c9d9ca;
    top: 60px
}

.hero-art img {
    position: relative;
    width: min(100%,430px);
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 240px 240px 0 0;
    filter: saturate(.78)
}

.floating-note {
    position: absolute;
    right: 6%;
    bottom: 45px;
    background: #f8f4e9;
    padding: 22px 30px;
    border-radius: 5px;
    font: 22px/1.3 'DM Serif Display',serif;
    transform: rotate(-5deg)
}

    .floating-note i {
        color: #78917d
    }

.intro {
    padding: 115px 12%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12%
}

    .intro h2, .section-heading h2, .fees h2, .contact h2 {
        font-size: clamp(38px,4vw,58px)
    }

    .intro p, .fees p {
        line-height: 1.9;
        color: #5b6c64
    }

    .intro .text-link {
        display: inline-block;
        margin-top: 14px
    }

.services {
    background: #eef0e8;
    padding: 100px 10%
}

.section-heading {
    text-align: center;
    margin-bottom: 50px
}

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

    .cards article {
        background: #fffefa;
        padding: 40px 32px;
        min-height: 260px;
        border-radius: 8px
    }

.card-icon {
    font-size: 32px;
    color: #829c85
}

.cards h3 {
    font: 27px 'DM Serif Display',serif;
    margin: 25px 0 12px
}

.cards p {
    font-size: 14px;
    line-height: 1.8;
    color: #65746b
}

.fees {
    padding: 105px 12%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%
}

.fee-list > div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #cbd4ca;
    padding: 20px 0;
    font-size: 15px
}

.fee-list strong {
    font-size: 20px
}

.contact {
    text-align: center;
    background: #355a4d;
    color: #fff;
    padding: 100px 20px
}

    .contact .eyebrow {
        color: #c6ddcc
    }

    .contact h2 em {
        color: #c3d6c4
    }

    .contact p {
        color: #d9e5da
    }

.button.light {
    background: #f8f7ee;
    color: #315448;
    margin: 22px
}

.contact-detail {
    font-size: 12px
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 7%;
    font-size: 12px;
    color: #68786c
}

@media(max-width:800px) {
    .header {
        height: 78px;
        padding: 0 6%
    }

        .header nav {
            gap: 12px
        }

            .header nav > a:not(.nav-cta) {
                display: none
            }

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

    .hero-copy {
        padding: 70px 7% 35px
    }

    .hero-note {
        margin-top: 35px
    }

    .hero-art {
        min-height: 420px;
        padding: 25px 12% 0
    }

        .hero-art img {
            height: 390px;
            width: 320px
        }

    .art-circle {
        width: 360px;
        height: 360px;
        top: 25px
    }

    .floating-note {
        font-size: 17px;
        right: 3%
    }

    .intro, .fees {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 70px 7%
    }

    .services {
        padding: 70px 7%
    }

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

    .contact {
        padding: 75px 6%
    }
}

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

/* Umbraco layout additions */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: white;
    padding: 1rem;
    z-index: 20
}

    .skip-link:focus {
        left: 1rem
    }

.brand-logo {
    max-height: 62px;
    max-width: 210px;
    object-fit: contain
}

.inner-page {
    max-width: 1050px;
    margin: auto;
    padding: 75px 7% 110px
}

    .inner-page h1 {
        font: normal clamp(42px,5vw,72px)/1.1 'DM Serif Display',serif
    }

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 20px
}

    .resource-grid article {
        padding: 28px;
        background: #eef0e8;
        border-radius: 8px
    }

    .resource-grid p {
        line-height: 1.8
    }

.header nav a:focus-visible, .button:focus-visible, a:focus-visible {
    outline: 3px solid #a47b32;
    outline-offset: 4px
}

.hero-art img {
    background: #d1dfd1
}

.richtext {
    line-height: 1.85
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

footer {
    gap: 20px;
    flex-wrap: wrap
}

@media(max-width:800px) {
    .brand-logo {
        max-width: 145px
    }

    .header nav {
        gap: 8px
    }

    .nav-cta {
        padding: 10px 12px
    }
}

/* Phase 3 accessible navigation and mobile refinements */
.menu-toggle {
    display: none;
    border: 1px solid var(--ink);
    border-radius: 30px;
    background: transparent;
    color: var(--ink);
    padding: 10px 16px;
    font: inherit;
    cursor: pointer
}

    .menu-toggle:focus-visible {
        outline: 3px solid #a47b32;
        outline-offset: 3px
    }

@media(max-width:800px) {
    .menu-toggle {
        display: block
    }

    .header {
        position: relative
    }

        .header nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--cream);
            padding: 22px 6%;
            box-shadow: 0 12px 22px #0002;
            z-index: 30;
            flex-direction: column;
            align-items: stretch
        }

            .header nav.is-open {
                display: flex
            }

            .header nav > a:not(.nav-cta) {
                display: block
            }

            .header nav a {
                padding: 10px 0
            }

            .header nav .nav-cta {
                padding: 12px 18px;
                text-align: center
            }
}

@media(min-width:801px) {
    .header nav {
        display: flex !important
    }
}

@media(max-width:420px) {
    .floating-note {
        right: 2%;
        bottom: 20px;
        padding: 12px 14px
    }

    .hero-art img {
        max-width: 90%;
        height: 350px
    }

    .art-circle {
        max-width: 95vw;
        max-height: 95vw
    }
}

.contact-page {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    max-width: 760px;
    margin-top: .75rem;
}

    .contact-form input:not([type="checkbox"]):not([type="radio"]),
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        padding: 0.9rem 1rem;
        border: 1px solid #d8d6d0;
        border-radius: 8px;
        font: inherit;
        background: #fff;
    }

        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            outline: 2px solid #668579;
            outline-offset: 2px;
        }

    .contact-form button[type="submit"],
    .contact-form input[type="submit"] {
        border: 0;
        border-radius: 100px;
        padding: 1rem 2rem;
        cursor: pointer;
        font: inherit;
    }
.umbraco-forms-caption {
    margin-block-start: 0.75em;
    margin-block-end: 0.75em;
}

/* Resource cards */

.resource-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e7e3dc;
    border-radius: 16px;
}

.resource-card__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 85px;
}

    .resource-card__logo img {
        display: block;
        max-width: 180px;
        max-height: 85px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.resource-card__content h2 {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}

.resource-card__content p {
    margin: 0;
    line-height: 1.7;
}

.resource-card__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 600px) {
    .resource-card {
        padding: 1.5rem;
    }

    .resource-card__logo img {
        max-width: 150px;
        max-height: 70px;
    }
}

/* Support Resources responsive Block Grid */

.resources-grid .umb-block-grid__layout-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Each resource card occupies one grid column */
.resources-grid .umb-block-grid__layout-item {
    grid-column: auto;
    min-width: 0;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .resources-grid .umb-block-grid__layout-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
    .resources-grid .umb-block-grid__layout-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* How I Can Help - Call to Action */

.how-help-cta {
    margin: 5rem 0 0;
    padding: 5rem 2rem;
    background: #e8eee9;
    border-radius: 24px;
    text-align: center;
}

.how-help-cta__inner {
    max-width: 720px;
    margin: 0 auto;
}

.how-help-cta .eyebrow {
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: 0.14em;
}

.how-help-cta h2 {
    margin: 0 auto 1.5rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    font-weight: 500;
}

    .how-help-cta h2 em {
        display: block;
        font-weight: 400;
    }

.how-help-cta p {
    max-width: 540px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.how-help-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .how-help-cta {
        margin-top: 3rem;
        padding: 3.5rem 1.5rem;
        border-radius: 18px;
    }

        .how-help-cta p {
            font-size: 1rem;
        }
}

@media (max-width: 480px) {
    .how-help-cta {
        padding: 3rem 1.25rem;
    }

    .how-help-cta__button {
        width: 100%;
        max-width: 280px;
    }
}

/* Contact location */

.contact-location {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: stretch;
    margin: 5rem auto 2rem;
    padding: 3rem;
    background: #e8eee9;
    border-radius: 24px;
}

.contact-location__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

    .contact-location__details h2 {
        font-size: clamp(1.8rem, 3vw, 2.8rem);
        line-height: 1.2;
        margin: 1rem 0 2rem;
    }

.contact-location__label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}

.contact-location__address p {
    white-space: pre-line;
    line-height: 1.8;
    margin: 0;
}

.contact-location__travel {
    margin: 1.5rem 0;
    line-height: 1.7;
}

.contact-location__map {
    min-height: 350px;
    overflow: hidden;
    border-radius: 16px;
    background: #dbe5dc;
}

    .contact-location__map iframe {
        width: 100%;
        height: 100%;
        min-height: 350px;
        display: block;
        border: 0;
    }

.contact-location__map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    height: 100%;
    min-height: 350px;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 900px) {
    .contact-location {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .contact-location__map {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .contact-location {
        margin-top: 3rem;
        padding: 1.5rem;
        border-radius: 18px;
    }
}

