/* Fokuren — design layer from the Claude Design mockup (Fokuren.dc.html: home, rubric, article, logo). */
:root {
    --paper: #F4F1EA;
    --linen: #EAE5DA;
    --hover: #EEEAE0;
    --ink: #17201B;
    --pine: #1B2A22;
    --persimmon: #D9653B;
    --rust: #C4552D;
    --apricot: #E7A07F;
    --body: #232C26;
    --text2: #3D4640;
    --muted: #5A635D;
    --soft: #8A918B;
    --line: rgba(23, 32, 27, .14);
    --line-2: rgba(23, 32, 27, .1);
    --line-pill: rgba(23, 32, 27, .22);
    --on-dark: #C9CEC8;
    --dark-muted: #A9B0AA;
    --dark-line: rgba(244, 241, 234, .16);
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
    --pad: clamp(16px, 4vw, 40px);
    --header-h: 108px;
    --anchor: calc(var(--header-h) + 20px);
}

*, *::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: 17px;
    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(--rust); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--rust); outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: inherit; text-wrap: balance; }
h1 em, h2 em, .lead-title em, .article-title em { font-style: italic; color: var(--rust); }
p { text-wrap: pretty; }
.shell { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); 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); }

/* Mono labels — the layout's signature metadata line */
.label {
    margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.5;
    letter-spacing: .06em; color: var(--muted); text-transform: uppercase;
}
.label-soft { color: var(--soft); }
.label-ink { color: var(--ink); }
.label-accent { color: var(--rust); letter-spacing: .08em; }
.kicker {
    display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 -12px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted);
}
.kicker:hover { color: var(--rust); }
.accent-link {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 14px; font-weight: 500; color: var(--rust); min-width: 0; overflow-wrap: anywhere;
}
.accent-link:hover { color: var(--ink); }
.italic-head { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.1; }
.section-head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px;
    padding-bottom: 16px; border-bottom: 1.5px solid var(--ink); margin-bottom: 8px;
}
.section-head h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.section-name { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.section-name .label { font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--line-pill); border-radius: 100px; font-size: 14px; white-space: nowrap;
}
.chip:hover { background: var(--ink); color: var(--paper); }
.chip-box { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; background: var(--linen); font-size: 15px; }
.chip-box:hover { background: var(--ink); color: var(--paper); }

/* Wordmark: «f◎kuren», the ring carries an off-centre persimmon dot */
.wordmark {
    display: inline-flex; align-items: baseline; font-family: var(--sans); font-weight: 600;
    letter-spacing: -0.045em; line-height: 1; color: currentColor;
}
.wordmark-o {
    display: inline-block; position: relative; width: .52em; height: .52em;
    border: .09em solid currentColor; border-radius: 50%; margin: 0 .03em 0 .02em;
}
.wordmark-o span {
    position: absolute; width: .16em; height: .16em; border-radius: 50%;
    background: var(--persimmon); top: .05em; right: .04em;
}

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: var(--paper); border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.topbar { border-bottom: 1px solid rgba(23, 32, 27, .08); }
.topbar-inner {
    height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.topbar-link { color: var(--muted); display: inline-flex; align-items: center; min-height: 34px; padding: 0 2px; }
.topbar-link.is-active { color: var(--ink); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-size: 30px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.main-nav { display: flex; align-items: stretch; height: 72px; margin-left: auto; min-width: 0; }
.nav-item { display: flex; }
.nav-link, .more summary {
    display: flex; align-items: center; gap: 8px; padding: 0 12px;
    font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap;
    box-shadow: inset 0 -2px 0 transparent; cursor: pointer;
}
.nav-link.is-active { color: var(--rust); }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link, .more[open] summary, .more summary:hover {
    color: var(--rust); box-shadow: inset 0 -2px 0 var(--rust);
}
.nav-no { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--soft); }
.nav-caret {
    width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg); opacity: .6;
}
.more { display: flex; }
.more summary { list-style: none; height: 72px; }
.more summary::-webkit-details-marker { display: none; }
.fresh-link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; flex: none;
    padding: 0 14px; border: 1px solid var(--line-pill); border-radius: 100px;
    font-size: 14px; font-weight: 500; white-space: nowrap;
}
.fresh-link.is-active, .fresh-link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fresh-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--persimmon); }

