/* Русгумус — design layer from the Claude Design mockup (Русгумус.dc.html). */
:root {
    --paper: #F4F1EA;
    --band: #ECE7DC;
    --box: #E7E1D4;
    --ink: #1E1B16;
    --text2: #4A443B;
    --text3: #3A352D;
    --body: #2A251F;
    --muted: #6B6458;
    --line: #D9D2C4;
    --line2: #C9C1B1;
    --green: #446A2C;
    --green-dark: #375822;
    --green-box: #395728;
    --green-light: #99C77F;
    --clay: #B27744;
    --soil: #241B14;
    --dark-muted: #B9B1A2;
    --dark-line: #4A443B;
    --serif: 'Literata', Georgia, 'Times New Roman', serif;
    --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --gutter: clamp(16px, 4vw, 56px);
    --hh: 73px;
    --anchor: calc(var(--hh) + 20px);
}
@media (min-width: 1100px) {
    :root { --hh: 107px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.da-site {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: inherit; text-wrap: balance; margin: 0; overflow-wrap: break-word; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
.shell {
    width: 100%;
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 100;
    background: var(--ink); color: var(--paper); padding: 12px 16px;
}
.skip-link:focus { left: 12px; color: var(--paper); }

/* Shared type */
.mono-label {
    font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted);
}
.mono-label.green, .green { color: var(--green); }
.mono-meta { margin: 0; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.kicker {
    display: inline-flex; align-items: center; align-self: flex-start;
    min-height: 44px; margin: -10px 0;
    font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--green);
}
.kicker:hover { color: var(--ink); }
.green-link {
    display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px;
    font-size: 14px; font-weight: 600; color: var(--green);
}
.green-link:hover { color: var(--ink); }
.pill-button {
    display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; justify-self: start;
    height: 48px; padding: 0 22px; border-radius: 24px;
    background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500;
}
.pill-button:hover { background: var(--green-dark); color: var(--paper); }
.block-head, .band-head, .line-head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
    gap: 12px 32px; margin-bottom: clamp(28px, 3.4vw, 48px);
}
.block-head h2 { font-size: clamp(32px, 4.2vw, 64px); line-height: 1; letter-spacing: -.03em; }
.block-note, .band-note { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.55; color: var(--text2); }
.band { background: var(--band); border-top: 1px solid var(--ink); }
.band-title { margin: 0 0 28px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.025em; line-height: 1.1; }
.band-head { align-items: flex-end; }
.band-head-main { display: flex; flex-direction: column; gap: 12px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--paper); border-bottom: 1px solid var(--ink);
}
.admin-bar .site-header { top: 32px; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner {
    display: flex; justify-content: space-between; gap: 24px; padding-top: 8px; padding-bottom: 8px;
    font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.topbar-inner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; display: block; }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1; letter-spacing: -.02em; }
