/*
Theme Name: Uplift
Theme URI: https://upliftromania.ro
Author: Uplift Association
Description: Practic, viitorul. A minimal, bilingual (RO at /, EN at /en/) one-pager: dark ink, one red arrow, three questions as a native accordion, and Community Coffee, a blog built to be read, quoted and cited by people and AI search engines: answer-first posts, FAQ, Person and Speakable schema, llms.txt, Markdown twins, IndexNow and a cite-this box.
Version: 3.1.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uplift
*/

/* ============ fonts (self-hosted, SIL Open Font License; no Google requests) ============ */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(assets/fonts/instrument-sans-latin-standard-normal.woff2) format('woff2-variations'), url(assets/fonts/instrument-sans-latin-standard-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(assets/fonts/instrument-sans-latin-ext-standard-normal.woff2) format('woff2-variations'), url(assets/fonts/instrument-sans-latin-ext-standard-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(assets/fonts/instrument-sans-latin-standard-italic.woff2) format('woff2-variations'), url(assets/fonts/instrument-sans-latin-standard-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(assets/fonts/instrument-sans-latin-ext-standard-italic.woff2) format('woff2-variations'), url(assets/fonts/instrument-sans-latin-ext-standard-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ============ tokens ============ */
:root {
  --brand-ink: #161F28;
  --brand-red: #C30E2E;
  --bg: #161F28;
  --surface-1: #1C2631;
  --surface-2: #24303C;
  --rule: #2A3540;
  --rule-strong: #3A4654;
  --text: #EDEBE6;
  --text-2: #A9B1BB;
  --muted: #8D96A1;
  --accent: #F05A6E;
  --menu: #C30E2E;
  --menu-text: #FFFFFF;
  --menu-rule: rgba(255, 255, 255, .28);
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --stretch: 86%;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 120px;
  --gutter: 20px;
  --max: 1360px;
  --dur: 250ms;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F6F4F0;
  --surface-1: #EEEDE7;
  --surface-2: #E4E3DC;
  --rule: #D9D6D0;
  --rule-strong: #BDBCB3;
  --text: #161F28;
  --text-2: #3E4A57;
  --muted: #56616D;
  --accent: #C30E2E;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gutter: 40px; } }

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: tabular-nums; }
a { color: var(--text); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand-red); color: #fff; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.skip-link { position: absolute; left: -999px; top: var(--s2); z-index: 100; background: var(--brand-red); color: #fff; padding: var(--s3) var(--s4); }
.skip-link:focus { left: var(--s2); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }

/* type */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.display { font-size: clamp(4.75rem, 15vw, 14.5rem); line-height: .86; letter-spacing: -0.035em; font-stretch: var(--stretch); text-wrap: balance; }
.display.small { font-size: clamp(3rem, 8vw, 7rem); }
.statement { font-size: clamp(1.875rem, 1.4rem + 2.2vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; font-stretch: 90%; text-wrap: balance; }
.statement.small { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); }
.no { margin: 0; font-size: .8125rem; color: var(--muted); }
.text { margin: 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem); line-height: 1.5; color: var(--text-2); max-width: 60ch; }
.text.muted { color: var(--muted); }
.lede { margin: 0; font-size: .9375rem; line-height: 1.4; color: var(--text-2); }
.more { display: inline-block; font-size: 1.0625rem; margin-top: var(--s5); }

/* ============ arrow ============ */
.arrow-under { fill: #FFFFFF; }
:root[data-theme="light"] .arrow-under { fill: #161F28; }

/* ============ menu and index ============ */
.menu-toggle { position: fixed; right: calc(var(--gutter) - 10px); top: 12px; z-index: 60; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); }
.menu-line { position: absolute; left: 10px; top: 21px; width: 24px; height: 1px; background: currentColor; transition: transform var(--dur) cubic-bezier(.2,0,0,1); }
.menu-line:nth-of-type(1) { transform: translateY(-4px); }
.menu-line:nth-of-type(2) { transform: translateY(4px); }
body.index-open .menu-toggle { color: #fff; }
body.index-open .menu-line:nth-of-type(1) { transform: rotate(45deg); }
body.index-open .menu-line:nth-of-type(2) { transform: rotate(-45deg); }
@media (min-width: 900px) { .menu-toggle { top: 20px; } }
.index { position: fixed; inset: 0; z-index: 50; background: var(--menu); color: var(--menu-text); padding: 96px var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom)); overflow: auto; }
.index[hidden] { display: none; }
.index ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 980px; }
.index li { border-top: 1px solid var(--menu-rule); padding: 9px 0; }
.index li a { color: var(--menu-text); text-decoration: none; font-size: clamp(2.125rem, 6vw, 4.5rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-stretch: var(--stretch); min-height: 44px; display: flex; align-items: center; }
.index li a:hover { color: var(--menu-text); text-decoration: underline; text-underline-offset: .12em; }
.index-no { font-size: .8125rem; font-weight: 400; letter-spacing: 0; opacity: .8; width: 44px; flex: none; }
.index-foot { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s7); font-size: .9375rem; }
.index-foot a { color: var(--menu-text); }
body.index-open { overflow: hidden; }
@media (min-width: 900px) { .index { padding: 120px var(--gutter) var(--s7); } }

/* ============ header (inner pages) ============ */
.site-header .wrap { display: flex; align-items: center; min-height: 84px; padding-right: 72px; }
.brand img { height: 40px; width: auto; }
.admin-bar .menu-toggle { top: 58px; }
@media (min-width: 783px) { .admin-bar .menu-toggle { top: 44px; } }
@media (min-width: 900px) { .admin-bar .menu-toggle { top: 52px; } }

/* ============ home ============ */
.hero { min-height: 88vh; min-height: 88dvh; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 120px var(--s6); }
.hero-in { display: flex; flex-direction: column; gap: var(--s6); padding-left: max(var(--gutter), 44px); }
.hero-mark { display: block; width: 48px; height: 48px; margin-left: -32px; line-height: 0; }
.hero-mark svg { width: 100%; height: 100%; }
.hero .display { font-size: clamp(4.5rem, min(15vw, 22vh), 14.5rem); line-height: .88; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4) 0; border-top: 1px solid var(--rule); padding-top: var(--s4); }
.mission { margin: 0; border-left: 2px solid var(--accent); padding: 2px 0 2px 20px; font-size: 1rem; line-height: 1.45; letter-spacing: -0.01em; color: var(--text); text-wrap: pretty; }
.controls { display: flex; justify-content: flex-end; align-items: center; gap: var(--s4); border-top: 1px solid var(--rule); padding-top: var(--s4); font-size: .8125rem; color: var(--muted); }
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a { padding: 12px 4px; color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current="page"], .lang-switch a:hover { color: var(--text); }
.theme-toggle { border: 0; background: none; width: 44px; height: 44px; margin-right: -14px; display: flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--text); }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
@media (min-width: 900px) {
  .hero { padding-block: 72px var(--s6); }
  .hero-in { gap: var(--s6); padding-left: max(var(--gutter), 85px); }
  .hero-mark { width: 110px; height: 110px; margin-left: -73px; }
  .hero-foot { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); align-items: start; }
  .mission { grid-column: 1 / span 6; font-size: clamp(1.1875rem, 1rem + .8vw, 1.625rem); line-height: 1.4; }
  .controls { grid-column: 8 / span 5; border: 0; padding: 0; align-self: end; margin-bottom: -6px; }
}

