:root {
    --paper: #f4f0e8;
    --paper-2: #fbf8f3;
    --ink: #1b1916;
    --muted: #6d655c;
    --line: #e3dcd1;
    --accent: #8c2f2b;
    --card: #fffdf9;
    --shadow: 0 16px 40px rgba(40, 30, 20, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.mast { background: #fffdfb; border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); }
.topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 520px) minmax(0, 1fr);
    grid-template-areas: "brand search side";
    gap: 22px;
    align-items: center;
    padding: 16px 0 14px;
}
.brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    justify-self: start;
}
.brand-logo { width: 48px; height: 48px; object-fit: contain; flex: none; }
.brand strong {
    display: block;
    font-family: Newsreader, Georgia, serif;
    font-weight: 550;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.brand em {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}
.search { grid-area: search; justify-self: center; width: 100%; }
.search input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f7f4ee;
    padding: 11px 18px;
}
.search input:focus { outline: 2px solid var(--accent); background: #fff; }
.top-side { grid-area: side; display: flex; align-items: center; justify-content: flex-end; gap: 10px; justify-self: end; }
.top-social, .social { display: flex; align-items: center; gap: 8px; }
.soc {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: #fff;
}
.soc svg { width: 16px; height: 16px; fill: currentColor; }
.soc:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.soc-light { color: #f7f3ec; background: transparent; border-color: rgba(255,255,255,.28); }
.soc-light:hover { background: #fff; color: var(--ink); }
.nav-toggle {
    display: none;
    border: 1px solid var(--ink);
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
}
.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px 4px;
    list-style: none;
    margin: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line);
}
.nav-list a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
    padding: 6px 9px;
    display: inline-block;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--accent); }

