/* yapsiholog — design layer from the Claude Design mockup (Brand, Header, Footer, Home, Rubric, Article, About). */
:root {
    --bg: #F4F3F6;
    --white: #FFFFFF;
    --ink: #1D1922;
    --muted: #554E5C;
    --soft: #463F4D;
    --line: #CFCAD5;
    --line-soft: #E4E1E8;
    --rule: #D9D5DE;
    --plum: #2A2131;
    --plum-line: #4A3E52;
    --plum-btn: #5A4D63;
    --on-plum: #F2EEF4;
    --on-plum-muted: #CBC1D1;
    --lilac: #E9E8F6;
    --lilac-line: #C9C7E4;
    --blue: #3142C0;
    --blue-hover: #222F96;
    --blue-on-dark: #A9B2FF;
    --focus: #707EF0;
    --head: 'Ysabeau Office', 'Trebuchet MS', sans-serif;
    --serif: 'Brygada 1918', Georgia, 'Times New Roman', serif;
    --gutter: 40px;
    --header-h: 81px;
    --anchor: calc(var(--header-h) + 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
body.da-site {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 18px;
    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(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: inherit; text-wrap: balance; overflow-wrap: break-word; }
h1 a, h2 a, h3 a { text-decoration: none; color: inherit; }
h1 a:hover, h2 a:hover, h3 a:hover { color: var(--blue-hover); }
p { text-wrap: pretty; }
.shell {
    width: 100%;
    max-width: 1360px;
    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(--bg); padding: 12px 16px;
    font-family: var(--head); font-weight: 700;
}
.skip-link:focus { left: 12px; color: var(--bg); }
.meta { margin: 0; font-family: var(--head); font-size: 15px; line-height: 1.45; color: var(--muted); }
.kicker {
    display: inline-flex; align-items: center; min-height: 44px;
    font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.25;
    color: var(--blue); text-decoration: none;
}
.kicker:hover { color: var(--blue-hover); }
p.kicker { margin: 0; }
.kicker-lg { font-size: 17px; }
.crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px;
    font-family: var(--head); font-size: 15px; line-height: 1.4; color: var(--muted);
}
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--blue-hover); }
.crumbs .crumb-section { color: var(--blue); font-weight: 700; text-decoration: none; }
.crumbs span { display: inline-flex; align-items: center; min-height: 44px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
}
.admin-bar .site-header { top: 32px; }
.header-inner { position: relative; height: 80px; display: flex; align-items: center; gap: 44px; }
.logo, .footer-logo {
    font-family: var(--serif); font-style: italic; font-weight: 600;
    letter-spacing: -0.015em; text-decoration: none; white-space: nowrap; line-height: 1.1;
}
.logo { font-size: 29px; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.logo span, .footer-logo span { font-weight: 400; color: var(--muted); }
.logo:hover { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 26px; flex: 1; min-width: 0; }
.nav-link, .more summary {
    display: inline-flex; align-items: center; min-height: 44px;
    font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.2;
    color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-link:hover, .more summary:hover { color: var(--blue); }
.nav-link.is-active {
    color: var(--blue);
    text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.more { position: static; }
.more summary { list-style: none; cursor: pointer; gap: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more-narrow { display: none; }
.more-caret {
    width: 7px; height: 7px; margin-top: -3px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.more[open] .more-caret { transform: rotate(-135deg) translate(-2px, -2px); margin-top: 3px; }
.more-panel {
    position: absolute; top: 100%; left: auto; z-index: 55;
    min-width: 320px; max-width: calc(100vw - 2 * var(--gutter));
    padding: 10px 0; background: var(--white); border: 1px solid var(--rule);
    box-shadow: 0 18px 40px rgba(29, 25, 34, .08);
}
.more-panel a {
    display: flex; align-items: center; min-height: 48px; padding: 8px 22px;
    font-family: var(--head); font-weight: 500; font-size: 17px; line-height: 1.25;
    color: var(--ink); text-decoration: none;
}
.more-panel a:hover { background: var(--bg); color: var(--blue); }
.more-panel a.is-active { color: var(--blue); }
.nav-side {
    display: flex; align-items: center; gap: 26px;
    padding-left: 26px; border-left: 1px solid var(--rule); height: 28px;
}
.menu-toggle {
    display: none; margin-left: auto; position: relative; z-index: 2;
    min-width: 88px; height: 44px; padding: 0 14px;
    background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0;
    font-family: var(--head); font-weight: 700; font-size: 16px; cursor: pointer;
}
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    max-height: calc(100vh - 60px); overflow-y: auto;
    background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    padding: 8px 0 24px;
}
.sheet-link {
    display: flex; align-items: center; min-height: 52px; padding: 8px 20px;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--head); font-weight: 600; font-size: 19px; line-height: 1.25;
    color: var(--ink); text-decoration: none;
}
.sheet-link.is-active { color: var(--blue); }
.sheet-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 18px 20px 0; }
.sheet-extra a {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    border: 1px solid var(--ink); font-family: var(--head); font-weight: 700; font-size: 17px;
    color: var(--ink); text-decoration: none;
}

/* Bands */
.band-dark { background: var(--plum); color: var(--on-plum); }
.band-white { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band-lilac { background: var(--lilac); }
.band-title { margin: 0; font-weight: 750; font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; }
.band-note { margin: 16px 0 28px; max-width: 36ch; font-size: 17px; line-height: 1.5; color: var(--on-plum-muted); }
.section-title { margin: 0; font-weight: 750; font-size: 56px; line-height: 1.02; letter-spacing: -0.02em; }
.section-desc { margin: 18px 0 22px; max-width: 34ch; font-size: 18px; line-height: 1.55; color: var(--muted); }
.all-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--head); font-weight: 700; font-size: 16px; }

/* Home: cover */
.cover { padding-top: 56px; padding-bottom: 88px; }
.cover-title {
    margin: 4px 0 0; max-width: 21ch;
    font-weight: 750; font-size: 76px; line-height: 1.02; letter-spacing: -0.025em;
}
.cover-title a { color: var(--ink); }
.cover-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; margin-top: 40px; align-items: start; }
.cover-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cover-text { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 24px; }
.cover-shot + .cover-text { margin-top: 24px; }
.cover-lead { margin: 0; font-size: 21px; line-height: 1.5; }
.cover-text .meta { padding-top: 6px; }
.cover-side { display: flex; flex-direction: column; }
.second { border-top: 2px solid var(--ink); padding: 8px 0 30px; }
.second-title { margin: 0; font-weight: 700; font-size: 26px; line-height: 1.14; letter-spacing: -0.01em; }
.second-title a { color: var(--ink); }
.second-lead { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }

/* Home: tabs band */
.tabs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-top: 88px; padding-bottom: 80px; }
.tabs-band .band-title { font-size: 56px; }
.tablist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.tab {
    min-height: 48px; padding: 10px 16px; text-align: left; cursor: pointer;
    background: transparent; color: var(--on-plum); border: 1px solid var(--plum-btn); border-radius: 0;
    font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.2;
}
.tab[aria-selected="true"] { background: var(--on-plum); color: var(--plum); border-color: var(--on-plum); }
.tab:hover { border-color: var(--on-plum); }
.tab-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-content: start; }
.tab-panel[hidden] { display: none; }
.tab-item { border-top: 1px solid var(--plum-line); padding: 12px 0 28px; }
.tab-sub {
    display: inline-flex; align-items: center; min-height: 44px;
    font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.25;
    color: var(--on-plum-muted); text-decoration: none;
}
.tab-sub:hover { color: var(--on-plum); }
.tab-item h3 { margin: 0; font-weight: 700; font-size: 26px; line-height: 1.16; }
.tab-item h3 a { color: var(--on-plum); }
.tab-item h3 a:hover { color: var(--on-plum); text-decoration: underline; }
.tab-item .meta, .band-dark .meta { margin-top: 10px; color: var(--on-plum-muted); font-size: 14px; }