/* ============ accordion (native details) ============ */
.questions { margin-top: clamp(48px, 8vw, 120px); border-bottom: 1px solid var(--rule); }
.acc { border-top: 1px solid var(--rule); }
.acc-btn { display: block; width: 100%; padding: var(--s5) 0; cursor: pointer; color: var(--text); list-style: none; }
.acc-btn::-webkit-details-marker { display: none; }
.acc-btn::marker { content: ""; }
.acc-btn:hover { color: var(--accent); }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2) var(--s5); align-items: baseline; }
.acc-label { font-size: .8125rem; color: var(--muted); text-wrap: balance; }
.acc-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; font-stretch: 90%; text-wrap: balance; }
.acc-plus { flex: none; font-weight: 300; color: var(--text-2); transition: transform var(--dur) cubic-bezier(.2,0,0,1); }
.acc[open] .acc-plus { transform: rotate(45deg); }
.acc-panel { padding-bottom: var(--s8); }
.acc .stack { display: flex; flex-direction: column; gap: var(--s5); }
.contact-lines { margin: var(--s5) 0 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem); line-height: 1.6; }
@media (min-width: 900px) {
  .acc-btn { padding: var(--s6) 0; }
  .acc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .acc-label { grid-column: 1 / span 3; }
  .acc-title { grid-column: 4 / span 8; }
  .acc-panel { padding-bottom: var(--s9); }
  .acc .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
  .acc .grid > .body { grid-column: 4 / span 8; }
}
.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pillars li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2) var(--s3); padding: 20px 0; border-bottom: 1px solid var(--rule); }
.pillars .no { display: none; font-size: .8125rem; color: var(--muted); padding-top: 5px; }
.pillars .no-inline { font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-right: 10px; vertical-align: .2em; }
.pillars h3 { margin: 0 0 var(--s2); font-size: 1.3125rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.pillars p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.pillars a { color: var(--accent); }
.pillars a:hover { color: var(--text); }
.sources-row { margin-top: var(--s3); font-size: .8125rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.sources-row .sep { display: none; }
@media (min-width: 900px) {
  .pillars li { grid-template-columns: 32px minmax(0, 1fr); }
  .pillars .no { display: block; }
  .pillars .no-inline { display: none; }
  .sources-row { flex-direction: row; flex-wrap: wrap; gap: 4px 6px; }
  .sources-row .src { display: inline-flex; gap: 6px; }
  .sources-row .sep { display: inline; }
}

.row { border-top: 1px solid var(--rule); padding-block: var(--s5) var(--s8); }
.row .grid { display: flex; flex-direction: column; gap: var(--s5); }
.row .body { display: flex; flex-direction: column; gap: var(--s5); }
.row .head { margin-bottom: var(--s5); }
.row .head .no { display: flex; justify-content: space-between; }
@media (min-width: 900px) { .row .head .no { display: block; } .row .head .no span { margin-left: var(--s2); } }
@media (min-width: 900px) {
  .row { padding-block: var(--s6) var(--s9); }
  .row .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
  .row .grid > .no { grid-column: 1 / span 3; }
  .row .grid > .body, .row .grid > .text { grid-column: 4 / span 8; }
  .row .body { gap: var(--s6); }
}

/* lists: articles and pairs */
.list { border-top: 1px solid var(--rule); }
.story { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s2) var(--s2); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.story .no { grid-row: 1 / span 3; }
.story .title { font-size: 1.3125rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.story .meta { font-size: .8125rem; color: var(--muted); }
.story .answer { grid-column: 2; font-size: .9375rem; line-height: 1.45; color: var(--text-2); margin-top: var(--s1); }
.story:hover .title { color: var(--accent); }
@media (min-width: 900px) {
  .story { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); align-items: baseline; padding: var(--s5) 0; }
  .story .no { grid-column: 1 / span 3; grid-row: auto; }
  .story .title { grid-column: 4 / span 5; font-size: 1.75rem; }
  .story .meta { grid-column: 9 / span 2; font-size: .9375rem; color: var(--text-2); }
  .story .meta.date { grid-column: 11 / span 2; text-align: right; }
  .story .answer { grid-column: 4 / span 6; }
}
.pairs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pairs li { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
.pairs .k { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.pairs .v { font-size: .9375rem; color: var(--text-2); line-height: 1.45; }
@media (min-width: 900px) {
  .pairs li { display: grid; grid-template-columns: 2fr 3fr; gap: var(--s5); }
  .pairs .k { font-size: 1.5rem; }
  .pairs .v { font-size: 1.0625rem; }
}

/* ============ footer ============ */
.site-footer .wrap { padding-block: 0 var(--s6); font-size: .8125rem; color: var(--muted); }
.legal { margin: 0; border-top: 1px solid var(--rule); padding: var(--s4) 0; display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; gap: 4px 8px; line-height: 1.5; }
.legal-item { display: inline-flex; gap: 8px; }
.legal .sep { display: none; }
.legal-break { flex-basis: 100%; height: 0; }
.legal a, .site-footer nav a { color: var(--muted); text-decoration: none; }
.legal a:hover, .site-footer nav a:hover { color: var(--text); }
.footer-end { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding-top: var(--s2); }
.footer-logo { line-height: 0; }
.footer-logo img { height: 32px; width: auto; }
.site-footer nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (min-width: 600px) { .legal { flex-direction: row; } .legal .sep { display: inline; } }

/* ============ Community Coffee archive ============ */
.archive-head { padding-block: 120px var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.archive-head .statement { max-width: 22ch; }
.filters { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s4); }
.filters a { text-decoration: none; min-height: 40px; padding: 0 var(--s4); display: inline-flex; align-items: center; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .9375rem; }
.filters a[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.list--full { margin-bottom: var(--s7); }
.pagination .nav-links { display: flex; gap: var(--s2); flex-wrap: wrap; padding-bottom: var(--s8); }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule-strong); border-radius: 999px; text-decoration: none; padding: 0 var(--s3); }
.pagination .current { background: var(--text); color: var(--bg); }

/* buttons (article tools, 404) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--s5); border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: .9375rem; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { color: var(--bg); opacity: .9; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--rule-strong); }
.btn--ghost:hover { color: var(--accent); border-color: var(--accent); opacity: 1; }
.btn--sm { min-height: 40px; padding: 0 var(--s4); }
.btn--pill { border-radius: 999px; }
.card { background: var(--surface-1); border-radius: 12px; padding: var(--s5); }
.card > h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: var(--s3); }
.label { font-size: 1rem; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.person-photo { width: 60px; height: 60px; border-radius: 999px; background: var(--surface-2); object-fit: cover; flex: none; }
.person-name { font-size: 1.1875rem; font-weight: 600; }
.section { padding-block: var(--s8); }

/* ============ article ============ */
.article { padding-block: var(--s7) var(--s8); }
.article-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) {
  .article-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 1fr) minmax(0, 4fr); }
  .article-main { grid-column: 1; }
  .article-side { grid-column: 3; position: sticky; top: 88px; align-self: start; }
}
.article-head { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s6); }
.article-head .cat { font-size: .9375rem; color: var(--accent); text-decoration: none; }
.article-head h1 { font-size: clamp(2.75rem, 4vw + 1.25rem, 4.5rem); line-height: .95; letter-spacing: -0.035em; font-stretch: 82%; text-wrap: balance; max-width: 18ch; }
.byline { margin: 0; font-size: .9375rem; color: var(--text-2); }
.byline a { color: var(--text-2); }