/* Rubric panel (hover) and «Ещё» panel: anchored to the header box */
.rub-panel, .more-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    box-shadow: 0 30px 60px -30px rgba(23, 32, 27, .3);
}
.rub-panel { display: none; background: var(--paper); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.nav-item:hover .rub-panel, .nav-item:focus-within .rub-panel { display: block; }
.rub-panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; padding-top: 36px; padding-bottom: 40px; }
.rub-panel-intro { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rub-panel-name { font-family: var(--serif); font-size: 54px; font-weight: 500; line-height: .95; letter-spacing: -.01em; white-space: normal; }
.rub-panel-desc { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 380px; white-space: normal; }
.rub-panel-list { display: flex; flex-direction: column; }
.rub-panel-list .label { margin-bottom: 8px; }
.rub-panel-list a {
    display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; min-height: 44px;
    border-bottom: 1px solid var(--line-2); font-size: 17px; line-height: 1.35; white-space: normal;
}
.rub-panel-arrow { color: var(--soft); }
.more-panel { background: var(--ink); color: var(--paper); }
.more-panel .shell { padding-top: 36px; padding-bottom: 44px; }
.more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.more-title { font-family: var(--serif); font-style: italic; font-size: 40px; font-weight: 500; line-height: 1.1; }
.more-head .label { color: var(--dark-muted); }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.more-grid a {
    display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--dark-line);
    color: var(--paper); white-space: normal;
}
.more-grid a:hover { color: var(--apricot); }
.more-grid .more-top, .more-grid .more-mid { display: none; }
.more-name { font-size: 18px; font-weight: 500; line-height: 1.3; display: flex; gap: 10px; align-items: baseline; }
.more-name .nav-no { color: var(--dark-muted); }
.more-desc { font-size: 13px; line-height: 1.45; color: var(--dark-muted); }

.menu-toggle {
    display: none; position: relative; z-index: 2; flex: none;
    width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--ink);
}
.burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; }
.burger span { width: 22px; height: 1.5px; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - 73px); height: calc(100dvh - 73px); overflow-y: auto;
    background: var(--paper); border-top: 1px solid var(--line); padding: 8px var(--pad) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; max-width: 720px; }
.sheet-link {
    display: flex; align-items: baseline; gap: 12px; padding: 14px 0; min-height: 60px;
    border-bottom: 1px solid var(--line-2); font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1;
}
.sheet-link .nav-no { font-size: 11px; flex: none; width: 22px; }
.sheet-link.is-active { color: var(--rust); }
.sheet-extra { display: flex; flex-wrap: wrap; gap: 0 28px; padding-top: 20px; font-size: 17px; font-weight: 500; }
.sheet-extra a { min-height: 44px; display: flex; align-items: center; }

@media (max-width: 1439px) {
    .nav-last { display: none; }
    .more-grid .more-mid { display: flex; }
}
@media (max-width: 1199px) {
    :root { --header-h: 73px; }
    .topbar { display: none; }
    .main-nav { display: none; }
    .fresh-link { margin-left: auto; }
    .menu-toggle { display: block; }
}

/* Crumbs */
.crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.crumbs a:hover { color: var(--rust); }
.crumbs > span:last-child:not([aria-hidden]) { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }

/* Home — lead + «Стоит прочитать» */
.home-top { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); padding-top: clamp(24px, 4vw, 48px); }
.lead { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lead-media { position: relative; }
.lead-shot img { width: 100%; aspect-ratio: 16 / 10; max-height: 62vh; object-fit: cover; }
.lead-media .lead-chip { position: absolute; right: 16px; bottom: 16px; }
.lead-chip {
    align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 6px 10px;
    background: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
}
.lead.no-img .lead-chip { background: var(--linen); }
.lead.no-img { padding-top: clamp(8px, 2vw, 24px); border-top: 1.5px solid var(--ink); }
.lead-title {
    margin: 0; font-weight: 500; font-size: clamp(40px, 5.2vw, 76px); line-height: .98; letter-spacing: -.015em;
    overflow-wrap: break-word; hyphens: manual; max-width: 100%;
}
.lead.no-img .lead-title { font-size: clamp(40px, 5.6vw, 84px); }
.lead-text { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--text2); max-width: 640px; }
.lead .label { font-size: 12px; letter-spacing: .02em; }
.picks { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; }
.picks-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.pick { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.pick:hover { background: var(--hover); color: var(--ink); }
.pick-no { font-family: var(--serif); font-size: 40px; line-height: .8; color: var(--rust); font-weight: 500; }
.pick-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pick-title { font-size: 17px; font-weight: 500; line-height: 1.3; }

/* Cards */
.trio {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 2.5vw, 36px);
    margin-top: clamp(48px, 6vw, 88px); padding-top: 28px; position: relative;
}
.trio::before { content: ''; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid var(--line); }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.related .card-shot img { aspect-ratio: 3 / 2; }
.card-title { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.08; overflow-wrap: break-word; }
.card-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text2); }
.card.no-img { padding-top: 16px; border-top: 3px solid var(--ink); }

