.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined[data-weight="fill"] {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
    background: rgba(255, 248, 243, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(130, 117, 97, 0.15);
}

.accent-sage { border-top-color: #85acab; }
.accent-teal { border-top-color: #3f6564; }
.accent-brick { border-top-color: #93000a; }
.accent-slate { border-top-color: #586062; }

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(32, 27, 18, 0.1), 0 8px 10px -6px rgba(32, 27, 18, 0.1);
}

.blueprint-border {
    border: 1px solid #c1c8ca;
}

.fill-icon .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

.brand-lockup {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    color: #201b12;
}

.brand-lockup-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.brand-lockup-small {
    font-family: "Playfair Display", serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.brand-lockup-name {
    padding: 4px 0;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.brand-lockup-line {
    display: block;
    flex: 1 1 auto;
    min-width: 2.5rem;
    height: 0;
    border-top: 2px solid currentColor;
}

.hero-supporting-text {
    max-width: 34rem;
    margin: 0 0 2.5rem;
    padding: 0.35rem 0 0.35rem 1rem;
    border-left: 2px solid #fabc32;
    color: #fef2e3;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.55;
    text-wrap: pretty;
}

.hero-gradient-dark {
    background: linear-gradient(to top, rgb(32 27 18 / 82%) 0%, rgb(32 27 18 / 38%) 52%, transparent 100%);
}

.hero-gradient-light {
    background: linear-gradient(to top, rgb(255 248 243 / 92%) 0%, rgb(255 248 243 / 46%) 52%, transparent 100%);
}

.mission-intro-section {
    padding: clamp(4.5rem, 9vw, 8rem) 24px;
    background: #fff8f3;
}

.mission-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.75rem, 3vw, 2.75rem);
    width: min(1280px, 100%);
    margin: 0 auto;
}

.mission-intro-copy {
    width: 100%;
    margin: 0 auto;
}

.mission-section-label {
    margin: 0 0 1rem;
    color: #7b5800;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mission-intro-copy h2 {
    max-width: 22ch;
    margin: 0 0 1.75rem;
    padding-left: 1.25rem;
    border-left: 3px solid #d49b00;
    color: #7b5800;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
}

.mission-content {
    max-width: none;
    color: #504534;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.08rem;
    line-height: 1.7;
}

.mission-content > :first-child { margin-top: 0; }
.mission-content > :last-child { margin-bottom: 0; }
.mission-content p { margin-bottom: 1.25rem; }
.mission-content ul,
.mission-content ol { margin: 1.25rem 0; padding-left: 1.5rem; }

.areas-category-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mission-image-frame {
    position: relative;
    aspect-ratio: 16 / 8;
    width: min(100%, 70rem);
    margin: 0 0.75rem 0.75rem 0;
    margin-right: auto;
    margin-left: auto;
    overflow: visible;
    border-radius: 2px;
    box-shadow: 0 18px 45px rgb(32 27 18 / 14%);
}

.mission-image-frame::after {
    position: absolute;
    right: -0.75rem;
    bottom: -0.75rem;
    z-index: 0;
    width: 42%;
    height: 42%;
    border-right: 3px solid #d49b00;
    border-bottom: 3px solid #d49b00;
    content: "";
}

.mission-image-frame img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgb(130 117 97 / 20%);
}

@media (max-width: 767px) {
    .mission-intro-section { padding-right: 20px; padding-left: 20px; }
    .mission-intro-layout { grid-template-columns: 1fr; gap: 3rem; }
    .mission-intro-copy h2 { font-size: 2.25rem; }
    .mission-image-frame { aspect-ratio: 4 / 3; }
}

.newsletter-widget-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 80;
    transform: translateX(-50%) translateY(-12px);
    padding: 14px 22px;
    background: #dcfce7;
    color: #14532d;
    border: 1px solid #86efac;
    border-radius: 6px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.newsletter-widget-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Shared navigation: keep 72px height in sync with existing page offsets. */
#main-header,
#mobile-menu {
    background: #fff8f3;
    border-bottom: 1px solid #d4c4ad;
    color: #201b12;
    font-family: "Source Sans 3", sans-serif;
}

#main-header .brand-lockup-name { font-size: 20px; }

#main-header a:focus-visible,
#main-header button:focus-visible,
#mobile-menu a:focus-visible {
    outline: 2px solid #7b5800;
    outline-offset: 4px;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    border-bottom: 2px solid transparent;
    color: #504534;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.025em;
    transition: color 150ms ease, border-color 150ms ease;
}

.site-nav-link:hover,
.site-nav-link.is-current {
    border-bottom-color: #7b5800;
    color: #7b5800;
}

.site-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 112px;
    padding: 0 24px;
    border: 1px solid #b98700;
    border-radius: 2px;
    background: #d49b00;
    color: #261900;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background-color 150ms ease, color 150ms ease;
}

.site-nav-cta:hover {
    background: #7b5800;
    color: #fff;
}

#mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid #d4c4ad;
    border-radius: 2px;
}

#mobile-menu-toggle:hover,
#mobile-menu-toggle[aria-expanded="true"] { background: #f2e7d8; }

#mobile-menu {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    box-shadow: 0 12px 20px rgb(32 27 18 / 8%);
}

#mobile-menu .site-nav-link { min-height: 48px; }
#mobile-menu .site-nav-cta { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
    .site-nav-link,
    .site-nav-cta { transition: none; }
}

@media (max-width: 767px) {
    .hero-supporting-text {
        max-width: 28rem;
        margin-bottom: 2rem;
        font-size: 0.92rem;
    }
}

/* Form success feedback */
.contact-status {
    scroll-margin-top: 96px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: -8px 0 24px;
    padding: 16px 18px;
    border: 1px solid #78a993;
    border-left: 4px solid #3f6564;
    border-radius: 4px;
    background: #edf7f1;
    color: #274d4c;
    font-size: 15px;
    line-height: 1.45;
}
.contact-status strong,
.join-status-success strong {
    display: block;
    margin-bottom: 3px;
    font-size: 17px;
}
.contact-status > span:last-child,
.join-status-success > span:last-child {
    display: block;
}
.contact-status-icon,
.join-status-icon {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3f6564;
    color: #fff;
    font-weight: 700;
}
.join-page .join-status-success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #78a993;
    border-left: 4px solid #3f6564;
    background: #edf7f1;
    color: #274d4c;
}

/* Homepage widgets under hero — neighborhood band rhythm + media presence */
.home-widget-band {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
    overflow: hidden;
}

.home-widget-band--warm {
    background:
        radial-gradient(ellipse 70% 55% at 100% 0%, rgb(212 155 0 / 10%), transparent 55%),
        linear-gradient(180deg, #fff8f3 0%, #fef2e3 100%);
}

.home-widget-band--cool {
    background:
        radial-gradient(ellipse 65% 50% at 0% 100%, rgb(63 101 100 / 9%), transparent 55%),
        linear-gradient(180deg, #f8ecdd 0%, #fff8f3 100%);
}

.home-widget-inner {
    position: relative;
    z-index: 1;
}

.home-widget-heading {
    max-width: 18ch;
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #d49b00;
    line-height: 1.2;
    text-wrap: balance;
}

.home-widget-body {
    max-width: 38rem;
    color: #504534;
    line-height: 1.7;
}

.home-widget-body > :first-child { margin-top: 0; }
.home-widget-body > :last-child { margin-bottom: 0; }
.home-widget-body p { margin: 0 0 1rem; }
.home-widget-body p:last-child { margin-bottom: 0; }

.home-widget-cta {
    margin-top: 2rem;
}

.home-widget-readmore {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.4rem;
    border: 1px solid #7b5800;
    border-radius: 2px;
    background: transparent;
    color: #7b5800;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-widget-readmore:hover,
.home-widget-readmore:focus-visible {
    background: #7b5800;
    color: #fff8f3;
    box-shadow: 0 8px 20px rgb(123 88 0 / 18%);
    outline: none;
}

.home-widget-readmore:focus-visible {
    outline: 2px solid #7b5800;
    outline-offset: 3px;
}

.home-widget-readmore span {
    transition: transform 0.25s ease;
}

.home-widget-readmore:hover span,
.home-widget-readmore:focus-visible span {
    transform: translateX(3px);
}

.home-widget-media {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    max-height: min(36rem, 78vw);
    overflow: hidden;
    border-radius: 2px;
    background: #ece1d2;
    box-shadow: 0 20px 48px rgb(32 27 18 / 14%);
}

.home-widget-media--right::before,
.home-widget-media--left::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 38%;
    height: 38%;
    border: 2px solid #d49b00;
    pointer-events: none;
}

.home-widget-media--right::before {
    right: -0.65rem;
    bottom: -0.65rem;
}

.home-widget-media--left::before {
    left: -0.65rem;
    bottom: -0.65rem;
}

.home-widget-media-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-widget-media:hover .home-widget-media-img,
.home-widget-media:focus-within .home-widget-media-img {
    transform: scale(1.04);
}

.home-widget-media--overlay .home-widget-media-img {
    opacity: 0.42;
    mix-blend-mode: multiply;
}

.home-widget-media-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.home-widget-media-icon {
    margin-bottom: 0.75rem;
    color: #3f6564;
    font-size: 3.5rem;
    line-height: 1;
}

.home-widget-media-title {
    margin: 0;
    color: #201b12;
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .home-widget-heading {
        max-width: none;
    }

    .home-widget-media--right::before,
    .home-widget-media--left::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-widget-readmore,
    .home-widget-readmore span,
    .home-widget-media-img {
        transition: none;
    }

    .home-widget-media:hover .home-widget-media-img,
    .home-widget-media:focus-within .home-widget-media-img,
    .home-widget-readmore:hover span,
    .home-widget-readmore:focus-visible span {
        transform: none;
    }
}