.card { background: var(--surface-1); border-radius: var(--r); padding: var(--s5); }
.card > h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: var(--s3); }

.uplift-short-answer { margin: 0 0 var(--s6); }
.uplift-short-answer .label { color: var(--accent); margin: 0 0 var(--s3); display: block; }
.uplift-short-answer p { margin: 0; font-size: clamp(1.1875rem, 1.05rem + .4vw, 1.375rem); line-height: 1.45; }

.up-takeaways { margin: 0 0 var(--s6); }
.up-takeaways h2 { font-size: 1rem; letter-spacing: 0; color: var(--text-2); font-weight: 600; margin-bottom: var(--s3); }
.up-takeaways ol { list-style: none; margin: 0; padding: 0; }
.up-takeaways li { padding: var(--s3) 0; border-top: 1px solid var(--rule); font-size: 1.0625rem; line-height: 1.45; }
.up-takeaways li:last-child { border-bottom: 1px solid var(--rule); }

.toc { font-size: .9375rem; }
.toc h2 { font-size: .9375rem; color: var(--text-2); letter-spacing: 0; margin-bottom: var(--s2); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 0; color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.article-side { display: flex; flex-direction: column; gap: var(--s5); }
@media (max-width: 999px) { .article-side .toc { display: none; } }

.entry-content { font-size: 1.125rem; line-height: 1.65; max-width: 68ch; }
.entry-content > * { margin-block: 0 var(--s5); }
.entry-content figure, .entry-content blockquote { margin-inline: 0; }
.cite p, .story-answer { overflow-wrap: anywhere; }
.entry-content h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem); line-height: 1.05; letter-spacing: -0.025em; font-stretch: 85%; margin-block: var(--s7) var(--s4); scroll-margin-top: 88px; }
.entry-content h3 { font-size: 1.375rem; margin-block: var(--s6) var(--s3); }
.entry-content a { color: var(--accent); }
.entry-content ol, .entry-content ul { padding-left: 1.3em; }
.entry-content li { margin-bottom: var(--s2); }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--r); }
.entry-content figcaption { font-size: .875rem; color: var(--muted); margin-top: var(--s2); }
.entry-content hr { border: 0; border-top: 1px solid var(--rule); margin-block: var(--s7); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { text-align: left; padding: var(--s3); border-bottom: 1px solid var(--rule); vertical-align: top; }
.entry-content th { color: var(--text-2); font-weight: 600; }
.entry-content code { background: var(--surface-2); padding: .1em .35em; border-radius: var(--r-sm); font-size: .92em; }
.entry-content pre { background: var(--surface-1); padding: var(--s4); border-radius: var(--r); overflow-x: auto; }

.uplift-definition { border-left: 2px solid var(--accent); padding: 2px 0 2px var(--s4); }
.uplift-definition::before { content: "Definition"; display: block; font-size: .9375rem; font-weight: 600; color: var(--accent); margin-bottom: var(--s1); }
.uplift-definition p { margin: 0; }

.uplift-stat { background: var(--surface-1); border-radius: var(--r); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.uplift-stat .uplift-stat-number { font-size: 3rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--accent); margin: 0; }
.uplift-stat .uplift-stat-caption, .uplift-stat figcaption { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--text-2); }
.uplift-stat a { color: var(--text); }