/* «Время чтения» — the dark pine band of the layout */
.band { margin-top: clamp(56px, 7vw, 104px); background: var(--pine); color: var(--paper); }
.band > .shell { padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(44px, 6vw, 80px); }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.band-head h2 { margin: 0; font-size: clamp(44px, 6vw, 88px); line-height: .9; letter-spacing: -.015em; }
.band-head h2 em { color: var(--apricot); }
.band-head p { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.55; color: var(--on-dark); }
.band-line { position: relative; height: 1px; background: rgba(244, 241, 234, .25); margin-bottom: 32px; }
.band-line span { position: absolute; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); }
.band-line span.is-warm { background: var(--apricot); }
.band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(28px, 3vw, 40px); }
.band-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.band-col-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.band-col-head h3 { margin: 0; font-style: italic; font-size: 36px; line-height: 1.05; }
.band-range { font-family: var(--mono); font-size: 13px; color: var(--apricot); }
.band-item { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--dark-line); color: var(--paper); }
.band-item:hover { color: var(--apricot); }
.band-title { font-size: 17px; font-weight: 500; line-height: 1.35; }
.band-item .label { color: var(--dark-muted); }

/* Featured rubric */
.feature { padding-top: clamp(56px, 7vw, 104px); }
.feature .section-head { margin-bottom: 32px; }
.feature .section-head h2 { font-size: clamp(40px, 4.5vw, 64px); }
.feature-grid { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); }
.feature-lead { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; align-items: end; }
.feature-lead.no-img { grid-template-columns: minmax(0, 1fr); align-items: start; }
.feature-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; min-width: 0; }
.feature-title { margin: 0; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.02; overflow-wrap: break-word; }
.feature-lead.no-img .feature-title { font-size: clamp(34px, 3.8vw, 54px); }
.feature-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text2); max-width: 60ch; }
.feature-list { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.mini { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.mini:first-child { padding-top: 0; }
.mini.no-img { grid-template-columns: 44px minmax(0, 1fr); }
.mini:hover { opacity: .8; color: var(--ink); }
.mini-shot img { width: 88px; height: 88px; object-fit: cover; }
.mini-no { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--rust); }
.mini-copy { display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; }
.mini-title { font-size: 16px; font-weight: 500; line-height: 1.3; }

/* «Подробный разбор» — persimmon block */
.analysis-wrap { padding-top: clamp(56px, 7vw, 104px); }
.analysis {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: end;
    background: var(--persimmon); color: var(--ink); padding: clamp(28px, 5vw, 72px);
}
.analysis:hover { color: var(--ink); }
.analysis:hover .analysis-more { text-decoration: underline; }
.analysis-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.analysis .label { color: var(--ink); font-size: 12px; letter-spacing: .1em; }
.analysis-title { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 64px); font-weight: 500; line-height: .98; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; }
.analysis-side { display: flex; flex-direction: column; gap: 18px; border-top: 1.5px solid var(--ink); padding-top: 20px; min-width: 0; }
.analysis-sub { font-family: var(--serif); font-style: italic; font-size: 32px; font-weight: 500; line-height: 1.1; }
.analysis-text { font-size: 18px; line-height: 1.55; }
.analysis-more { font-weight: 600; font-size: 15px; }

