:root {
    --layout-shell: 2560px;
    --layout-content: 1680px;
    --layout-gutter: clamp(1.25rem, 4vw, 6rem);
    --layout-content-gutter: max(var(--layout-gutter), calc((100vw - var(--layout-content)) / 2));
    --section-space: clamp(4.5rem, 7vw, 8.5rem);
    --layout-gap: clamp(2.5rem, 5vw, 7rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: clip;
    background: #fbf8f2;
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

img {
    max-width: 100%;
}

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

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 100;
    padding: .75rem 1rem;
    background: var(--forest);
    color: #fff;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 3.75rem);
    width: min(100%, var(--layout-shell));
    min-height: 104px;
    margin-inline: auto;
    padding-inline: var(--layout-gutter);
    background: #fbf8f2;
}

.site-header > * {
    min-width: 0;
}

.brand,
h1,
h2,
h3 {
    color: var(--forest);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-weight: 500;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(.55rem, .8vw, .8rem);
    min-width: 0;
    font-size: clamp(1.8rem, 2.1vw, 3rem);
    letter-spacing: -.045em;
}

.brand img {
    display: block;
    flex: 0 0 auto;
    width: clamp(44px, 3vw, 56px);
    height: clamp(44px, 3vw, 56px);
    border-radius: 14px;
}

.brand span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.site-header nav {
    display: flex;
    justify-content: center;
    gap: clamp(.9rem, 1.55vw, 2.75rem);
}

.site-header nav a {
    padding: .9rem 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
    border-color: var(--forest);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: .85rem clamp(1.2rem, 1.6vw, 1.8rem);
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
}

.button-primary {
    background: var(--plum);
    color: #fff;
}

.button-secondary {
    border-color: var(--forest);
    background: transparent;
    color: var(--forest);
}

.button:hover,
.button:focus-visible {
    filter: brightness(.94);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--plum) 48%, transparent);
    outline-offset: 3px;
}

.button-outline {
    border-color: var(--forest);
    color: var(--forest);
}

.button-light {
    background: #fff;
    color: var(--plum);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    width: min(100%, var(--layout-shell));
    min-height: clamp(620px, 42vw, 860px);
    margin-inline: auto;
    overflow: hidden;
    background: var(--ivory);
}

.hero > * {
    min-width: 0;
}

.hero-copy {
    align-self: center;
    padding-block: clamp(3rem, 5vw, 7rem);
    padding-inline-start: clamp(2.5rem, 6vw, 9rem);
    padding-inline-end: clamp(2rem, 4vw, 6rem);
}

.eyebrow,
.section-kicker {
    color: var(--plum);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 980px;
    margin: clamp(1rem, 1.6vw, 1.5rem) 0;
    font-size: clamp(3.25rem, 4.4vw, 6.25rem);
    line-height: .96;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.hero-description {
    max-width: 42rem;
    font-size: clamp(1rem, .45vw + .8rem, 1.2rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(.8rem, 1.2vw, 1.2rem);
    margin-top: clamp(1.5rem, 2vw, 2rem);
}

.portrait-wrap {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.portrait-wrap::before {
    position: absolute;
    top: -7%;
    left: -44%;
    z-index: 1;
    width: 56%;
    height: 114%;
    border-radius: 0 52% 52% 0;
    background: var(--ivory);
    content: "";
}

.portrait-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 27%;
}

.credential-bar {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    min-height: 88px;
    padding: 1rem var(--layout-content-gutter);
    border-top: 1px solid #d8c4cd;
    border-bottom: 1px solid #d8c4cd;
}

.credential-bar strong {
    color: var(--forest);
    letter-spacing: .05em;
}

.about-section,
.journey-section,
.contact-section,
.professional-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--layout-gap);
    padding: var(--section-space) var(--layout-content-gutter);
}

.about-section h2,
.section-heading h2,
.journey-section h2,
.contact-section h2,
.professional-section h2,
.testimonials-section h2,
.faq-section h2 {
    margin: 1rem 0;
    font-size: clamp(2.7rem, 3.6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.about-copy {
    padding-left: clamp(2rem, 4vw, 4rem);
    border-left: 1px solid #d8c4cd;
}

.about-copy p,
.professional-section p {
    line-height: 1.75;
}

.about-copy p {
    font-size: 1.05rem;
}

.about-copy .lead {
    color: var(--forest);
    font-family: Georgia, serif;
    font-size: clamp(1.6rem, 2vw, 2.3rem);
    line-height: 1.25;
}

.about-copy blockquote {
    margin: 2.5rem 0 0;
    color: var(--plum);
    font-family: Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.4;
}

.services-section,
.topics-section,
.testimonials-section,
.faq-section {
    padding: var(--section-space) var(--layout-content-gutter);
}

.services-section,
.testimonials-section {
    background: #efe8dd;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.section-heading > p:last-child {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.7;
}

.card-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 1.8vw, 1.8rem);
    margin-top: clamp(3rem, 4vw, 4rem);
}