.entry-content .uplift-quote, .entry-content .wp-block-quote.uplift-quote {
  margin-block: var(--s6); padding: var(--s5); border: 1px solid var(--rule-strong); border-radius: var(--r);
}
.uplift-quote p { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.uplift-quote cite { display: block; margin-top: var(--s4); font-size: .9375rem; font-style: normal; color: var(--text-2); }
.uplift-quote-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s4); }
.uplift-quote-foot cite { margin: 0; }
.entry-content blockquote:not(.uplift-quote) { border-left: 2px solid var(--rule-strong); margin-left: 0; padding-left: var(--s4); color: var(--text-2); }

.faq h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem); letter-spacing: -0.025em; font-stretch: 85%; margin-block: var(--s7) var(--s4); }
.faq details { border-top: 1px solid var(--rule); padding: var(--s4) 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-size: 1.125rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-2); font-weight: 400; font-size: 1.5rem; line-height: 1; transition: transform var(--dur) ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { margin-top: var(--s3); color: var(--text-2); font-size: 1.0625rem; }
.faq .answer p { margin: 0; }

.sources { font-size: .9375rem; color: var(--text-2); }
.sources h2 { font-size: 1rem; letter-spacing: 0; color: var(--text-2); font-weight: 600; margin-block: var(--s7) var(--s3); }
.sources ol { padding-left: 1.3em; margin: 0; }
.sources a { color: var(--text-2); }

