/* Wise Therapy — standalone, relative sizing, no framework. */
:root {
    --paper: #f5f3ed;
    --white: #fffefa;
    --ink: #233b47;
    --body: #3d484d;
    --muted: #5b666b;
    --accent: #927343;
    --line: #d8d8cf;
    --tint: #eaece7;
    --container: 72rem;
    --space-xs: .25rem;
    --space-sm: .5rem;
    --space: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--body); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.85; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.875rem); line-height: 1.09; letter-spacing: -.045em; }
h2 { font-size: 2rem; line-height: 1.25; letter-spacing: -.025em; }
p + p { margin-top: 1.5rem; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
a:focus-visible,button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.wrap { width: min(var(--container), calc(100% - 6rem)); margin-inline: auto; }
.skip-link { position: absolute; top: -6rem; left: 1rem; padding: .75rem 1.5rem; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 8.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 19.375rem; height: auto; }
.site-header nav { display: flex; gap: 2.125rem; align-items: center; font-size: .8125rem; line-height: 1.5; }
.site-header nav a { text-decoration: none; padding: .5rem 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover,.site-header nav a[aria-current] { border-bottom-color: var(--accent); color: var(--ink); }
.menu-toggle { display: none; }
.eyebrow { font-family: Arial,Helvetica,sans-serif; color: var(--muted); font-size: .75rem; letter-spacing: .06em; line-height: 1.8; margin-bottom: 1.75rem; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 6%; align-items: start; padding-block: 4.75rem 5rem; }
.hero-copy { padding-top: .25rem; }
.hero-copy .hero-heading { max-width: 42rem; }
.membership { font-size: .8125rem; line-height: 1.8; margin-top: 1.75rem; max-width: 32rem; color: var(--ink); padding-left: 1rem; border-left: 2px solid var(--accent); }
.intro-copy { margin-top: 2rem; max-width: 36rem; font-size: 1rem; line-height: 1.85; }
.hero-portrait { position: relative; margin-top: .5rem; padding: 0 0 1.375rem 1.375rem; }
.hero-portrait::before { position: absolute; content: ''; z-index: -1; background: var(--tint); left: 0; right: 1.375rem; top: 1.375rem; bottom: 0; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
figcaption { font-family: Georgia,serif; font-size: 1rem; color: var(--muted); margin-top: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--ink); color: var(--white); font-size: .8125rem; line-height: 1.6; text-decoration: none; padding: 1rem 1.25rem; margin-top: 2rem; }
.button:hover { color: white; background: #354e59; }
.button span { font-size: 1.25rem; line-height: 1; }
.experience { background: var(--white); border-block: 1px solid var(--line); padding-block: 4.5rem; }
.experience-grid { display: grid; grid-template-columns: 1fr 2.3fr; gap: 10%; }
.section-caption { font-family: Georgia,serif; font-size: 1.75rem; color: var(--ink); line-height: 1.4; }
.reading-copy { font-size: 1rem; line-height: 1.95; }
.reading-copy p + p { margin-top: 1.75rem; }
.plain-link { display: inline-flex; gap: 1.5rem; align-items: center; margin-top: 1.75rem; color: var(--ink); font-size: .8125rem; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: .25rem; }
.plain-link:hover { border-bottom-color: var(--ink); }
.professional-marks { display: flex; align-items: center; justify-content: center; gap: 5rem; padding-block: 3.5rem; }
.professional-marks a { display: block; }
.professional-marks img { width: auto; max-width: 17rem; max-height: 4rem; object-fit: contain; }
.professional-marks a:last-child img { max-height: 4.5rem; }
.site-footer { background: var(--ink); color: #dce2e1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2rem; font-size: .6875rem; }
.footer-name { font-family: Georgia,serif; font-size: 1.5rem; text-decoration: none; color: var(--white); }
.site-footer a:hover { color: white; }
.page-heading { padding-block: 3.5rem 3.75rem; }
.page-heading .eyebrow { margin-bottom: 1rem; }
.page-heading h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.practice-grid { padding-bottom: 5rem; }



.practice-copy { display: flow-root; max-width: none; }
.practice-copy h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.qualifications,.references { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.practice-copy ul { margin: 0; padding-left: 1.125rem; }
.practice-copy li { padding-left: .375rem; margin-bottom: 1rem; }
.references { font-size: .875rem; }
.closing-link { margin-top: 1rem; }
.contact-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 10%; padding-bottom: 3.5rem; }
.contact-details h2 { margin-bottom: 1.25rem; }
address { font-style: normal; font-size: 1rem; line-height: 2.25; overflow-wrap: anywhere; }
address a { text-decoration-color: var(--line); }
.locations { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding-bottom: 4rem; }
.location-card { padding: 2.25rem; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.location-number { font-size: .6875rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 1rem; }
.location-card h2 { margin-bottom: 1.25rem; }
.location-card p { max-width: 24rem; font-size: .9375rem; }
.location-card p + p { margin-top: 1rem; }
.location-card p:has(a) { font-size: .8125rem; margin-bottom: .5rem; }
.location-card .plain-link { margin-top: auto; padding-top: 2rem; }
.consultation-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 10%; border-top: 1px solid var(--line); padding-block: 3.5rem 4.5rem; }
.consultation-grid h2 { margin-bottom: 1.5rem; }
.fees { border-left: 1px solid var(--line); padding-left: 2rem; }
@media (max-width: 62em) {
    .wrap { width: calc(100% - 4rem); }
    .brand img { width: 16.5rem; }
    .site-header nav { gap: 1.25rem; font-size: .75rem; }
    .home-hero { gap: 5%; padding-top: 3rem; }
    .hero-copy .hero-heading { font-size: 3.5rem; }
    .hero-portrait { padding-left: .75rem; padding-bottom: .75rem; }
    .hero-portrait::before { top: .75rem; right: .75rem; }
    .intro-copy { font-size: .9375rem; }
    .experience-grid { grid-template-columns: 1fr 2.5fr; gap: 6%; }
    .location-card { padding: 1.75rem; }
}
@media (max-width: 46em) {
    .wrap { width: calc(100% - 2.5rem); }
    .site-header { min-height: 6.5rem; flex-wrap: wrap; gap: 0; padding-block: 1.25rem; }
    .brand img { width: 15.25rem; }
    .menu-toggle:not([hidden]) { display: inline-flex; gap: .75rem; align-items: center; background: none; border: 0; color: var(--ink); padding: .5rem 0 .5rem .5rem; font-size: .75rem; cursor: pointer; }
    .menu-toggle span { font-size: 1.125rem; }
    .site-header nav { width: 100%; flex-direction: column; gap: 0; align-items: stretch; margin-top: 1.25rem; }
    .js .site-header nav { display: none; }
    .js .site-header nav.is-open { display: flex; }
    .site-header nav a { padding: .875rem 0; border-bottom: 0; border-top: 1px solid var(--line); font-size: .9375rem; }
    .site-header nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
    .home-hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2.5rem 3rem; }
    .eyebrow { font-size: .6875rem; margin-bottom: 1.5rem; }
    .hero-copy .hero-heading { font-size: clamp(2.3rem, 9.3vw, 3.75rem); }
    .membership { font-size: .75rem; margin-top: 1.5rem; }
    .intro-copy { margin-top: 1.5rem; font-size: .9375rem; }
    .button { font-size: .75rem; gap: 1rem; padding: .875rem 1rem; margin-top: 1.75rem; }
    .hero-portrait { width: 100%; max-width: 26rem; margin: 0 auto; padding: 0 0 1rem 1rem; }
    .hero-portrait::before { top: 1rem; right: 1rem; }
    .hero-portrait img { aspect-ratio: 1.08; object-position: center 27%; }
    .experience { padding-block: 2.75rem; }
    .experience-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .reading-copy { font-size: .9375rem; line-height: 1.9; }
    .section-caption { font-size: 1.625rem; }
    .professional-marks { gap: 2rem; padding-block: 2.5rem; }
    .professional-marks img { max-width: 10rem; max-height: 2.5rem; }
    .professional-marks a:last-child img { max-width: 6rem; max-height: 3rem; }
    .footer-inner { flex-wrap: wrap; gap: 1rem; padding-block: 1.75rem; }
    .footer-name { width: 100%; }
    .footer-inner>span { font-size: .625rem; }
    .page-heading { padding-block: 2.5rem; }
    .page-heading h1 { font-size: 2.625rem; }
    .practice-grid { grid-template-columns: 1fr; gap: 2.75rem; padding-bottom: 3rem; }



    .practice-copy h2 { font-size: 1.625rem; }
    .qualifications,.references { margin-top: 2.5rem; padding-top: 2rem; }
    .contact-intro { grid-template-columns: 1fr; gap: 1.75rem; padding-bottom: 2.5rem; }
    .contact-details h2 { font-size: 1.75rem; }
    .locations { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 2.75rem; }
    .location-card { padding: 1.75rem; }
    .location-card h2 { font-size: 1.75rem; }
    .consultation-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2.75rem 3rem; }
    .fees { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 2rem; }
    .consultation-grid h2 { font-size: 1.75rem; }
}
@media (max-width: 23em) {
    .brand img { width: 13rem; }
    .hero-copy .hero-heading { font-size: 2.05rem; }
    .professional-marks { gap: 1rem; }
    .professional-marks img { max-width: 9rem; }

    .page-heading h1 { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Homepage artwork stands alone without an offset backing. */
.hero-artwork { padding: 0; }
.hero-artwork::before { content: none; }

/* Location context remains visible beneath the homepage heading. */
.practice-location { margin-top: 1.25rem; max-width: 35rem; font-size: .875rem; line-height: 1.8; color: var(--muted); }

/* Portrait floats within the article so text uses the full width below it. */
.practice-sidebar {
    float: left;
    width: min(28%, 18rem);
    margin: 0 2.5rem 1.5rem 0;
}
.practice-sidebar img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
}
.practice-sidebar .plain-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: .8125rem;
    margin-top: 1rem;
}
.practice-sidebar .plain-link span { white-space: nowrap; }
.practice-copy .qualifications { clear: both; }
@media (max-width: 46em) {
    .practice-sidebar {
        width: 38%;
        max-width: 11rem;
        margin-right: 1.25rem;
        margin-bottom: 1rem;
    }
    .practice-sidebar .plain-link { font-size: .6875rem; }
}

/* Preserve the visual hierarchy independently of semantic heading levels. */
.hero-heading {
    font-size: clamp(2.5rem, 5.4vw, 4.875rem);
    line-height: 1.09;
    letter-spacing: -.045em;
}
h1.practice-location {
    font-family: Arial, Helvetica, sans-serif;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: normal;
}

/* Keep the opening text beside the portrait on large screens only. */
.practice-introduction { display: flow-root; }
@media (min-width: 62.0625em) {
    .practice-introduction {
        display: grid;
        grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }
    .practice-introduction .practice-sidebar {
        float: none;
        width: 100%;
        margin: 0;
    }
}

/* Crop the painting at its sides to fill a taller homepage artwork panel. */
.hero-artwork img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }

/* Text credentials replace the older BACP badge's outdated designation. */
.bacp-membership { display: block; color: var(--muted); font-size: 1.75rem; line-height: 1.25; }
.bacp-membership span { display: block; font-size: .75rem; margin-top: .375rem; }
@media (max-width: 46em) {
    .bacp-membership { font-size: 1.375rem; }
    .bacp-membership span { font-size: .625rem; }
}
/* Match the existing neutral professional-badge treatment. */