.logo-sub { font-family: var(--mono); font-size: 9px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link, .more summary {
    height: 100%; display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--ink);
}
.nav-link.is-active, .nav-link:hover, .nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link, .more[open] summary, .more summary:hover { color: var(--green); }
.nav-rule { width: 1px; height: 22px; background: var(--line2); }
.more { height: 100%; }
.more summary { list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more-sign { font-family: var(--mono); font-size: 12px; }
.more[open] .more-sign { transform: rotate(45deg); }
.mega, .more-panel {
    position: absolute; top: 100%; left: 0; right: 0;
    margin-top: 1px;
}
.mega {
    display: none;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    box-shadow: 0 30px 40px -30px rgba(30, 27, 22, .35);
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: block; }
.mega-grid {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.6fr);
    gap: 48px; padding-top: 36px; padding-bottom: 40px;
}
.mega-intro { display: flex; flex-direction: column; gap: 16px; }
.mega-name { font-family: var(--serif); font-size: 30px; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.mega-desc { font-size: 15px; line-height: 1.55; color: var(--text2); }
.mega-subs { display: flex; flex-direction: column; }
.mega-subs .mono-label { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-subs a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mega-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-content: start; }
.mega-posts a { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ink); }
.mega-posts img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.mega-post-title { font-family: var(--serif); font-size: 18px; line-height: 1.25; text-wrap: pretty; }
.more-panel { background: var(--ink); color: var(--paper); box-shadow: 0 30px 40px -30px rgba(30, 27, 22, .5); }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; padding-top: 40px; padding-bottom: 44px; }
.more-col { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--dark-line); padding-top: 16px; }
.more-name { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; color: var(--paper); }
.more-name:hover { color: var(--green-light); }
.more-subs { display: flex; flex-wrap: wrap; gap: 0 16px; }
.more-subs a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--dark-muted); }
.more-subs a:hover { color: var(--paper); }
.menu-toggle {
    display: none; height: 44px; padding: 0 18px; flex: none;
    border: 1px solid var(--ink); border-radius: 22px; background: none;
    font-size: 14px; font-weight: 500; cursor: pointer; position: relative; z-index: 2;
}
.mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0; margin-top: 1px;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    max-height: calc(100vh - var(--hh)); max-height: calc(100dvh - var(--hh)); overflow-y: auto;
    padding: 8px 0 32px;
}
.mobile-menu[hidden] { display: none; }
.sheet-group { border-bottom: 1px solid var(--line); }
.sheet-group summary {
    list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
}
.sheet-group summary::-webkit-details-marker { display: none; }
.sheet-name { font-family: var(--serif); font-size: 20px; letter-spacing: -.01em; }
.sheet-sign { font-family: var(--mono); font-size: 18px; color: var(--muted); }
.sheet-group[open] .sheet-sign { transform: rotate(45deg); }
.sheet-links { display: flex; flex-direction: column; padding: 0 0 16px; }
.sheet-links a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--text2); }
.sheet-links a.green-link { color: var(--green); }
.sheet-extra { display: flex; flex-wrap: wrap; gap: 0 28px; padding-top: 12px; }
.sheet-extra a { display: flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 600; }

@media (max-width: 1239px) {
    .main-nav { gap: 18px; }
    .logo-sub { display: none; }
}
@media (max-width: 1099px) {
    .topbar, .main-nav { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; }
}

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.crumbs span { min-height: 44px; display: inline-flex; align-items: center; }
.crumbs > span:last-child { color: var(--ink); }

/* Home: hero */
.hero { padding-top: clamp(28px, 4.4vw, 64px); padding-bottom: clamp(40px, 5.6vw, 80px); }
.hero-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: clamp(18px, 2.2vw, 28px);
    font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.badge { background: var(--ink); color: var(--paper); padding: 6px 10px; white-space: nowrap; flex: none; }
.hero-title {
    max-width: 1240px; font-size: clamp(36px, 6.4vw, 104px); line-height: .98; letter-spacing: -.035em;
}
.hero-title a:hover { color: var(--green); }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(28px, 3.6vw, 56px); margin-top: clamp(28px, 3.6vw, 52px); }
.hero-shot { flex: 2 1 520px; min-width: 0; display: block; }
.hero-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; max-height: 70vh; }
.hero-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-grid.no-img .hero-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px clamp(28px, 4vw, 72px); align-items: start; flex-basis: 100%; }
.hero-grid.no-img .hero-lead { grid-column: 1; }
.hero-grid.no-img .pill-button { grid-column: 1; grid-row: 2; }
.hero-grid.no-img .hero-list { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
.hero-lead { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.hero-list { border-top: 1px solid var(--ink); margin-top: 8px; }
.num-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.num-n { font-family: var(--mono); font-size: 12px; color: var(--green); padding-top: 4px; }
.num-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.num-copy .mono-label { font-size: 10.5px; }
.num-title { font-family: var(--serif); font-size: 18px; line-height: 1.28; text-wrap: pretty; }

/* Home: season */
.season { padding: clamp(40px, 5.6vw, 80px) 0; }
.season-title { font-size: clamp(44px, 7.4vw, 120px); line-height: .9; letter-spacing: -.04em; }
.season-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 32px; }
.season-col { border-top: 2px solid var(--ink); padding: 18px 0 8px; display: flex; flex-direction: column; gap: 6px; }
.season-name { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 21px; letter-spacing: -.01em; align-self: flex-start; }
.season-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.season-col li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text3); }
.season-col li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #5A8A3D; margin-top: 8px; }