.service-card {
    min-height: 320px;
    padding: clamp(2rem, 2.4vw, 2.6rem);
    border-top: 3px solid var(--plum);
    background: #fbf8f2;
}

.service-card > span,
.topic-card > span {
    color: var(--plum);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.service-card h3,
.topic-card h3,
.journey-section h3 {
    font-size: clamp(1.55rem, 1.6vw, 2.1rem);
    line-height: 1.15;
    text-wrap: balance;
}

.service-card h3 {
    margin: 3rem 0 1rem;
}

.service-card p,
.topic-card p,
.journey-section p {
    line-height: 1.7;
}

.journey-section {
    background: var(--forest);
    color: #e7eee9;
}

.journey-section h2,
.journey-section h3,
.contact-section h2 {
    color: #fff;
}

.section-kicker.light {
    color: #dfcbd4;
}

.journey-section ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.journey-section li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.7rem 0;
    border-top: 1px solid #ffffff38;
}

.journey-section li:last-child {
    border-bottom: 1px solid #ffffff38;
}

.journey-section li > span {
    color: #dfcbd4;
}

.journey-section h3 {
    margin: 0;
}

.journey-section li p {
    margin: .5rem 0 0;
}

.contact-section {
    background: var(--plum);
    color: #fff;
}

.contact-section > div:last-child {
    align-self: end;
    padding-left: 3rem;
    border-left: 1px solid #ffffff55;
}

.contact-section p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.professional-section {
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    background: var(--ivory);
}

.professional-photo {
    max-height: 680px;
    overflow: hidden;
    border-radius: 50% 50% 8px 8px;
}

.professional-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.professional-section h3 {
    margin: 2rem 0 .5rem;
    font-size: clamp(1.8rem, 2vw, 2.5rem);
}

.testimonial-grid figure {
    margin: 0;
    padding: clamp(2rem, 2.2vw, 2.4rem);
    border-top: 3px solid var(--plum);
    background: #fbf8f2;
}

.testimonial-grid blockquote {
    margin: 0 0 2rem;
    color: var(--forest);
    font-family: Georgia, serif;
    font-size: 1.45rem;
    line-height: 1.5;
}

.testimonial-grid figcaption {
    color: var(--plum);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.faq-list {
    max-width: 920px;
    margin: 4rem auto 0;
}

.faq-list details {
    padding: 1.4rem 0;
    border-top: 1px solid #183d3340;
}

.faq-list details:last-child {
    border-bottom: 1px solid #183d3340;
}

.faq-list summary {
    color: var(--forest);
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 1.45rem;
}

.faq-list p {
    padding-right: 3rem;
    line-height: 1.75;
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    padding-bottom: .25rem;
    border-bottom: 1px solid var(--plum);
    color: var(--plum);
    font-weight: 700;
}

.topic-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid #183d3326;
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 18px 45px #183d330d;
    transition: box-shadow .2s ease, transform .2s ease;
}

.topic-card:hover,
.topic-card:focus-within {
    box-shadow: 0 22px 54px #183d3317;
    transform: translateY(-3px);
}

.topic-card-media {
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ivory), #e3ebe5);
}

.topic-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(1.4rem, 1.5vw, 1.7rem);
}

.topic-card-content > span {
    color: var(--plum);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.topic-card h3 {
    margin: 1.1rem 0 .8rem;
    font-size: clamp(1.45rem, 1.5vw, 1.9rem);
}

.topic-card .topic-card-description {
    margin: 0 0 1.5rem;
    color: #52605b;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    text-transform: none;
}

.topic-card .text-link {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: .2rem;
    border-bottom: 1px solid var(--plum);
    color: var(--plum);
    font-weight: 750;
}

.topic-card .text-link:hover,
.topic-card .text-link:focus-visible {
    border-bottom-width: 2px;
}

footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
    align-items: center;
    gap: 2rem;
    padding: 2.5rem var(--layout-content-gutter);
    background: #102d25;
    color: #e7eee9;
}

footer div {
    display: flex;
    flex-direction: column;
}

footer strong {
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.6rem;
    font-weight: 500;
}

footer span {
    font-size: .8rem;
}

.hero-text-only {
    grid-template-columns: minmax(0, 1fr);
}

.hero-text-only .hero-copy {
    width: 100%;
    max-width: 1100px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    min-width: 0;
}

.language-picker select {
    max-width: 11rem;
    padding: .55rem .8rem;
    border: 1px solid #183d3348;
    border-radius: 999px;
    background: var(--ivory);
    color: var(--forest);
    font: inherit;
}

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

.legal-header {
    grid-template-columns: minmax(0, 1fr) auto;
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) var(--layout-gutter);
}