/* Home: spread */
.spread { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding-top: 96px; padding-bottom: 96px; }
.spread-big .spread-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 22px; }
.spread-title { margin: 0; max-width: 26ch; font-weight: 750; font-size: 36px; line-height: 1.08; letter-spacing: -0.015em; }
.spread-lead { margin: 12px 0 0; max-width: 60ch; font-size: 18px; line-height: 1.55; }
.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 36px; }
.link-card { display: block; border-top: 1px solid var(--line); padding: 16px 0 20px; color: var(--ink); text-decoration: none; }
.link-card:hover { color: var(--blue-hover); }
.link-title { display: block; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.22; }
.link-card .meta { margin-top: 8px; font-size: 14px; }

/* Home: trio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.trio-col { min-width: 0; }
.trio-head { margin: 0; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-weight: 750; font-size: 28px; line-height: 1.1; }
.trio-head a:hover { color: var(--blue); }
.trio-first { padding: 20px 0 8px; }
.trio-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.trio-first h3 { margin: 0; font-weight: 700; font-size: 24px; line-height: 1.16; }
.trio-first h3 a { color: var(--ink); }
.trio-lead { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.trio-link {
    display: block; border-top: 1px solid var(--line-soft); padding: 14px 0;
    font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.28;
    color: var(--ink); text-decoration: none;
}
.trio-link:hover { color: var(--blue-hover); }

/* Home: long read */
.feature { padding-top: 96px; padding-bottom: 96px; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; margin-top: 6px; align-items: start; }
.feature-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 54px; line-height: 1.08; letter-spacing: -0.015em; }
.feature-title a { color: var(--ink); }
.feature-lead { margin: 20px 0 0; max-width: 52ch; font-size: 21px; line-height: 1.5; }
.feature-grid article .meta { margin-top: 14px; }
.num-list { list-style: none; margin: 0; padding: 0; }
.num-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; border-top: 1px solid var(--line); padding: 18px 0 22px; }
.num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1; color: var(--blue); }
.num-list a { color: var(--ink); text-decoration: none; }
.num-list a:hover { color: var(--blue-hover); }
.num-title { display: block; font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.2; }
.num-list .meta { display: block; margin-top: 8px; font-size: 14px; }

/* Home: duo */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding-top: 96px; padding-bottom: 96px; }
.duo-col { min-width: 0; }
.duo-title { margin: 0; font-weight: 750; font-size: 36px; line-height: 1.05; }
.duo-title a:hover { color: var(--blue); }
.duo-desc { margin: 12px 0 24px; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--soft); }
.duo-card { display: block; background: var(--white); padding: 24px 24px 28px; color: var(--ink); text-decoration: none; }
.duo-card:hover { color: var(--blue-hover); }
.duo-card-title { display: block; font-family: var(--head); font-weight: 750; font-size: 26px; line-height: 1.15; }
.duo-card-lead { display: block; margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--soft); }
.duo-link {
    display: block; border-bottom: 1px solid var(--lilac-line); padding: 16px 0;
    font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.28;
    color: var(--ink); text-decoration: none;
}
.duo-link:hover { color: var(--blue-hover); }

