/* ayaklimat — design layer from the Claude Design mockup (Design System.dc.html):
   dense grotesque, ink rules instead of cards, one blue for links and accents. */
:root {
    --bg: #F8F7FB;
    --white: #FFFFFF;
    --ink: #2E1F38;
    --blue: #62467E;
    --blue-dark: #4D365F;
    --tint: #EEE6F7;
    --tint-hover: #D2DBE8;
    --muted: #554862;
    --text-2: #2E343D;
    --text-3: #554862;
    --line: #DED5E6;
    --line-soft: #D5DAE1;
    --dark-line: #353B45;
    --dark-muted: #9AA3B2;
    --dark-text: #C3C9D3;
    --amber: #9A6400;
    --amber-bg: #FFF3D9;
    --head: 'PT Serif', 'Segoe UI', system-ui, sans-serif;
    --text: 'Ysabeau Office', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gutter: clamp(16px, 4.4vw, 64px);
    --header-h: 70px;
    --anchor: calc(var(--header-h) + 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.da-site {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--text);
    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(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--head); color: inherit; text-wrap: balance; overflow-wrap: break-word; }
h1 a, h2 a, h3 a { color: inherit; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover { color: var(--blue); }
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(--white); padding: 12px 16px;
}
.skip-link:focus { left: 12px; color: var(--white); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.kicker, .meta-cat { color: var(--blue); text-decoration: none; }
a.kicker { display: inline-flex; align-items: center; min-height: 44px; }
.arrow-link {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; font-weight: 700; font-size: 16px; text-decoration: none;
}
.arrow-link:hover { color: var(--ink); text-decoration: underline; }

/* Header — white, 2 px ink rule, sticky on every width */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--white); border-bottom: 2px solid var(--ink);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: stretch; gap: 28px; min-height: 68px; }
.logo {
    flex: none; align-self: center; display: inline-flex; align-items: baseline;
    padding: 12px 0; color: var(--ink); text-decoration: none;
    font: 800 23px/1 var(--head); letter-spacing: -0.035em;
}
.logo span, .footer-logo span { font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.logo:hover { color: var(--ink); }
.main-nav { flex: 1; min-width: 0; display: flex; align-items: stretch; gap: 24px; }
.side-nav { flex: none; display: flex; align-items: stretch; gap: 24px; }
.nav-link {
    display: flex; align-items: center; padding-top: 4px; margin-bottom: -2px;
    border-bottom: 4px solid transparent; white-space: nowrap;
    font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav-link:hover { color: var(--blue); }
.nav-link.is-active { border-bottom-color: var(--blue); }
.more { display: flex; }
.more summary {
    display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; white-space: nowrap;
    font: 600 15px var(--text); color: var(--ink);
}
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { color: var(--blue); }
.more-caret::after { content: '▼'; font-size: 11px; }
.more[open] .more-caret::after { content: '▲'; }
.more-panel {
    position: absolute; left: 0; right: 0; top: 100%; margin-top: 2px;
    background: var(--white); border-bottom: 2px solid var(--ink);
    box-shadow: 0 24px 40px -24px rgba(18, 21, 25, .25);
}
.more-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 40px;
    padding-top: 28px; padding-bottom: 32px;
}
.more-grid a {
    display: flex; align-items: center; min-height: 52px; border-top: 1px solid var(--line-soft);
    font: 700 20px/1.2 var(--head); letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
}
.more-grid a:hover { color: var(--blue); }
.more-h1, .more-h2, .more-h3, .more-h4 { display: none !important; }
.menu-toggle {
    display: none; align-self: center; margin-left: auto; position: relative; z-index: 2;
    min-width: 88px; height: 44px; padding: 0 14px; cursor: pointer;
    border: 2px solid var(--ink); background: var(--white); color: var(--ink);
    font: 700 15px var(--head);
}
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--white); }
.mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%; margin-top: 2px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-bottom: 2px solid var(--ink);
    padding: 8px 0 24px;
}
.mobile-menu[hidden] { display: none; }
.sheet-link {
    display: flex; align-items: center; min-height: 52px; padding: 8px 0;
    border-bottom: 1px solid #E3E7ED; font: 700 19px/1.25 var(--head); color: var(--ink); text-decoration: none;
}
.sheet-link.is-active { color: var(--blue); }
.sheet-extra { display: flex; gap: 12px; margin-top: 16px; }
.sheet-extra a {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px;
    background: var(--tint); color: var(--ink); font: 700 16px var(--head); text-decoration: none;
}

