:root {
    --bw-forest: #123829;
    --bw-deep: #09271d;
    --bw-sage: #93a985;
    --bw-leaf: #55724e;
    --bw-cream: #f5efe2;
    --bw-ivory: #fffcf6;
    --bw-sand: #d9cfba;
    --bw-accent: #5f7f59;
    --bw-focus: #c6dbc0;
    --bw-ink: #18241d;
    --bw-muted: #687466;
    --bw-line: rgba(18, 56, 41, 0.16);
    --bw-shadow: 0 18px 45px rgba(20, 45, 33, 0.14);
    --bw-radius: 6px;
    --bw-max: 1180px;
    --bw-serif: Georgia, "Times New Roman", serif;
    --bw-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bw-ivory);
    color: var(--bw-ink);
    font-family: var(--bw-sans);
    font-size: 17px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

:focus-visible {
    outline: 3px solid var(--bw-focus);
    outline-offset: 4px;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.45em;
    color: var(--bw-forest);
    font-family: var(--bw-serif);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.7rem, 7vw, 5.6rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
    margin: 0 0 1.1rem;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.skip-link:focus {
    z-index: 9999;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 0.7rem 1rem;
    clip: auto;
    border-radius: var(--bw-radius);
    background: var(--bw-focus);
    color: var(--bw-deep);
}

.site-header {
    position: absolute;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    color: #fff;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: none;
}

body:not(.home):not(.front-page) .site-header {
    position: sticky;
    background: rgba(9, 39, 29, 0.96);
    box-shadow: 0 8px 26px rgba(20, 45, 33, 0.1);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(0.9rem, 1.2vw, 1.6rem);
    align-items: center;
    width: min(1840px, calc(100% - clamp(1.25rem, 3vw, 4rem)));
    min-height: 108px;
    margin: 0 auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 158px;
    color: #fff;
    text-decoration: none;
}

.site-brand__logo {
    width: 148px;
    height: auto;
    max-height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.6));
}

.site-brand__logo--dark {
    display: none;
}

.site-brand__logo--light {
    display: block;
}

.site-brand__name {
    display: none;
    font-family: var(--bw-serif);
    font-size: 1.32rem;
    line-height: 0.95;
}

