:root {
    --paper: #f4f0e7;
    --paper-deep: #e8e0d2;
    --ink: #17211d;
    --muted: #5d6963;
    --pine: #234b3d;
    --pine-deep: #15342b;
    --lake: #547f8e;
    --copper: #a45835;
    --line: rgba(23, 33, 29, 0.16);
    --white-line: rgba(255, 255, 255, 0.2);
    --shadow: 0 18px 45px rgba(25, 36, 31, 0.12);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    color: var(--ink);
    background: var(--paper);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: #edf2ef;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    background:
        linear-gradient(rgba(8, 23, 18, 0.46), rgba(8, 23, 18, 0.62)),
        url("/images/view_from_deck.jpg") center / cover fixed no-repeat;
}

a {
    color: var(--pine);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--copper);
}

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

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: white;
    background: var(--pine-deep);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    isolation: isolate;
    min-height: 200px;
    display: grid;
    align-items: start;
    overflow: hidden;
    color: white;
    background: var(--pine-deep);
}

.header-photo,
.header-shade {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.header-photo {
    background: url("/images/view_from_deck.jpg") center 48% / cover no-repeat;
    transform: scale(1.01);
}

.header-shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 29, 23, 0.8) 0%, rgba(10, 29, 23, 0.32) 55%, rgba(10, 29, 23, 0.08)),
        linear-gradient(0deg, rgba(9, 25, 20, 0.75) 0%, transparent 58%);
}

.header-content {
    width: auto;
    margin: 0 28px;
    padding: 14px 0 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.36);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--copper);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.site-header .eyebrow {
    color: #e5b18d;
}

.site-header h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.88;
}

.tagline {
    max-width: 650px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--serif);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    font-style: italic;
    line-height: 1.35;
}

.menu-toggle {
    display: none;
}

.site-layout {
    width: auto;
    margin: 0 28px;
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: clamp(36px, 6vw, 78px);
    align-items: start;
}

.navigation-column {
    position: relative;
    z-index: 5;
}

.site-navigation {
    position: sticky;
    top: 24px;
    margin-top: -46px;
    overflow: hidden;
    border: 1px solid var(--white-line);
    color: #edf1ed;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
        var(--pine-deep);
    box-shadow: 0 18px 50px rgba(16, 40, 32, 0.24);
}

.site-navigation a {
    color: inherit;
    text-decoration: none;
}

.nav-heading {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--white-line);
}

.nav-heading > div {
    flex: 0 0 auto;
}

.nav-kicker {
    display: block;
    color: #b7c9c0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-heading strong {
    display: block;
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.nav-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--white-line), transparent);
}

.nav-top-link,
.nav-group > summary {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 21px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

.nav-top-link:hover,
.nav-top-link.is-current,
.nav-group > summary:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-top-link.is-current {
    box-shadow: inset 4px 0 var(--copper);
}

.nav-group > summary {
    cursor: pointer;
    list-style: none;
}

.nav-group > summary::-webkit-details-marker {
    display: none;
}

.nav-group > summary::after {
    content: "+";
    color: #a9c0b6;
    font-size: 1.1rem;
    font-weight: 400;
}

.nav-group[open] > summary::after {
    content: "−";
}

.nav-level,
.nav-branch {
    margin: 0;
    padding: 7px 0 10px;
    list-style: none;
    background: rgba(0, 0, 0, 0.12);
}

.nav-level li {
    margin: 0;
}

.nav-level a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 9px;
    padding: 7px 20px 7px 25px;
    color: #ccd8d2;
    font-size: 0.79rem;
    line-height: 1.35;
}

.nav-level a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.065);
}

.external-mark {
    flex: 0 0 auto;
    color: #91aca0;
}

.nav-branch {
    padding-left: 12px;
}

.nav-branch summary {
    padding: 7px 20px 7px 25px;
    color: #dce6e1;
    cursor: pointer;
    font-size: 0.79rem;
    font-weight: 700;
}

.menu-loading,
.menu-error,
.noscript-message {
    padding: 22px;
}