@media (max-width: 1279px) {
    .nav-i3 { display: none; }
    .more-h3 { display: flex !important; }
}
@media (max-width: 1099px) {
    .nav-i2 { display: none; }
    .more-h2 { display: flex !important; }
}
@media (max-width: 859px) {
    .main-nav, .side-nav { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .logo { font-size: 20px; }
}

/* Crumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs a + span, .crumbs span[aria-hidden] { display: inline-flex; align-items: center; }
.crumbs > span:last-child:not([aria-hidden]) { display: inline-flex; align-items: center; min-height: 44px; }

/* Category / archive head */
.cat-head { background: var(--white); border-bottom: 2px solid var(--ink); }
.cat-head-grid {
    display: flex; flex-wrap: wrap; gap: 28px clamp(32px, 5vw, 96px); align-items: flex-end;
    padding-top: clamp(20px, 3vw, 48px); padding-bottom: clamp(32px, 4vw, 56px);
}
.cat-head-main { flex: 7 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cat-head h1 {
    margin: 0; font: 800 clamp(40px, 6vw, 92px)/0.98 var(--head); letter-spacing: -0.045em;
    overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto;
}
.cat-desc { margin: 0; max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--text-2); }
.cat-topics { flex: 5 1 320px; min-width: 0; }
.cat-topics-label { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px;
    font: 600 15px/1.25 var(--head); color: var(--ink); text-decoration: none;
    background: var(--white); box-shadow: inset 0 0 0 2px var(--ink);
}
.chip:hover { background: var(--tint); color: var(--ink); }
.chip.is-current { background: var(--ink); color: var(--white); }
.chips.soft .chip { background: var(--tint); box-shadow: none; }
.chips.soft .chip:hover { background: var(--tint-hover); }

.start { background: var(--tint); }
.start .shell { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.start-head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; margin-bottom: 28px; }
.start-head h2 { margin: 0; font: 800 clamp(30px, 3vw, 44px)/1.05 var(--head); letter-spacing: -0.03em; }
.start-head p { margin: 0; max-width: 34em; font-size: 16px; line-height: 1.5; color: #3B424D; }
.start-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px clamp(24px, 3vw, 40px);
}
.start-list li { min-width: 0; display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--ink); padding-top: 16px; }
.start-num { font: 800 15px var(--head); color: var(--blue); }
.start-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.start-title {
    color: var(--ink); text-decoration: none;
    font: 700 clamp(21px, 1.8vw, 25px)/1.2 var(--head); letter-spacing: -0.014em; text-wrap: pretty;
}
.start-title:hover { color: var(--blue); }
.start-list .meta { color: #3B424D; }

.list { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(56px, 6vw, 96px); }
.list-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.list-title { margin: 0; font: 800 clamp(28px, 2.6vw, 38px)/1.05 var(--head); letter-spacing: -0.028em; }
.list-note { font-size: 15px; font-weight: 500; color: var(--muted); }
.rows { display: flex; flex-direction: column; }
.row {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 32px; align-items: start;
    padding: 22px 0 24px; border-top: 1px solid var(--line);
}
.row:first-child { border-top: 2px solid var(--ink); }
.row.has-img { grid-template-columns: minmax(0, 1fr) 240px; }
.row-copy { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.row-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.row-title { margin: 0; max-width: 40em; font: 700 clamp(20px, 1.7vw, 24px)/1.2 var(--head); letter-spacing: -0.014em; text-wrap: pretty; }
.row-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.empty { margin: 24px 0 0; padding-top: 24px; border-top: 2px solid var(--ink); font-size: 18px; color: var(--text-3); }

.pagination { margin-top: 0; padding-top: 24px; border-top: 2px solid var(--ink); }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 6px;
    font: 700 16px var(--head); color: var(--ink); text-decoration: none;
}
.pagination a.page-numbers:hover { background: var(--tint); }
.pagination .page-numbers.current { background: var(--blue); color: var(--white); }
.pagination .page-numbers.dots { color: var(--muted); }
.pagination .prev { padding: 0 18px; box-shadow: inset 0 0 0 2px var(--ink); gap: 6px; }
.pagination .next { padding: 0 18px; background: var(--ink); color: var(--white); gap: 6px; }
.pagination a.next:hover { background: var(--blue); color: var(--white); }

.neighbours { background: var(--white); border-top: 2px solid var(--ink); }
.neighbours .shell { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.neighbours h2 { margin: 0 0 16px; font: 700 20px var(--head); }

.search-form { display: flex; gap: 8px; max-width: 560px; margin-top: 8px; }
.search-form input {
    flex: 1; min-width: 0; min-height: 48px; padding: 0 14px;
    border: 2px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink);
    font: 400 16px var(--text);
}
.search-form button {
    min-height: 48px; padding: 0 18px; border: 0; border-radius: 0; cursor: pointer;
    background: var(--ink); color: var(--white); font: 700 16px var(--head);
}
.search-form button:hover { background: var(--blue); }

/* Article */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: 5px; pointer-events: none; }
.admin-bar .progress { top: 32px; }
.progress span { display: block; height: 5px; width: 0; background: var(--blue); }
.article-top { background: var(--white); padding-bottom: clamp(28px, 3vw, 44px); }
.article-head { padding-top: clamp(16px, 3vw, 40px); }
.article-head .crumbs { margin-bottom: 12px; }
.article-title {
    margin: 0; max-width: 20em;
    font: 800 clamp(32px, 4.4vw, 64px)/1.04 var(--head); letter-spacing: -0.032em;
    overflow-wrap: break-word;
}
.article-lead { margin: 24px 0 0; max-width: 38em; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--text-2); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 24px 0 0; font-size: 14px; color: var(--text-3); }
.article-meta strong { font-weight: 600; color: var(--ink); }
.article-cover { margin-top: clamp(24px, 3vw, 40px); margin-bottom: 0; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; max-height: 68vh; object-fit: cover; }
.article-cover figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--text-3); max-width: 70ch; }
.article-layout {
    display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 0 clamp(40px, 5vw, 88px); align-items: start;
}
.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-y: auto;
    min-width: 0; padding-top: 48px; padding-bottom: 24px;
}
.admin-bar .toc-side { top: calc(var(--anchor) + 32px); }
.toc summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    min-height: 28px; margin: 0 0 6px; font: 700 15px var(--head); pointer-events: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc-count { display: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a {
    display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 3px solid transparent;
    font-size: 14px; line-height: 1.35; color: var(--text-3); text-decoration: none; text-wrap: pretty;
}
.toc li a:hover { color: var(--blue); }
.toc li a.is-current { border-left-color: var(--blue); color: var(--ink); font-weight: 600; }
.toc-more { margin: 12px 0 0 16px; font-size: 14px; color: var(--muted); }

.article-main { min-width: 0; padding-top: clamp(28px, 3vw, 48px); }
.article-body { min-width: 0; font-size: 18px; line-height: 1.65; }
.article-body p, .page-body p { margin: 0 0 18px; }
.article-body h2, .page-body h2 {
    margin: 56px 0 18px;
    font: 800 clamp(28px, 2.6vw, 38px)/1.1 var(--head); letter-spacing: -0.026em;
    scroll-margin-top: var(--anchor);
}
.article-body > h2:first-child, .summary + h2 { margin-top: 32px; }
.article-body h3, .page-body h3 { margin: 32px 0 12px; font: 800 clamp(21px, 2vw, 26px)/1.2 var(--head); letter-spacing: -0.015em; scroll-margin-top: var(--anchor); }
.article-body h4 { margin: 24px 0 8px; font: 700 18px/1.3 var(--head); }
.article-body ul, .article-body ol, .page-body ul, .page-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li, .page-body li { margin-bottom: 8px; }
.article-body ul > li::marker { color: var(--blue); }
.article-body a, .page-body a { overflow-wrap: anywhere; }
.article-body img { height: auto; }
.article-body figure, .article-body .wp-block-image { margin: 28px 0; }
.article-body figcaption, .article-body .wp-caption-text { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--text-3); }
.article-body .wp-caption { max-width: 100%; }
.article-body blockquote { margin: 40px 0; padding: 0; border: 0; }
.article-body blockquote p { font: 700 clamp(22px, 2.2vw, 30px)/1.25 var(--head); letter-spacing: -0.018em; }
.article-body blockquote cite, .article-body blockquote footer { font-size: 14px; color: var(--text-3); font-style: normal; }
.article-body hr { border: 0; border-top: 2px solid var(--ink); margin: 40px 0; }
.article-body code { font-size: .9em; background: var(--white); padding: 1px 4px; }
.table-wrap { overflow-x: auto; margin: 20px 0 28px; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); max-width: 100%; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.4; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.table-wrap thead th, .table-wrap tr:first-child th { background: var(--ink); color: var(--white); font: 700 14px var(--head); border-top: 0; vertical-align: bottom; }
.table-wrap tbody th { font-weight: 600; }
.table-wrap tbody tr:nth-child(even) td { background: #F7F8FA; }
.summary { margin: 0 0 32px; padding: 22px clamp(18px, 2.4vw, 28px) 24px; background: var(--tint); }
.box-title { margin: 0 0 12px !important; font: 800 22px var(--head); letter-spacing: -0.015em; }
.summary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.summary li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; margin: 0; font-size: 17px; line-height: 1.5; }
.summary li::before { content: ''; width: 10px; height: 10px; margin-top: 8px; background: var(--blue); }
.article-body details { border-top: 2px solid var(--ink); }
.article-body details:last-of-type { border-bottom: 2px solid var(--ink); }
.article-body details summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font: 700 18px/1.3 var(--head); padding: 12px 0; }