/* Rubric archive */
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 52px; padding-bottom: 64px; }
.cat-head.has-start { grid-template-columns: minmax(0, 1fr) 420px; }
.cat-intro { min-width: 0; }
.cat-title { margin: 6px 0 0; font-weight: 750; font-size: 88px; line-height: 1; letter-spacing: -0.028em; }
.cat-desc { margin: 22px 0 0; max-width: 40em; font-size: 22px; line-height: 1.5; }
.cat-intro .meta { margin-top: 18px; }
.cat-head .search-form { margin-top: 28px; }
.start { background: var(--plum); color: var(--on-plum); padding: 28px 28px 14px; }
.start h2 { margin: 0 0 4px; font-weight: 800; font-size: 22px; }
.start p { margin: 0 0 8px; font-family: var(--head); font-size: 15px; line-height: 1.45; color: var(--on-plum-muted); }
.start ol { list-style: none; margin: 0; padding: 0; }
.start li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px; border-top: 1px solid var(--plum-line); padding: 14px 0; }
.start .num { font-size: 28px; color: var(--blue-on-dark); }
.start a { color: var(--on-plum); text-decoration: none; }
.start a:hover { text-decoration: underline; color: var(--on-plum); }
.start-title { display: block; font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.25; }
.start .meta { display: block; margin-top: 6px; font-size: 14px; color: var(--on-plum-muted); }
.topics { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.topics-inner { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.topics-label { align-self: center; padding-right: 8px; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.chip {
    flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--line); color: var(--ink); text-decoration: none;
    font-family: var(--head); font-weight: 600; font-size: 16px; white-space: nowrap;
}
.chip span { font-weight: 500; font-size: 14px; opacity: .75; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-current { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.list { padding-top: 64px; padding-bottom: 88px; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.list-head h2 { margin: 0; font-weight: 800; font-size: 28px; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; border-top: 2px solid var(--ink); padding: 18px 0 40px; align-items: start; }
.feat.has-img { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding-top: 24px; }
.feat-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feat-copy { min-width: 0; }
.feat-section { margin: 0; font-family: var(--head); font-size: 15px; color: var(--muted); }
.feat-title { margin: 4px 0 0; max-width: 30ch; font-weight: 750; font-size: 44px; line-height: 1.08; letter-spacing: -0.015em; }
.feat-title a { color: var(--ink); }
.feat-lead { margin: 14px 0 0; max-width: 56ch; font-size: 19px; line-height: 1.55; }
.feat-copy .meta { margin-top: 12px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
    display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; gap: 32px;
    border-top: 1px solid var(--line); padding: 22px 0;
}
.row-section { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--head); font-size: 14px; line-height: 1.4; color: var(--muted); }
.row-section .kicker { min-height: 0; font-size: 14px; padding: 4px 0 0; }
.row-copy { min-width: 0; }
.row-title { margin: 0; font-weight: 700; font-size: 24px; line-height: 1.18; }
.row-title a { color: var(--ink); }
.row-lead { margin: 8px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.5; color: var(--soft); }
.row-copy .meta { margin-top: 8px; font-size: 14px; }
.row-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.empty { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 19px; }
.pagination { margin-top: 8px; padding-top: 24px; border-top: 2px solid var(--ink); }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pagination .page-numbers {
    min-width: 48px; min-height: 48px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none;
}
.pagination a.page-numbers:hover { color: var(--blue); }
.pagination .page-numbers.current { background: var(--ink); color: var(--bg); }
.pagination .page-numbers.dots { min-width: 28px; color: var(--muted); font-weight: 400; }
.pagination .prev { padding: 0 16px; border: 1px solid var(--ink); margin-right: 10px; font-size: 16px; }
.pagination .next { padding: 0 16px; background: var(--ink); color: var(--bg); margin-left: 10px; font-size: 16px; }
.pagination .next:hover { background: var(--blue-hover); color: var(--bg); }
.neighbours-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; padding-top: 64px; padding-bottom: 64px; }
.neighbours h2 { margin: 0; font-weight: 800; font-size: 24px; }
.neighbours-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.neighbours-list a, .topics-list a { display: block; border-top: 1px solid var(--lilac-line); padding: 16px 0 20px; color: var(--ink); text-decoration: none; }
.neighbours-list a:hover, .topics-list a:hover { color: var(--blue-hover); }
.nb-name { display: block; font-family: var(--head); font-weight: 750; font-size: 21px; line-height: 1.2; }
.nb-desc { display: block; margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--soft); }

.search-form { display: flex; max-width: 640px; }
.search-form input {
    flex: 1; min-width: 0; height: 52px; padding: 0 14px;
    font: 500 17px var(--head); color: var(--ink);
    background: var(--white); border: 1px solid var(--ink); border-right: 0; border-radius: 0;
}
.search-form button {
    height: 52px; padding: 0 22px; border: 0; border-radius: 0;
    background: var(--ink); color: var(--bg); font: 700 16px var(--head); cursor: pointer;
}
.search-form button:hover { background: var(--blue-hover); }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 4px; width: 0; background: var(--blue); }
.article-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 72px; }
.article-head { padding-top: 40px; padding-bottom: 40px; }
.article-aside {
    align-self: end; display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px;
    font-family: var(--head); font-size: 15px; line-height: 1.45; color: var(--muted);
}
.article-head.has-cover .article-aside { align-self: start; padding-top: 64px; }
.article-aside p { margin: 0; }
.article-author { color: var(--ink); font-weight: 700; font-size: 16px; }
.article-dates span { display: block; }
.article-heading { min-width: 0; }
.article-title {
    margin: 4px 0 0; max-width: 22ch;
    font-weight: 750; font-size: clamp(34px, 4vw + 4px, 64px); line-height: 1.04; letter-spacing: -0.024em;
}
.article-lead { margin: 24px 0 0; max-width: 680px; font-size: clamp(19px, 0.6vw + 15px, 23px); line-height: 1.5; }
.article-meta-mob { display: none; }
.article-cover { margin: 32px 0 0; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-cover figcaption { margin-top: 12px; max-width: 70ch; font-family: var(--head); font-size: 14px; line-height: 1.45; color: var(--muted); }
.article-layout { align-items: start; padding-top: 8px; padding-bottom: 72px; }
.toc-side { position: sticky; top: var(--anchor); max-height: calc(100vh - var(--anchor) - 24px); overflow-y: auto; min-width: 0; padding-right: 6px; scrollbar-width: thin; }
.toc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font-family: var(--head); font-weight: 700; font-size: 16px; pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc-count, .toc-sign { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a {
    display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--rule);
    font-family: var(--head); font-weight: 500; font-size: 15px; line-height: 1.35;
    color: var(--muted); text-decoration: none;
}
.toc li a:hover { color: var(--blue); }
.toc li a.is-current { border-left-color: var(--blue); color: var(--ink); font-weight: 700; }
.toc-more { margin: 10px 0 0 14px; font-family: var(--head); font-size: 14px; color: var(--muted); }
.article-layout.no-toc .toc-side { visibility: hidden; }
.article-body { min-width: 0; }
.article-body > *, .page-body > * { max-width: 680px; }
.article-body p, .article-body li, .page-body p, .page-body li { font-size: clamp(18px, 0.4vw + 15px, 20px); line-height: 1.62; }
.article-body p { margin: 0 0 1.1em; }
.article-body h2, .page-body h2 {
    margin: 56px 0 20px; font-weight: 750; font-size: clamp(28px, 1.4vw + 18px, 40px);
    line-height: 1.1; letter-spacing: -0.015em; scroll-margin-top: var(--anchor);
}
.article-body > h2:first-child, .article-body .summary + h2 { margin-top: 0; }
.article-body h3, .page-body h3 { margin: 32px 0 10px; font-weight: 750; font-size: clamp(21px, 0.6vw + 17px, 25px); line-height: 1.2; scroll-margin-top: var(--anchor); }
.article-body h4 { margin: 24px 0 8px; font-weight: 750; font-size: 20px; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body a { overflow-wrap: anywhere; }
.article-body strong { font-weight: 600; }
.article-body blockquote { margin: 8px 0 40px; padding: 0; max-width: 760px; }
.article-body blockquote p { font-style: italic; font-weight: 500; font-size: clamp(24px, 1.4vw + 16px, 34px); line-height: 1.25; letter-spacing: -0.01em; }
.article-body figure, .article-body .wp-block-image { margin: 40px 0 48px; max-width: 960px; }
.article-body figcaption { margin-top: 12px; font-family: var(--head); font-size: 14px; line-height: 1.45; color: var(--muted); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.summary { background: var(--lilac); padding: 24px 28px 26px; margin-bottom: 48px; }
.box-title { margin: 0 0 12px !important; font-family: var(--head); font-weight: 800; font-size: 19px !important; }
.summary ul { margin: 0; padding-left: 20px; }
.table-wrap {
    max-width: 960px !important; overflow-x: auto; margin: 24px 0 48px;
    background: var(--white); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-family: var(--head); font-size: 15px; line-height: 1.45; }
.table-wrap th, .table-wrap td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table-wrap thead th { font-weight: 800; border-bottom-color: var(--line); }
.table-wrap tbody th { font-weight: 700; }
.table-wrap td p, .table-wrap th p { margin: 0; font-size: inherit; line-height: inherit; }
.disclaimer { margin: 48px 0 0 !important; padding: 16px 18px; background: var(--lilac); font-family: var(--head); font-size: 15px !important; line-height: 1.5 !important; max-width: 720px; }
.next-step .article-shell { padding-top: 72px; padding-bottom: 80px; }
.next-label { margin: 0; font-family: var(--head); font-weight: 800; font-size: 18px; }
.next-main { min-width: 0; }
.next-link { display: block; max-width: 28ch; color: var(--on-plum); text-decoration: none; }
.next-link:hover { color: var(--on-plum); text-decoration: underline; }
.next-meta { display: block; margin-bottom: 6px; font-family: var(--head); font-size: 15px; color: var(--on-plum-muted); }
.next-title { font-family: var(--head); font-weight: 750; font-size: clamp(26px, 1.6vw + 16px, 40px); line-height: 1.1; }
.next-lead { margin: 18px 0 0; max-width: 52ch; font-size: 18px; line-height: 1.55; color: var(--on-plum-muted); }
.next-links { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 20px; }
.next-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--on-plum); }
.next-links a:hover { color: var(--blue-on-dark); }

/* Pages */
.page-hero { padding-top: 40px; padding-bottom: 48px; }
.page-title { margin: 4px 0 0; max-width: 18ch; font-weight: 750; font-size: 76px; line-height: 1.02; letter-spacing: -0.026em; }
.page-lead { margin: 28px 0 0; max-width: 36em; font-size: 23px; line-height: 1.5; }
.page-body { padding-bottom: 32px; }
.page-body > :not(.about-row) { max-width: 760px; margin-left: max(var(--gutter), calc((100% - 1360px) / 2 + var(--gutter))); margin-right: var(--gutter); }
.page-body > .about-row { max-width: none; }
.about-row > * { margin: 0; }
.about-row {
    border-top: 1px solid var(--rule);
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px;
    padding: 64px max(var(--gutter), calc((100% - 1360px) / 2 + var(--gutter)));
}
.page-body .about-row h2, .about-row-title { margin: 0; font-weight: 750; font-size: 36px; line-height: 1.1; scroll-margin-top: var(--anchor); }
.about-text { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.about-text p { margin: 0; }
.about-hero { padding-top: 80px; padding-bottom: 104px; }
.about-hero h1 { margin: 0; max-width: 18ch; font-weight: 750; font-size: 76px; line-height: 1.02; letter-spacing: -0.026em; }
.about-lead { margin: 28px 0 0; max-width: 36em; font-size: 23px; line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.band-dark .split .band-title, .about-topics .band-title { font-size: 48px; }
.who { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.who div { border-top: 1px solid var(--plum-line); padding: 18px 0 24px; }
.who dt { font-family: var(--head); font-weight: 750; font-size: 21px; }
.who dd { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--on-plum-muted); }
.topics-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.topics-list a { border-top-color: var(--line); }
.about-body { padding-bottom: 0; }
.band-lilac .split .about-text p { font-size: 18px; line-height: 1.6; }
.band-lilac .split .about-text a { font-family: var(--head); font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* Footer */
.site-footer { background: var(--plum); color: var(--on-plum); }
.site-footer > .shell { padding-top: 72px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; padding-bottom: 36px; border-bottom: 1px solid var(--plum-line); }
.footer-logo { font-size: 44px; color: var(--on-plum); }
.footer-logo span { color: var(--on-plum-muted); }
.footer-logo:hover { color: var(--on-plum); }
.footer-top p { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--on-plum-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 32px; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; font-family: var(--head); font-weight: 600; font-size: 16px; color: var(--on-plum); }
.footer-nav a:hover { color: var(--blue-on-dark); }
.footer-note { margin: 0; flex: 1 1 360px; font-family: var(--head); font-size: 14px; line-height: 1.5; color: var(--on-plum-muted); text-align: right; }

/* 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(--plum); color: var(--on-plum); border: 0; border-radius: 0; box-shadow: none;
    font: 400 14px/1.5 var(--head);
}
#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(--blue-on-dark); }
#clearfy-cookie .clearfy-cookie-accept {
    min-height: 44px; min-width: 88px; padding: 0 18px; margin: 0;
    background: var(--on-plum); color: var(--plum); border: 0; border-radius: 0;
    font: 700 15px var(--head); cursor: pointer;
}
#clearfy-cookie .clearfy-cookie-accept:hover { background: var(--white); }
@media (min-width: 1280px) {
    #clearfy-cookie.clearfy-cookie { left: auto; right: 16px; max-width: 340px; }
}

/* Header: four rubrics fit from 1440, three + «Ещё» below, a «Разделы» panel under 1024 */
@media (min-width: 1440px) {
    .more.more-short { display: none; }
    .more-panel a:not(.more-5):not(.more-6):not(.more-7):not(.more-8):not(.more-9) { display: none; }
}
@media (max-width: 1439px) {
    .nav-4 { display: none; }
    .more-panel .more-1, .more-panel .more-2, .more-panel .more-3 { display: none; }
}
@media (max-width: 1279px) {
    .header-inner { gap: 32px; }
    .main-nav, .nav-side { gap: 22px; }
    .nav-side { padding-left: 22px; }
    .cover-title { font-size: 60px; }
    .band-title, .section-title, .tabs-band .band-title { font-size: 46px; }
    .feature-title { font-size: 44px; }
    .cover-grid, .tabs-grid, .spread, .feature-grid { gap: 40px; }
    .cat-title { font-size: 68px; }
    .cat-head.has-start { grid-template-columns: minmax(0, 1fr) 340px; }
    .row { grid-template-columns: 150px minmax(0, 1fr) 170px; }
    .article-shell { grid-template-columns: 200px minmax(0, 1fr); gap: 44px; }
    .page-title, .about-hero h1 { font-size: 60px; }
    .neighbours-grid { gap: 40px; }
}
@media (max-width: 1023px) {
    .main-nav .nav-link { display: none; }
    .more-wide { display: none; }
    .more-narrow { display: inline; }
    .more-panel a { display: flex !important; }
    .trio { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .duo { gap: 40px; }
    .split { gap: 40px; }
    .neighbours-list { grid-template-columns: minmax(0, 1fr); }
    .cat-head.has-start { grid-template-columns: minmax(0, 1fr); }
    .start { max-width: 640px; }
}

/* Phones */
@media (max-width: 759px) {
    :root { --gutter: 20px; --header-h: 61px; }
    body.da-site { font-size: 17px; }
    .header-inner { height: 60px; gap: 12px; padding-right: 8px; }
    .logo { font-size: 23px; }
    .main-nav, .nav-side { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .cover { padding-top: 20px; padding-bottom: 48px; }
    .cover-title { font-size: 36px; line-height: 1.06; }
    .cover-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 22px; }
    .cover-shot { display: block; margin: 0 calc(-1 * var(--gutter)); }
    .cover-shot img { aspect-ratio: 4 / 3; }
    .cover-text { grid-template-columns: minmax(0, 1fr); }
    .cover-lead { font-size: 18px; }
    .second-title, .tab-item h3 { font-size: 22px; }
    .band-title, .section-title, .tabs-band .band-title, .band-dark .split .band-title, .about-topics .band-title { font-size: 32px; }
    .tabs-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
    .tablist { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .tab { font-size: 16px; }
    .tab-panel { grid-template-columns: minmax(0, 1fr); }
    .spread { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 52px; padding-bottom: 52px; }
    .spread-big .spread-shot { display: block; margin: 0 calc(-1 * var(--gutter)); }
    .spread-title, .duo-title { font-size: 28px; }
    .link-grid, .duo { grid-template-columns: minmax(0, 1fr); }
    .trio, .feature, .duo { padding-top: 52px; padding-bottom: 52px; }
    .trio { gap: 40px; }
    .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .feature-title { font-size: 32px; }
    .feature-lead { font-size: 18px; }
    .duo-card-title { font-size: 22px; }
    .cat-head { padding-top: 12px; padding-bottom: 36px; gap: 28px; }
    .cat-title { font-size: 42px; line-height: 1.04; }
    .cat-desc { font-size: 18px; }
    .start { padding: 22px 20px 10px; }
    .topics-inner { flex-wrap: nowrap; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
    .topics-inner::-webkit-scrollbar { display: none; }
    .list { padding-top: 36px; padding-bottom: 56px; }
    .list-head h2 { font-size: 24px; }
    .feat, .feat.has-img { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .feat-shot { margin: 0 calc(-1 * var(--gutter)); }
    .feat-title { font-size: 28px; }
    .feat-lead { font-size: 18px; }
    .row, .row.has-thumb { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; }
    .row-shot { display: none; }
    .row-title { font-size: 21px; }
    .row-lead { font-size: 16px; }
    .pagination .nav-links { gap: 4px; }
    .pagination .prev, .pagination .next { margin: 0; }
    .pagination .page-numbers:not(.prev):not(.next) { min-width: 44px; min-height: 44px; }
    .pagination .prev { order: 1; }
    .pagination .next { order: 2; margin-left: auto; }
    .pagination .page-numbers:not(.prev):not(.next) { order: 3; }
    .pagination .nav-links > .page-numbers:not(.prev):not(.next):first-of-type { margin-left: 0; }
    .neighbours-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 40px; padding-bottom: 40px; }
    .article-shell { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .article-head { padding-top: 12px; padding-bottom: 28px; }
    .article-aside { display: none; }
    .article-meta-mob {
        display: block; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--rule);
        font-family: var(--head); font-size: 14px; line-height: 1.5; color: var(--muted);
    }
    .article-meta-mob strong { color: var(--ink); }
    .article-meta-mob span + span::before { content: ' · '; }
    .article-cover { margin: 24px calc(-1 * var(--gutter)) 0; }
    .article-cover img { aspect-ratio: 4 / 3; }
    .article-cover figcaption { padding: 0 var(--gutter); }
    .article-layout { padding-top: 0; padding-bottom: 48px; }
    .toc-side { position: static; max-height: none; overflow: visible; padding-right: 0; margin-bottom: 28px; }
    .article-layout.no-toc .toc-side { display: none; }
    .toc { border: 1px solid var(--ink); background: var(--white); }
    .toc summary { min-height: 52px; margin: 0; padding: 0 16px; font-size: 17px; pointer-events: auto; cursor: pointer; }
    .toc-count { display: inline; font-weight: 700; }
    .toc-sign { display: inline-block; position: relative; width: 14px; height: 14px; }
    .toc-sign::before, .toc-sign::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--ink); }
    .toc-sign::after { transform: rotate(90deg); }
    .toc[open] .toc-sign::after { display: none; }
    .toc nav { border-top: 1px solid var(--rule); padding: 0 16px 10px; }
    .toc li a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; border-left: 0; border-bottom: 1px solid #EEECF1; font-size: 16px; color: var(--ink); }
    .toc li a.is-current { font-weight: 500; }
    .summary { padding: 20px 20px 22px; margin-bottom: 36px; }
    .article-body h2, .page-body h2 { margin-top: 44px; }
    .table-wrap { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); max-width: none !important; }
    .next-step .article-shell { padding-top: 44px; padding-bottom: 48px; gap: 16px; }
    .page-hero { padding-top: 12px; padding-bottom: 36px; }
    .page-title, .about-hero h1 { font-size: 38px; line-height: 1.06; }
    .page-lead, .about-lead { font-size: 19px; }
    .about-hero { padding-top: 32px; padding-bottom: 56px; }
    .split, .about-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .split { padding-top: 52px; padding-bottom: 52px; }
    .about-row { padding: 40px var(--gutter); }
    .page-body .about-row h2, .about-row-title { font-size: 28px; }
    .who, .topics-list { grid-template-columns: minmax(0, 1fr); }
    .site-footer > .shell { padding-top: 48px; padding-bottom: 32px; }
    .footer-logo { font-size: 30px; }
    .footer-note { text-align: left; }
    .search-form button { padding: 0 16px; }
}
@media (max-width: 380px) {
    .logo { font-size: 21px; }
    .menu-toggle { min-width: 80px; }
    .cover-title { font-size: 32px; }
    .tablist { grid-template-columns: minmax(0, 1fr); }
    .cat-title { font-size: 36px; }
    .page-title, .about-hero h1 { font-size: 32px; }
    .chip { font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