.legal-page h1 {
    margin: .8rem 0;
    font-size: clamp(3rem, 5vw, 5.5rem);
    letter-spacing: -.05em;
}

.legal-page h2 {
    margin: 3rem 0 .8rem;
    font-size: clamp(1.7rem, 2.2vw, 2.3rem);
}

.legal-page p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-updated {
    color: #66706c;
}

@media (min-width: 1921px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .hero h1 {
        max-width: 1080px;
    }

    .portrait-wrap img {
        object-position: 50% 26%;
    }
}

@media (min-width: 1101px) and (max-height: 900px) {
    .hero {
        height: calc(100svh - 104px);
        min-height: 600px;
        max-height: 860px;
    }

    .hero-copy {
        padding-top: clamp(2rem, 4.5vh, 3.5rem);
        padding-bottom: clamp(2rem, 4.5vh, 3.5rem);
    }

    .hero h1 {
        margin: clamp(.85rem, 2vh, 1.25rem) 0;
        font-size: clamp(3.7rem, 8.4vh, 5.4rem);
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .hero-actions {
        margin-top: clamp(1rem, 2.5vh, 1.5rem);
    }

    .hero-actions .button {
        min-height: 50px;
    }
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-header nav {
        display: none;
    }

    .hero {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
        min-height: 620px;
    }

    .hero-copy {
        padding: 3.5rem clamp(2rem, 4vw, 3.5rem);
    }

    .hero h1 {
        font-size: clamp(3rem, 5.4vw, 4.4rem);
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

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

    .services-section .card-grid article:last-child,
    .testimonial-grid figure:last-child {
        grid-column: 1 / -1;
    }

    .professional-section {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .hero-copy {
        width: 100%;
        max-width: 800px;
        margin-inline: auto;
        padding: clamp(3rem, 8vw, 5rem) var(--layout-gutter);
    }

    .hero h1 {
        max-width: 760px;
        font-size: clamp(3rem, 8vw, 4.7rem);
    }

    .portrait-wrap {
        min-height: clamp(420px, 70vw, 620px);
        aspect-ratio: 16 / 10;
    }

    .portrait-wrap::before {
        display: none;
    }

    .portrait-wrap img {
        object-position: 52% 24%;
    }

    .professional-section {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    :root {
        --layout-gutter: clamp(1.15rem, 5vw, 1.5rem);
        --section-space: clamp(4rem, 14vw, 6rem);
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr);
        min-height: 82px;
        gap: .8rem;
        padding-block: .8rem;
        padding-inline: var(--layout-gutter);
    }

    .brand {
        gap: .6rem;
        font-size: clamp(1.55rem, 7vw, 1.8rem);
    }

    .brand img {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }

    .site-header .button {
        width: 100%;
        min-height: 44px;
        padding: .6rem .8rem;
        font-size: .78rem;
    }

    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .header-actions .language-picker {
        grid-column: 1 / -1;
    }

    .header-actions .language-picker select {
        width: 100%;
        max-width: none;
    }

    .hero-copy {
        padding: 3rem var(--layout-gutter);
    }

    .hero h1 {
        margin: 1rem 0;
        font-size: clamp(2.8rem, 12.5vw, 3.7rem);
    }

    .hero-actions {
        margin-top: 1.5rem;
    }

    .portrait-wrap {
        min-height: clamp(400px, 112vw, 560px);
        aspect-ratio: auto;
    }

    .credential-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 1.4rem var(--layout-gutter);
    }

    .about-section,
    .journey-section,
    .contact-section,
    .professional-section {
        grid-template-columns: minmax(0, 1fr);
        padding-right: var(--layout-gutter);
        padding-left: var(--layout-gutter);
    }

    .about-copy,
    .contact-section > div:last-child {
        padding-top: 2rem;
        padding-left: 0;
        border-top: 1px solid #d8c4cd;
        border-left: 0;
    }

    .services-section,
    .topics-section,
    .testimonials-section,
    .faq-section {
        padding-right: var(--layout-gutter);
        padding-left: var(--layout-gutter);
    }

    .card-grid,
    .testimonial-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-section .card-grid article:last-child,
    .testimonial-grid figure:last-child {
        grid-column: auto;
    }

    footer {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        padding-right: var(--layout-gutter);
        padding-left: var(--layout-gutter);
    }

    .legal-header .brand span {
        white-space: normal;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

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

    .credential-bar {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }

    .faq-list p {
        padding-right: 0;
    }

    .language-picker select {
        max-width: 8rem;
    }
}

@media (max-width: 380px) {
    .site-header {
        gap: .55rem;
    }

    .brand {
        font-size: 1.42rem;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .site-header .button {
        padding-inline: .65rem;
        font-size: .72rem;
    }
}

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

    .topic-card {
        transition: none;
    }
}