/* Home: rubrics */
.rubrics { padding-top: clamp(48px, 6.4vw, 96px); padding-bottom: clamp(48px, 6.4vw, 96px); }
.rubric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 2.8vw, 40px) clamp(20px, 2.4vw, 36px); align-items: start; }
.rubric-card { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--ink); padding-top: 16px; min-width: 0; }
.rubric-top { display: flex; justify-content: space-between; letter-spacing: 0; text-transform: none; }
.rubric-name { font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.rubric-posts { display: flex; flex-direction: column; }
.rubric-post { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; font-size: 15px; line-height: 1.38; font-weight: 500; text-wrap: pretty; }
.rubric-post.has-img { grid-template-columns: 72px minmax(0, 1fr); }
.rubric-post img { width: 72px; height: 72px; object-fit: cover; }

.rubric-dark { display: flex; flex-direction: column; gap: 24px; background: var(--ink); color: var(--paper); padding: 24px; min-height: 280px; min-width: 0; }
.rubric-dark .mono-label { color: var(--dark-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--dark-line); border-radius: 22px; font-size: 14px; color: var(--paper); }
.chips a:hover { border-color: var(--paper); color: var(--paper); }

/* Home: soil profile */
.strata { background: var(--soil); color: var(--paper); }
.strata-head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px;
    padding-top: clamp(48px, 6.4vw, 96px); padding-bottom: clamp(28px, 3.4vw, 48px);
}
.strata-head .mono-label { color: var(--dark-muted); }
.strata-head h2 { font-size: clamp(36px, 5.4vw, 80px); line-height: .98; letter-spacing: -.035em; max-width: 11ch; }
.strata-head .band-note { max-width: 440px; color: #CFC7B8; }
.stratum { border-top: 1px solid rgba(244, 241, 234, .12); }
.stratum-grid { display: flex; flex-wrap: wrap; gap: 16px clamp(24px, 3.6vw, 56px); padding-top: clamp(24px, 2.8vw, 40px); padding-bottom: clamp(24px, 2.8vw, 40px); }
.stratum-depth { flex: 0 0 120px; font-family: var(--mono); font-size: 13px; color: #CFC7B8; padding-top: 6px; }
.stratum-copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.stratum-name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.02em; color: var(--paper); align-self: flex-start; }
.stratum-name:hover { color: var(--green-light); }
.stratum-desc { font-size: 15px; line-height: 1.5; color: #CFC7B8; max-width: 460px; }
.stratum-posts { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; }
.stratum-posts a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(244, 241, 234, .18); font-size: 16px; line-height: 1.4; color: var(--paper); }
.stratum-posts a span:last-child { flex: none; }
.stratum-posts a:hover { color: var(--green-light); }

/* Home: latest + longest */
.latest-wrap { display: flex; flex-wrap: wrap; gap: clamp(40px, 4.8vw, 72px); padding-top: clamp(48px, 6.4vw, 96px); padding-bottom: clamp(48px, 6.4vw, 96px); }
.latest { flex: 2 1 560px; min-width: 0; }
.line-head { border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 0; }
.line-head h2 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.025em; }
.latest-item { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.latest-shot { flex: 0 0 200px; max-width: 100%; }
.latest-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.latest-copy { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.latest-title { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.015em; text-wrap: pretty; }
.latest-lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text2); }
.latest-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.aside-title { border-bottom: 1px solid var(--ink); padding-bottom: 14px; font-size: 26px; letter-spacing: -.02em; }
.long-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.long-n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: .9; color: var(--clay); }
.long-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.long-title { font-size: 16px; line-height: 1.38; font-weight: 500; }
.rule-box { background: var(--green-box); color: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.rule-box .mono-label { color: #D8E3CC; font-size: 11px; }
.rule-box p { margin: 0; font-size: 14px; line-height: 1.5; color: #D8E3CC; }
.rule-box .rule-quote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.25; color: var(--paper); }

/* Home: glossary */
.glossary { padding: clamp(48px, 6.4vw, 96px) 0; }
.glossary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 0; border-top: 1px solid var(--line2); border-left: 1px solid var(--line2); margin: 0; }
.glossary-cell { border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.glossary-letter { font-family: var(--mono); font-size: 12px; color: var(--green); }
.glossary-cell dt { font-family: var(--serif); font-size: 24px; letter-spacing: -.015em; }
.glossary-cell dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text3); }