.primary-nav__list,
.footer-nav__list {
    display: flex;
    gap: clamp(0.72rem, 1.05vw, 1.35rem);
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav__list > li {
    position: relative;
    display: flex;
    align-items: center;
}

.primary-nav {
    align-self: center;
    justify-self: center;
}

.primary-nav a {
    display: flex;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(0.76rem, 0.7rem + 0.14vw, 0.86rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.primary-nav .menu-item-has-children > a {
    gap: 0.35rem;
}

.primary-nav .menu-item-has-children > a::after {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    margin-top: -0.12rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav a:hover {
    color: #fff;
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.82);
}

.primary-nav .sub-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    z-index: 80;
    min-width: 190px;
    margin: 0;
    padding: 0.55rem;
    list-style: none;
    background: rgba(9, 39, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--bw-radius);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.35rem);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.primary-nav .sub-menu li {
    display: block;
}

.primary-nav .sub-menu a {
    height: 38px;
    justify-content: flex-start;
    padding: 0 0.7rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: none;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus-visible,
.primary-nav .sub-menu .current-menu-item > a {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    background: #fff;
}

.site-header__action .bw-button--small {
    min-height: 48px;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    background: #fff;
    color: var(--bw-deep);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.bw-button,
.wp-block-button__link,
button,
input[type="submit"] {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.78rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--bw-sans);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bw-button svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.bw-button:hover,
button:hover {
    transform: translateY(-1px);
}

.bw-button--primary,
.wp-block-button__link {
    background: var(--bw-forest);
    color: #fff;
    box-shadow: 0 14px 25px rgba(18, 56, 41, 0.16);
}

.bw-button--outline {
    border-color: color-mix(in srgb, var(--bw-forest), white 65%);
    background: transparent;
    color: var(--bw-forest);
}

.bw-button--light {
    background: var(--bw-ivory);
    color: var(--bw-forest);
}

.bw-button--small {
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    background: var(--bw-forest);
    color: #fff;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.hero {
    position: relative;
    min-height: min(900px, 100vh);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--bw-cream);
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 63% center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 39, 29, 0.88) 0%, rgba(9, 39, 29, 0.64) 38%, rgba(9, 39, 29, 0.28) 70%, rgba(9, 39, 29, 0.36) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(700px, calc(100% - 2rem));
    margin-left: max(1rem, calc((100vw - var(--bw-max)) / 2));
    padding: 8rem 0 5rem;
    color: #fff;
}

.hero__content h1 {
    color: #fff;
}

.hero__content p {
    max-width: 580px;
    color: #fff;
    font-size: 1.08rem;
}

.hero__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.2rem;
    margin: 1.2rem 0 0;
    padding: 0;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    list-style: none;
}

.hero__checks li::before {
    content: "";
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: #fff;
    vertical-align: middle;
}

.hero .bw-button--primary {
    background: #fff;
    color: var(--bw-deep);
}

.hero .bw-button--outline {
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.section,
.archive-hero,
.page-hero,
.single-post__hero,
.profile-detail__hero,
.not-found {
    width: min(var(--bw-max), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.section--narrow {
    max-width: 820px;
}

.section--sage {
    width: 100%;
    max-width: none;
    padding-right: max(1rem, calc((100vw - var(--bw-max)) / 2));
    padding-left: max(1rem, calc((100vw - var(--bw-max)) / 2));
    background: linear-gradient(90deg, rgba(147,169,133,0.22), rgba(245,239,226,0.72));
}

.section-heading {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-heading p,
.lead {
    max-width: 680px;
    color: var(--bw-muted);
    font-size: 1.14rem;
}

.section-heading--center {
    display: block;
    text-align: center;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.value-item {
    padding: 1.5rem 1rem;
    text-align: center;
}

.value-item h3 {
    font-family: var(--bw-sans);
    font-size: 1.05rem;
    font-weight: 750;
}

.value-item p {
    color: var(--bw-muted);
    font-size: 0.94rem;
}

.line-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    fill: none;
    stroke: var(--bw-forest);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.3;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.split-section--soft {
    width: 100%;
    max-width: none;
    padding-right: max(1rem, calc((100vw - var(--bw-max)) / 2));
    padding-left: max(1rem, calc((100vw - var(--bw-max)) / 2));
    background: var(--bw-cream);
}

.split-section__media img,
.page-hero__image img,
.single-post__hero img,
.profile-detail__media img,
.content-card__media img,
.profile-card__media img,
.nest-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-section__media,
.page-hero__image,
.profile-card__media,
.content-card__media,
.nest-card__image {
    overflow: hidden;
    border-radius: var(--bw-radius);
    background: var(--bw-cream);
}

.split-section__media {
    aspect-ratio: 4 / 3;
    box-shadow: var(--bw-shadow);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.card-grid--profiles {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card-grid--blog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.profile-card,
.content-card,
.nest-card,
.news-item,
.contact-card,
.form-panel,
.note-panel,
.empty-panel,
.empty-state {
    border: 1px solid var(--bw-line);
    border-radius: var(--bw-radius);
    background: color-mix(in srgb, var(--bw-ivory), white 45%);
    box-shadow: 0 16px 36px rgba(20, 45, 33, 0.08);
}

.profile-card,
.content-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
}

.profile-card__media,
.content-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1.32 / 1;
}

.profile-card__body,
.content-card__body,
.nest-card__body,
.news-item,
.contact-card,
.form-panel,
.note-panel,
.empty-panel,
.empty-state {
    padding: clamp(1.2rem, 2.5vw, 1.8rem);
}

.profile-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.content-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.profile-card__summary {
    color: var(--bw-muted);
}

.profile-card__facts {
    display: grid;
    gap: 0.45rem;
    margin: 0.9rem 0;
    padding: 0.85rem 0;
    border-top: 1px solid var(--bw-line);
    border-bottom: 1px solid var(--bw-line);
}

.profile-card__facts div {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.9rem;
    line-height: 1.35;
}

.profile-card__facts dt {
    color: var(--bw-muted);
}

.profile-card__facts dd {
    max-width: 58%;
    color: var(--bw-forest);
    font-weight: 750;
    text-align: right;
}

.profile-card__link {
    margin-top: auto;
}

.content-card__body .text-link {
    margin-top: auto;
}

.profile-card__body h3 a,
.content-card__body h3 a,
.news-item h3 a {
    text-decoration: none;
}

.profile-card__traits,
.eyebrow {
    color: var(--bw-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 30px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--bw-forest);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.profile-card__media .status-pill {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.text-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    color: var(--bw-forest);
    font-weight: 800;
    text-decoration: none;
}

.family-flow {
    width: 100%;
    max-width: none;
    padding-right: max(1rem, calc((100vw - var(--bw-max)) / 2));
    padding-left: max(1rem, calc((100vw - var(--bw-max)) / 2));
    background: var(--bw-deep);
    color: #fff;
}

.family-flow h2,
.family-flow .text-link {
    color: #fff;
}

.family-flow__intro p {
    color: rgba(255, 255, 255, 0.78);
}

.family-flow .nest-card {
    color: var(--bw-ink);
}

.family-flow .nest-card h3 {
    color: var(--bw-forest);
}

.family-flow .nest-card p {
    color: var(--bw-muted);
}

.family-flow .nest-card .bw-button--outline {
    color: var(--bw-forest);
}

.family-flow .empty-panel .bw-button--outline {
    border-color: rgba(255, 255, 255, 0.62);
    color: #fff;
}

.family-flow .empty-panel h3 {
    color: #fff;
}

.family-flow__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 1.4rem;
}

.nest-card--wide {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    overflow: hidden;
}

.compact-facts,
.profile-facts {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0;
}

.compact-facts div,
.profile-facts div {
    display: grid;
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--bw-line);
}

dt {
    color: var(--bw-muted);
    font-weight: 700;
}

dd {
    margin: 0;
}

.empty-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 260px;
    border-style: dashed;
    background: rgba(255, 252, 246, 0.08);
    color: #fff;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.newsletter-band {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem) max(1rem, calc((100vw - var(--bw-max)) / 2));
    background: linear-gradient(90deg, rgba(147,169,133,0.35), rgba(245,239,226,0.92));
}

.newsletter-form,
.contact-form {
    display: grid;
    gap: 0.9rem;
}

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

label {
    display: grid;
    gap: 0.35rem;
    color: var(--bw-forest);
    font-size: 0.93rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.9rem;
    border: 1px solid color-mix(in srgb, var(--bw-forest), white 76%);
    border-radius: 4px;
    background: #fff;
    color: var(--bw-ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

.check-row {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 500;
}

.check-row input {
    width: 18px;
    min-height: 18px;
    margin-top: 0.35rem;
}

.contact-callout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
    align-items: center;
    min-height: 390px;
    padding: clamp(3rem, 6vw, 5rem) max(1rem, calc((100vw - var(--bw-max)) / 2));
    overflow: hidden;
    background: var(--bw-forest);
    color: #fff;
}

.contact-callout h2 {
    color: #fff;
}

.contact-callout p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
}

.contact-callout img {
    align-self: end;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    object-position: bottom right;
}

.site-footer {
    background: var(--bw-deep);
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 1.1fr minmax(220px, 0.8fr);
    gap: 2rem;
    width: min(var(--bw-max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0;
}

.site-footer h2 {
    color: #fff;
    font-family: var(--bw-sans);
    font-size: 1rem;
    font-weight: 800;
}

.site-footer__brand img {
    width: 190px;
    margin-bottom: 1rem;
}

.footer-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-content: start;
}

.footer-nav a,
.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer__bottom {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: min(var(--bw-max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    font-size: 0.88rem;
}

.archive-hero,
.page-hero,
.single-post__hero,
.profile-detail__hero,
.not-found {
    padding: clamp(4rem, 7vw, 7rem) 0 clamp(2rem, 4vw, 4rem);
}

.archive-hero,
.page-hero,
.profile-detail__hero,
.not-found,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.page-hero__image {
    aspect-ratio: 1.24 / 1;
    box-shadow: var(--bw-shadow);
}

.archive-hero--blog {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
    padding-right: clamp(1.2rem, 4vw, 3rem);
    padding-left: clamp(1.2rem, 4vw, 3rem);
    border-radius: var(--bw-radius);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.archive-hero--blog h1,
.archive-hero--blog .lead {
    color: #fff;
}

.archive-hero--blog .search-mini {
    background: rgba(255, 252, 246, 0.92);
    color: var(--bw-forest);
}

.search-mini {
    display: grid;
    gap: 0.6rem;
    padding: 1.2rem;
    border: 1px solid var(--bw-line);
    border-radius: var(--bw-radius);
    background: var(--bw-cream);
}

.search-mini div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.6rem;
}

.filter-button {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--bw-line);
    border-radius: 999px;
    background: var(--bw-cream);
    color: var(--bw-forest);
    font-size: 0.88rem;
}

.filter-button.is-active {
    background: var(--bw-forest);
    color: #fff;
}

.single-post__hero {
    max-width: 980px;
    text-align: center;
}

.single-post__hero img {
    width: 100%;
    max-height: 560px;
    margin-top: 2rem;
    border-radius: var(--bw-radius);
    object-fit: cover;
    box-shadow: var(--bw-shadow);
}

.entry-content {
    color: var(--bw-ink);
}

.single-post > .entry-content.section--narrow {
    width: min(820px, calc(100% - 2rem));
    margin: 0 auto;
}

.entry-content > * + * {
    margin-top: 1.1rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
}

.profile-detail__hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
}

.profile-detail__media {
    position: relative;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    border-radius: var(--bw-radius);
    box-shadow: var(--bw-shadow);
}

.profile-detail__media figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    border-radius: var(--bw-radius);
    background: rgba(255, 252, 246, 0.9);
    color: var(--bw-forest);
}

.profile-detail__facts {
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid var(--bw-line);
    border-radius: var(--bw-radius);
    background: #fff;
}

.contact-layout {
    align-items: start;
}

.faq-section {
    max-width: 850px;
}

details {
    border-top: 1px solid var(--bw-line);
    padding: 1rem 0;
}

summary {
    color: var(--bw-forest);
    font-weight: 800;
    cursor: pointer;
}

.not-found img {
    border-radius: var(--bw-radius);
}

.social-links {
    display: flex;
    gap: 0.65rem;
}

.social-links a {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.pagination,
.nav-links {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bw-line);
    border-radius: 4px;
    text-decoration: none;
}

.form-message {
    padding: 0.8rem 1rem;
    border-radius: var(--bw-radius);
    background: color-mix(in srgb, var(--bw-sage), white 75%);
    color: var(--bw-forest);
    font-weight: 700;
}

.form-message--error {
    background: #f8e8df;
    color: #78341c;
}

@media (max-width: 1100px) {
    .site-header__inner {
        width: calc(100% - 2rem);
        min-height: 96px;
        grid-template-columns: auto 1fr auto;
    }

    .site-brand {
        min-width: auto;
    }

    .site-brand__logo {
        width: 126px;
        max-height: 80px;
    }

    .menu-toggle {
        grid-column: 3;
        display: inline-grid;
        justify-self: end;
    }

    .site-header__action {
        display: none;
    }

    .primary-nav {
        grid-column: 1 / -1;
        position: absolute;
        top: 100%;
        right: 1rem;
        left: 1rem;
        display: none;
        justify-self: stretch;
        width: auto;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: var(--bw-radius);
        background: rgba(9, 39, 29, 0.94);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(16px);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav__list {
        display: grid;
        gap: 0.2rem;
        justify-items: stretch;
    }

    .primary-nav__list > li {
        display: block;
    }

    .primary-nav a {
        justify-content: space-between;
        min-height: 44px;
        padding: 0 0.35rem;
        color: #fff;
    }

    .primary-nav .sub-menu {
        position: static;
        min-width: 0;
        margin: 0 0 0.45rem 0.75rem;
        padding: 0 0 0 0.75rem;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .primary-nav .menu-item-has-children:hover > .sub-menu,
    .primary-nav .menu-item-has-children:focus-within > .sub-menu {
        transform: none;
    }

    .primary-nav .sub-menu a {
        height: 38px;
        min-height: 38px;
        justify-content: flex-start;
        padding: 0 0.2rem;
        color: rgba(255, 255, 255, 0.86);
        font-size: 0.78rem;
    }

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

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .site-header__inner {
        min-height: 88px;
    }

    .site-brand {
        min-width: auto;
    }

    .site-brand__logo {
        width: 112px;
        height: auto;
        max-height: 74px;
    }

    .site-brand__name {
        font-size: 1.12rem;
    }

    .hero {
        min-height: 720px;
        align-items: end;
    }

    .hero__image {
        height: 100%;
        object-position: 62% center;
    }

    .hero::after {
        background: linear-gradient(0deg, rgba(9, 39, 29, 0.92) 0%, rgba(9, 39, 29, 0.76) 52%, rgba(9, 39, 29, 0.34) 100%);
    }

    .hero__content {
        width: calc(100% - 2rem);
        margin: 0 auto;
        padding: 12rem 0 3rem;
    }

    h1 {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
    }

    .section-heading,
    .split-section,
    .family-flow__grid,
    .newsletter-band,
    .contact-callout,
    .site-footer__inner,
    .site-footer__bottom,
    .archive-hero,
    .page-hero,
    .profile-detail__hero,
    .not-found,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .site-footer__bottom {
        display: grid;
        align-items: start;
    }

    .values__grid,
    .card-grid,
    .card-grid--blog,
    .news-list {
        grid-template-columns: 1fr;
    }

    .value-item {
        text-align: left;
    }

    .line-icon {
        margin-left: 0;
    }

    .nest-card--wide {
        grid-template-columns: 1fr;
    }

    .newsletter-form,
    .search-mini div {
        grid-template-columns: 1fr;
    }

    .footer-nav__list {
        grid-template-columns: 1fr;
    }

    .profile-facts div,
    .compact-facts div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}