/* Rubric pair */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(48px, 5vw, 72px); padding-top: clamp(56px, 7vw, 104px); }
.duo-col { display: flex; flex-direction: column; min-width: 0; }
.duo-col .section-head h2 { font-size: clamp(34px, 3.4vw, 50px); }
.duo-lead { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.duo-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.duo-title { margin: 0; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; overflow-wrap: break-word; }
.duo-item { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 17px; font-weight: 500; line-height: 1.3; }
.duo-item .label { white-space: nowrap; padding-top: 4px; }

/* «С чего начать» — tinted guide cards */
.guides { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.guides-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: 28px; }
.guides-head h2 { margin: 0; font-size: clamp(40px, 4.5vw, 64px); line-height: 1; }
.guides-head p { margin: 0; max-width: 380px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.guide { background: var(--tint, var(--linen)); padding: 28px; display: flex; flex-direction: column; gap: 22px; min-height: 380px; min-width: 0; transition: transform .2s; }
.guide:hover { transform: translateY(-3px); }
.guide-top { display: flex; justify-content: space-between; gap: 12px; color: var(--text2); }
.guide-title { margin: 0; font-size: 42px; line-height: .98; letter-spacing: -.01em; overflow-wrap: break-word; }
.guide-list { list-style: none; margin: auto 0 0; padding: 0; }
.guide-list a { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 10px 0; min-height: 44px; border-top: 1px solid rgba(23, 32, 27, .16); font-size: 14px; line-height: 1.35; }
.guide-list .label { padding-top: 2px; }

/* Rubric archive */
.cat { padding-top: clamp(12px, 3vw, 36px); padding-bottom: clamp(56px, 7vw, 104px); }
.cat .crumbs { margin-bottom: clamp(8px, 2vw, 20px); }
.cat-head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px;
    padding-bottom: 32px; border-bottom: 1.5px solid var(--ink);
}
.cat-name { display: flex; align-items: flex-start; gap: 18px; min-width: 0; flex: 1 1 520px; }
.cat-no { font-family: var(--mono); font-size: 13px; color: var(--rust); padding-top: .8em; flex: none; }
.cat-title {
    margin: 0; font-size: clamp(56px, 9vw, 150px); line-height: .88; letter-spacing: -.025em;
    overflow-wrap: break-word; hyphens: manual; min-width: 0;
}
.cat-title.is-long { font-size: clamp(44px, 6.4vw, 104px); line-height: .92; }
.cat-side { max-width: 420px; flex: 0 1 400px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cat-desc { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text2); }
.cat-lead {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 56px);
    align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line);
}
.cat-lead.no-img { grid-template-columns: minmax(0, 1fr); }
.cat-lead-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cat-lead-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cat-lead.no-img .cat-lead-copy { max-width: 980px; }
.cat-lead-title { margin: 0; font-size: clamp(34px, 4.2vw, 58px); line-height: 1; letter-spacing: -.01em; overflow-wrap: break-word; }
.cat-lead-text { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text2); max-width: 64ch; }
.rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 0 56px; }
.row { display: grid; grid-template-columns: minmax(100px, 36%) minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.row.no-img { grid-template-columns: minmax(0, 1fr); }
.row-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.row-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.row-title { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.08; overflow-wrap: break-word; }
.row-lead { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text2); }
.row .label-soft { margin-top: auto; }
.empty { padding: 48px 0; font-size: 18px; color: var(--muted); }
.pagination { padding-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers {
    min-width: 44px; height: 44px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; font-family: var(--mono); font-size: 13px; color: var(--ink);
}
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }
.pagination a.page-numbers:hover { background: var(--linen); color: var(--ink); }
.pagination .dots { border-radius: 0; }
.other-rubs { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1.5px solid var(--ink); }
.other-rubs .italic-head { font-size: 32px; margin-bottom: 20px; }

.search-form { display: flex; max-width: 560px; width: 100%; }
.search-form input {
    flex: 1; min-width: 0; height: 48px; padding: 0 16px;
    font: 400 16px var(--sans); color: var(--ink);
    background: #FBFAF6; border: 1px solid var(--line-pill); border-right: 0; border-radius: 100px 0 0 100px;
}
.search-form button {
    height: 48px; padding: 0 22px; border: 0; border-radius: 0 100px 100px 0;
    background: var(--ink); color: var(--paper); font: 500 15px var(--sans); cursor: pointer;
}
.search-form button:hover { background: var(--rust); }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 3px; width: 0; background: var(--persimmon); }
.article-head { padding-top: clamp(12px, 3vw, 36px); }
.article-head .crumbs { margin-bottom: clamp(12px, 3vw, 32px); }
.article-intro { max-width: 1040px; }
.article-title {
    margin: 0; font-size: clamp(40px, 5.6vw, 88px); line-height: .98; letter-spacing: -.02em;
    overflow-wrap: break-word; hyphens: manual; max-width: 100%;
}
.article-title.is-long { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; }
.article-lead { margin: 28px 0 0; max-width: 760px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--text2); }
.article-bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
    margin-top: 36px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.article-people { display: flex; flex-wrap: wrap; gap: 16px 36px; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline-mark { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--persimmon); display: flex; align-items: center; justify-content: center; }
