/* Omniposter-hosted starter theme. Generated from the site's theme settings;
   edit those (or "Custom CSS", appended at the end) rather than this file. */
@font-face {
  font-family: "Fraunces";
  src: url("/_omni/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/_omni/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
--bg: #ffffff;
  --text: #16181d;
  --accent: #a15c07;
  --accent-fg: #ffffff;
  --muted: #6f7073;
  --surface: #f6f6f6;
  --border: #e1e1e2;  --font-heading: 'Fraunces', Charter, Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 72rem;
  --narrow: 42rem;
  --wide: 60rem;
  --radius: 10px;
  --gap: clamp(1rem, 3vw, 2rem);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111318;
  --text: #eceef2;
  --accent: #f2b544;
  --accent-fg: #000000;
  --muted: #999b9f;
  --surface: #1a1c21;
  --border: #2d2f34; }
}

*, *::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-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; padding: 0 1rem; }
.wide { max-width: var(--wide); margin-left: auto; margin-right: auto; padding: 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); padding: 1.1rem 0 .9rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; }
.brand-logo { max-height: 44px; width: auto; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.75rem); letter-spacing: -0.02em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.site-nav a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .35rem 0; display: inline-block; }
.site-nav a:hover { color: var(--accent); }
.tagline { color: var(--muted); margin: .35rem auto 0; font-size: .95rem; }

.site-main { padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; min-height: 50vh; }

/* Story cards */
.meta { color: var(--muted); font-size: .875rem; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem .9rem; align-items: center; }
.card { display: flex; flex-direction: column; gap: .75rem; }
.card-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-img img { transform: scale(1.02); }
.card-title { font-size: 1.25rem; margin: 0; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-summary { margin: .35rem 0 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--gap); }
.card-lead { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--border); }
.card-lead .card-title { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.card-lead .card-summary { font-size: 1.1rem; -webkit-line-clamp: 4; }
@media (min-width: 800px) {
  .card-lead { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 2.5rem; }
  .card-lead.card-noimg { grid-template-columns: 1fr; }
}
.story-list { display: flex; flex-direction: column; max-width: 52rem; }
.story-list .card { flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--border); gap: 1.25rem; }
.story-list .card-img { flex: 0 0 9rem; aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .story-list .card-img { flex-basis: 6rem; } }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.pager-pos { color: var(--muted); font-size: .9rem; }
.empty { padding: 3rem 0; }
.section-title { font-size: 1.4rem; margin: 3.5rem 0 1.25rem; }
.section-title a { color: var(--text); text-decoration: none; }
.page-heading { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 1.5rem; }

/* Articles */
.article-head { margin-bottom: 1.75rem; }
.article-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .75rem; }
.dek { font-size: 1.25rem; line-height: 1.5; color: var(--muted); margin: 0; }
.article-meta { margin-top: 1rem; }
.byline { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.hero { margin-bottom: 2rem; }
.hero img { width: 100%; border-radius: var(--radius); }
.hero figcaption { color: var(--muted); font-size: .8rem; margin-top: .5rem; }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose table, .prose figure { margin: 0 0 1.25rem; }
.prose blockquote { border-left: 3px solid var(--accent); padding: .25rem 0 .25rem 1.1rem; color: var(--muted); font-style: italic; }
.prose img { border-radius: var(--radius); }
.prose pre { background: var(--surface); border: 1px solid var(--border); padding: 1rem; overflow-x: auto; border-radius: 8px; font-size: .9rem; }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: .5rem .75rem; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.back { margin-top: 3rem; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: var(--gap); }
.video-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); margin-bottom: .6rem; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: auto auto .6rem .6rem; background: rgba(0,0,0,.7); color: #fff; border-radius: 999px; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; font-size: .9rem; }
.video-frame { aspect-ratio: 16 / 9; margin-bottom: 1.5rem; }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 2.5rem 0 1.5rem; font-size: .925rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; margin: 0 0 .4rem; }
.footer-text { color: var(--muted); margin: 0 0 .75rem; max-width: 34rem; white-space: pre-line; }
.social, .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-links a, .social a { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .825rem; margin-top: 2rem; }
.footer-base a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .site-header nav, .site-footer, .back, .pager { display: none; } }

