/* OMNEVERVE editorial theme v3 — premium minimal technology publication.
   System fonts, no frameworks, no webfonts, no heavy effects.
   Server-rendered HTML carries everything; this file only dresses it. */
:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Type scale (fluid display sizes, fixed body sizes) */
  --text-xs: .78rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.4rem, 1.15rem + 1.2vw, 1.7rem);
  --text-2xl: clamp(1.9rem, 1.35rem + 2.8vw, 2.75rem);
  --text-3xl: clamp(2.4rem, 1.6rem + 4vw, 3.5rem);
  /* Spacing scale */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --measure: 68ch;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --ink: #17171c;
  --muted: #5d626e;
  --line: #e4e2dc;
  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-soft: #ffffff;
  --ok: #15803d;
  --ok-bg: #e7f6ec;
  --fail: #b91c1c;
  --fail-bg: #fbe9e9;
  --warn-bg: #fdf3e3;
  --warn-ink: #8a5a00;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --rule: 1px solid var(--line);
  --shadow: 0 1px 2px rgba(20, 20, 30, .06), 0 8px 24px -12px rgba(20, 20, 30, .18);
  --shadow-hover: 0 2px 4px rgba(20, 20, 30, .08), 0 16px 32px -12px rgba(20, 20, 30, .25);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f13;
    --surface: #16171d;
    --surface-2: #1e1f26;
    --ink: #ededf2;
    --muted: #a3a7b3;
    --line: #26272f;
    --brand: #6f93ff;
    --brand-hover: #8fabff;
    --brand-soft: #1c2440;
    --ok: #4ade80;
    --ok-bg: #0f2a1a;
    --fail: #f87171;
    --fail-bg: #331414;
    --warn-bg: #2e230f;
    --warn-ink: #f5c86b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -12px rgba(0, 0, 0, .6);
    --shadow-hover: 0 2px 6px rgba(0, 0, 0, .5), 0 18px 36px -12px rgba(0, 0, 0, .7);
  }
}
/* Manual override (progressive enhancement via the header toggle).
   Higher specificity than the media query, so it always wins. */
:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --ink: #17171c;
  --muted: #5d626e;
  --line: #e4e2dc;
  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-soft: #ffffff;
  --ok: #15803d;
  --ok-bg: #e7f6ec;
  --fail: #b91c1c;
  --fail-bg: #fbe9e9;
  --warn-bg: #fdf3e3;
  --warn-ink: #8a5a00;
  --shadow: 0 1px 2px rgba(20, 20, 30, .06), 0 8px 24px -12px rgba(20, 20, 30, .18);
  --shadow-hover: 0 2px 4px rgba(20, 20, 30, .08), 0 16px 32px -12px rgba(20, 20, 30, .25);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0e0f13;
  --surface: #16171d;
  --surface-2: #1e1f26;
  --ink: #ededf2;
  --muted: #a3a7b3;
  --line: #26272f;
  --brand: #6f93ff;
  --brand-hover: #8fabff;
  --brand-soft: #1c2440;
  --ok: #4ade80;
  --ok-bg: #0f2a1a;
  --fail: #f87171;
  --fail-bg: #331414;
  --warn-bg: #2e230f;
  --warn-ink: #f5c86b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -12px rgba(0, 0, 0, .6);
  --shadow-hover: 0 2px 6px rgba(0, 0, 0, .5), 0 18px 36px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: var(--text-base);
  transition: background-color .2s ease, color .2s ease;
}
::selection { background: var(--brand-soft); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1, .hero h1 { font-family: var(--font-serif); font-weight: 700; }
h1 { font-size: var(--text-2xl); margin: 0 0 var(--space-4); }
h2 { font-size: var(--text-xl); margin: var(--space-7) 0 var(--space-3); }
h2 a, h3 a { color: inherit; }
p { margin: 0 0 var(--space-4); }
a { color: var(--brand); text-underline-offset: .12em; }
a:hover { color: var(--brand-hover); }
img { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1400px) { .container { max-width: 1200px; } }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.muted { color: var(--muted); }
.eyebrow { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.eyebrow a { text-decoration: none; }
.lede { font-size: var(--text-lg); color: var(--muted); max-width: 62ch; line-height: 1.55; }

/* Masthead */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 3px solid var(--brand);
  border-bottom: var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .8rem 1.25rem; flex-wrap: wrap; }
.brand { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .03em; color: var(--ink); text-decoration: none; }
.brand-logo { height: 1.9rem; width: auto; vertical-align: middle; }
.header-inner nav { display: flex; flex-wrap: wrap; gap: .15rem; }
.nav-menu-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: .4rem .7rem; cursor: pointer; font-weight: 650; }
.header-inner nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; padding: .4rem .7rem; border-radius: 8px; margin: 0; }
.header-inner nav a:hover { color: var(--ink); background: var(--surface-2); }
.theme-toggle { padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle[hidden] { display: none; }
.site-search { display: flex; gap: .4rem; margin-left: auto; }
.site-search input[type=search] { padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 170px; font-size: .9rem; }
.site-search button { padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: .9rem; font-weight: 600; }
.site-search button:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 720px) {
  .header-inner { gap: .7rem; }
  .nav-menu-toggle { display: block; margin-left: auto; }
  .header-inner nav { order: 3; display: none; flex-basis: 100%; padding: .5rem 0 .2rem; }
  .header-inner nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner nav a { white-space: nowrap; }
}

/* Cover hero */
.hero { padding: var(--space-8) 0 var(--space-6); }
.hero-featured { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 2.75rem; align-items: center; }
.hero-featured h1 { font-size: var(--text-3xl); margin: .6rem 0 1rem; max-width: 20ch; }
.hero-featured h1 a { color: var(--ink); text-decoration: none; }
.hero-featured h1 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hero-featured .eyebrow { display: flex; align-items: center; gap: .6rem; }
.hero-featured .eyebrow::after { content: ""; height: 1px; width: 3.5rem; background: var(--brand); }
.hero-media { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/10; background: var(--surface-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero-featured { grid-template-columns: 1fr; gap: var(--space-5); } }

/* Section titles: editorial rule shared by listing sections.
   (The boxed Sources panel keeps its own compact heading.) */
section[aria-label]:not(.sources) > h2 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--ink);
  margin-bottom: var(--space-5);
}
section[aria-label]:not(.sources) > h2 a { text-decoration: none; }
section[aria-label]:not(.sources) > h2 a:hover { color: var(--brand); }