/* Category */
.cat-head { padding-top: clamp(16px, 2vw, 32px); }
.cat-head-grid {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 56px;
    padding: clamp(20px, 3vw, 48px) 0 clamp(24px, 2.6vw, 36px); border-bottom: 1px solid var(--ink);
}
.cat-head-main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cat-head h1 { font-size: clamp(36px, 5.6vw, 96px); line-height: .98; letter-spacing: -.035em; overflow-wrap: break-word; }
.cat-desc { flex: 1 1 280px; margin: 0; max-width: 420px; font-size: 16px; line-height: 1.55; color: var(--text2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; }
.chip-row a {
    flex: 0 1 auto; max-width: 100%; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--ink); border-radius: 22px; font-size: 14px; white-space: normal; line-height: 1.3; padding-top: 8px; padding-bottom: 8px;
}
.chip-row a.is-current { background: var(--ink); color: var(--paper); }
.chip-row a:not(.is-current):hover { background: var(--box); color: var(--ink); }
.cat-list { padding-top: clamp(16px, 1.8vw, 24px); padding-bottom: clamp(48px, 5.6vw, 80px); }
.cat-head + .cat-list { border-top: 0; }
.feat { display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 3.6vw, 56px); padding-bottom: clamp(32px, 3.4vw, 48px); border-bottom: 1px solid var(--ink); align-items: stretch; }
.feat-shot { flex: 3 1 480px; min-width: 0; display: block; }
.feat-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feat-copy { flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.feat.no-img .feat-copy { flex-basis: 100%; max-width: 980px; padding-top: 12px; }
.feat-title { font-size: clamp(28px, 3vw, 48px); line-height: 1.05; letter-spacing: -.03em; }
.feat-lead { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text2); max-width: 70ch; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 40px clamp(20px, 2.2vw, 32px); padding-top: clamp(28px, 3.4vw, 48px); }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card.no-img { border-top: 1px solid var(--line); padding-top: 18px; }
.card-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-title { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; text-wrap: pretty; }
.card-lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text2); }
.empty { padding: 64px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 24px; color: var(--muted); }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-family: var(--mono); font-size: 14px; }
.pagination .page-numbers { gap: 6px; min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 22px; padding: 0 6px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }
.pagination .page-numbers.dots { color: var(--muted); }
.pagination .prev, .pagination .next { padding: 0 18px; border: 1px solid var(--ink); }
.pagination .next { margin-left: 8px; }
.pagination .prev { margin-right: 8px; }
.neighbors, .related { padding: clamp(40px, 5vw, 72px) 0; }
.neighbor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 28px; }
.neighbor { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 1px solid var(--ink); }
.neighbor .mono-label { font-size: 11px; }
.neighbor-title { font-family: var(--serif); font-size: 19px; line-height: 1.28; }
.cat-list .band-title { margin-top: 8px; }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 620px; margin: 24px 0 8px; }
.search-form input {
    flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 24px;
    background: var(--paper); color: var(--ink); font: 16px var(--sans);
}
.search-form button { height: 48px; padding: 0 22px; border: 0; border-radius: 24px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer; }
.search-form button:hover { background: var(--green-dark); }