.next-step { display: flex; flex-direction: column; margin: 64px 0 0; padding-bottom: clamp(56px, 6vw, 96px); }
.next-box {
    display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px);
    background: var(--blue); color: var(--white); text-decoration: none;
}
.next-box:hover { background: var(--blue-dark); color: var(--white); }
.next-label { font: 700 15px var(--head); color: #DDE4FF; }
.next-title { font: 800 clamp(26px, 2.8vw, 38px)/1.1 var(--head); letter-spacing: -0.025em; text-wrap: balance; }
.next-lead { max-width: 34em; font-size: 17px; line-height: 1.5; color: #E8ECFF; }
.next-alt {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px clamp(22px, 3vw, 36px) 20px;
    background: var(--white); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 2px var(--blue);
}
.next-alt + .next-alt { box-shadow: inset 0 -2px 0 var(--blue), inset 2px 0 0 var(--blue), inset -2px 0 0 var(--blue); }
.next-alt:hover { color: var(--blue); }
.next-why { font-size: 14px; color: var(--text-3); }
.next-alt-title { font: 700 19px/1.3 var(--head); text-wrap: pretty; }

/* Pages */
.page-wrap { padding-top: clamp(20px, 4vw, 56px); padding-bottom: clamp(56px, 6vw, 96px); }
.page-title { margin: 0 0 24px; max-width: 14em; font: 800 clamp(36px, 4.6vw, 68px)/1.02 var(--head); letter-spacing: -0.035em; hyphens: auto; -webkit-hyphens: auto; }
.page-body { max-width: 720px; font-size: 18px; line-height: 1.65; }
.page-body h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.page-wrap .page-body > h2:first-child { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); }
.site-footer .shell { padding-top: clamp(48px, 6vw, 88px); padding-bottom: 32px; }
.footer-top {
    display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between;
    padding-bottom: 40px; border-bottom: 1px solid var(--dark-line);
}
.footer-logo { color: var(--white); text-decoration: none; font: 800 clamp(34px, 5vw, 64px)/1 var(--head); letter-spacing: -0.04em; overflow-wrap: anywhere; }
.footer-logo span { color: var(--dark-muted); }
.footer-logo:hover { color: var(--white); }
.footer-top p { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.55; color: var(--dark-text); }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center;
    padding-top: 24px; font-size: 14px; line-height: 1.5; color: var(--dark-muted);
}
.footer-bottom p { margin: 0; max-width: 640px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer-nav a { display: block; padding: 10px 0; min-height: 44px; color: var(--dark-text); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }

/* 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: #E6E9EC; border: 0; border-radius: 0; box-shadow: none;
    font: 400 14px/1.5 var(--text);
}
#clearfy-cookie.clearfy-cookie-hide,
body.menu-open #clearfy-cookie.clearfy-cookie { 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(--blue); color: var(--white); border: 0; border-radius: 0;
    font: 700 15px var(--head); cursor: pointer;
}
#clearfy-cookie .clearfy-cookie-accept:hover { background: var(--white); color: var(--ink); }
@media (min-width: 1024px) {
    /* Bottom-right on desktop, clear of the sticky contents column. */
    #clearfy-cookie.clearfy-cookie { left: auto; right: 16px; max-width: 340px; }
}