/* Cards & grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; margin: 1.5rem 0 2rem; }
.card {
  background: var(--surface); border: var(--rule); border-radius: var(--radius);
  padding: 1.3rem 1.35rem; box-shadow: var(--shadow);
}
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.post-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.post-card-media--empty { display: grid; place-items: center; background: var(--brand-soft); text-decoration: none; }
.post-card-media--empty span { font-family: var(--font-serif); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--brand); opacity: .75; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; }
.post-card-body .eyebrow, .post-card-body h3, .post-card-body p { margin: 0; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand); }
.post-excerpt { font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.byline { font-size: .83rem; }
.byline a { color: inherit; }
.byline time { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand); color: #fff !important; padding: .62rem 1.25rem;
  border-radius: 10px; text-decoration: none; font-weight: 650; border: 1px solid transparent; cursor: pointer; font-size: .95rem;
}
.btn:hover { background: var(--brand-hover); color: #fff !important; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand) !important; background: transparent; }
.btn-danger { background: var(--fail); }
button { font-family: inherit; }

/* Article */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 .5rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
@media (max-width: 640px) {
  .breadcrumbs [aria-current="page"] { display: inline-block; max-width: 16rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
}
.article { max-width: none; }
.article-header { width: 100%; padding: 1.25rem 0 0; }
.article-header-inner { width: min(100%, 1050px); margin-inline: auto; }
.article-kicker { margin: 0 0 .9rem; color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.article-kicker a { color: inherit; text-decoration: none; }
.article-kicker a:hover { text-decoration: underline; text-underline-offset: .3em; }
.article-header h1 { max-width: 21ch; margin: 0 0 1.1rem; font-family: var(--font-serif); font-size: clamp(3rem, 2rem + 4.5vw, 5.6rem); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
.article-deck { max-width: 54rem; margin: 0 0 1.8rem; color: var(--muted); font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.45; }
.article-byline, .byline-block { display: flex; align-items: center; gap: 1rem; width: 100%; border-top: 1px solid var(--line); padding: 1rem 0 1.2rem; }
.byline-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; background: var(--surface-2); }
.byline-copy { display: grid; gap: .25rem; min-width: 0; }
.byline-author { font-weight: 650; margin: 0; }
.byline-author a { color: var(--ink); text-decoration: none; }
.byline-author a:hover { color: var(--brand); text-decoration: underline; }
.byline-meta { font-size: .87rem; margin: 0; }
.byline-meta time { font-variant-numeric: tabular-nums; }
.byline-role { display: block; margin-top: .15rem; font-weight: 400; font-size: .82rem; }
/* Article zones: narrow reading measure inside a wide composition. */
.article-top { max-width: 1020px; margin-inline: auto; }
.reading-env { display: grid; gap: clamp(1.5rem, 4vw, 3rem); max-width: 1240px; margin: 0 auto; padding-inline: 1.25rem; grid-template-columns: minmax(0, 44rem); justify-content: center; }
.reading-env.has-toc { grid-template-columns: minmax(0, 12rem) minmax(0, 44rem); }
.reading-env.has-side { grid-template-columns: minmax(0, 44rem) minmax(0, 13rem); }
.reading-env.has-toc.has-side { grid-template-columns: minmax(0, 12rem) minmax(0, 44rem) minmax(0, 13rem); }
.reading-env > * { min-width: 0; }
.reading-body { min-width: 0; }
.reading-body > .article-body { width: 100%; max-width: 100%; }
.reading-toc { position: sticky; top: 5.5rem; align-self: start; font-size: .85rem; }
.reading-toc .toc-l3 { margin-left: .8rem; }
.reading-side { position: sticky; top: 5.5rem; align-self: start; min-width: 0; }
.reading-rail { display: flex; flex-direction: column; gap: .45rem; }
.reading-rail a, .reading-rail button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; color: var(--ink); padding: .35rem .6rem; cursor: pointer; font-size: .82rem; text-decoration: none; text-align: center; font-family: inherit; }
.reading-rail a:hover, .reading-rail button:hover { border-color: var(--brand); color: var(--brand); }
.reading-rail .share-status { min-height: 1.2em; font-size: .75rem; color: var(--muted); text-align: center; }
.article-foot { max-width: 780px; margin-inline: auto; padding-inline: 1.25rem; }
.section-kicker { margin: 0 0 .65rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.article-body { width: min(100%, 70ch); max-width: 100%; margin-inline: 0; font-size: 1.125rem; line-height: 1.8; overflow-wrap: break-word; }
.article-body > p { margin-bottom: 1.25rem; }
.article-body > p:first-of-type { font-size: 1.16em; font-weight: 500; }
.article-body > p, .article-body > ul, .article-body > ol { text-align: justify; text-justify: inter-word; }
.article-body h2 { font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem); line-height: 1.2; letter-spacing: -.015em; margin-top: 2.6rem; margin-bottom: 1rem; }
.article-body h3 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.75rem); line-height: 1.3; margin-top: 2rem; margin-bottom: .75rem; }
.article-body h4 { font-size: clamp(1.1rem, 1.05rem + .25vw, 1.35rem); line-height: 1.35; margin-top: 1.6rem; margin-bottom: .6rem; }
.article-body > p:first-of-type { font-size: 1.16em; font-weight: 500; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.article-body pre { overflow-x: auto; background: var(--surface); border: var(--rule); border-radius: 10px; padding: 1rem 1.1rem; font-size: .88rem; tab-size: 4; }
.article-body code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); padding: .12em .35em; border-radius: 5px; }
.article-body pre code { background: none; padding: 0; }
.article-body .table-wrap { overflow-x: auto; border: var(--rule); border-radius: 10px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article-body th, .article-body td { border-bottom: var(--rule); padding: .55rem .8rem; text-align: left; }
.article-body thead th { background: var(--surface-2); }
.article-body blockquote { border-left: 3px solid var(--brand); margin: 1.6rem 0; padding: .2rem 0 .2rem 1.2rem; color: var(--ink); font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.5; }
.article-body blockquote cite { display: block; margin-top: .5rem; font-family: var(--font-sans); font-style: normal; font-size: .9rem; color: var(--muted); }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body li { margin: .3rem 0; }
.article-body li::marker { color: var(--brand); }
.callout { border: var(--rule); border-left: 4px solid var(--brand); border-radius: 10px; padding: .8rem 1.1rem; background: var(--surface); }
.callout-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .3rem; }
.callout p:last-child { margin-bottom: 0; }
.callout-note { border-left-color: var(--brand); }
.callout-tip { border-left-color: var(--ok); }
.callout-tip .callout-label { color: var(--ok); }
.callout-warning { border-left-color: var(--fail); }
.callout-warning .callout-label { color: var(--fail); }
.callout-important { border-left-color: var(--warn-ink); background: var(--warn-bg); }
.callout-important .callout-label { color: var(--warn-ink); }
.callout-insight { border-left-color: var(--ink); }
.callout-insight .callout-label { color: var(--ink); }
/* Fenced code with language label + author-controlled copy control. */
.codeblock { margin: 1.4rem 0; border: var(--rule); border-radius: 10px; overflow: hidden; }
.codeblock-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem .8rem; background: var(--surface-2); border-bottom: var(--rule); }
.codeblock-lang { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); text-transform: lowercase; }
.codeblock-copy { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; color: var(--ink); padding: .2rem .6rem; cursor: pointer; font-size: .78rem; }
.codeblock-copy:hover { border-color: var(--brand); color: var(--brand); }
.codeblock-copy[hidden] { display: none; }
.codeblock pre { margin: 0; border: 0; border-radius: 0; }
/* Captioned in-content figures. */
.content-figure { margin: 1.8rem 0; }
.content-figure img { width: 100%; height: auto; border-radius: 10px; }
.content-figure figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: .5rem; }
/* Article zones: narrow reading measure inside a wide composition. */
.article-top { max-width: 1020px; margin-inline: auto; }
.article-foot { max-width: 780px; margin-inline: auto; }
.reading-toc ol { margin: .6rem 0 0; padding: 0; list-style: none; counter-reset: toc; }
.reading-toc li { counter-increment: toc; margin: .4rem 0; padding-left: 1.9rem; position: relative; line-height: 1.4; }
.reading-toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: .12em; color: var(--brand); font-weight: 700; font-size: .78em; font-variant-numeric: tabular-nums; }
.reading-toc a { text-decoration: none; color: var(--muted); }
.reading-toc a:hover { color: var(--brand); }
.reading-toc .toc-l3 { margin-left: .8rem; }
.featured-image { width: 100%; margin: 2rem 0 0; }
.featured-image img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.featured-image figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: .5rem; }
.sources { width: 100%; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 2rem 0 0; margin: 3rem 0 0; font-size: .95rem; }
.sources h2 { font-size: 1.1rem; margin-top: 0; }
.source-list { margin: .8rem 0 0; padding: 0; list-style: none; counter-reset: sources; }
.source-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; margin: .75rem 0; line-height: 1.55; counter-increment: sources; }
.source-list li::marker { color: var(--brand); font-weight: 600; content: ''; }
.source-entry { display: block; }
.source-title { font-weight: 650; font-size: 1.02rem; }
a.source-title { color: var(--ink); text-decoration: none; }
a.source-title:hover { color: var(--brand); text-decoration: underline; }
.source-meta { display: block; margin-top: .15rem; font-size: .85rem; }
.source-number::before { content: counter(sources, decimal-leading-zero); color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.topic-group { margin: 2.4rem 0 0; }
.topic-group .eyebrow { margin-bottom: .7rem; }
.tag { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .42rem 1rem; font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.tag:hover { border-color: var(--brand); color: var(--brand); }
.share-row { display: flex; gap: .6rem; align-items: center; margin: 2.2rem 0 1.2rem; padding-top: 1rem; border-top: var(--rule); flex-wrap: wrap; }
.share-row a, .share-row button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; color: var(--ink); padding: .35rem .8rem; cursor: pointer; font-size: .88rem; text-decoration: none; }
.share-row a:hover, .share-row button:hover { border-color: var(--brand); color: var(--brand); }
.share-label { font-weight: 650; color: var(--ink); margin-right: .2rem; }
.share-status { min-height: 1.2em; color: var(--muted); font-size: .82rem; }
.author-box { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 1.8rem 0 .5rem; margin: 2.6rem 0 1rem; box-shadow: none; }
.author-box p { margin: .3rem 0; }
.author-box .author-box-inner { gap: 1.4rem; }
.author-box .avatar-thumb { width: 88px; height: 88px; }
.author-box .eyebrow { color: var(--brand); }
.author-box strong { font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: -.01em; }
.author-box strong a { color: var(--ink); text-decoration: none; }
.author-box strong a:hover { color: var(--brand); }
.author-more { font-weight: 600; font-size: .9rem; text-decoration: none; }
.author-more:hover { text-decoration: underline; }
.author-box-inner { display: flex; gap: 1.1rem; align-items: flex-start; }
.avatar-thumb { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.avatar-sm { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.author-card { display: flex; gap: 1rem; align-items: center; }
.author-card p { margin: .15rem 0; }
.avatar-large { border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
/* Public author profile */
.author-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.6rem; align-items: start; margin: 1.6rem 0 1rem; }
.author-hero .avatar-large { width: 120px; height: 120px; }
.author-hero h1 { margin: 0 0 .3rem; }
.author-socials { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.author-socials a { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .28rem .85rem; font-size: .85rem; color: var(--muted); text-decoration: none; }
.author-socials a:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 640px) { .author-hero { grid-template-columns: 1fr; } .author-hero .avatar-large { width: 96px; height: 96px; } }
.prevnext { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2.5rem 0 3rem; }
.prevnext a { border: var(--rule); background: var(--surface); border-radius: 12px; padding: 1.4rem 1.6rem; color: var(--ink); text-decoration: none; display: block; transition: border-color .15s ease; }
.prevnext a:hover { border-color: var(--brand); }
.prevnext a strong { display: block; margin-top: .35rem; font-family: var(--font-serif); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.25; letter-spacing: -.01em; }
.prevnext a.has-thumb { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; align-items: center; }
.prevnext-thumb { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
@media (max-width: 640px) { .prevnext-thumb { width: 72px; height: 72px; } }
.article-discovery { margin-top: 5rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.discovery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.discovery-heading h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.5rem); }
.related-grid { margin-top: 1.5rem; }
.related-grid .post-card { min-height: 210px; border-color: transparent; box-shadow: none; background: transparent; }
.related-grid .post-card:hover { border-color: var(--line); box-shadow: var(--shadow); }
.related-grid .post-card-media { border-radius: 10px; }
.article-discovery .post-card { min-height: 0; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; pointer-events: none; background: transparent; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left center; }
@media (max-width: 640px) { .prevnext a { padding: 1.1rem 1.2rem; } }
@media (max-width: 1080px) {
  .reading-env, .reading-env.has-toc, .reading-env.has-side, .reading-env.has-toc.has-side { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .reading-body { order: -1; }
  .reading-toc, .reading-side { position: static; }
  .reading-rail { display: none; }
}
@media (max-width: 640px) {
  .article-header { padding-top: .8rem; }
  .article-header h1 { font-size: clamp(2.625rem, 11vw, 3.25rem); max-width: 15ch; }
  .article-deck { font-size: 1.15rem; }
  .article-byline { align-items: flex-start; }
  .featured-image { margin-top: 1.5rem; }
  .reading-env { padding-inline: 1.25rem; }
  .reading-toc { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; background: var(--surface-2); }
  .article-body > p, .article-body > ul, .article-body > ol { text-align: left; }
  .article-body { width: 100%; font-size: 1.05rem; line-height: 1.78; }
  .featured-image img { border-radius: var(--radius); }
  .article-discovery { margin-top: 3.5rem; }
  .discovery-heading { display: block; }
}

/* Pagination, newsletter, footer */
.pagination { display: flex; gap: .45rem; align-items: center; margin: 2.2rem 0; flex-wrap: wrap; }
.pagination a { font-weight: 600; text-decoration: none; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.pagination a:hover { border-color: var(--brand); }
.pagination a[rel="prev"], .pagination a[rel="next"] { border-color: transparent; background: none; padding: .3rem .2rem; }
.pagination .current { font-weight: 700; color: var(--ink); padding: .3rem .7rem; border: 1px solid var(--ink); border-radius: 8px; background: var(--surface-2); }

/* Useful empty states: never a dead end, always a way forward. */
.empty-state { background: var(--surface); border: var(--rule); border-radius: var(--radius); padding: 2rem 2.2rem; margin: 1.6rem 0; }
.empty-state h2 { margin-top: 0; }
.empty-state p:last-child { margin-bottom: 0; }
.empty-state .btn { margin: 0 .6rem .6rem 0; }
.newsletter {
  background: var(--surface);
  border: var(--rule); border-left: 4px solid var(--brand); border-radius: var(--radius);
  padding: 2rem 2.2rem; margin: 3rem 0;
}
.newsletter h2 { margin-top: 0; }
.site-footer { border-top: 2px solid var(--ink); margin-top: 4rem; padding: 0 0 1rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; padding: 1.5rem 0 .25rem; }
.footer-grid nav { display: grid; gap: .45rem; align-content: start; }
.footer-grid nav a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.footer-grid nav a:hover { color: var(--brand); }
.footer-heading { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .4rem; }
.footer-legal { border-top: var(--rule); margin-top: .75rem; padding-top: .75rem; font-size: .85rem; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--brand); }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* Tables, badges, alerts, filters */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: .65rem .85rem; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table tbody tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: .18rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.badge-ok, .badge-published { background: var(--ok-bg); color: var(--ok); }
.badge-fail, .badge-trash { background: var(--fail-bg); color: var(--fail); }
.badge-draft { background: var(--surface-2); color: var(--muted); }
.badge-scheduled { background: var(--brand-soft); color: var(--brand); }
.badge-private, .badge-archived { background: var(--warn-bg); color: var(--warn-ink); }
.alert-error { background: var(--fail-bg); border: 1px solid var(--fail); color: var(--ink); padding: .8rem 1.1rem; border-radius: 10px; }
.alert-ok { background: var(--ok-bg); border: 1px solid var(--ok); color: var(--ink); padding: .8rem 1.1rem; border-radius: 10px; }
.alert-warn { background: var(--warn-bg); border: 1px solid var(--warn-ink); color: var(--ink); padding: .8rem 1.1rem; border-radius: 10px; }
.alert-warn ul { margin: .4rem 0 .2rem; padding-left: 1.3rem; }
.field-error { color: var(--fail); font-size: .85rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0; }
.filter { padding: .32rem .85rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .85rem; font-weight: 550; }
.filter:hover { color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.search-row { display: flex; gap: .5rem; margin: 1.1rem 0; }
.search-row input[type=search] { flex: 1; padding: .62rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .95rem; }

/* Forms */
label { display: block; margin: .8rem 0; font-size: .93rem; font-weight: 550; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=datetime-local], input[type=file], select, textarea {
  width: 100%; padding: .62rem .8rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: .95rem; font-family: inherit; margin-top: .3rem;
}
textarea { font-family: inherit; font-size: .95rem; }
#post-content { font-family: var(--font-mono); font-size: .88rem; }
select { width: auto; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 1.1rem 0; padding: 1rem 1.2rem; background: var(--surface); }
legend { font-weight: 700; font-size: .85rem; padding: 0 .5rem; }
.check { display: inline-flex; align-items: center; gap: .35rem; margin: 0 .9rem .5rem 0; font-weight: normal; }
.check input { width: auto; margin: 0; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem; align-items: start; }
@media (min-width: 961px) { .form-side { position: sticky; top: calc(57px + 1rem); max-height: calc(100vh - 57px - 2rem); overflow-y: auto; } }
@media (max-width: 960px) { .form-grid { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: .6rem 0; }
.editor-toolbar button { padding: .32rem .65rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: .85rem; }
.editor-toolbar button:hover { border-color: var(--brand); color: var(--brand); }
.editor-toolbar .muted { margin-left: auto; font-size: .8rem; }
.preview-pane { border: 1px dashed var(--line); border-radius: 10px; padding: 1rem; margin-top: .5rem; background: var(--surface); }
.rev-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: .45rem; }
.inline-form { display: inline; }

/* Ads */
.ad-slot { margin: 1.6rem 0; overflow: hidden; }
.ad-slot:empty { display: none; }
.ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .3rem; text-align: center; }
.ad-slot[style] { min-height: var(--ad-h-d, 0); }
@media (max-width: 720px) { .ad-slot[style] { min-height: var(--ad-h-m, 0); } }
.ad-slot-header { text-align: center; }
.ad-slot-mobile { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); margin: 0; padding: .3rem; text-align: center; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
@media (min-width: 721px) { .ad-slot-mobile { display: none; } }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 720px) {
  .site-search { margin-left: 0; width: 100%; }
  .site-search input[type=search] { flex: 1; }
  .hero { padding: 2.2rem 0 1.6rem; }
}

.post-excerpt mark, mark { background: color-mix(in srgb, var(--brand) 14%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-query-head { font-size: 1.3rem; margin-top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   OMNEVERVE homepage editorial system (bento hero, feed, sidebar).
   Theme-aware via CSS vars — no framework, no webfonts.
   ============================================================ */

/* Announcement / status bar */
.ov-announce { background: #ffffff; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .75rem; }
.ov-announce-text { color: var(--muted); }
.ov-theme-toggle { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 600; padding: .25rem .5rem; border-radius: 8px; }
.ov-theme-toggle:hover { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .ov-announce { background: #101014; color: #d4d4d8; border-bottom-color: #27272a; }
  .ov-announce-text { color: #a1a1aa; }
  .ov-theme-toggle { color: #d4d4d8; }
  .ov-theme-toggle:hover { background: #27272a; color: #fff; box-shadow: none; }
}
:root[data-theme="dark"] .ov-announce { background: #101014; color: #d4d4d8; border-bottom-color: #27272a; }
:root[data-theme="dark"] .ov-announce-text { color: #a1a1aa; }
:root[data-theme="dark"] .ov-theme-toggle { color: #d4d4d8; }
:root[data-theme="dark"] .ov-theme-toggle:hover { background: #27272a; color: #fff; box-shadow: none; }
.ov-announce-inner { max-width: 80rem; margin: 0 auto; padding: .45rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ov-announce-left, .ov-announce-right { display: flex; align-items: center; gap: .6rem; margin: 0; }
.ov-announce-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .6rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ov-announce-dot { width: .35rem; height: .35rem; border-radius: 50%; background: currentColor; animation: ov-pulse 1.6s ease-in-out infinite; }
.ov-theme-toggle[hidden] { display: none; }
@keyframes ov-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Sticky translucent header */
.ov-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.ov-header-inner { max-width: 80rem; margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ov-brandwrap { display: flex; align-items: center; gap: 2rem; min-width: 0; }
.ov-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.ov-brand-mark { width: 2.25rem; height: 2.25rem; border-radius: .8rem; background: var(--brand); color: #fff; font-weight: 900; font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ov-brand-mark--sm { width: 2rem; height: 2rem; font-size: 1.1rem; }
.ov-brand-logo { height: 2.25rem; width: auto; }
.ov-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.ov-brand-name { font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; }
.ov-brand-sub { font-size: .58rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.ov-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.ov-nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 550; padding: .4rem .7rem; border-radius: 8px; white-space: nowrap; }
.ov-nav a:hover { color: var(--ink); background: var(--surface-2); }
.ov-actions { display: flex; align-items: center; gap: .6rem; }
.ov-search-trigger { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: .8rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); text-decoration: none; font-size: .78rem; }
.ov-search-trigger:hover { color: var(--ink); border-color: var(--brand); }
.ov-search-kbd { font-family: var(--font-mono); font-size: .65rem; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: .1rem .35rem; }
.ov-subscribe { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: .8rem; background: var(--ink); color: var(--bg); text-decoration: none; font-size: .78rem; font-weight: 700; }
.ov-subscribe:hover { background: var(--brand); color: #fff; }
.ov-menu-toggle { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: .45rem .8rem; cursor: pointer; font-weight: 650; font-size: .85rem; }
.ov-menu-toggle[hidden] { display: none; }

/* Homepage frame */
.ov-main { max-width: 80rem; margin: 0 auto; padding: 2rem 1.25rem 0; width: 100%; }
.home-sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .6rem; margin-bottom: 1.25rem; }
.home-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.home-pulse { width: .6rem; height: .6rem; border-radius: 50%; background: var(--brand); animation: ov-pulse 1.6s ease-in-out infinite; flex-shrink: 0; }
.home-count { font-size: .75rem; color: var(--muted); margin: 0; }

/* Bento hero */
.home-bento { margin-bottom: 2.5rem; }
.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
.bento-lead { grid-column: span 7; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 1.4rem; background: #ffffff; border: 1px solid var(--line); min-height: 520px; box-shadow: var(--shadow); }
.bento-grid--solo .bento-lead { grid-column: 1 / -1; }
.bento-side { grid-column: span 5; display: flex; flex-direction: column; gap: 1.5rem; }
.bento-small { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 1.4rem; background: #ffffff; border: 1px solid var(--line); min-height: 248px; box-shadow: var(--shadow); }
.bento-media { position: absolute; inset: 0; display: block; }
.bento-media img, .bento-media picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-media img { opacity: .68; transition: transform .6s ease, opacity .3s ease; }
.bento-lead:hover .bento-media img, .bento-small:hover .bento-media img { transform: scale(1.04); opacity: .6; }
.bento-media--empty { display: grid; place-items: center; background: var(--brand-soft); }
.bento-media--empty span { font-family: var(--font-serif); font-weight: 700; font-size: 6rem; color: var(--brand); opacity: .5; }
.bento-shade { position: absolute; inset: 0; background: rgba(9, 9, 11, .42); box-shadow: inset 0 -200px 140px -50px rgba(9, 9, 11, .95), inset 0 70px 90px -60px rgba(9, 9, 11, .4); pointer-events: none; }
.bento-body { position: relative; z-index: 1; padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.bento-small .bento-body { padding: 1.25rem 1.4rem; }
.bento-tags { display: flex; align-items: center; gap: .6rem; margin: 0; flex-wrap: wrap; }
.bento-pill { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: #fff; color: #111; font-size: .72rem; font-weight: 800; text-decoration: none; }
.bento-pill:hover { color: #111; filter: brightness(.92); }
.bento-cat { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8fabff; text-decoration: none; }
:root[data-theme="light"] .bento-cat { color: #a5c0ff; }
.bento-cat:hover { text-decoration: underline; }
.bento-read { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; color: #e4e4e7; background: rgba(0, 0, 0, .45); padding: .2rem .6rem; border-radius: .45rem; }
.bento-read--dim { background: none; padding: 0; color: #a1a1aa; font-weight: 500; }
.bento-title { margin: 0; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem); line-height: 1.12; letter-spacing: -.025em; }
.bento-title a { color: #fff; text-decoration: none; }
.bento-title a:hover { color: #c7d6ff; }
.bento-small-title { margin: 0; font-size: 1.15rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bento-small-title a { color: #fff; text-decoration: none; }
.bento-small-title a:hover { color: #c7d6ff; }
.bento-excerpt { margin: 0; color: #d4d4d8; font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 62ch; }
.bento-byline { margin: .4rem 0 0; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .78rem; color: #a1a1aa; }
.bento-byline a { color: #e4e4e7; text-decoration: none; font-weight: 600; }
.bento-byline a:hover { text-decoration: underline; }
.bento-byline time { font-variant-numeric: tabular-nums; }
.bento-byline--dim { border-top: 0; padding-top: 0; margin-top: 0; }
.home-empty-hero { padding: 3rem 0; }
.home-empty-title { font-size: var(--text-2xl); max-width: 22ch; }

/* Topic pills */
.topic-pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2.5rem; scrollbar-width: none; }
.topic-pills::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem 1rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); text-decoration: none; font-size: .78rem; font-weight: 650; white-space: nowrap; border: 1px solid transparent; }
.pill:hover { color: var(--ink); border-color: var(--line); }
.pill--active { background: var(--ink); color: var(--bg); font-weight: 800; }
.pill--active:hover { color: var(--bg); }
.pill-count { font-size: .7rem; font-weight: 600; }

/* 8/4 content split */
.home-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; align-items: start; }
.home-feed { grid-column: span 8; min-width: 0; }
.home-aside { grid-column: span 4; min-width: 0; }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.feed-heading { margin: 0; font-family: var(--font-serif); font-size: 1.45rem; letter-spacing: -.01em; }
.feed-pageinfo { margin: 0; font-size: .75rem; color: var(--muted); }
.feed-list { display: flex; flex-direction: column; }
.feed-card { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.feed-card:first-child { padding-top: 0; }
.feed-media { display: block; width: 15rem; aspect-ratio: 4 / 3; border-radius: 1rem; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.feed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feed-card:hover .feed-media img { transform: scale(1.04); }
.feed-media--empty { display: grid; place-items: center; background: var(--brand-soft); }
.feed-media--empty span { font-family: var(--font-serif); font-weight: 700; font-size: 2.5rem; color: var(--brand); opacity: .7; }
.feed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.feed-meta { margin: 0; font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.feed-cat { font-weight: 800; color: var(--brand); text-decoration: none; }
.feed-cat:hover { text-decoration: underline; }
.feed-dot { opacity: .5; }
.feed-meta time { font-variant-numeric: tabular-nums; }
.feed-title { margin: 0; font-size: 1.2rem; line-height: 1.32; }
.feed-title a { color: var(--ink); text-decoration: none; }
.feed-title a:hover { color: var(--brand); }
.feed-excerpt { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-byline { margin: .5rem 0 0; font-size: .78rem; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.feed-byline a { color: inherit; }
.feed-more { font-weight: 800; color: var(--brand); text-decoration: none; white-space: nowrap; }
.feed-more:hover { text-decoration: underline; }
.feed-adwrap { padding: 1.5rem 0; border-bottom: 1px dashed var(--line); }
.feed-adwrap .ad-slot { margin: 0; }
.home-feed .pagination { border-top: 1px solid var(--line); padding-top: 1.5rem; }

/* Sidebar */
.home-side { display: flex; flex-direction: column; gap: 1.75rem; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.4rem; box-shadow: var(--shadow); }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: 1rem; }
.side-heading { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .45rem; }
.side-kicker { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mostread-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.mostread-item { display: flex; gap: .8rem; align-items: flex-start; }
.mostread-rank { font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--muted); min-width: 1.75rem; text-align: right; font-variant-numeric: tabular-nums; }
.mostread-body { min-width: 0; }
.mostread-title { margin: 0; font-size: .86rem; font-weight: 700; line-height: 1.45; }
.mostread-title a { color: var(--ink); text-decoration: none; }
.mostread-title a:hover { color: var(--brand); }
.mostread-meta { margin: .2rem 0 0; font-size: .7rem; color: var(--muted); }
.side-newsletter { background: #ffffff; color: var(--ink); border-radius: 1.4rem; padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.side-newsletter-tag { display: inline-block; margin: 0 0 .7rem; padding: .2rem .65rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.side-newsletter-title { margin: 0 0 .5rem; font-size: 1.15rem; color: var(--ink); }
.side-newsletter-copy { margin: 0 0 1rem; font-size: .78rem; line-height: 1.6; color: var(--muted); }
.side-newsletter-form { display: flex; flex-direction: column; gap: .5rem; }
.side-newsletter-form input[type="email"] { width: 100%; padding: .65rem .85rem; border-radius: .8rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .82rem; }
.side-newsletter-form input[type="email"]::placeholder { color: var(--muted); }
.side-newsletter-btn { width: 100%; padding: .65rem; border-radius: .8rem; border: 0; background: var(--ink); color: var(--bg); font-weight: 800; font-size: .82rem; cursor: pointer; }
.side-newsletter-btn:hover { filter: brightness(.92); }
.side-newsletter-note { margin: .7rem 0 0; font-size: .68rem; color: var(--muted); text-align: center; }
@media (prefers-color-scheme: dark) {
  .bento-lead, .bento-small { background: #18181b; border-color: transparent; }
  .side-newsletter { background: #141419; color: #fff; border-color: rgba(255, 255, 255, .08); }
  .side-newsletter-tag { background: rgba(255, 255, 255, .16); color: #fff; }
  .side-newsletter-title { color: #fff; }
  .side-newsletter-copy { color: #d4d4d8; }
  .side-newsletter-form input[type="email"] { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
  .side-newsletter-form input[type="email"]::placeholder { color: #8e8e96; }
  .side-newsletter-btn { background: #fff; color: #141419; }
  .side-newsletter-note { color: #8e8e96; }
}
:root[data-theme="dark"] .bento-lead, :root[data-theme="dark"] .bento-small { background: #18181b; border-color: transparent; }
:root[data-theme="dark"] .side-newsletter { background: #141419; color: #fff; border-color: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .side-newsletter-tag { background: rgba(255, 255, 255, .16); color: #fff; }
:root[data-theme="dark"] .side-newsletter-title { color: #fff; }
:root[data-theme="dark"] .side-newsletter-copy { color: #d4d4d8; }
:root[data-theme="dark"] .side-newsletter-form input[type="email"] { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
:root[data-theme="dark"] .side-newsletter-form input[type="email"]::placeholder { color: #8e8e96; }
:root[data-theme="dark"] .side-newsletter-btn { background: #fff; color: #141419; }
:root[data-theme="dark"] .side-newsletter-note { color: #8e8e96; }
.side-author { display: flex; gap: 1rem; align-items: center; }
.side-avatar { width: 3.5rem; height: 3.5rem; border-radius: 1rem; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.side-avatar--empty { display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 1.4rem; }
.side-author-body p { margin: 0 0 .2rem; }
.side-author-name { font-weight: 800; font-size: .92rem; }
.side-author-name a { color: var(--ink); text-decoration: none; }
.side-author-name a:hover { color: var(--brand); }
.side-author-role { font-size: .76rem; color: var(--muted); }
.side-author-more { font-size: .78rem; font-weight: 800; color: var(--brand); text-decoration: none; }
.side-author-more:hover { text-decoration: underline; }
.side-status { background: var(--surface-2); border: 1px solid var(--line); border-radius: 1.2rem; padding: 1rem 1.2rem; font-size: .78rem; }
.side-status-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 .3rem; }
.side-status-row strong { font-weight: 700; }
.side-status-ok { display: inline-flex; align-items: center; gap: .4rem; color: var(--ok); font-weight: 700; font-size: .72rem; }
.side-status-note { margin: 0; font-size: .72rem; color: var(--muted); }
.home-aside .ad-slot { margin: 0; }

/* Footer */
.ov-footer { margin-top: 5rem; border-top: 1px solid var(--line); background: var(--surface); }
.ov-footer-inner { max-width: 80rem; margin: 0 auto; padding: 3rem 1.25rem 1.5rem; }
.ov-footer-grid { display: grid; grid-template-columns: 5fr 2fr 2fr; gap: 2rem; margin-bottom: 2.5rem; }
.ov-footer-logo { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; }
.ov-footer-name { font-weight: 900; font-size: 1.1rem; letter-spacing: -.01em; }
.ov-footer-tagline { font-size: .8rem; color: var(--muted); max-width: 38ch; margin: 0 0 .8rem; line-height: 1.6; }
.ov-footer-feeds { font-size: .8rem; margin: 0; }
.ov-footer-feeds a { color: var(--muted); }
.ov-footer-grid nav { display: flex; flex-direction: column; gap: .5rem; align-content: start; }
.ov-footer-grid nav a { color: var(--muted); text-decoration: none; font-size: .85rem; }
.ov-footer-grid nav a:hover { color: var(--brand); }
.ov-footer-heading { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .3rem; }
.ov-footer-legal { border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.ov-footer-legal p { margin: 0; }
.ov-footer-legal a { color: var(--muted); font-weight: 600; }

/* Search modal */
.ov-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 5rem 1rem 1rem; }
.ov-modal[hidden] { display: none; }
.ov-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.ov-modal-panel { position: relative; width: 100%; max-width: 36rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1.4rem; box-shadow: var(--shadow-hover); overflow: hidden; }
.ov-modal-searchrow { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.ov-modal-searchrow input[type="search"] { flex: 1; border: 0; background: transparent; color: var(--ink); font-size: .95rem; margin: 0; padding: 0; }
.ov-modal-searchrow input[type="search"]:focus { outline: none; }
.ov-modal-searchrow:focus-within { outline: 2px solid var(--brand); outline-offset: -2px; }
.ov-modal-esc { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: .5rem; font-size: .65rem; font-weight: 800; padding: .3rem .55rem; cursor: pointer; font-family: var(--font-mono); }
.ov-modal-esc:hover { color: var(--ink); border-color: var(--brand); }
.ov-modal-results { max-height: 20rem; overflow-y: auto; padding: .75rem; display: flex; flex-direction: column; gap: .25rem; }
.ov-modal-hint { margin: 0; padding: .9rem 1rem; font-size: .8rem; color: var(--muted); }
.ov-result { display: block; padding: .7rem .9rem; border-radius: .8rem; text-decoration: none; }
.ov-result:hover, .ov-result--active { background: var(--surface-2); }
.ov-result-cat { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.ov-result-title { margin: .15rem 0 0; font-size: .88rem; font-weight: 700; color: var(--ink); }
.ov-result-meta { margin: .15rem 0 0; font-size: .72rem; color: var(--muted); }
.ov-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1.1rem; border-top: 1px solid var(--line); font-size: .68rem; color: var(--muted); background: var(--surface-2); }
.ov-modal-foot kbd { font-family: var(--font-mono); }

/* Responsive */
@media (max-width: 1024px) {
  .bento-lead { grid-column: 1 / -1; min-height: 440px; }
  .bento-side { grid-column: 1 / -1; }
  .bento-small { min-height: 240px; }
  .home-feed, .home-aside { grid-column: 1 / -1; }
  .ov-nav { display: none; }
  .ov-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: 100%; order: 3; }
  .ov-menu-toggle:not([hidden]) { display: block; }
}
@media (min-width: 1025px) {
  .ov-menu-toggle { display: none; }
}
@media (max-width: 720px) {
  .ov-main { padding-top: 1.5rem; }
  .ov-header-inner { gap: .6rem; }
  .ov-search-label, .ov-search-kbd { display: none; }
  .ov-brand-sub { display: none; }
  .bento-lead { min-height: 420px; }
  .bento-body { padding: 1.25rem; }
  .bento-title { font-size: 1.55rem; }
  .feed-card { flex-direction: column; }
  .feed-media { width: 100%; aspect-ratio: 16 / 10; }
  .ov-footer-grid { grid-template-columns: 1fr; }
  .ov-announce-text { display: none; }
  .ov-modal { padding-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ov-announce-dot, .home-pulse { animation: none; }
  .bento-media img, .feed-media img { transition: none; }
}

/* Print: article content only — chrome, nav, ads and share never print. */
@media print {
  .site-header, .site-footer, .ov-announce, .ov-header, .ov-footer, .reading-toc, .share-row, .reading-rail, .ad-slot, .prevnext, .newsletter, .site-search, .theme-toggle, .ov-theme-toggle, .home-aside, .topic-pills, .ed-side, .ed-share-inline, .ed-toc-mobile, .ed-scale, .article-discovery { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .container { max-width: none; }
  .article { max-width: none; }
  a { color: #000; text-decoration: none; }
}

/* ============================================================
   OMNEVERVE single-post editorial system v4.
   Premium publication hierarchy: centered story identity, hero,
   wide canvas + sticky reading tools + narrow reading column.
   No framework. Theme-aware via CSS vars. Server-rendered first.
   ============================================================ */
.article-editorial { max-width: none; }
.ed-top { max-width: 1050px; margin-inline: auto; padding-inline: 1.25rem; }
.ed-header { max-width: 56rem; margin: 0 auto 1rem; text-align: center; }
.ed-meta-pills { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0 1.1rem; }
.ed-catpill { display: inline-block; padding: .35rem 1rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--line); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.ed-catpill:hover { border-color: var(--brand); }
.ed-readpill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .85rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ed-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.1rem, 1.3rem + 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; max-width: 22ch; margin: 0 auto 1.1rem; }
.ed-deck { color: var(--muted); font-size: clamp(1.05rem, .95rem + .8vw, 1.3rem); line-height: 1.6; max-width: 46rem; margin: 0 auto 1.4rem; text-wrap: pretty; }
.ed-byline { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; text-align: left; }
.ed-avatar { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.ed-byline-copy { display: grid; gap: .2rem; min-width: 0; }
.ed-author { margin: 0; font-style: normal; font-weight: 650; font-size: .95rem; }
.ed-author a { color: var(--ink); text-decoration: none; }
.ed-author a:hover { color: var(--brand); text-decoration: underline; }
.ed-role { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.ed-dates { margin: 0; font-size: .82rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ed-date-label { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .3rem; }
.ed-date-block time { font-variant-numeric: tabular-nums; }
.ed-dot { color: var(--muted); }
.ed-scale { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: .2rem; gap: .1rem; margin-left: auto; }
.ed-scale button { border: 0; background: transparent; color: var(--muted); border-radius: 8px; padding: .3rem .6rem; cursor: pointer; font-size: .78rem; font-weight: 600; }
.ed-scale button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 800; }
.ed-scale button:hover { color: var(--brand); }
.ed-hero { max-width: 1050px; margin: 2rem auto 0; }
.ed-hero-frame { overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-hover); border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 16/9; }
.ed-hero-frame img, .ed-hero-frame picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-hero figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; text-align: center; }
/* Wide editorial canvas: tools 3 cols + reading 9 cols (+ optional ad rail). */
.ed-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); max-width: 1240px; margin: 2.5rem auto 0; padding-inline: 1.25rem; grid-template-columns: minmax(0, 15rem) minmax(0, 44rem); justify-content: center; align-items: start; }
.ed-grid .ed-rail { grid-column: 1 / -1; }
.ed-side-sticky { position: sticky; top: 5.5rem; display: flex; flex-direction: column; gap: 1rem; }
.ed-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.15rem; box-shadow: var(--shadow); }
.ed-card .eyebrow { margin: 0 0 .7rem; font-size: .65rem; }
.ed-sharebtns { display: flex; gap: .45rem; }
.ed-sharebtns a, .ed-sharebtns button { flex: 1; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; color: var(--ink); padding: .45rem .3rem; cursor: pointer; font-size: .8rem; font-weight: 700; text-decoration: none; text-align: center; font-family: inherit; }
.ed-sharebtns a:hover, .ed-sharebtns button:hover { border-color: var(--brand); color: var(--brand); }
.ed-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.ed-toc li { counter-increment: toc; margin: .35rem 0; padding-left: 1.9rem; position: relative; line-height: 1.45; font-size: .84rem; }
.ed-toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: .12em; color: var(--brand); font-weight: 800; font-size: .78em; font-variant-numeric: tabular-nums; }
.ed-toc a { display: block; padding: .2rem 0 .2rem .7rem; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.ed-toc a:hover { color: var(--brand); }
.ed-toc a.toc-item.active { color: var(--brand); font-weight: 700; border-left-color: var(--brand); }
.ed-toc .toc-l3 { margin-left: .8rem; }
.ed-progress-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 .4rem; font-size: .75rem; color: var(--muted); }
.ed-progress-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--brand); }
.ed-progress-track { height: 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.ed-progress-track span { display: block; height: 100%; width: 0; background: var(--brand); }
.ed-body { min-width: 0; max-width: 44rem; width: 100%; justify-self: center; }
.ed-toc-mobile { display: none; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; background: var(--surface); margin-bottom: 1.25rem; font-size: .88rem; }
.ed-toc-mobile summary { cursor: pointer; font-weight: 700; }
.ed-toc-mobile ol { margin: .7rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.ed-toc-mobile a { color: var(--muted); text-decoration: none; }
.ed-toc-mobile a:hover { color: var(--brand); }
.ed-share-inline { display: none; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .85rem; }
.ed-share-inline a, .ed-share-inline button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; color: var(--ink); padding: .3rem .75rem; cursor: pointer; font-size: .82rem; text-decoration: none; }
.ed-share-inline a:hover, .ed-share-inline button:hover { border-color: var(--brand); color: var(--brand); }
/* Reading column: serif body, comfortable measure, presentation-only scale. */
.ed-body .article-body { width: 100%; max-width: 100%; font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.85; overflow-wrap: break-word; }
.ed-body .article-body[data-scale="large"] { font-size: 1.25rem; line-height: 1.95; }
.ed-body .article-body[data-scale="xl"] { font-size: 1.375rem; line-height: 2.05; }
.ed-body .article-body > p, .ed-body .article-body > ul, .ed-body .article-body > ol { text-align: left; }
.article-editorial.is-longform .ed-body .article-body > p:first-of-type::first-letter { font-family: var(--font-sans); font-size: 3.6em; line-height: .82; font-weight: 800; float: left; margin: .06em .14em 0 0; color: var(--brand); }
.ed-body .article-body h2 { font-family: var(--font-sans); scroll-margin-top: 6rem; }
.ed-body .article-body h3 { font-family: var(--font-sans); scroll-margin-top: 6rem; }
.ed-foot { max-width: 44rem; margin: 0 auto; padding-inline: 1.25rem; }
.discovery-more { font-size: .82rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 1080px) {
  .ed-grid { grid-template-columns: minmax(0, 44rem); }
  .ed-side { display: none; }
  .ed-toc-mobile, .ed-share-inline { display: block; }
  .ed-body { justify-self: center; }
}
@media (max-width: 640px) {
  .ed-top { padding-inline: 1.25rem; }
  .ed-header { text-align: left; }
  .ed-meta-pills { justify-content: flex-start; }
  .ed-title { margin-inline: 0; font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .ed-byline { justify-content: flex-start; }
  .ed-scale { margin-left: 0; }
  .ed-hero-frame { border-radius: 14px; }
  .ed-body .article-body { font-size: 1.02rem; line-height: 1.8; }
  .article-editorial.is-longform .ed-body .article-body > p:first-of-type::first-letter { font-size: 3em; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-hero-frame img { transition: none !important; }
  .ed-toc a { transition: none !important; }
}