/* Article */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 50; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--green); }
.article-head { padding-top: clamp(12px, 1.6vw, 24px); padding-bottom: clamp(28px, 3.4vw, 48px); }
.article-head > * { max-width: 1120px; }
.article-head .crumbs { margin-bottom: clamp(16px, 2.6vw, 36px); }
.article-title { font-size: clamp(32px, 5vw, 80px); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: break-word; }
.article-lead { margin: clamp(20px, 2.2vw, 28px) 0 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: var(--text3); max-width: 760px; }
.article-bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
    margin-top: clamp(24px, 2.6vw, 36px); padding-top: 18px; border-top: 1px solid var(--ink);
}
.article-bar .mono-meta { font-size: 12px; }
.copy-link {
    min-height: 44px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 22px; background: none;
    font-size: 13px; white-space: nowrap; cursor: pointer;
}
.copy-link:hover { border-color: var(--ink); }
.copy-link.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.copy-link.dark:hover { background: var(--green-dark); }
.article-cover { margin: 0 auto; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; min-height: 220px; max-height: 70vh; object-fit: cover; }
.article-cover figcaption { margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.article-layout {
    display: grid; grid-template-columns: 260px minmax(0, 700px); gap: clamp(40px, 6vw, 96px); align-items: start;
    padding-top: clamp(40px, 4.4vw, 72px); padding-bottom: clamp(48px, 5vw, 80px);
}
.article-layout.no-toc { grid-template-columns: minmax(0, 760px); }
.toc-side { position: sticky; top: var(--anchor); max-height: calc(100vh - var(--anchor) - 24px); overflow: auto; min-width: 0; scrollbar-width: none; }
.toc-side::-webkit-scrollbar { display: none; }
.admin-bar .toc-side { top: calc(var(--anchor) + 32px); }
.toc summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 12px; border-bottom: 1px solid var(--ink);
    font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); pointer-events: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc-sign { display: none; font-size: 22px; line-height: 1; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.toc-n { font-family: var(--mono); font-size: 12px; color: var(--green); padding-top: 1px; }
.toc li a.is-current { font-weight: 600; }
.toc-more { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

.article-body, .page-body { min-width: 0; font-family: var(--serif); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.68; color: var(--body); }
.page-body > * { max-width: 760px; }
.article-body p, .page-body p { margin: 0 0 20px; }
.article-body h2, .page-body h2 {
    margin: clamp(36px, 3.4vw, 48px) 0 16px; font-weight: 500;
    font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink);
    scroll-margin-top: var(--anchor);
}
.article-body > h2:first-child, .summary + h2 { margin-top: 0; }
.article-body h3, .page-body h3 { margin: 28px 0 10px; font-weight: 500; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.25; color: var(--ink); scroll-margin-top: var(--anchor); }
.article-body h4 { margin: 24px 0 8px; font-family: var(--sans); font-size: 1em; font-weight: 600; }
.article-body ul, .article-body ol, .page-body ul, .page-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li, .page-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--green); }
.article-body a, .page-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.article-body a:hover, .page-body a:hover { color: var(--ink); }
.article-body img { height: auto; }
.article-body figure, .article-body .wp-block-image { margin: 28px 0 36px; }
.article-body figcaption, .article-body .wp-caption-text { margin-top: 10px; font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--muted); }
.article-body .wp-caption { max-width: 100%; }
.article-body blockquote {
    margin: 40px 0; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
    font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-style: italic; letter-spacing: -.015em; color: var(--ink);
}
.article-body blockquote p { margin: 0 0 12px; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article-body code { font-family: var(--mono); font-size: .85em; background: var(--box); padding: 1px 4px; }
.table-wrap { overflow-x: auto; margin: 0 0 40px; max-width: 100%; font-family: var(--sans); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; line-height: 1.4; }
.table-wrap th, .table-wrap td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 0; }
.table-wrap thead th, .table-wrap tr:first-child th {
    font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted); border-bottom-color: var(--ink);
}
.table-wrap td:first-child { font-weight: 500; }
.summary { background: var(--box); padding: 24px 26px; margin-bottom: 40px; font-family: var(--sans); }
.summary .mono-label { margin: 0 0 14px; font-size: 11px; letter-spacing: .1em; }
.summary ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.summary li { counter-increment: s; display: grid; grid-template-columns: 24px minmax(0, 1fr); margin: 0; }
.summary li::before { content: counter(s); color: var(--green); }
.article-body details { border-bottom: 1px solid var(--line); }
.article-body details summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-weight: 500; padding: 12px 0; }
.article-end { font-family: var(--sans); margin-top: 48px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.article-body .tag-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--box); border-radius: 22px; font-size: 13px; color: var(--ink); text-decoration: none; }
.share-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.share-text { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 28px; }
.related-card { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 16px; }
.related-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.related-card .mono-label { font-size: 11px; }
.related-title { font-family: var(--serif); font-size: 21px; line-height: 1.22; letter-spacing: -.01em; }

