.anhart-catalogue {
    --anhart-ink: #253137;
    --anhart-muted: #4e5d64;
    --anhart-blue: #416d86;
    --anhart-deep-blue: #305871;
    --anhart-peach: #f9c7b4;
    --anhart-sand: #fcf4ed;
    --anhart-line: #d5dee2;
    color: var(--anhart-ink);
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    overflow-wrap: anywhere;
}
.anhart-catalogue *, .anhart-catalogue *::before, .anhart-catalogue *::after { box-sizing: border-box; }
.anhart-catalogue h2, .anhart-catalogue h3 {
    line-height: 1.08;
    letter-spacing: -.045em;
    color: inherit;
    font-family: inherit;
    font-weight: 600;
    margin: 0 0 .45em;
}
.anhart-catalogue h2 { font-size: clamp(2rem, 5vw, 3.9rem); }
.anhart-catalogue h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.anhart-catalogue img { display: block; width: 100%; height: auto; }
.anhart-catalogue p { margin-block: 0 1em; }
.anhart-catalogue .anhart-kicker {
    color: var(--anhart-deep-blue);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .095em;
    text-transform: uppercase;
    margin: 0 0 1.2rem;
}
.anhart-catalogue .anhart-brand-logo {
    width: min(14rem, 80%);
    height: auto;
    margin-block: .75rem 2rem;
}
.anhart-catalogue .anhart-hero-copy .anhart-brand-logo { width: min(16rem, 80%); }
.anhart-hero, .anhart-contact {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(1.5rem, 5vw, 5rem);
}
.anhart-hero { align-items: center; padding: clamp(1.25rem, 4vw, 3.5rem) 0; }
.anhart-hero-copy { padding-block: .55rem; }
.anhart-hero-copy > p:not(.anhart-kicker) { color: var(--anhart-muted); max-width: 34ch; font-size: 1.1rem; }
.anhart-hero-photos { position: relative; padding-inline-end: 10%; padding-block-end: 7%; isolation: isolate; }
.anhart-hero-photos::before {
    content: "";
    position: absolute;
    inset: 21% 13% 0 8%;
    background: var(--anhart-peach);
    border-radius: 10px 10px 10px 64px;
    z-index: -1;
}
.anhart-catalogue .anhart-hero-main {
    aspect-ratio: 1.03;
    object-fit: cover;
    object-position: 51% center;
    border-radius: 9px 9px 9px clamp(2.25rem, 6vw, 5.5rem);
}
.anhart-hero-insets {
    position: absolute;
    bottom: 1.5%;
    right: 0;
    width: 27%;
    display: grid;
    gap: .35rem;
    background: var(--anhart-blue);
    border-radius: clamp(.65rem, 2.8vw, 1.7rem);
    padding: clamp(.3rem, .9vw, .65rem);
}
.anhart-hero-insets img { aspect-ratio: 1.1; object-fit: cover; border-radius: clamp(.35rem, 2vw, 1.15rem); }
.anhart-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.2rem; margin-top: 1.55rem; }
.anhart-catalogue .anhart-button, .anhart-catalogue button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    background: var(--anhart-deep-blue);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: .8rem 1.22rem;
    text-decoration: none;
    font: 650 .95rem/1.3 system-ui, sans-serif;
    cursor: pointer;
}
.anhart-catalogue .anhart-button:hover, .anhart-catalogue button:hover { background: var(--anhart-ink); color: #fff; }
.anhart-catalogue .anhart-link, .anhart-detail-link {
    color: var(--anhart-deep-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .24em;
}
.anhart-catalogue :focus-visible { outline: 3px solid #996047; outline-offset: 4px; }
.anhart-intro { max-width: 68ch; margin-block: clamp(1rem, 3vw, 2.5rem) clamp(1.8rem, 4vw, 3.1rem); }
.anhart-intro > p:not(.anhart-kicker, .anhart-note) { color: var(--anhart-muted); font-size: 1.08rem; }
.anhart-note, .anhart-floorplan figcaption { color: var(--anhart-muted); font-size: .93rem; }
.anhart-price-note { max-width: 80ch; padding-top: 1.1rem; }
.anhart-grid { display: grid; }
.anhart-grid--tiny {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
    gap: clamp(1rem, 3vw, 2.2rem);
    row-gap: 2.5rem;
}
.anhart-catalogue .anhart-card a { display: block; height: 100%; text-decoration: none; color: inherit; }
.anhart-card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px 7px 7px 24px; }
.anhart-card-body { padding: .9rem 0 .3rem; }
.anhart-catalogue .anhart-card-specs { color: var(--anhart-muted); margin: 0 0 .45rem; }
.anhart-catalogue .anhart-card-price { color: var(--anhart-deep-blue); font-weight: 750; margin: 0 0 .45rem; }
.anhart-detail-link { font-size: .92rem; }
.anhart-card a:hover .anhart-detail-link { text-decoration-thickness: 2px; }
.anhart-grid--modular .anhart-card { border-top: 1px solid var(--anhart-line); padding-block: clamp(1.3rem, 3.4vw, 2.6rem); }
.anhart-grid--modular .anhart-card:last-child { border-bottom: 1px solid var(--anhart-line); }
.anhart-grid--modular .anhart-card a:has(img) {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(1.2rem, 4vw, 3.4rem);
}
.anhart-grid--modular .anhart-card img { aspect-ratio: 2 / 1; object-fit: contain; padding: .55rem; background: #fff; }
.anhart-grid--modular .anhart-card:nth-child(even) img { order: 1; }
.anhart-grid--modular .anhart-card:nth-child(even) a:has(img) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.anhart-band {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    margin: clamp(2rem, 5vw, 4rem) 0;
    padding: clamp(1.25rem, 4vw, 3rem);
    background: var(--anhart-sand);
    border-radius: 10px 10px 10px 36px;
}
.anhart-band > div { max-width: 54ch; }
.anhart-band h2 { font-size: clamp(1.65rem, 3.8vw, 2.65rem); margin: 0; }
.anhart-band p { margin: .55rem 0 0; }
.anhart-catalogue .anhart-listing-title {
    color: var(--anhart-ink);
    font-family: inherit;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.1;
    margin: 0 0 .55rem;
}
.anhart-catalogue .anhart-summary { font-size: 1.1rem; margin-block: .35rem; }
.anhart-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1.5rem 0; }
.anhart-photos img { height: 100%; min-height: 0; aspect-ratio: 1.5; object-fit: cover; border-radius: 8px; }
.anhart-photos--three img { aspect-ratio: 1.9; }
.anhart-photos--three img:first-child { grid-row: span 2; aspect-ratio: 1.02; border-radius: 8px 8px 8px 2.4rem; }
.anhart-floorplan { margin: 1.6rem 0; padding: 1rem 0; border-block: 1px solid var(--anhart-line); background: white; }
.anhart-floorplan img { max-height: 700px; object-fit: contain; }
.anhart-floorplan figcaption { margin-top: .7rem; }
.anhart-quote { display: grid; gap: .9rem; padding: clamp(1rem, 3vw, 2rem); background: var(--anhart-sand); border-radius: 10px 10px 10px 32px; }
/* Keep the submit label legible when the theme sets a button text colour. */
.anhart-catalogue .anhart-quote button[type="submit"] { color: #fff !important; }
.anhart-quote label { display: grid; gap: .25rem; font-weight: 650; }
.anhart-quote input, .anhart-quote select, .anhart-quote textarea {
    width: 100%;
    min-height: 44px;
    padding: .5rem .65rem;
    font: inherit;
    color: var(--anhart-ink);
    background: #fff;
    border: 1px solid #687c83;
    border-radius: 7px;
}
@media (max-width: 680px) {
    .anhart-hero, .anhart-contact { grid-template-columns: minmax(0, 1fr); }
    .anhart-hero-break { display: none; }
    .anhart-catalogue .anhart-brand-logo { margin-bottom: 1.6rem; }
    .anhart-catalogue .anhart-hero-main { aspect-ratio: 1.3; }
    .anhart-grid--modular .anhart-card a:has(img),
    .anhart-grid--modular .anhart-card:nth-child(even) a:has(img) { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
    .anhart-grid--modular .anhart-card:nth-child(even) img { order: 0; }
    .anhart-grid--modular .anhart-card img { padding: 0; }
}

.anhart-home-section { margin-block: clamp(2.25rem, 6vw, 5rem); }
.anhart-catalogue .anhart-home-section h2 {
    font-size: clamp(2rem, 4.3vw, 3.25rem);
    margin-bottom: clamp(1.2rem, 3vw, 2rem);
    color: var(--anhart-ink);
}
.anhart-home-options, .anhart-home-steps { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.anhart-home-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.anhart-home-option img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 9px 9px 9px 32px;
    margin-bottom: 1.3rem;
}
.anhart-home-option p, .anhart-home-steps p { color: var(--anhart-muted); max-width: 58ch; }
.anhart-home-process { padding-block: clamp(1.5rem, 4vw, 3rem); border-block: 1px solid var(--anhart-line); }
.anhart-home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.anhart-home-steps p { margin-bottom: 0; }
@media (max-width: 760px) {
    .anhart-home-options, .anhart-home-steps { grid-template-columns: minmax(0, 1fr); }
}

.anhart-home-option .anhart-home-modular-photo { object-position: center 30%; }

body.anhart-about-page #content.site-content,
body.anhart-faq-page #content.site-content {
    padding-block-start: 0;
}

body.anhart-about-page #content #primary,
body.anhart-faq-page #content #primary {
    margin-block-start: clamp(.75rem, 2vw, 1.5rem);
    padding-block-start: 0;
}

body.anhart-about-page #primary .ast-article-single,
body.anhart-faq-page #primary .ast-article-single {
    padding-block-start: clamp(1rem, 2.5vw, 2rem);
    padding-inline: clamp(1rem, 4vw, 3rem);
}

body.anhart-about-page #primary .entry-content > .anhart-about,
body.anhart-faq-page #primary .entry-content > .anhart-faq {
    max-width: 1120px;
    margin-block-start: 0;
    margin-inline: auto;
    padding: 0;
}