.flash { width: min(1160px, calc(100% - 40px)); margin: 14px auto 0; padding: 12px 14px; background: #e7f0e6; }
.flash-err { background: #f8e6e2; }

.slider { position: relative; background: #221e1a; }
.slider-track { position: relative; height: clamp(460px, 54vw, 720px); }
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide:after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 58%;
    background: linear-gradient(transparent, rgba(18, 14, 10, 0.78));
}
.slide-caption {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 46px 7vw;
    max-width: 680px;
}
.slide-caption strong {
    font-family: Newsreader, Georgia, serif;
    font-weight: 550;
    font-size: clamp(1.8rem, 4vw, 3.3rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.slide-caption em { font-family: Newsreader, Georgia, serif; font-size: 1.15rem; max-width: 46ch; }
.slide-more {
    align-self: flex-start;
    margin-top: 4px;
    border-bottom: 1px solid #fff;
    font-size: 0.92rem;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 252, 247, 0.92);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
    position: absolute;
    z-index: 2;
    left: 0; right: 0; bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 7px;
}
.slider-dots button {
    width: 9px; height: 9px; padding: 0;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.slider-dots button.is-active { background: #fff; }

.band { padding: 34px 0 8px; }
.band-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    border-bottom: 2px solid var(--ink);
    margin: 0 0 8px;
    padding-bottom: 6px;
}
.band-head h2, .related h2 {
    margin: 0;
    font-family: Newsreader, Georgia, serif;
    font-weight: 550;
    font-size: 1.9rem;
    letter-spacing: -0.02em;
}
.band-head a { font-weight: 650; text-decoration: none; font-size: 0.92rem; }
.band-intro { margin: 8px 0 0; color: var(--muted); max-width: 68ch; }

.story {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 22px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.story:not(:has(.story-media)) { grid-template-columns: 1fr; }
.story-lead { grid-template-columns: 320px 1fr; padding-top: 20px; }
.story-media { display: block; background: #e6dfd4; }
.story-media img { display: block; width: 100%; height: 140px; object-fit: cover; }
.story-lead .story-media img { height: 210px; }
.story h3 { margin: 2px 0 6px; font-family: Newsreader, Georgia, serif; font-weight: 550; font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.02em; }
.story-lead h3 { font-size: 2rem; }
.story h3 a { color: inherit; text-decoration: none; }
.story h3 a:hover { color: var(--accent); }
.rail { position: relative; min-width: 0; }
.rail-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px;
    scrollbar-width: thin;
    min-width: 0;
    max-width: 100%;
}
.rail-card {
    flex: 0 0 min(300px, 78vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    min-height: 100%;
}
.rail-card img { width: 100%; height: 180px; object-fit: cover; display: block; background: #e6dfd4; }
.rail-card span, .rail-card strong, .rail-card time, .rail-card em { margin: 0 14px; }
.rail-card strong {
    font-family: Newsreader, Georgia, serif;
    font-weight: 550;
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.rail-card em {
    color: #3c3833;
    font-style: normal;
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rail-card time { color: var(--muted); font-size: 0.82rem; }
.rail-links .rail-card { justify-content: center; min-height: 140px; padding: 16px 0; }
.rail-links .rail-card strong, .rail-links .rail-card em { margin-bottom: 0; }
.story time, .meta-line, .video-card time { color: var(--muted); font-size: 0.86rem; }
.story p { margin: 8px 0 0; color: #3c3833; }
.kicker {
    display: inline-block;
    margin: 0 0 4px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.kicker a { color: inherit; text-decoration: none; }

.cards, .videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.info-card, .video-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 16px;
    color: inherit;
    text-decoration: none;
    min-height: 140px;
}
.info-card strong, .video-card strong { font-family: Newsreader, Georgia, serif; font-size: 1.28rem; font-weight: 550; line-height: 1.25; }
.info-card span:last-child, .link-list span { color: var(--muted); }
.video-shot { position: relative; display: block; background: #ddd6cb; aspect-ratio: 16/9; margin: -16px -16px 8px; overflow: hidden; }
.video-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play {
    position: absolute;
    left: 50%; top: 50%;
    width: 46px; height: 46px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 252, 247, 0.94);
}
.play:before {
    content: "";
    position: absolute;
    left: 18px; top: 15px;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent var(--ink);
}

.link-list { list-style: none; margin: 12px 0 0; padding: 0; }
.link-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.link-list a { font-weight: 700; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }

.about-grid, .contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.about-grid img { width: 100%; height: 320px; object-fit: cover; }
.about-solo { grid-template-columns: 1fr; }
.about-name { margin: 10px 0 4px; font-family: Newsreader, Georgia, serif; font-size: 1.7rem; }
.contact-card { background: var(--card); border: 1px solid var(--line); padding: 18px 18px 8px; }
.contact-card p { margin: 0 0 10px; }

.form { display: grid; gap: 12px; }
.form label, .field { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 650; }
.form input, .form textarea, .field input, .field textarea, .field select {
    width: 100%;
    border: 1px solid #d9d1c6;
    background: #fff;
    padding: 10px 12px;
    font-weight: 450;
}
.form button, .text-btn, .btn {
    justify-self: start;
    border: 0;
    background: var(--ink);
    color: #f7f3ec;
    padding: 11px 18px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 650;
}
.form button:hover, .text-btn:hover, .btn:hover { background: var(--accent); }
.form-ok { background: #e7f0e6; padding: 12px 14px; }
.form-err { background: #f8e6e2; padding: 12px 14px; }
.empty { color: var(--muted); }

.page, .article { padding: 28px 0 50px; }
.page-head, .article-head { max-width: 74ch; }
.page-head h1, .article-head h1 {
    margin: 0 0 8px;
    font-family: Newsreader, Georgia, serif;
    font-weight: 550;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.lede { color: #3f3a34; font-family: Newsreader, Georgia, serif; font-size: 1.25rem; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.article-cover { display: block; width: 100%; max-height: 520px; object-fit: cover; margin: 8px 0 18px; }
.prose { max-width: 72ch; font-size: 1.12rem; line-height: 1.75; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1rem; }
.prose h2 { font-family: Newsreader, Georgia, serif; font-size: 1.7rem; font-weight: 550; margin: 1.6rem 0 0.6rem; }
.prose h3 { font-family: Newsreader, Georgia, serif; font-size: 1.35rem; margin: 1.3rem 0 0.4rem; }
.prose blockquote { border-left: 3px solid var(--accent); margin-left: 0; padding: 0.1rem 0 0.1rem 1rem; color: #3a342e; }
.prose a { text-underline-offset: 2px; }
.prose img { display: block; height: auto; margin: 0 0 1rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.note { background: #f3ead3; padding: 12px 14px; margin: 0 0 16px; max-width: 72ch; }
.fact-list { list-style: none; padding: 0; margin: 0 0 16px; max-width: 72ch; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fact-list li { background: var(--card); border: 1px solid var(--line); padding: 10px 12px; display: grid; gap: 2px; }
.fact-list span { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.article-main { min-width: 0; }
.article-main .article-head,
.article-main .prose,
.article-main .note,
.article-main .fact-list,
.article-main .video-frame { max-width: none; }
.article-main .article-cover { width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; }
.article-main .prose img { max-width: 100%; height: auto; }
.article-side { position: sticky; top: 18px; border-left: 1px solid var(--line); padding-left: 18px; }
.article-side h2 { margin: 0 0 8px; font-family: Newsreader, Georgia, serif; font-size: 1.35rem; font-weight: 550; }
.article-side ul { list-style: none; margin: 0; padding: 0; }
.article-side li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.article-side li a:hover { color: var(--accent); }
.article-side time { display: block; margin-top: 3px; color: var(--muted); font-size: 0.82rem; }
.article-side .more { display: inline-block; margin-top: 12px; font-weight: 650; }
.download { margin: 18px 0; }
.download a {
    display: inline-block;
    background: var(--ink);
    color: #f7f3ec;
    text-decoration: none;
    padding: 10px 14px;
    font-weight: 700;
}
.share { display: flex; gap: 8px; align-items: center; margin-top: 22px; }
.share a {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    text-decoration: none;
}
.share a:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.related { margin-top: 36px; }
.video-frame { position: relative; padding-top: 56.25%; margin: 0 0 18px; background: #111; max-width: 100%; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.chips a { text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 5px 10px; font-size: 0.92rem; }
.chips a.is-on { background: var(--ink); color: #f7f3ec; border-color: var(--ink); }
.pager { display: flex; gap: 6px; margin-top: 18px; }
.pager a, .pager span { min-width: 36px; text-align: center; padding: 6px 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); }
.pager span { background: var(--ink); color: #fff; }

.footer { margin-top: 28px; background: var(--ink); color: #efe8de; padding: 36px 0 16px; }
.footer a { color: #f3efe8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.footer strong { display: block; font-family: Newsreader, Georgia, serif; font-size: 1.25rem; font-weight: 550; margin-bottom: 8px; }
.footer p, .footer li { color: #d9d0c4; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 6px; }
.fine { font-size: 0.92rem; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 12px; font-size: 0.9rem; color: #c9bfb2; }
.kb-credit { color: #d9d0c4; text-decoration: none; }
.kb-credit:hover { color: #fff; }

.doc-list { list-style: none; margin: 8px 0 0; padding: 0; }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: grid; gap: 4px; padding: 16px 0; color: inherit; text-decoration: none; }
.doc-list strong { font-family: Newsreader, Georgia, serif; font-size: 1.35rem; font-weight: 550; letter-spacing: -0.02em; }
.doc-list time { color: var(--muted); font-size: 0.86rem; }
.doc-list span { color: #3c3833; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; margin-top: 18px; }
.link-tile {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: var(--card);
    border: 1px solid var(--line);
}
.link-tile:hover { border-color: var(--ink); }
.link-tile strong { font-family: Newsreader, Georgia, serif; font-weight: 550; font-size: 1.05rem; line-height: 1.25; }
.link-logo { width: 52px; height: 52px; display: grid; place-items: center; position: relative; }
.link-logo b { font-family: Newsreader, Georgia, serif; font-size: 1.4rem; color: var(--accent); }
.link-logo img { position: absolute; width: 40px; height: 40px; object-fit: contain; }

@media (max-width: 800px) {
    .topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand toggle"
            "search search"
            "social social";
        gap: 12px;
    }
    .top-side { display: contents; }
    .top-social { grid-area: social; }
    .nav-toggle { grid-area: toggle; justify-self: end; display: inline-flex; }
    .brand strong { font-size: 1.15rem; }
    .nav-list { display: none; flex-direction: column; align-items: stretch; width: 100%; }
    .nav.is-open .nav-list { display: flex; }
    .story, .story-lead, .about-grid, .contact-grid, .footer-grid, .cards, .videos, .fact-list, .article-grid { grid-template-columns: 1fr; }
    .article-side { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
    .story-lead h3 { font-size: 1.65rem; }
    .story-media img, .story-lead .story-media img { height: 210px; }
    .slide-caption { margin: 0 54px 48px; max-width: none; }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slide { transition: none; }
}