.byline-mark span { position: relative; width: 20px; height: 20px; border: 3.5px solid var(--ink); border-radius: 50%; }
.byline-mark span::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); top: -2px; right: -2px; }
.byline-copy { display: flex; flex-direction: column; gap: 2px; }
.byline-name { font-size: 14px; font-weight: 500; }
.byline-role { font-size: 12px; color: var(--muted); }
.article-dates { display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.article-dates .label { font-size: 12px; letter-spacing: 0; text-transform: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share .label { margin-right: 4px; }
.pill {
    height: 44px; padding: 0 16px; display: inline-flex; align-items: center;
    border: 1px solid var(--line-pill); border-radius: 100px; background: transparent;
    font: 400 13px var(--sans); color: var(--ink); white-space: nowrap; cursor: pointer;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill-dark:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }
.article-cover { margin: clamp(28px, 4vw, 48px) 0 0; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; min-height: 220px; max-height: 70vh; object-fit: cover; }
.article-cover figcaption { margin-top: 10px; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 700px); gap: 72px; align-items: start; padding-top: clamp(40px, 5vw, 72px); }
.article-layout.no-toc { grid-template-columns: minmax(0, 700px); }
.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: 1.5px solid var(--ink);
    font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft);
    pointer-events: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc-sign { display: none; font-family: var(--sans); font-size: 24px; line-height: 1; color: var(--ink); transition: transform .2s; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a {
    display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 12px 0; min-height: 44px;
    border-bottom: 1px solid var(--line-2); font-size: 14px; line-height: 1.35;
}
.toc-no { font-family: var(--mono); font-size: 11px; color: var(--soft); padding-top: 2px; }
.toc li a.is-current { color: var(--rust); }
.toc-more { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

.article-body { min-width: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; color: var(--body); overflow-wrap: break-word; }
.article-body p, .page-body p { margin: 0 0 22px; }
.article-body h2, .page-body h2 {
    margin: 44px 0 18px; font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: var(--ink);
    scroll-margin-top: var(--anchor); overflow-wrap: break-word;
}
.article-body > h2:first-child, .summary + h2 { margin-top: 0; }
.article-body h3, .page-body h3 { margin: 32px 0 12px; font-weight: 600; font-size: clamp(23px, 2vw, 28px); line-height: 1.15; 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; color: var(--ink); }
.article-body ul, .article-body ol, .page-body ul, .page-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li, .page-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--rust); }
.article-body a, .page-body a { color: var(--rust); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body a:hover, .page-body a:hover { color: var(--ink); }
.article-body figure, .article-body .wp-block-image { margin: 36px 0; }
.article-body figcaption, .article-body .wp-caption-text { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.article-body .wp-caption { max-width: 100%; }
.article-body blockquote {
    margin: 40px 0; padding: 0; border: 0;
    font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink);
    font-size: clamp(28px, 2.8vw, 36px); line-height: 1.2;
}
.article-body blockquote::before { content: '\201C'; display: block; font-size: 72px; line-height: .5; color: var(--persimmon); font-style: normal; margin-bottom: 14px; }
.article-body blockquote p { margin: 0 0 12px; }
.article-body blockquote cite { display: block; font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--muted); }
.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(--linen); padding: 1px 5px; }
.table-wrap { overflow-x: auto; margin: 0 0 28px; max-width: 100%; border-top: 1.5px solid var(--ink); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.45; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th, .table-wrap tr:first-child th { background: var(--linen); color: var(--ink); font-weight: 600; }
.summary { background: var(--linen); padding: clamp(22px, 3vw, 32px); margin-bottom: 40px; }
.box-title { margin: 0 0 14px !important; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--ink); }
.summary ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
.summary li { display: grid; grid-template-columns: 22px minmax(0, 1fr); margin-bottom: 12px; }
.summary li::before { content: '—'; color: var(--rust); }
.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: 600; padding: 12px 0; }
.article-end { margin-top: 40px; }
.disclaimer { margin: 0 !important; padding: 20px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--muted); }
.article-end .chips { margin-top: 32px; }
.share-box {
    margin-top: 40px; background: var(--ink); color: var(--paper); padding: clamp(22px, 3vw, 32px);
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px;
}
.share-box-title { margin: 0 !important; font-family: var(--serif); font-style: italic; font-size: 28px; font-weight: 500; line-height: 1.1; }
.share-box-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-box .pill { color: var(--paper); border-color: rgba(244, 241, 234, .3); font-size: 14px; text-decoration: none; }
.share-box .pill:hover { border-color: var(--paper); color: var(--paper); }
.share-box .pill-accent { background: var(--persimmon); border-color: var(--persimmon); color: var(--ink); font-weight: 500; }
.share-box .pill-accent:hover { background: var(--apricot); color: var(--ink); }
.related { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.related .section-head { margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }

/* Pages */
.page-head { padding-top: clamp(12px, 3vw, 36px); padding-bottom: clamp(28px, 4vw, 48px); background: linear-gradient(var(--ink), var(--ink)) center bottom / calc(100% - 2 * var(--pad)) 1.5px no-repeat; display: flex; flex-direction: column; gap: 14px; }
.page-title { margin: 0; font-size: clamp(44px, 6vw, 96px); line-height: .92; letter-spacing: -.02em; max-width: 16ch; overflow-wrap: break-word; }
.page-body { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 104px); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--body); }
.page-body > h2:first-child { margin-top: 0; }
.page-body .about-row {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 64px;
    padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line);
}
.page-body .about-row:first-child { border-top: 0; padding-top: 0; }
.page-body .about-row h2 { margin: 0; font-size: clamp(28px, 2.6vw, 38px); }
.page-body .about-text { max-width: 700px; min-width: 0; }
.page-body .about-text p:last-child { margin-bottom: 0; }
.about-hero { padding-top: clamp(12px, 3vw, 36px); padding-bottom: clamp(40px, 5vw, 72px); background: linear-gradient(var(--ink), var(--ink)) center bottom / calc(100% - 2 * var(--pad)) 1.5px no-repeat; }
.about-mark { font-size: clamp(56px, 9vw, 120px); margin: clamp(8px, 2vw, 24px) 0 clamp(20px, 3vw, 36px); color: var(--ink); }
.about-hero h1 { margin: 0; max-width: 14ch; font-size: clamp(44px, 6.4vw, 104px); line-height: .92; letter-spacing: -.02em; }
.about-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px 64px; margin-top: clamp(28px, 3.4vw, 48px); }
.about-intro p { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--text2); max-width: 54ch; }
.about-intro .about-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); }
.about-topics { padding-bottom: clamp(56px, 7vw, 104px); }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 32px; }
.topics-grid a { display: flex; flex-direction: column; gap: 8px; padding: 20px 0 24px; border-bottom: 1px solid var(--line); min-width: 0; }
.topic-name { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.05; }
.topic-desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.about-not { background: var(--pine); color: var(--paper); }
.about-not-grid { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 64px; }
.about-not h2 { margin: 0; font-size: clamp(44px, 5vw, 80px); line-height: .92; letter-spacing: -.015em; }
.about-not h2 em { color: var(--apricot); }
.about-not ul { list-style: none; margin: 0; padding: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; }
.about-not li { padding: 14px 0; border-top: 1px solid var(--dark-line); color: var(--on-dark); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer > .shell { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-logo { display: inline-flex; align-self: flex-start; font-size: 52px; color: var(--paper); }
.footer-logo:hover { color: var(--paper); }
.footer-brand p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--on-dark); max-width: 420px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col .label { color: var(--soft); letter-spacing: .08em; margin-bottom: 4px; }
.footer-col a { display: block; padding: 10px 0; min-height: 44px; font-size: 15px; color: var(--paper); }
.footer-col a:hover { color: var(--apricot); }
.footer-bottom {
    margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.5; color: var(--dark-muted);
}
.footer-bottom p { margin: 0; max-width: 620px; }
.footer-bottom .label { color: var(--dark-muted); font-size: 12px; letter-spacing: 0; text-transform: none; }

/* 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: 70;
    max-width: 560px; margin: 0; padding: 0;
    background: var(--ink); color: var(--on-dark); 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 a { color: var(--apricot); }
#clearfy-cookie .clearfy-cookie-accept {
    min-height: 44px; min-width: 88px; padding: 0 20px; margin: 0;
    background: var(--persimmon); color: var(--ink); border: 0; border-radius: 100px;
    font: 500 14px var(--sans); cursor: pointer;
}
#clearfy-cookie .clearfy-cookie-accept:hover { background: var(--apricot); }

@media (min-width: 1200px) {
    #clearfy-cookie.clearfy-cookie { left: auto; right: 16px; max-width: 360px; }
}
@media (max-width: 1199px) {
    .article-layout, .article-layout.no-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .article-body { max-width: 720px; }
    .toc-side { position: static; max-height: none; overflow: visible; margin-bottom: 32px; max-width: 720px; }
    .toc summary { min-height: 52px; padding-bottom: 0; pointer-events: auto; cursor: pointer; font-size: 12px; color: var(--ink); }
    .toc[open] summary { border-bottom-width: 1px; }
    .toc { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); }
    .toc summary { border-bottom: 0; }
    .toc-sign { display: inline; }
    .toc[open] .toc-sign { transform: rotate(45deg); }
    .toc ol { padding-bottom: 8px; }
    .toc li a { font-size: 15px; }
    .toc-more { margin: 0 0 12px; }
}
@media (max-width: 767px) {
    body.da-site { font-size: 16px; }
    .logo { font-size: 26px; }
    .header-inner { gap: 12px; }
    .fresh-link { padding: 0 12px; }
    .home-top { gap: 40px; }
    .lead-media .lead-chip { right: 10px; bottom: 10px; }
    .row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
    .row-title { font-size: 22px; }
    .cat-name { gap: 10px; flex-basis: 100%; }
    .cat-no { padding-top: .4em; }
    .cat-title { font-size: clamp(44px, 13vw, 64px); }
    .cat-title.is-long { font-size: clamp(34px, 10vw, 52px); }
    .article-bar { align-items: flex-start; }
    .share .label { width: 100%; }
    .page-body .about-row { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide { min-height: 0; }
    .guide-title { font-size: 36px; }
    .band-col-head h3 { font-size: 30px; }
    .pagination .page-numbers { min-width: 40px; }
}
@media (max-width: 380px) {
    .logo { font-size: 23px; }
    .fresh-link { padding: 0 10px; font-size: 13px; gap: 6px; }
    .header-inner { gap: 8px; }
    .lead-title { font-size: 36px; }
    .row { grid-template-columns: minmax(0, 1fr); }
    .pill { padding: 0 12px; }
}
@media (min-width: 768px) {
    .lead-title[style] { font-size: min(clamp(40px, 5.2vw, 76px), calc(min(100vw, 1320px) * .52 / (var(--w) * .5))); }
    .lead.no-img .lead-title[style] { font-size: min(clamp(40px, 5.6vw, 84px), calc(min(100vw, 1320px) * .52 / (var(--w) * .5))); }
    .article-title[style] { font-size: min(clamp(40px, 5.6vw, 88px), calc(min(100vw - 80px, 1040px) / (var(--w) * .5))); }
    .article-title.is-long[style] { font-size: min(clamp(34px, 4.2vw, 64px), calc(min(100vw - 80px, 1040px) / (var(--w) * .5))); }
}
/* Fit the longest word on narrow screens (Cormorant lowercase ≈ .5em per letter) */
@media (max-width: 767px) {
    .lead-title[style], .article-title[style], .cat-title[style], .page-title[style] {
        font-size: min(var(--fs-max, 44px), calc((100vw - 2 * var(--pad) - 8px) / (var(--w) * .5)));
    }
    .lead-title { --fs-max: 40px; }
    .article-title { --fs-max: 36px; }
    .article-title.is-long { --fs-max: 32px; }
    .cat-title { --fs-max: 56px; }
    .cat-title.is-long { --fs-max: 40px; }
    .cat-name .cat-title[style] { font-size: min(var(--fs-max), calc((100vw - 2 * var(--pad) - 40px) / (var(--w) * .5))); }
    .page-title { --fs-max: 44px; }
    .analysis-title[style] { font-size: min(36px, calc((100vw - 2 * var(--pad) - 56px - 8px) / (var(--w) * .5))); }
    #clearfy-cookie.clearfy-cookie { left: 8px; right: 8px; bottom: 8px; font-size: 13px; }
    #clearfy-cookie .clearfy-cookie-container { padding: 12px 14px; flex-wrap: nowrap; }
    #clearfy-cookie .clearfy-cookie-accept { flex: none; }
}
body.menu-open #clearfy-cookie { display: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }
