html {
    scroll-padding-top: 5rem;
}

.home-page {
    --home-ink: #1d3028;
    --home-muted: #455750;
    --home-sage: #eaf0e8;
    --home-cream: #f6f3eb;
    --home-border: #d8e1d8;
    --home-radius: 1rem;
    --home-section-space: clamp(2.75rem, 7vw, 5.5rem);

    margin-bottom: 1.5rem;
    color: var(--home-ink);
}

.home-page a {
    color: var(--site-green);
    text-underline-offset: 0.2em;
}

.home-page :is(a, summary):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.home-page p,
.home-page dd {
    line-height: 1.65;
}

.home-nav {
    position: sticky;
    z-index: 10;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding-block: 0.5rem;
    background: #fff;
    border-bottom: 1px solid var(--home-border);
}

.home-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.home-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
}

.home-nav .home-brand {
    padding-inline: 0.25rem;
    font-family: Georgia, serif;
    font-size: 1.3rem;
}

.home-nav a:hover,
.home-nav .home-nav-contact {
    background: var(--home-sage);
}

.home-nav .home-nav-contact:hover {
    background: #dbe7da;
}

.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    overflow: hidden;
    padding: 0;
    margin-top: 0.75rem;
    background: var(--home-sage);
    border-radius: var(--home-radius);
}

.home-intro-copy {
    align-self: center;
    padding: clamp(1.5rem, 4vw, 4rem);
}

.home-page :is(h1, h2) {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
    text-wrap: balance;
}

.home-page h1 {
    margin-bottom: 0.85rem;
    font-size: clamp(2.3rem, 4.2vw, 4rem);
    line-height: 1.08;
}

.home-page h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.15;
}

.home-page h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    font-weight: 650;
}

.home-intro-copy p {
    max-width: 50ch;
}

.home-intro-name {
    color: var(--site-green);
    font-weight: 650;
}

.home-woodland {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.15rem;
    margin-top: 1.4rem;
}

.home-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-weight: 650;
}

.home-page .home-button {
    padding: 0.6rem 1rem;
    color: #fff;
    background: var(--site-green);
    border-radius: 0.5rem;
    text-decoration: none;
}

.home-page .home-button:hover {
    background: var(--home-ink);
}

.home-intro .home-button:focus-visible {
    outline-color: var(--site-green);
}

.home-section {
    padding: 0;
    margin-top: var(--home-section-space);
}

.home-session {
    height: 100%;
    padding: clamp(1rem, 2.4vw, 1.65rem);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
}

.home-session p,
.home-session-details dd {
    margin-bottom: 0;
    color: var(--home-muted);
}

.home-session-details {
    padding: 0.35rem 1.25rem 1.25rem;
    margin: 1rem 0 0;
    background: var(--home-cream);
    border-radius: var(--home-radius);
}

.home-session-details dt {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.home-about {
    padding-top: clamp(1.5rem, 4vw, 3rem);
    border-top: 1px solid var(--home-border);
}

.home-portrait {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--home-radius);
}

.home-about #personal {
    margin-top: 1.4rem;
}

.home-credentials {
    padding-top: 1.5rem;
    margin-bottom: 1.8rem;
}

.home-memberships {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.home-memberships li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.home-memberships img {
    flex: 0 0 5rem;
    width: 5rem;
    height: 2.6rem;
    object-fit: contain;
}

.home-qualifications {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.home-qualifications li + li {
    margin-top: 0.45rem;
}

.home-experience {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.home-experience li {
    padding: 0.32rem 0.75rem;
    background: var(--home-sage);
    border-radius: 1.25rem;
}

.home-faq {
    padding: clamp(1.25rem, 4vw, 3rem);
    background: var(--home-cream);
    border-radius: var(--home-radius);
}

.home-questions {
    display: grid;
    gap: 0.6rem;
}

.home-questions details {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 0.6rem;
}

.home-questions summary {
    padding: 0.8rem 1rem;
    border-radius: inherit;
    font-weight: 650;
    cursor: pointer;
}

.home-questions summary:hover {
    background: var(--home-sage);
}

.home-questions summary::marker {
    color: var(--site-green);
}

.home-answer {
    padding: 0 1rem 1rem;
    color: var(--home-muted);
}

.home-answer p:last-child {
    margin-bottom: 0;
}

.home-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem clamp(1.5rem, 6vw, 5rem);
    padding: clamp(1.25rem, 4vw, 3rem);
    color: #fff;
    background: var(--site-green);
    border-radius: var(--home-radius);
}

.home-contact h2 {
    text-wrap: wrap;
}

.home-contact p {
    max-width: 38ch;
    margin-bottom: 0;
}

.home-contact a {
    color: inherit;
}

.home-contact-details {
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.home-contact-details dd:last-child {
    margin-bottom: 0;
}

.home-contact .home-button {
    color: var(--home-ink);
    background: var(--home-sage);
}

.home-contact .home-button:hover {
    background: #fff;
}

.home-contact .home-button:focus-visible {
    outline-color: #fff;
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 8rem;
    }

    .home-nav {
        flex-wrap: wrap;
        gap: 0;
    }

    .home-nav .home-brand {
        flex-basis: 100%;
    }

    .home-nav a {
        padding-inline: 0.4rem;
    }

    .home-intro,
    .home-contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-woodland {
        height: auto;
        aspect-ratio: 2 / 1;
    }
}

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