:root {
    --paper: #f3eee6;
    --paper-2: #e8e0d4;
    --white: #faf7f2;
    --ink: #1c1916;
    --ink-soft: #4e463e;
    --line: #d9d0c3;
    --terra: #9d3b22;
    --pine: #1c3a34;
    --sea: #1d3e56;
    --clay: #8a5a3c;
    --plum: #3d2c38;
    --moss: #3e4a32;
    --dusk: #2c3348;
    --gold: #a68445;
    --shadow: 0 18px 40px rgba(28, 25, 22, 0.08);
    --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.6rem 0.8rem;
    z-index: 20;
}
.skip-link:focus { top: 1rem; }

.masthead {
    border-bottom: 1px solid var(--line);
    background: rgba(243, 238, 230, 0.94);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}
.masthead__top, .masthead__brand, .cat-nav, .wrap, .footer-grid, .footer-base {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}
.masthead__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.masthead__top p { margin: 0; }
.masthead__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem 0;
}
.wordmark {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    text-decoration: none;
}
.wordmark__mark {
    width: 2.7rem;
    height: 2.7rem;
    display: grid;
    place-items: center;
    background: var(--pine);
    color: var(--paper);
    font-family: var(--serif);
    font-weight: 620;
}
.wordmark__name {
    display: block;
    font-family: var(--serif);
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1;
}
.wordmark__tag {
    display: block;
    color: var(--ink-soft);
    font-size: 0.86rem;
    margin-top: 0.2rem;
}
.site-nav { display: flex; gap: 1.2rem; }
.site-nav a, .cat-nav a { text-decoration: none; }
.site-nav a { font-weight: 560; }
.site-nav a.is-active, .cat-nav a.is-active { color: var(--terra); }
.nav-toggle {
    display: none;
    border: 1px solid var(--ink);
    background: transparent;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
}
.cat-nav {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.55rem 0 0.75rem;
    font-size: 0.92rem;
}
.cat-nav a { white-space: nowrap; color: var(--ink-soft); }

.hero { padding: 3.2rem 0 1rem; }
.hero h1 {
    font-size: clamp(3rem, 7vw, 5.6rem);
    max-width: 14ch;
    margin-bottom: 1rem;
}
.hero__lead {
    max-width: 38rem;
    font-size: 1.2rem;
    color: var(--ink-soft);
}
.hero__meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.4rem;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.feature-grid, .card-grid, .split, .policy, .contact-layout, .sitemap-grid {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto 3rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1rem;
}
.stack { display: grid; gap: 1rem; }
.cover {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    padding: 1.2rem;
    text-decoration: none;
    color: #f6f1e8;
    position: relative;
    overflow: hidden;
}
.cover--lg { min-height: 460px; padding: 1.6rem; }
.cover::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(246, 241, 232, 0.25);
    border-radius: 50%;
    right: -40px;
    bottom: -50px;
}
.cover__kicker, .kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}
.cover__place {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    line-height: 0.9;
    max-width: 10ch;
}
.cover--lg .cover__place { font-size: clamp(3.4rem, 7vw, 6rem); }
.cover__season { font-size: 0.95rem; opacity: 0.85; }
.cover--pine { background: var(--pine); }
.cover--terra { background: var(--terra); }
.cover--sea { background: var(--sea); }
.cover--ink { background: var(--ink); }
.cover--clay { background: var(--clay); }
.cover--plum { background: var(--plum); }
.cover--moss { background: var(--moss); }
.cover--dusk { background: var(--dusk); }
.cover--gold { background: #6d5424; }

.story-copy { padding: 1.1rem 0 0.2rem; }
.story-copy h2, .section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.4rem; }
.section-head {
    width: min(var(--max), calc(100% - 2rem));
    margin: 1rem auto 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}
.section-head p, .dek { color: var(--ink-soft); max-width: 40rem; }
.story-copy a.more, .text-link { color: var(--terra); font-weight: 600; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    text-decoration: none;
}
.card .cover { min-height: 180px; }
.card__body { padding: 1rem 1rem 1.2rem; }
.card__body h3 { font-size: 1.45rem; margin-bottom: 0.45rem; }
.card__body p { color: var(--ink-soft); margin-bottom: 0; }
.meta { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 0.7rem; }

.band {
    background: var(--pine);
    color: #f6f1e8;
    padding: 3rem 0;
    margin-bottom: 3rem;
}
.band .wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; }
.band a { color: #f3d7b0; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.filters a, .search-form button, .contact-form button {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
}
.filters a.is-active, .search-form button, .contact-form button {
    background: var(--ink);
    color: var(--paper);
}
.search-form { display: flex; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.search-form input, .contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0.7rem 0.8rem;
    color: var(--ink);
}
.search-form input { max-width: 28rem; }

.article-layout { width: min(760px, calc(100% - 2rem)); margin: 2rem auto 3rem; }
.article-hero { width: min(var(--max), calc(100% - 2rem)); margin: 1.5rem auto 0; }
.article-hero .cover { min-height: 280px; }
.article-layout h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 0.8rem; }
.article-layout .dek { font-size: 1.2rem; }
.article-body h2 { font-size: 1.8rem; margin: 2rem 0 0.6rem; }
.article-body p { font-size: 1.08rem; }
.article-body a { color: var(--terra); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.pager a { color: var(--terra); font-weight: 600; }

.policy h1, .contact-layout h1, .page-title h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page-title { width: min(var(--max), calc(100% - 2rem)); margin: 2.2rem auto 1rem; }
.policy h2, .prose h2 { font-size: 1.7rem; margin-top: 1.8rem; }
.prose { width: min(760px, calc(100% - 2rem)); margin: 0 auto 3rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line); }
.prose ul { padding-left: 1.2rem; }
.policy { width: min(760px, calc(100% - 2rem)); }
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-form { display: grid; gap: 0.8rem; background: var(--white); border: 1px solid var(--line); padding: 1rem; }
.contact-form label { display: grid; gap: 0.3rem; font-weight: 560; }
.honeypot { position: absolute; left: -9999px; }
.form-note, .notice { background: #efe4cc; border: 1px solid #e0cfa8; padding: 0.8rem 1rem; }
.error { background: #f3d7d0; border: 1px solid #e2b2a6; padding: 0.8rem 1rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.sitemap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sitemap-grid ul, .site-footer ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li + li, .site-footer li + li { margin-top: 0.35rem; }

.ad-slot {
    width: min(760px, calc(100% - 2rem));
    margin: 0 auto 1.5rem;
    padding: 0.6rem;
    border: 1px dashed var(--line);
    text-align: center;
}
.ad-slot__label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}

.site-footer {
    background: var(--ink);
    color: #efe8dc;
    padding: 2.5rem 0 1.2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr; gap: 1.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 0.4rem; }
.footer-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: #c9bfb0; }
.site-footer a { color: #efe8dc; }
.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(239, 232, 220, 0.15);
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.92rem;
    color: #c9bfb0;
}

.empty { padding: 1rem 0 2rem; }

@media (max-width: 900px) {
    .feature-grid, .card-grid, .contact-layout, .footer-grid, .sitemap-grid { grid-template-columns: 1fr; }
    .masthead__top p:last-child { display: none; }
    .nav-toggle { display: inline-block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 0.8rem 1rem 1rem;
    }
    .site-nav.is-open { display: flex; }
    .cover--lg { min-height: 320px; }
}
@media (max-width: 640px) {
    .footer-base, .section-head, .pager { flex-direction: column; }
    .hero { padding-top: 2rem; }
}