.content-column {
    min-width: 0;
    margin-top: 28px;
    margin-bottom: 28px;
    padding: clamp(48px, 6vw, 76px) clamp(26px, 4vw, 52px) 80px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #edf2ef;
    background: rgba(8, 25, 19, 0.7);
    box-shadow: 0 24px 70px rgba(5, 18, 14, 0.3);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.welcome-panel {
    max-width: 780px;
    margin-bottom: clamp(60px, 8vw, 100px);
}

.welcome-panel h2,
.section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.section-heading h2 {
    font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

.welcome-panel > p:last-child {
    max-width: 680px;
    margin: 24px 0 0;
    color: #c8d4ce;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.news-section {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 30px;
}

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

.news-card {
    padding: clamp(28px, 5vw, 50px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.news-card:first-child {
    padding-top: 0;
    border-top: 0;
}

.news-card-header {
    margin-bottom: 24px;
}

.news-date {
    display: block;
    margin-bottom: 7px;
    color: var(--copper);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.news-card h3 {
    max-width: 760px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.news-card h3 a {
    color: #f5f1e7;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: #edb28f;
}

.cover-link {
    display: block;
    margin: 0 0 28px;
}

.news-cover {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.news-body {
    max-width: 760px;
    color: #d6dfda;
    font-size: 0.92rem;
    line-height: 1.6;
}

.news-body a {
    color: #b9d7df;
}

.news-body a:hover {
    color: #edb28f;
}

.news-body p:first-child {
    margin-top: 0;
}

.news-body img {
    display: block;
    margin: 24px 0;
    border: 8px solid white;
    box-shadow: var(--shadow);
}

.news-body iframe {
    max-width: 100%;
}

.read-more,
.button-link {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 10px 15px;
    border: 1px solid #b7cfc4;
    color: #e5eee9;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-decoration: none;
    text-transform: uppercase;
}

.read-more:hover,
.button-link:hover {
    color: var(--pine-deep);
    background: #dbe8e1;
}

.feed-message {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #cbd7d1;
    background: rgba(3, 15, 11, 0.36);
}

.feed-message p {
    margin-top: 0;
}

.loading-mark {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--copper);
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.3;
        transform: scale(0.75);
    }
}

.news-pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.news-pager button {
    width: max-content;
    padding: 8px 0;
    border: 0;
    color: #d7e5de;
    background: transparent;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}

.news-pager button:last-child {
    justify-self: end;
}

.page-position {
    color: #aebfb7;
    font-size: 0.75rem;
}

.site-footer {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px max(24px, calc((100% - 1180px) / 2));
    color: #c8d5cf;
    background: var(--pine-deep);
    font-size: 0.76rem;
}

.site-footer a {
    color: inherit;
}

.page-header {
    min-height: 200px;
    display: flex;
    align-items: flex-start;
    padding: 36px 28px 70px;
    color: white;
    background:
        linear-gradient(90deg, rgba(8, 25, 19, 0.86), rgba(8, 25, 19, 0.36)),
        url("/images/view_from_deck.jpg") center 35% / cover no-repeat;
}

.page-header .eyebrow {
    margin-bottom: 3px;
    color: #e5b18d;
}

.page-site-name {
    color: white;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
    text-decoration: none;
}

.page-site-name:hover {
    color: #f2c4a5;
}

.archive-content-column {
    min-height: 620px;
}

.migrated-page-header {
    max-width: 950px;
    margin-bottom: clamp(34px, 5vw, 58px);
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.migrated-page-header h1 {
    margin: 0;
    color: #f5f1e7;
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.migrated-page-body {
    max-width: 950px;
    color: #d6dfda;
}

.migrated-page-body a {
    color: #b9d7df;
}

.migrated-page-body a:hover {
    color: #edb28f;
}

.migrated-page-body p,
.migrated-page-body ul,
.migrated-page-body ol {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.migrated-page-body li + li {
    margin-top: 0.45em;
}

.migrated-page-body img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 24px 0;
    border: 7px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.migrated-page-body table {
    max-width: 100%;
    border-collapse: collapse;
}

.migrated-page-body td,
.migrated-page-body th {
    padding: 6px 8px;
    vertical-align: top;
}

@media (max-width: 800px) {
    .site-header {
        min-height: 190px;
    }

    .header-photo {
        background-position: 58% center;
    }

    .menu-toggle {
        position: relative;
        z-index: 6;
        width: calc(100% - 32px);
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: -27px auto 0;
        padding: 12px 18px;
        border: 1px solid var(--white-line);
        color: white;
        background: var(--pine-deep);
        box-shadow: 0 12px 34px rgba(16, 40, 32, 0.24);
        font: inherit;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .menu-toggle span:last-child {
        color: #adc1b8;
        font-size: 0.65rem;
    }

    .site-layout {
        width: auto;
        margin: 0 16px;
        display: block;
    }

    .header-content {
        width: auto;
        margin: 0 16px;
    }

    .page-header {
        min-height: 190px;
        padding: 30px 16px 58px;
    }

    .site-navigation {
        position: static;
        display: none;
        margin: 10px 0 0;
    }

    .site-navigation.is-open {
        display: block;
    }

    .content-column {
        margin-top: 26px;
        padding-top: 52px;
    }

    .section-heading {
        display: block;
    }

    .site-footer {
        display: block;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .site-header {
        min-height: 190px;
    }

    .header-content {
        padding-top: 14px;
    }

    .site-header h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .tagline {
        max-width: 320px;
        font-size: 1rem;
    }

    .welcome-panel h2,
    .section-heading h2 {
        font-size: 2.05rem;
    }

    .news-card h3 {
        font-size: 1.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .loading-mark {
        animation: none;
    }
}