.cite p { margin: 0 0 var(--s4); font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.cite-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.cite .btn { min-height: 44px; font-size: .9375rem; padding: 0 var(--s4); border-radius: var(--r-pill); }
.cite .btn:not(.btn--ghost) { background: var(--text); color: var(--bg); }
.formats { margin: var(--s4) 0 0; font-size: .875rem; color: var(--muted); }
.formats a { color: var(--muted); }

.author-box { display: flex; gap: var(--s4); align-items: center; border-top: 1px solid var(--rule); padding-top: var(--s5); margin-top: var(--s7); }
.author-box .person-photo { width: 64px; height: 64px; }
.author-box p { margin: 2px 0 0; font-size: .9375rem; color: var(--text-2); }

.related { border-top: 1px solid var(--rule); }

/* author archive */
.profile { padding-block: var(--s8) var(--s6); display: flex; gap: var(--s5); align-items: center; flex-wrap: wrap; }
.profile .person-photo { width: 96px; height: 96px; }
.profile p { margin: var(--s2) 0 0; color: var(--text-2); max-width: 56ch; }

/* generic page + 404 */
.page-body { padding-block: 120px var(--s8); max-width: 820px; }
.page-body h1 { margin-bottom: var(--s6); }

/* toast */
.toast { position: fixed; left: 50%; bottom: var(--s5); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: var(--s3) var(--s4); border-radius: 999px; font-size: .9375rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity var(--dur) ease-out; z-index: 70; }
.toast.is-on { opacity: 1; }

@media print {
  :root { --bg: #fff; --text: #000; --text-2: #333; --surface-1: #f3f3f3; --accent: #000; }
  .index-toggle, .index, .article-side .toc, .cite-actions, .site-footer nav { display: none !important; }
}