/* Article: contents collapse above the text below 1024 */
@media (max-width: 1023px) {
    .article-layout, .article-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
    .toc-side { position: static; max-height: none; overflow: visible; padding-top: 28px; padding-bottom: 0; }
    .article-main { padding-top: 24px; }
    .toc { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
    .toc summary { min-height: 52px; margin: 0; padding: 0 16px; font-size: 17px; pointer-events: auto; cursor: pointer; }
    .toc-count { display: inline; }
    .toc nav { padding: 0 16px 12px; }
    .toc ol { border-left: 0; }
    .toc li a {
        display: flex; align-items: center; min-height: 48px; padding: 8px 0; margin: 0;
        border-left: 0; border-top: 1px solid #E3E7ED; font-size: 16px; color: var(--ink);
    }
    .toc li a.is-current { color: var(--blue); }
    .toc-more { margin-left: 0; }
}

/* Phones */
@media (max-width: 759px) {
    body.da-site { font-size: 16px; }
    .row.has-img { grid-template-columns: minmax(0, 1fr); }
    .row-shot { display: none; }
    .cover-shot img { max-height: 48vh; }
    .article-body { font-size: 17px; }
    .pagination .nav-links { gap: 4px; }
    .pagination .prev, .pagination .next { order: 2; flex: 1 1 40%; justify-content: center; }
    .pagination .page-numbers:not(.prev):not(.next) { order: 1; min-width: 44px; min-height: 44px; }
    .search-form { flex-wrap: wrap; }
    .search-form button { flex: 1 1 100%; }
    .footer-nav { width: 100%; }
}

@media (max-width: 380px) {
    .header-inner { gap: 12px; }
    .logo { font-size: 18px; }
    .menu-toggle { min-width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}

/* Service pages reuse the about rows as plain sections */
.page-wrap .about-row { display: block; padding: 0; border: 0; }
.page-wrap .about-row h2 { margin: 32px 0 10px !important; font: 800 26px/1.2 var(--head) !important; letter-spacing: -0.01em; }
.page-wrap .about-row:first-child h2 { margin-top: 8px !important; }

/* Ayaklimat editorial surfaces and the folded-card cover. */
.shell { max-width: 1440px; }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.logo, .footer-logo { font-family: Gloock, Georgia, serif; font-weight: 400; letter-spacing: -.02em; }
.logo { font-size: clamp(25px, 3vw, 32px); }
.footer-logo { font-size: clamp(48px, 7vw, 98px); }
h1, h2, h3, h4, .cat-head h1, .article-title, .page-title { font-weight: 400; }
.aya-opening {
    display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    align-items: start; gap: clamp(24px, 4vw, 56px); padding-top: clamp(14px, 2vw, 28px);
}
.aya-lead {
    --fold: clamp(24px, 3.2vw, 48px);
    position: relative; display: grid; gap: clamp(12px, 1.6vw, 25px);
    padding: clamp(18px, 3.5vw, 48px);
    background: #e9ddf4;
    clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%);
}
.aya-lead::before {
    content: ""; position: absolute; inset: 0 0 auto auto; width: var(--fold); height: var(--fold);
    background: #c7b3e0; clip-path: polygon(0 0, 100% 100%, 0 100%); pointer-events: none;
}
.cover-title, .aya-lead h1 { margin: 0; font: 400 clamp(30px, 4.6vw, 72px)/1.04 var(--head); letter-spacing: -.035em; }
.aya-excerpt { margin: 0; max-width: 48ch; font-size: clamp(18px, 1.6vw, 22px); }
.aya-lead-image, .aya-band-image { display: block; }
.aya-lead-image img, .aya-band-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.aya-secondary article { padding-block: 6px 24px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.aya-secondary h2 { margin: 0 0 14px; font: 400 clamp(22px, 2.1vw, 31px)/1.12 var(--head); }
.aya-band { margin-top: clamp(30px, 5vw, 72px); background: color-mix(in srgb, var(--rubric-color) 33%, var(--bg)); }
.aya-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(30px, 5vw, 70px); }
.aya-band-heading h2 { margin-block: 12px 18px; font: 400 clamp(29px, 3.6vw, 58px)/1.06 var(--head); letter-spacing: -.035em; hyphens: auto; }
.aya-band-heading h2::before { content: ""; display: block; width: 18px; height: 18px; margin-bottom: 18px; background: var(--rubric-color); }
.aya-band-heading p { margin-block: 0 12px; max-width: 38ch; color: var(--muted); }
.aya-band-story { display: grid; min-width: 0; align-content: start; gap: 14px; }
.aya-band-story h3 { margin: 0; font: 400 clamp(24px, 2.9vw, 42px)/1.09 var(--head); }
.aya-band-image img { aspect-ratio: 16/9; }
.cat-head h1 { font-size: clamp(36px, 5.9vw, 90px); }
.cat-head[style] { background: color-mix(in srgb, var(--rubric-color) 40%, var(--bg)); }
.aya-archive-lead {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px 38px;
    padding: 30px 0; border-bottom: 2px solid var(--ink);
}
.aya-archive-lead > div, .aya-archive-image { flex: 1 1 320px; min-width: 0; }
.aya-archive-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.aya-archive-lead h3 { margin: 10px 0; font: 400 clamp(25px, 3.3vw, 46px)/1.12 var(--head); }
@media (max-width: 760px) {
    .aya-opening, .aya-band-grid { grid-template-columns: minmax(0, 1fr); }
    .aya-lead h1 { font-size: clamp(28px, 7.4vw, 52px); }
}

