:root {
    --ink: #1b2420;
    --muted: #6b655c;
    --paper: #f4efe4;
    --paper-2: #fbf7ef;
    --line: #e4d8c4;
    --gold: #9a7844;
    --gold-2: #c4a36a;
    --forest: #2c4036;
    --shadow: 0 22px 50px rgba(27, 36, 32, .12);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(154, 120, 68, .08), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(44, 64, 54, .06), transparent 50%),
        var(--paper);
    line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
    font-family: "Cormorant Garamond", serif;
    line-height: 1.12;
    margin: 0 0 .35em;
    font-weight: 600;
}

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(244, 239, 228, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 82px;
}
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.logo strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
}
.logo small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.nav-desktop { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-desktop a { font-size: 15px; color: var(--muted); }
.nav-desktop a:hover { color: var(--ink); }
.menu-open, .menu-close {
    display: none;
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    background: var(--paper-2);
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: #18221e;
    color: #f6efe2;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    overflow: auto;
    transform: translateY(-12px);
    transition: opacity .4s ease, visibility .4s ease, transform .4s ease;
}
.nav-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.nav-overlay-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 82px;
    gap: 16px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .35s ease .08s, transform .35s ease .08s;
}
.nav-overlay-bar strong {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
}
.nav-overlay.is-open .nav-overlay-bar {
    opacity: 1;
    transform: none;
}
.nav-overlay .menu-close {
    display: inline-flex;
    align-items: center;
    color: #f6efe2;
    border-color: rgba(246,239,226,.3);
    background: transparent;
}
.nav-overlay-links {
    display: grid;
    gap: 8px;
    padding: 24px 0 64px;
}
.nav-overlay-links a {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(32px, 8vw, 56px);
    line-height: 1.15;
    color: #f6efe2;
    border-bottom: 1px solid rgba(246,239,226,.12);
    padding: 10px 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s ease, color .2s ease;
}
.nav-overlay.is-open .nav-overlay-links a {
    opacity: 1;
    transform: none;
}
.nav-overlay.is-open .nav-overlay-links a:nth-child(1) { transition-delay: .1s; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(2) { transition-delay: .16s; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(3) { transition-delay: .22s; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(4) { transition-delay: .28s; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(5) { transition-delay: .34s; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(6) { transition-delay: .4s; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(7) { transition-delay: .46s; }
.nav-overlay.is-open .nav-overlay-links a:nth-child(8) { transition-delay: .52s; }
.nav-overlay-links a:hover { color: var(--gold-2); }
body.nav-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .nav-overlay, .nav-overlay-bar, .nav-overlay-links a { transition: none; transform: none; }
}

.slider { position: relative; min-height: 72vh; overflow: hidden; background: var(--forest); }
.slide {
    position: absolute; inset: 0;
    background: var(--forest) center/cover no-repeat;
    opacity: 0; visibility: hidden; transition: opacity .9s ease;
    display: grid; align-items: end;
}
.slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: 72vh; }
.slide-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(16,22,19,.55), rgba(16,22,19,.18) 55%, rgba(16,22,19,.35)),
        linear-gradient(180deg, rgba(16,22,19,.12), rgba(16,22,19,.78));
}
.slide-copy { position: relative; z-index: 1; color: #f7f1e6; padding: 80px 0 88px; max-width: 720px; }
.slide-copy h1 {
    font-size: clamp(40px, 6.5vw, 76px);
    letter-spacing: -.02em;
    max-width: 14ch;
}
.slide-copy p { font-size: 19px; max-width: 42ch; color: #efe6d6; margin: 12px 0 0; }
.eyebrow.light { color: var(--gold-2); }
.slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.18);
    color: #fff; font-size: 28px; cursor: pointer;
    backdrop-filter: blur(6px);
}
.slider-nav:hover { background: rgba(0,0,0,.32); }
.slider-nav.prev { left: 16px; }
.slider-nav.next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button {
    width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.slider-dots button.is-active { width: 22px; border-radius: 999px; background: #fff; }

.btn-gold {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 22px; height: 46px; padding: 0 22px;
    border-radius: 999px; background: var(--gold); color: #fff; font-weight: 600; border: 0; cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.btn-gold:hover { background: #86663a; transform: translateY(-1px); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--gold); font-weight: 600; margin: 0 0 8px; }
.chip {
    display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px;
    background: #efe3cc; color: var(--gold); font-size: 12px; font-weight: 600; margin: 8px 0;
}

.intro-band {
    display: grid;
    gap: 48px;
    align-items: center;
    padding: 88px 0 40px;
}
.intro-band.has-photo {
    grid-template-columns: .85fr 1.15fr;
}
.intro-band.text-only {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
    padding: 72px 0 32px;
    text-align: center;
}
.intro-band.text-only .intro-copy h2 {
    max-width: none;
    font-size: clamp(36px, 5vw, 56px);
    margin-inline: auto;
}
.intro-band.text-only .intro-rich {
    max-width: 48ch;
    margin-inline: auto;
}
.intro-band.text-only .eyebrow {
    display: inline-block;
}
.intro-media { margin: 0; position: relative; }
.intro-media::after {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 1px solid var(--line);
    border-radius: 28px;
    z-index: 0;
    pointer-events: none;
}
.intro-photo {
    position: relative; z-index: 1;
    width: 100%; height: 420px; object-fit: cover; border-radius: 24px;
}
.intro-copy h2 { font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -.02em; max-width: 14ch; }
.intro-copy p { color: var(--muted); font-size: 18px; }

.quote-band {
    background: linear-gradient(160deg, #31483d, #24352d 60%, #1d2b24);
    color: #f4ead8;
    margin: 28px 0 8px;
}
.quote-band blockquote { padding: 72px 0; text-align: center; max-width: 820px; }
.quote-band p {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(28px, 4vw, 40px);
    font-style: italic;
    margin: 0;
    line-height: 1.35;
}
.quote-band cite {
    display: block;
    margin-top: 20px;
    color: var(--gold-2);
    font-style: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}

.section { padding: 64px 0; }
.section-head, .page-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.page-head { padding-top: 48px; display: block; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.lede { color: var(--muted); font-size: 19px; max-width: 640px; }
.text-link {
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}
.text-link:hover { border-bottom-color: var(--gold); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
    background: rgba(251, 247, 239, .85);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #d8c9ae;
}
.card-media { height: 210px; background: linear-gradient(160deg, #3a5246, #24352d) center/cover no-repeat; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 27px; letter-spacing: -.01em; }
.card-body h3 a:hover { color: var(--gold); }
.card-body p { color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { color: var(--muted); font-size: 14px; margin-top: auto; padding-top: 8px; }

.home-empty {
    margin: 0;
    padding: 36px 0 8px;
    color: var(--muted);
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-style: italic;
}

.category-band { padding-top: 8px; padding-bottom: 72px; }
.category-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.category-pill {
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper-2);
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.category-pill:hover { border-color: var(--forest); background: var(--forest); color: #f6efe2; }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

.article { padding: 56px 0 8px; max-width: 720px; }
.article-head h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.02em; }
.article-head .lede { margin: 12px 0 0; font-size: 21px; line-height: 1.55; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 18px; }
.article-head .meta span + span::before { content: "·"; margin: 0 10px; color: var(--gold); }
.article-figure { margin: 28px 0 8px; }
.article-cover { width: 100%; border-radius: 20px; max-height: 460px; object-fit: cover; }
.article-body { padding-top: 12px; }
.article-body p,
.intro-rich p { font-size: 19.5px; line-height: 1.85; margin: 0 0 1.2em; }
.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 1.4em 0 .55em;
}
.article-body h2 { font-size: 34px; }
.article-body h3 { font-size: 28px; }
.article-body h4 { font-size: 22px; }
.article-body ul,
.article-body ol {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}
.article-body li { margin: 0 0 .45em; font-size: 19px; line-height: 1.75; }
.article-body blockquote {
    margin: 1.4em 0;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-style: italic;
    color: #314039;
}
.article-body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-body hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2em 0;
}
.intro-rich { color: var(--muted); }
.intro-rich p { font-size: 18px; }
.about-body { padding-bottom: 64px; max-width: 720px; }

.share {
    margin: 48px 0 8px;
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
}
.share-label {
    margin: 0 0 16px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}
.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}
.share-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.share-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--paper-2);
    color: var(--ink);
}
.share-icon svg { width: 17px; height: 17px; fill: currentColor; }
.share-icon:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: #f6efe2;
}
.share-copy, .share-native {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.share-copy svg { width: 16px; height: 16px; fill: currentColor; }
.share-copy:hover, .share-native:hover { border-color: var(--gold); color: var(--gold); }
.share-copy.is-copied { border-color: var(--forest); color: var(--forest); }

.comments { padding: 48px 0 72px; max-width: 720px; }
.comments-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.comments-head h2 { margin: 0; font-size: 36px; }
.comments-head span {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #efe3cc;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}
.comment-thread { list-style: none; margin: 0 0 8px; padding: 0; }
.comment {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.comment-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--forest); color: #f6efe2;
    font-family: "Cormorant Garamond", serif; font-size: 16px; letter-spacing: .02em;
    border: 1px solid rgba(154, 120, 68, .35);
}
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.comment-meta strong { font-family: "Cormorant Garamond", serif; font-size: 20px; font-weight: 600; }
.comment-meta time { color: var(--muted); font-size: 13px; }
.comment-main p { margin: 0; font-size: 17px; line-height: 1.75; color: #2a322e; }
.comments-empty {
    color: var(--muted);
    padding: 18px 0 8px;
    font-size: 16px;
}
.comment-compose {
    margin-top: 28px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
}
.comment-compose h3 { font-size: 28px; margin: 0 0 6px; }
.compose-kicker { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.compose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compose-grid label, .comment-form label { display: grid; gap: 7px; font-weight: 600; font-size: 13px; }
.compose-grid .full { grid-column: 1 / -1; }
.compose-grid input, .compose-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}
.compose-grid textarea { resize: vertical; min-height: 140px; }
.compose-grid input:focus, .compose-grid textarea:focus {
    outline: 0;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(154, 120, 68, .18);
}
.compose-grid small, .form-hint { color: var(--muted); font-weight: 400; font-size: 12px; }
.compose-actions { display: flex; justify-content: flex-start; margin-top: 20px; }
.comment-compose .btn-gold { margin-top: 0; min-width: 148px; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 12px 14px; border-radius: 12px; margin: 16px 0; }
.note-ok { background: #e8efe8; color: #2c4036; }
.note-err { background: #f8e8e2; color: #8a3b22; }
.empty { color: var(--muted); }
.related { padding-top: 8px; }

.pager-wrap { margin-top: 32px; }
.pager, .admin-pager { display: flex; gap: 8px; flex-wrap: wrap; }
.pager a, .admin-pager a {
    min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center;
    border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2);
}
.pager a.is-active, .admin-pager a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: #efe9dc; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.footer-inner p { margin: 6px 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

.contact-page { padding-bottom: 72px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 8px;
    max-width: 720px;
}
.contact-grid.has-aside {
    grid-template-columns: 1.1fr .9fr;
    max-width: none;
}
.contact-lead {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
    max-width: 46ch;
    margin: 0 0 28px;
}
.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}
.contact-item {
    display: grid;
    gap: 4px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-item span {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}
.contact-item a,
.contact-item strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
}
.contact-item a:hover { color: var(--gold); }
.contact-aside {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
}
.contact-aside h2 {
    font-size: 30px;
    margin: 0 0 10px;
}
.contact-aside p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

#debug-icon, #debug-bar { display: none !important; }

@media (max-width: 900px) {
    .intro-band, .intro-band.has-photo, .post-grid, .form-row, .compose-grid { grid-template-columns: 1fr; }
    .intro-band { padding: 48px 0 24px; gap: 28px; }
    .intro-band.text-only { max-width: none; padding: 40px 0 20px; text-align: center; }
    .intro-photo { height: 280px; }
    .intro-media::after { display: none; }
    .slide.is-active { min-height: 64vh; }
    .footer-inner { flex-direction: column; }
    .slider-nav { display: none; }
    .nav-desktop { display: none; }
    .menu-open { display: inline-flex; align-items: center; }
    .logo small { display: none; }
    .logo strong { font-size: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
}