.anhart-catalogue .anhart-about-intro {
    min-height: clamp(24rem, 40vw, 28rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 4vw, 3.5rem);
    padding-inline-end: 51%;
    border-radius: 10px;
    background:
        linear-gradient(90deg, #182831 42%, rgba(24, 40, 49, .94) 48%, rgba(24, 40, 49, .38) 58%, transparent 72%),
        url("assets/about-mountain-overlook.webp") right 70% / 58% auto no-repeat #182831;
}
.anhart-catalogue .anhart-about-intro h2,
.anhart-catalogue .anhart-about-intro p { color: #fff; }
.anhart-catalogue .anhart-about-intro h2 { font-size: clamp(2.1rem, 3.75vw, 3.2rem); }
.anhart-catalogue .anhart-about-intro .anhart-kicker {
    color: var(--anhart-peach);
    margin-bottom: .85rem;
}
.anhart-about-intro p:last-child { max-width: 52ch; margin-bottom: 0; }

@media (max-width: 760px) {
    .anhart-catalogue .anhart-about-intro {
        --anhart-about-photo-height: clamp(15rem, 71vw, 28rem);
        position: relative;
        overflow: hidden;
        min-height: 0;
        padding: calc(var(--anhart-about-photo-height) + 1.5rem) 1.35rem 1.75rem;
        background: #182831;
    }
    .anhart-about-intro::before {
        content: "";
        position: absolute;
        top: 0;
        inset-inline: 0;
        height: var(--anhart-about-photo-height);
        background: url("assets/about-mountain-overlook.webp") center 70% / cover no-repeat;
    }
}
.anhart-about-story, .anhart-about-network { margin-block: clamp(2rem, 5vw, 4.25rem); }
.anhart-about-story p, .anhart-about-network p { max-width: 70ch; }
.anhart-catalogue .anhart-about-story h2,
.anhart-catalogue .anhart-about-principles h2,
.anhart-catalogue .anhart-about-network h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.anhart-about-principles { border-block: 1px solid var(--anhart-line); padding-block: 1.6rem; }
.anhart-about-principles p { max-width: 46ch; margin-bottom: 0; }
.anhart-about .anhart-network-roles { margin: 1.25rem 0; padding-inline-start: 1.25em; }
.anhart-network-roles li { margin: .65em 0; }

.anhart-catalogue .anhart-faq-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    margin-block: 0 clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.25rem, 3.5vw, 2.75rem);
    background: var(--anhart-sand);
    border-radius: 10px;
}

.anhart-faq-hero p { max-width: 38ch; margin-bottom: 0; }
.anhart-faq .anhart-faq-photo { max-width: 345px; margin: 0 auto; }
.anhart-faq .anhart-faq-photo img { border-radius: 8px; }

.anhart-faq .wp-block-details {
    border-block-end: 1px solid var(--anhart-line);
    padding: 1rem .25rem;
    margin-block: 0;
}
.anhart-faq .wp-block-details summary {
    color: var(--anhart-deep-blue);
    cursor: pointer;
    font-weight: 650;
    font-size: clamp(1rem, 2vw, 1.18rem);
}
.anhart-faq .wp-block-details p { max-width: 72ch; margin-block: .6rem 0; }
.anhart-catalogue .anhart-faq-contact h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.35rem); }

@media (max-width: 781px) {
    .anhart-catalogue .anhart-faq-hero { grid-template-columns: minmax(0, 1fr); }
    .anhart-faq .anhart-faq-photo { margin-inline-start: 0; }
}
