:root {
    --ink: #173b3a;
    --ink-2: #244d4b;
    --muted: #667675;
    --accent: #2f7771;
    --accent-dark: #205b57;
    --soft: #eef6f3;
    --sand: #f5f0e8;
    --line: #dbe7e3;
    --white: #fff;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    margin: 0;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: var(--accent-dark);
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.08;
}

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

h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.npa-shell {
    margin-inline: auto;
    max-width: var(--shell);
    padding-inline: 1.25rem;
    width: 100%;
}

.npa-shell--narrow {
    max-width: 780px;
}

.npa-shell--wide {
    max-width: 1320px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.skip-link:focus {
    background: #fff;
    clip: auto;
    clip-path: none;
    height: auto;
    left: 1rem;
    padding: .75rem 1rem;
    top: 1rem;
    width: auto;
    z-index: 9999;
}

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(219, 231, 227, .8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 82px;
}

.site-brand {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    gap: .75rem;
    text-decoration: none;
}

.site-brand__mark {
    align-items: center;
    background: var(--ink);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-family: Georgia, serif;
    font-size: 1rem;
    height: 2.7rem;
    justify-content: center;
    width: 2.7rem;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    font-family: Georgia, serif;
    font-size: 1.06rem;
    line-height: 1.15;
}

.site-brand small {
    color: var(--muted);
    font-size: .76rem;
}

.custom-logo {
    max-height: 58px;
    width: auto;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 1.5rem;
}

.site-nav__list {
    align-items: center;
    display: flex;
    gap: 1.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    color: var(--ink-2);
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav__list .current-menu-item > a,
.site-nav__list a:hover {
    color: var(--accent);
}

.site-nav__cta,
.npa-button {
    background: var(--accent);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    padding: .78rem 1.25rem;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.site-nav__cta:hover,
.npa-button:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.site-nav-toggle {
    background: transparent;
    border: 0;
    display: none;
    padding: .5rem;
}

.site-nav-toggle > span:not(.screen-reader-text) {
    background: var(--ink);
    display: block;
    height: 2px;
    margin: 5px 0;
    width: 25px;
}

.npa-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,.82), transparent 22%),
        linear-gradient(135deg, #e9f4f0 0%, #f5f0e8 100%);
    overflow: hidden;
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative;
}

.npa-hero::after {
    border: 1px solid rgba(47, 119, 113, .12);
    border-radius: 50%;
    content: "";
    height: 540px;
    position: absolute;
    right: -180px;
    top: -160px;
    width: 540px;
}

.npa-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 7vw, 7rem);
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    position: relative;
    z-index: 1;
}

.npa-hero h1 {
    margin: .8rem 0 1.5rem;
    max-width: 850px;
}

.npa-kicker {
    color: var(--accent);
    display: block;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.npa-lead {
    color: var(--ink-2);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    max-width: 700px;
}

.npa-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.npa-link {
    color: var(--accent-dark);
    font-weight: 850;
    text-underline-offset: .25em;
}

.npa-hero__card {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 2rem;
    box-shadow: 0 30px 80px rgba(23, 59, 58, .12);
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.npa-hero__card span,
.npa-hero__card strong {
    display: block;
}

.npa-hero__card span {
    color: var(--muted);
    font-weight: 750;
}

.npa-hero__card strong {
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin: .35rem 0;
}

.npa-hero__card p {
    color: var(--muted);
    margin-bottom: 0;
}

.npa-section {
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.npa-section--soft {
    background: var(--soft);
}

.npa-copy-grid {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr 1fr;
}

.npa-copy-grid h2 {
    margin: .75rem 0 0;
}

.npa-copy-grid > p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 2rem;
}

.npa-page-hero {
    background: linear-gradient(135deg, var(--soft), var(--sand));
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.npa-page-hero h1 {
    margin: .75rem 0 1rem;
}

.npa-page-hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 720px;
}

.npa-content {
    padding-block: 4rem;
}

.entry-header h1 {
    margin-top: 0;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content p,
.entry-content li {
    color: #405453;
}

.post-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    overflow: hidden;
}

.post-card__image {
    aspect-ratio: 16 / 10;
    display: block;
    overflow: hidden;
}

.post-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.post-card:hover .post-card__image img {
    transform: scale(1.025);
}

.post-card__body {
    padding: 1.35rem;
}

.post-card__date {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 750;
}

.post-card h2 {
    font-size: 1.55rem;
    margin: .5rem 0 .75rem;
}

.post-card h2 a {
    color: var(--ink);
    text-decoration: none;
}

.single-post__header {
    padding-bottom: 3rem;
    padding-top: 5rem;
    text-align: center;
}

.single-post__header h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    margin: .8rem 0 0;
}

.single-post__image img {
    border-radius: 1.5rem;
    max-height: 680px;
    object-fit: cover;
    width: 100%;
}

.single-post .entry-content {
    font-size: 1.06rem;
    padding-bottom: 6rem;
    padding-top: 3rem;
}

.empty-state {
    background: var(--soft);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
}

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    padding: 4rem 0 1.5rem;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.4fr .7fr .7fr;
}

.site-footer strong,
.site-footer__brand {
    color: #fff;
}

.site-footer__brand {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.7rem;
}

.site-footer p {
    margin: .7rem 0 0;
}

.site-footer a {
    color: #fff;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    font-size: .78rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.25rem;
}

/* WooCommerce */
.woocommerce .woocommerce-checkout,
.woocommerce-cart .woocommerce,
.woocommerce-account .woocommerce {
    margin-inline: auto;
    max-width: var(--shell);
    padding: 4rem 1.25rem;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order {
    background: var(--accent);
    border-radius: .75rem;
    color: #fff;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #payment #place_order:hover {
    background: var(--accent-dark);
    color: #fff;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
    border: 1px solid var(--line);
    border-radius: .65rem;
    min-height: 46px;
    padding: .65rem .8rem;
}

.woocommerce-checkout #payment {
    background: var(--soft);
    border-radius: 1rem;
}

@media (max-width: 900px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .site-nav-toggle {
        display: block;
    }

    .site-nav {
        align-items: stretch;
        background: #fff;
        display: none;
        flex-direction: column;
        inset: 82px 0 auto;
        max-height: calc(100vh - 82px);
        overflow: auto;
        padding: 1.5rem;
        position: fixed;
    }

    .admin-bar .site-nav {
        inset: 128px 0 auto;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__list {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .site-nav__list a {
        border-bottom: 1px solid var(--line);
        display: block;
        padding: 1rem 0;
    }

    .npa-hero__grid,
    .npa-copy-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: .5rem;
    }
}