/* Features this site uses */
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .5rem; }
.kicker a { color: var(--accent); text-decoration: none; }
.section-head { margin: 2.5rem 0 2rem; }
.section-head h1 { margin: 0 0 .5rem; }
.section-head .dek { max-width: 46rem; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.archive-list a { color: var(--text); text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.archive-list a:hover { color: var(--accent); }
.archive-list p { margin: .3rem 0 0; color: var(--muted); }
.site-search { display: flex; gap: .4rem; }
.site-search input { font: inherit; font-size: .9rem; padding: .35rem .6rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); min-width: 0; width: 11rem; }
.site-search button { font: inherit; font-size: .9rem; padding: .35rem .7rem; border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-fg); cursor: pointer; }
.search-page .site-search input { width: 100%; font-size: 1.05rem; }
.search-status { color: var(--muted); }
.search-results { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.search-results li { padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.search-results a { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.search-results p { margin: .3rem 0 0; color: var(--muted); }
.search-results mark { background: var(--surface); color: var(--text); padding: 0 .1em; }
.vf { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.vf-long { aspect-ratio: 16 / 9; }
.vf-short { aspect-ratio: 9 / 16; width: min(100%, 22rem); margin-left: auto; margin-right: auto; }
.vf > a, .vf > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; color: #fff; }
.vf img { width: 100%; height: 100%; object-fit: cover; }
.vf-noimg > a { background: linear-gradient(135deg, var(--surface), var(--border)); }
.vf-title { position: absolute; inset: auto 1rem 1rem 1rem; color: var(--text); font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.vf-play { position: absolute; left: 50%; top: 50%; width: 4.25rem; height: 3rem; transform: translate(-50%, -50%); border-radius: 14px; background: rgba(0, 0, 0, .72); display: grid; place-items: center; transition: background .15s ease, transform .15s ease; }
.vf-play svg { width: 1.6rem; height: 1.6rem; fill: #fff; }
.vf a:hover .vf-play, .vf a:focus-visible .vf-play { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.vf a:hover .vf-play svg, .vf a:focus-visible .vf-play svg, .vcard:hover .vf-play svg { fill: var(--accent-fg); }
.vf a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.prose .vf { margin: 0 0 1.5rem; }
.video-page .vf-long { margin-bottom: 1.75rem; }
.video-page .vf-short { margin-bottom: 1.75rem; }
.video-kind { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; color: var(--accent); }
.video-desc p { white-space: pre-line; overflow-wrap: anywhere; }
.video-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.5rem; }
.video-links a { font-weight: 600; }
.videos-section { margin-top: 3.5rem; }
.videos-section .section-title { margin: 0 0 1.25rem; }
.videos-section + .story-grid { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.videos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.videos-head a.more { font-size: .95rem; font-weight: 600; text-decoration: none; }
.videos-sub { font-size: 1.05rem; margin: 2rem 0 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.long-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: var(--gap); }
.short-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 10.5rem), 1fr)); gap: clamp(.75rem, 2vw, 1.25rem); }
.short-row, .long-row { grid-template-columns: none; grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding-bottom: .75rem; scrollbar-width: thin; }
.short-row { grid-auto-columns: clamp(9.5rem, calc((100% - 5 * clamp(.75rem, 2vw, 1.25rem)) / 6), 14rem); }
.long-row { grid-auto-columns: clamp(15rem, calc((100% - 3 * var(--gap)) / 4), 24rem); }
.short-feature { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.long-feature { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 60rem) { .short-feature { grid-template-columns: repeat(3, minmax(0, 1fr)); } .long-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .short-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } .long-feature { grid-template-columns: minmax(0, 1fr); } }
.short-row > *, .long-row > * { scroll-snap-align: start; }
.short-row:focus-visible, .long-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.scroll-row { position: relative; }
.scroll-btn { position: absolute; top: calc(50% - 2.6rem); z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: 600 1.25rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.scroll-btn:hover, .scroll-btn:focus-visible { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.scroll-btn[disabled] { opacity: 0; pointer-events: none; }
.scroll-prev { left: -.5rem; }
.scroll-next { right: -.5rem; }
@media (hover: none) { .scroll-btn { display: none; } }
.site-nav .nav-split { border-left: 1px solid var(--border); padding-left: 1.1rem; }
.site-nav .nav-videos a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.site-nav .nav-play { flex: none; width: 1.15rem; height: 1.15rem; padding: .2rem; border-radius: 50%; background: var(--accent); fill: var(--accent-fg); }
.vtab-in { position: absolute; opacity: 0; pointer-events: none; }
.vtab-bar { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin: 0 0 1.75rem; }
.vtab { cursor: pointer; padding: .7rem 1.1rem; margin-bottom: -1px; border-bottom: 3px solid transparent; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.vtab:hover { color: var(--text); }
.vtab-n { font-size: .75rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-feature-settings: "tnum"; }
#vtab-shorts:checked ~ .vtab-bar label[for="vtab-shorts"], #vtab-long:checked ~ .vtab-bar label[for="vtab-long"] { color: var(--text); border-bottom-color: var(--accent); }
#vtab-shorts:focus-visible ~ .vtab-bar label[for="vtab-shorts"], #vtab-long:focus-visible ~ .vtab-bar label[for="vtab-long"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.vtab-panel { display: none; }
#vtab-shorts:checked ~ .vtab-panel-shorts, #vtab-long:checked ~ .vtab-panel-long { display: block; }
.vcard { display: flex; flex-direction: column; gap: .55rem; }
.vcard-img { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); aspect-ratio: 16 / 9; }
.vcard-short .vcard-img { aspect-ratio: 9 / 16; }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vcard:hover .vcard-img img { transform: scale(1.02); }
.vcard-img .vf-play { left: .45rem; top: auto; bottom: .45rem; transform: none; width: 2.1rem; height: 1.5rem; border-radius: 6px; }
.vcard-img .vf-play svg { width: .95rem; height: .95rem; }
.vcard:hover .vf-play { background: var(--accent); }
.vcard-time { position: absolute; right: .45rem; bottom: .45rem; background: rgba(0, 0, 0, .75); color: #fff; font-size: .75rem; font-weight: 600; padding: .1rem .4rem; border-radius: 4px; font-feature-settings: "tnum"; }
.vcard-title { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.vcard-short .vcard-title { font-size: .95rem; }
.vcard-title a { color: var(--text); text-decoration: none; }
.vcard-title a:hover { color: var(--accent); }
.vcard .meta { margin: 0; font-size: .8rem; }
.page-intro { color: var(--muted); max-width: 46rem; margin: -0.75rem 0 2rem; }
.search-results .result-type { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-right: .5rem; }
.account { font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2; display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-width: 8.5em; min-height: 2.5rem; padding: .3em .85em; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text); cursor: pointer; white-space: nowrap; }
.account:hover { border-color: var(--accent); color: var(--accent); }
.account[data-initials]::before { content: attr(data-initials); display: inline-grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-size: .8em; }
.account-link { font: inherit; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; min-width: 4.5em; text-align: left; }
.account[hidden] { display: inline-flex; visibility: hidden; }
.account-link[hidden] { display: inline-block; visibility: hidden; }
@media (max-width: 40rem) { .account { min-width: 0; } .account[hidden] { display: none; } }
.omni-slot:not(:empty) { margin-top: 2rem; margin-bottom: 2rem; }
@media print { .account, .account-link, .omni-slot, .comments { display: none; } }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: .6rem; margin-bottom: .85rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.header-tools .account { min-height: 2.1rem; font-size: .85rem; }
@media (max-width: 40rem) { .header-tools .site-search { flex: 1; } .header-tools .site-search input { width: 100%; } }
.footer-contact { margin: 0 0 .75rem; }
.footer-contact a { color: var(--text); }
.follow { margin-top: .25rem; }
.follow-label { margin: 0 0 .15rem; color: var(--muted); font-size: .85rem; }
.follow-links { list-style: none; margin: 0 0 0 -.6rem; padding: 0; display: flex; flex-wrap: wrap; }
.follow-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text); }
.follow-links a:hover { color: var(--accent); }
.follow-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.follow-icon { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.follow-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.author-pic { position: relative; display: inline-block; flex: none; width: 4rem; height: 4rem; }
.author-pic img, .author-pic .monogram { width: 100%; height: 100%; border-radius: 50%; }
.author-pic img { object-fit: cover; display: block; }
.author-pic .monogram { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.author-pic-sm { width: 32px; height: 32px; }
.author-pic-sm .monogram { font-size: .75rem; }
.author-pic-lg { width: 7rem; height: 7rem; }
.author-pic-lg .monogram { font-size: 2.4rem; }
.ai-badge { position: absolute; right: -.2rem; bottom: -.2rem; font: 800 .62rem/1 var(--font-body); letter-spacing: .04em; padding: .22em .38em; border-radius: 999px; background: var(--accent); color: var(--accent-fg); border: 2px solid var(--bg); }
.author-pic-sm .ai-badge { font-size: .5rem; padding: .15em .28em; right: -.35rem; bottom: -.3rem; border-width: 1px; }
.ai-label { display: inline-block; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.byline a, .about-author a { color: inherit; text-underline-offset: .15em; }
.byline-author .byline { gap: .7rem; }
.byline-author .author-pic-sm { width: 40px; height: 40px; }
.byline-pic { display: inline-flex; border-radius: 50%; }
.byline-pic:hover img { filter: brightness(1.06); }
.byline-name { font-weight: 600; }
a.byline-name { text-decoration: none; }
a.byline-name:hover, a.byline-name:focus-visible { text-decoration: underline; }
.byline-for { color: var(--muted); }
.about-author { margin-top: 2.75rem; margin-left: max(1rem, (100% - var(--narrow)) / 2); margin-right: max(1rem, (100% - var(--narrow)) / 2); padding: 1.25rem 1.35rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.about-author-title { margin: 0 0 .9rem; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-author-body { display: flex; gap: 1rem; align-items: flex-start; }
.about-author-body p { margin: 0 0 .55rem; }
.about-author-name { font-weight: 700; }
.about-author-more { font-weight: 600; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--muted); }
.author-head { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.author-head h1 { margin: 0 0 .35rem; }
.author-disclosure { max-width: 46rem; margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.author-bio { max-width: 46rem; }
.author-bio p { white-space: pre-line; }
.beat-chips { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.beat-chips li { font-size: .8rem; padding: .2rem .65rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.authors-head { margin: 0 0 2rem; }
.authors-head h1 { margin: 0 0 .5rem; }
.author-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: var(--gap); }
.author-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.author-card h2 { font-size: 1.15rem; margin: 0 0 .25rem; }
.author-card h2 a { color: var(--text); text-decoration: none; }
.author-card h2 a:hover { color: var(--accent); }
.author-card .beat-chips { margin-top: .6rem; }
.author-contact { color: var(--muted); margin-top: 2.5rem; }
.author-contact a { color: var(--text); }
.topic-badge { display: inline-flex; align-items: center; gap: .35em; font-size: .75rem; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--accent); color: var(--text); border-radius: 999px; padding: .15rem .6rem; margin: 0 0 .75rem; }
.topic-note { border: 1px solid var(--accent); border-radius: var(--radius); background: var(--surface); padding: .9rem 1.1rem; margin-top: 2.5rem; font-size: .95rem; line-height: 1.6; }
.topic-note a { color: inherit; }
.lib-head { margin-bottom: 2.5rem; }
.lib-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.lib-kicker a { color: inherit; text-decoration: none; }
.lib-kicker a:hover { color: var(--accent); }
.lib-head h1 { margin: 0 0 .75rem; }
.lib-native { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .6em; margin-left: .5em; }
.lib-credit, .lib-intro { color: var(--muted); }
.lib-intro { font-size: 1.1rem; line-height: 1.6; }
.lib-tradition { margin: 3rem 0 0; }
.lib-tradition > h2 { font-size: 1.25rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); margin: 0; }
.lib-work { padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.lib-work h3 { font-size: 1.5rem; margin: 0; }
.lib-work h3 a { color: var(--text); text-decoration: none; }
.lib-work h3 a:hover { color: var(--accent); }
.lib-work .lib-credit { font-size: .9rem; margin: .3rem 0 0; }
.lib-work p.lib-desc { color: var(--muted); margin: .6rem 0 0; }
.lib-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .9rem; margin: .6rem 0 0; }
.lib-links .lib-soon { color: var(--muted); }
.lib-toc { list-style: none; margin: 1rem 0 0; padding: 0; }
.lib-toc li { border-bottom: 1px solid var(--border); }
.lib-toc a { display: flex; gap: .9rem; align-items: baseline; padding: .65rem .25rem; color: var(--text); text-decoration: none; }
.lib-toc a:hover { background: var(--surface); }
.lib-toc a:hover .lib-ch-title { color: var(--accent); }
.lib-ch-num { flex: none; min-width: 4.5rem; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.lib-books { display: grid; gap: .75rem; margin-top: 1rem; }
.lib-book { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.lib-book > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .75rem; cursor: pointer; padding: .8rem 1rem; }
.lib-book > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lib-book-num { color: var(--muted); font-size: .78rem; }
.lib-book-title { font-family: var(--font-heading); font-size: 1.15rem; }
.lib-book-meta { color: var(--muted); font-size: .9rem; }
.lib-book-count { margin-left: auto; color: var(--muted); font-size: .78rem; }
.lib-book .lib-toc { margin: 0; border-top: 1px solid var(--border); background: var(--bg); }
.lib-book .lib-toc li:last-child { border-bottom: 0; }
.lib-book .lib-toc a { padding-left: 1rem; padding-right: 1rem; }
.lib-chapter { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.lib-chapter .lib-head { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.lib-sw { position: absolute; opacity: 0; pointer-events: none; }
.lib-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); margin: 0 0 1.5rem; }
.lib-switch label { cursor: pointer; border: 1px solid var(--border); border-radius: 999px; padding: .25rem .8rem; color: var(--muted); }
.lib-switch label:hover { color: var(--text); background: var(--surface); }
#lib-deva:checked ~ .lib-switch label[for=lib-deva], #lib-iast:checked ~ .lib-switch label[for=lib-iast] { background: var(--text); border-color: var(--text); color: var(--bg); }
#lib-deva:focus-visible ~ .lib-switch label[for=lib-deva], #lib-iast:focus-visible ~ .lib-switch label[for=lib-iast] { outline: 2px solid var(--accent); outline-offset: 2px; }
.lib-note { font-size: .8rem; color: var(--muted); margin: -0.75rem 0 1.5rem; }
.lib-verses { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.lib-verse { display: grid; gap: .75rem; }
@media (min-width: 640px) { .lib-verse { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.lib-ref { display: block; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: .2rem; }
.lib-orig { font-family: var(--font-heading); font-size: 1.1rem; line-height: 2; margin: 0; white-space: pre-line; }
.lib-iast { font-family: var(--font-heading); font-style: italic; color: var(--muted); font-size: .9rem; line-height: 1.7; margin: .3rem 0 0; white-space: pre-line; }
.lib-en { font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.75; margin: 0; white-space: pre-line; }
.lib-missing { font-size: .8rem; font-style: italic; color: var(--muted); margin: 0; }
#lib-iast:checked ~ .lib-text .lib-orig { display: none; }
#lib-iast:checked ~ .lib-text .lib-iast { color: var(--text); font-size: 1.05rem; margin-top: 0; }
.lib-chapterwise.lib-has-deva .lib-iast { display: none; }
#lib-iast:checked ~ .lib-chapterwise .lib-iast { display: block; }
.lib-cols { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .lib-cols { grid-template-columns: 1fr 1fr; } }
.lib-cols .lib-verses { gap: 1.1rem; }
.lib-cols .lib-verse { grid-template-columns: 1fr; gap: 0; }
.lib-commentary { max-width: var(--narrow); margin: 3.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--border); }
.lib-commentary h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.lib-pager { max-width: var(--narrow); margin: 3.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.lib-pager a { color: var(--muted); }
.lib-pager a:hover { color: var(--text); }
.listen { margin-top: 0; margin-bottom: 2rem; }
.listen-box { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: .9rem 1rem 1rem; }
.listen-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; margin-bottom: .65rem; }
.listen-title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 0; }
.listen-length { color: var(--muted); font-size: .875rem; }
.listen-bars { display: inline-flex; align-items: flex-end; gap: 2px; width: 17px; height: 16px; color: var(--accent); }
.listen-bars span { display: block; width: 3px; height: 100%; background: currentColor; border-radius: 1px; transform-origin: bottom; }
.listen-bars span:nth-child(1) { transform: scaleY(.45); }
.listen-bars span:nth-child(2) { transform: scaleY(1); }
.listen-bars span:nth-child(3) { transform: scaleY(.65); }
.listen-bars span:nth-child(4) { transform: scaleY(.85); }
.listen[data-playing] .listen-bars span { animation: listen-bar .9s ease-in-out infinite alternate; }
.listen[data-playing] .listen-bars span:nth-child(2) { animation-delay: -.3s; }
.listen[data-playing] .listen-bars span:nth-child(3) { animation-delay: -.6s; }
.listen[data-playing] .listen-bars span:nth-child(4) { animation-delay: -.15s; }
@keyframes listen-bar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.listen-audio { display: block; width: 100%; min-height: 40px; }
.listen-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: .65rem; }
.listen-note { margin: 0; color: var(--muted); font-size: .85rem; }
.listen-note a { color: var(--text); text-underline-offset: 3px; }
.listen-rates { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
.listen-rates[hidden] { display: none; }
.listen-rates button { font: inherit; font-size: .8rem; font-weight: 600; font-feature-settings: "tnum"; min-width: 2.75rem; min-height: 2.25rem; padding: 0 .55rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.listen-rates button:hover { border-color: var(--accent); }
.listen-rates button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
@media (pointer: coarse) { .listen-rates button { min-width: 44px; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .listen[data-playing] .listen-bars span { animation: none; } }
