/* Shared public navigation and the centered homepage introduction. */
.site-masthead {
    position: sticky;
    top: 20px;
    z-index: 30;
    width: min(calc(100% - 64px), 1280px);
    margin: 24px auto 0;
    border: 1px solid #e9eee7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 32px rgb(36 92 67 / 8%);
}

.site-masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 80px;
    padding: 14px 24px;
}

.site-main-nav,
.site-masthead-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-main-nav > a,
.site-nav-dropdown > summary,
.site-masthead-actions > a:not(.site-button) {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.site-main-nav a:hover,
.site-main-nav a[aria-current],
.site-nav-dropdown[open] > summary,
.site-masthead-actions > a:not(.site-button):hover {
    color: var(--site-accent);
}

.site-nav-dropdown { position: relative; }
.site-nav-dropdown > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
}
.site-nav-dropdown > summary::-webkit-details-marker { display: none; }
.site-nav-chevron {
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.site-nav-dropdown[open] .site-nav-chevron { transform: translateY(3px) rotate(225deg); }
.site-nav-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: -20px;
    width: 310px;
    padding: 8px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(29 46 40 / 10%);
}
.site-nav-menu a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 7px;
}
.site-nav-menu a:hover,
.site-nav-menu a[aria-current] { background: #f4f7f1; }
.site-nav-menu .lucide { margin-top: 3px; color: var(--site-accent); }
.site-nav-menu strong { display: block; font-size: 13px; font-weight: 600; }
.site-nav-menu small { display: block; margin-top: 3px; color: var(--site-muted); font-size: 11px; line-height: 1.7; }
.site-masthead-actions { gap: 24px; }
.site-masthead .site-button { border-radius: 9px; font-size: 13px; padding-inline: 20px; }

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 84px 66px;
    background: radial-gradient(ellipse at 15% 42%, #dfeecf 0, transparent 42%),
                radial-gradient(ellipse at 86% 35%, #e5f1da 0, transparent 38%);
}
.home-hero-content { position: relative; z-index: 1; text-align: center; }
.home-hero-kicker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}
.home-hero-kicker > span { width: 8px; height: 8px; border-radius: 50%; background: #5c8e30; }
.home-hero h1 {
    margin: 30px auto 24px;
    max-width: 1100px;
    color: #183e2c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5.1vw, 76px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.045em;
}
.home-hero-description { max-width: 640px; margin-inline: auto; color: #52624e; font-size: 17px; line-height: 1.85; }
.home-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.home-hero-actions .site-button { min-height: 54px; border-radius: 9px; padding-inline: 25px; font-size: 14px; }
.home-hero-note { margin-top: 18px; color: var(--site-muted); font-size: 12px; }
.home-hero-orbits { position: absolute; z-index: 0; inset: 7% -12% 10%; transform: rotate(-10deg); pointer-events: none; }
.home-hero-orbits span { position: absolute; inset: 0; border: 1px solid rgb(255 255 255 / 75%); border-radius: 50%; }
.home-hero-orbits span:nth-child(2) { inset: 10% 6%; }
.home-hero-orbits span:nth-child(3) { inset: 20% 12%; }
.home-hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 920px;
    margin: 64px auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.home-hero-benefits li { display: flex; justify-content: center; align-items: center; gap: 13px; color: #667160; font-size: 12px; line-height: 1.8; }
.home-hero-benefits strong { color: #29432d; font-size: 13px; font-weight: 600; }
.home-hero-benefits .lucide { width: 27px; height: 27px; color: var(--site-accent); stroke-width: 1.4; }
.home-work-banner { padding-top: 24px; }
.home-work-banner img { width: 100%; height: 380px; object-fit: cover; object-position: center 48%; border-radius: 14px; }
.home-work-banner figcaption { margin-top: 12px; color: var(--site-muted); font-size: 12px; text-align: center; }

@media (max-width: 1000px) {
    .site-masthead-inner { gap: 20px; padding-inline: 20px; }
    .site-main-nav { gap: 20px; }
    .site-masthead-actions { gap: 16px; }
    .site-masthead .site-brand img { width: 124px; }
}

@media (max-width: 760px) {
    .site-masthead { top: 10px; width: calc(100% - 32px); margin-top: 16px; border-radius: 12px; }
    .site-masthead-inner { flex-wrap: wrap; gap: 16px; padding: 14px 16px; }
    .site-masthead-actions { margin-left: auto; }
    .site-main-nav { order: 3; justify-content: space-between; width: 100%; gap: 14px; padding-top: 14px; border-top: 1px solid #edf0e9; }
    .site-main-nav > a, .site-nav-dropdown > summary { font-size: 12px; }
    .site-masthead-actions > a:not(.site-button) { font-size: 12px; }
    .site-masthead .site-button { min-height: 36px; padding: 8px 14px; font-size: 12px; }
    .site-nav-dropdown > summary { gap: 7px; }
    .site-nav-menu { top: calc(100% + 18px); left: -8px; width: min(290px, calc(100vw - 48px)); }
    .site-nav-dropdown:nth-of-type(2) .site-nav-menu { left: auto; right: -62px; }
    .home-hero { padding-block: 56px 38px; }
    .home-hero-kicker { font-size: 11px; }
    .home-hero h1 { margin-top: 24px; font-size: clamp(38px, 7.7vw, 56px); }
    .home-hero-description { font-size: 14px; }
    .home-hero-actions { gap: 12px; margin-top: 26px; }
    .home-hero-actions .site-button { min-height: 48px; font-size: 12px; padding-inline: 18px; }
    .home-hero-note { max-width: 280px; margin-inline: auto; font-size: 11px; line-height: 1.9; }
    .home-hero-benefits { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-top: 38px; }
    .home-hero-benefits li { justify-content: flex-start; gap: 10px; font-size: 10px; }
    .home-hero-benefits strong { font-size: 11px; }
    .home-hero-benefits .lucide { width: 23px; height: 23px; }
    .home-work-banner { padding-top: 14px; }
    .home-work-banner img { height: 240px; border-radius: 10px; }
}