/* Static pages and About */
.static-page { padding-bottom: clamp(48px, 5.6vw, 96px); }
.page-head { padding-top: clamp(12px, 1.6vw, 24px); padding-bottom: clamp(28px, 3vw, 44px); }
.page-title { margin: clamp(12px, 2vw, 28px) 0 16px; font-size: clamp(34px, 4.8vw, 72px); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: break-word; }
.static-page .page-body { border-top: 1px solid var(--ink); padding-top: clamp(28px, 3vw, 44px); }
.page-body h2:first-child { margin-top: 0; }
.about-hero { padding-top: clamp(12px, 1.6vw, 24px); padding-bottom: clamp(40px, 4.4vw, 72px); }
.about-hero h1 { margin: 18px 0 0; max-width: 1240px; font-size: clamp(36px, 5.8vw, 96px); line-height: .98; letter-spacing: -.035em; }
.about-hero h1 em { color: var(--green); }
.about-intro { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 4vw, 72px); margin-top: clamp(28px, 3vw, 48px); padding-top: 22px; border-top: 1px solid var(--ink); }
.about-intro p { flex: 1 1 360px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--text2); }
.about-intro .about-lead { flex-basis: 460px; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink); }
.about-sheet { padding: clamp(40px, 5vw, 72px) 0; }
.page-body .about-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px clamp(28px, 4vw, 64px); max-width: none; padding: 24px 0; border-top: 1px solid var(--line2); }
.page-body .about-row:first-child { border-top: 0; padding-top: 0; }
.page-body .about-row h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); }
.page-body .about-text p:last-child { margin-bottom: 0; }
.about-topics { padding-top: clamp(48px, 5.6vw, 96px); padding-bottom: clamp(48px, 5.6vw, 96px); }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px clamp(20px, 2.4vw, 36px); }
.topic { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 16px; }
.topic-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.topic-desc { font-size: 15px; line-height: 1.55; color: var(--text2); }
.about-not { background: var(--soil); color: var(--paper); padding: clamp(48px, 5.6vw, 88px) 0; }
.about-not-grid { display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 4vw, 72px); }
.about-not h2 { flex: 1 1 300px; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.03em; line-height: 1; }
.about-not ul { flex: 2 1 460px; list-style: none; margin: 0; padding: 0; }
.about-not li { padding: 14px 0; border-top: 1px solid rgba(244, 241, 234, .18); font-size: 17px; color: #CFC7B8; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer > .shell { padding-top: clamp(48px, 5.6vw, 80px); padding-bottom: 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 64px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); align-self: flex-start; }
.footer-logo span { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -.02em; }
.footer-logo:hover { color: var(--green-light); }
.footer-top p { flex: 0 1 460px; margin: 0; font-size: 15px; line-height: 1.55; color: var(--dark-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; padding-top: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer-nav a { display: block; padding: 10px 0; min-height: 44px; font-size: 15px; color: var(--paper); }
.footer-nav a:hover { color: var(--green-light); }
.footer-note { margin: 0; font-family: var(--mono); font-size: 11px; color: #8C8475; }

/* Clearfy cookie notice, restyled to the palette and a 44 px target */
#clearfy-cookie.clearfy-cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    max-width: 560px; margin: 0; padding: 0;
    background: var(--ink); color: #E9E4D9; border: 0; border-radius: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    font: 400 14px/1.5 var(--sans);
}
#clearfy-cookie.clearfy-cookie-hide { display: none; }
#clearfy-cookie .clearfy-cookie-container {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    padding: 16px 20px; max-width: none; margin: 0; text-align: left;
}
#clearfy-cookie .clearfy-cookie-accept {
    min-height: 44px; min-width: 88px; padding: 0 18px; margin: 0;
    background: var(--paper); color: var(--ink); border: 0; border-radius: 22px;
    font: 600 15px var(--sans); cursor: pointer;
}
#clearfy-cookie .clearfy-cookie-accept:hover { background: var(--green-light); }
@media (min-width: 1200px) {
    #clearfy-cookie.clearfy-cookie { left: auto; right: 16px; max-width: 340px; }
}

/* Tablets and phones */
@media (max-width: 1199px) {
    .article-layout, .article-layout.no-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .article-body > *, .article-end { max-width: 720px; }
    .article-body > .table-wrap { max-width: 100%; }
    .toc-side { position: static; max-height: none; overflow: visible; margin-bottom: 32px; max-width: 720px; }
    .toc { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
    .toc summary { min-height: 52px; padding: 0; border: 0; pointer-events: auto; cursor: pointer; }
    .toc-sign { display: inline; }
    .toc[open] .toc-sign { transform: rotate(45deg); }
    .toc[open] ol { border-top: 1px solid var(--line); }
    .toc li a { min-height: 44px; align-items: center; font-size: 15px; }
    .toc li:last-child a { border-bottom: 0; }
    .toc-more { margin: 0 0 12px; }
}
@media (max-width: 899px) {
    .hero-grid.no-img .hero-side { grid-template-columns: minmax(0, 1fr); }
    .hero-grid.no-img .hero-list { grid-column: 1; grid-row: auto; }
    .hero-grid.no-img .pill-button { grid-row: auto; }
    .mega-grid { grid-template-columns: minmax(0, 1fr); }
    .page-body .about-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
    body.da-site { font-size: 15px; }
    .header-inner { gap: 12px; }
    .logo-name { font-size: 23px; }
    .logo-mark { width: 34px; height: 34px; }
    .latest-shot { flex-basis: 100%; }
    .pagination .nav-links { gap: 4px; }
    .pagination .prev, .pagination .next { margin: 0; }
    .pagination .page-numbers:not(.prev):not(.next) { min-width: 40px; }
    .pagination .prev { order: -1; flex-basis: 100%; justify-content: center; }
    .pagination .next { order: 99; flex-basis: 100%; justify-content: center; margin-top: 6px; }
    .article-bar { gap: 10px; }
    .share-text { font-size: 18px; }
    .search-form button { padding: 0 16px; }
    .stratum-depth { flex-basis: 100%; padding-top: 0; }
    .rubric-dark { min-height: 0; }
    .glossary-cell { min-height: 0; }
}
@media (max-width: 380px) {
    .logo-name { font-size: 21px; }
    .menu-toggle { padding: 0 14px; }
    .hero-title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
