/* Editorial design layer. Shared components retain their behavior in style.css. */
:root, [data-theme="black"] {
  --bg-color: #121311;
  --text-color: #eeeFE8;
  --text-muted: #a6a99f;
  --surface-color: #1b1d19;
  --surface-hover: #242720;
  --border-color: #34372f;
  --accent: #f39469;
  --accent-ink: #171611;
  --active-ring: var(--accent);
}
[data-theme="white"] { --bg-color: #fafbf8; --text-color: #20271f; --text-muted: #60685b; --surface-color: #f0f2ec; --surface-hover: #e8ece2; --border-color: #d7ddcf; --accent: #aa401b; --accent-ink: #fff; }
[data-theme="sage"] { --bg-color: #e3ece1; --text-color: #1d3120; --text-muted: #4a604c; --surface-color: #d7e3d3; --surface-hover: #cbdcc7; --border-color: #b7cbb4; --accent: #8c371b; --accent-ink: #fff; }
[data-theme="lavender"] { --bg-color: #eeeaf5; --text-color: #2e2440; --text-muted: #675a79; --surface-color: #e4ddee; --surface-hover: #d9cfe8; --border-color: #cec1dd; --accent: #7040a0; --accent-ink: #fff; }
[data-theme="peach"] { --bg-color: #f9e9df; --text-color: #3a2b23; --text-muted: #755c4d; --surface-color: #f0dbcd; --surface-hover: #eacfbf; --border-color: #dabca8; --accent: #963b20; --accent-ink: #fff; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { font-size: 1rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; padding: .8rem 1rem; background: var(--accent); color: var(--accent-ink); z-index: 20; }
.skip-link:focus { top: 1rem; }
.page-container { max-width: 1200px; padding: 0 3rem; }
.site-header { height: 104px; margin: 0; border-bottom: 1px solid var(--border-color); }
.brand-link { gap: .85rem; font-size: .875rem; height: auto; }
.brand-mark { font-family: var(--font-serif); font-weight: 600; font-size: 2.5rem; letter-spacing: -.12em; line-height: 1; padding-right: .18em; }
.brand-mark > span { color: var(--accent); }
.site-nav { gap: 2.5rem; height: auto; }
.nav-links { gap: 2rem; }
.nav-link { height: 44px; }
.nav-link.active::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 100%; height: 2px; background: var(--accent); }
.color-switcher { gap: 0; border-left: 1px solid var(--border-color); padding-left: 1rem; }
.color-dot { width: 28px; height: 40px; border: 0; background: transparent; border-radius: 3px; }
.color-dot::before { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; left: 9px; top: 15px; border: 1px solid #8888; }
.dot-black::before { background: #171914; }.dot-white::before { background: #fff; }.dot-sage::before { background: #b7d2af; }.dot-lavender::before { background: #d5c1e9; }.dot-peach::before { background: #efb697; }
.color-dot[aria-pressed], .color-dot:focus-visible, [data-theme] .color-dot { box-shadow: none; }
.color-dot[aria-pressed="true"]::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1px solid var(--text-muted); left: 6px; top: 12px; border-radius: 50%; }
.color-dot:focus-visible { outline: 2px solid var(--accent); }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; font-size: .75rem; font-weight: 400; letter-spacing: .09em; color: var(--text-muted); }
.intro { width: 100%; padding: 6.5rem 0 5.5rem; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 1rem; }
.intro-copy { position: relative; z-index: 1; }
.intro-eyebrow { margin-bottom: 2rem; font-size: .75rem; }
.intro-eyebrow span { opacity: .7; margin-left: .5rem; }
.intro h1 { font-family: var(--font-serif); font-size: clamp(3rem, 5.7vw, 4.8rem); font-weight: 400; line-height: 1.07; letter-spacing: -.045em; white-space: nowrap; }
em { font-weight: 400; }
.intro h1 em { color: var(--accent); }
.intro-description { max-width: 470px; color: var(--text-muted); font-size: 1rem; line-height: 1.9; margin: 1.6rem 0 2rem; }
.intro-description strong { color: var(--text-color); font-weight: 500; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.8rem; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.2rem; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: .875rem; font-weight: 600; transition: transform .2s, box-shadow .2s; min-height: 46px; }
.primary-link:hover { transform: translateY(-2px); box-shadow: 0 5px 25px color-mix(in srgb, var(--accent) 15%, transparent); }
.quiet-link { color: var(--text-color); text-decoration: underline; text-decoration-color: var(--border-color); text-underline-offset: 6px; font-size: .875rem; }
.quiet-link:hover { text-decoration-color: var(--accent); }
.systems-art { width: 100%; max-width: 400px; justify-self: end; color: var(--text-muted); }
.systems-art svg { width: 100%; display: block; overflow: visible; }
.art-label, .art-caption { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; }
.art-label { padding-left: 1.2rem; }.art-caption { display: flex; align-items: center; justify-content: space-between; padding: 0 1.2rem; }.art-plus { font-size: 1.25rem; color: var(--accent); }
.inner-cube { stroke: var(--accent); }
.diagram-core { animation: core-pulse 4s ease-in-out infinite; transform-origin: 200px 200px; }
@keyframes core-pulse { 50% { opacity: .4; transform: scale(.7); } }
.focus-strip { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; border-block: 1px solid var(--border-color); font-size: .8125rem; color: var(--text-muted); }
.focus-strip .eyebrow { font-size: .75rem; }
.section-title { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 400; line-height: 1.15; letter-spacing: -.035em; margin-top: .75rem; }
.selected-writing { max-width: none; padding: 0; margin: 5.5rem 0; }
.section-header-row { margin-bottom: 2rem; align-items: end; }
.section-more-link { color: var(--text-color); font-size: .875rem; }
.link-count { font-family: var(--font-mono); color: var(--text-muted); font-size: .75rem; padding: .2rem .4rem; border: 1px solid var(--border-color); border-radius: 3px; margin-left: .4rem; }
.selected-writing-list { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; border: 0; }
.selected-writing-item { border: 1px solid var(--border-color); border-radius: 5px; transition: border-color .2s, background .2s; min-width: 0; }
.selected-writing-item:hover { border-color: var(--accent); background: var(--surface-hover); }
.featured-essay { grid-row: span 2; background: var(--surface-color); }
.selected-writing-link { display: flex; flex-direction: column; align-items: stretch; padding: 1.5rem; gap: 1rem; height: 100%; }
.selected-writing-link:hover { transform: none; }
.essay-topline { display: flex; justify-content: space-between; align-items: center; }
.essay-topline .eyebrow { font-size: .75rem; }
.essay-symbol { font-size: 1.25rem; color: var(--text-muted); line-height: 1; }
.featured-essay .essay-symbol { color: var(--accent); font-size: 3.5rem; margin-bottom: 1.5rem; }
.selected-writing-title { font-size: 1.5rem; line-height: 1.2; margin-bottom: .6rem; }
.featured-essay .selected-writing-title { font-size: 2.25rem; max-width: 400px; }
.selected-writing-desc { font-size: .875rem; line-height: 1.7; -webkit-line-clamp: 2; }
.featured-essay .selected-writing-desc { -webkit-line-clamp: 3; }
.selected-writing-meta { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .6875rem; margin-top: auto; white-space: normal; }
.journey-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5rem; width: 100%; padding: 4rem 0 1rem; border-top: 1px solid var(--border-color); }
.journey-intro { align-self: start; position: sticky; top: 3rem; }
.journey-intro em { color: var(--text-muted); }
.journey-intro > p:not(.eyebrow) { color: var(--text-muted); font-size: .9375rem; line-height: 1.8; margin: 1.5rem 0; max-width: 300px; }
.timeline-section { max-width: none; padding: 0; margin: 0 0 3rem; }
.timeline-section > .timeline-eyebrow { display: none; }
.timeline-period { color: var(--accent); font-size: .75rem; margin-bottom: .5rem; }
.timeline-marker { background: var(--bg-color); border: 1px solid var(--text-muted); width: 7px; height: 7px; }
.timeline-item:first-child .timeline-marker { background: var(--accent); border-color: var(--accent); }
.timeline-title { font-size: 1.3rem; }
.timeline-meta { font-size: .75rem; flex-wrap: wrap; margin-top: .35rem; }
.timeline-desc { font-size: .875rem; line-height: 1.8; }
.timeline-desc-wrapper { margin-top: .75rem; }
.timeline-tag-book { color: var(--accent); }
.contact-note { width: 100%; border-block: 1px solid var(--border-color); text-align: center; padding: 4.5rem 0; }
.contact-note h2 { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; margin: 1.25rem 0 1.75rem; }
.contact-note h2 em { color: var(--accent); }
.footer { max-width: none; padding: 2rem 0; margin: 0; width: 100%; }
.copyright { font-size: .75rem; }.social-icon-link { width: 40px; height: 40px; }
/* Archives and essays share the homepage's typographic rhythm. */
.page-content { max-width: 920px; padding-top: 4.5rem; }
.speaker-hero { padding-bottom: 2rem; margin-bottom: 2rem; }
.page-title { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 400; letter-spacing: -.045em; }
.speaker-tagline { max-width: 650px; line-height: 1.85; }
.cta-pill { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); border-radius: 4px; padding: .75rem 1rem; }
.spotlight-card { border-radius: 5px; padding: 1.5rem; }
.spotlight-title { font-size: 1.65rem; }.badge-tag { color: var(--accent); }
.archive-header-controls { gap: 1.25rem; }
.filter-tabs { border-radius: 5px; padding: .3rem; }
.filter-tab { font-size: .875rem; padding: .5rem .75rem; min-height: 40px; }
.filter-tab.active { color: var(--accent); }
.search-wrapper { width: 100%; }.search-field { width: 100%; min-height: 46px; border-radius: 4px; font-size: .875rem; padding: .7rem 1rem; }
.appearance-item { padding-block: 1.25rem; border-bottom: 1px solid var(--border-color); border-radius: 0; }
.writing-item-title { font-size: 1.4rem; }.writing-tag-btn { font-size: .75rem; opacity: 1; min-height: 30px; }.item-desc { line-height: 1.75; }
.year-num { font-family: var(--font-mono); color: var(--accent); font-size: .875rem; }
.year-heading-sticky { padding-top: 1.5rem; }
.post-page { max-width: 900px; padding-top: 3rem; }
.post-article, .post-back-bar { max-width: 720px; }
.post-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; letter-spacing: -.035em; }
.prose { font-size: 1.125rem; line-height: 1.9; }.prose a { text-decoration-color: var(--accent); }.prose blockquote { border-color: var(--accent); }
.post-follow-strip, .post-feedback-card { border-radius: 5px; }
@media (min-width: 761px) { .selected-writing-item:not(.featured-essay) .selected-writing-desc { -webkit-line-clamp: 1; } }
@media (max-width: 1000px) {
  .page-container { padding-inline: 2rem; }.intro { padding-block: 5rem; }.intro h1 { font-size: clamp(3rem, 5.8vw, 4rem); }.brand-desktop { display: none; }.journey-layout { gap: 3rem; }
}
@media (max-width: 760px) {
  .page-container { padding-inline: 1.5rem; }.site-header { height: 84px; }.site-nav { gap: 1rem; }.nav-links { gap: 1.25rem; }.color-switcher { padding-left: .5rem; }.color-dot { width: 24px; }.color-dot::before { left: 7px; }.color-dot[aria-pressed="true"]::after { left: 4px; }
  .intro { padding: 3.5rem 0 2.5rem; grid-template-columns: 1fr; gap: 2rem; }.intro h1 { font-size: clamp(2.75rem, 8vw, 4.5rem); }.intro-eyebrow { margin-bottom: 1.5rem; }.intro-description { max-width: 520px; }.systems-art { max-width: 320px; justify-self: center; }.focus-strip { justify-content: flex-start; gap: .75rem 1.5rem; }.focus-strip .eyebrow { width: 100%; }
  .selected-writing { margin: 3.5rem 0; }.section-title { font-size: 2.25rem; }.selected-writing-list { grid-template-columns: 1fr; }.featured-essay { grid-row: auto; }.featured-essay .essay-symbol { margin-bottom: 0; font-size: 2.5rem; }.featured-essay .selected-writing-title { font-size: 1.8rem; max-width: none; }.selected-writing-link { gap: 1.25rem; }.selected-writing-meta { font-size: .75rem; }
  .journey-layout { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }.journey-intro { position: static; }.journey-intro > p:not(.eyebrow) { max-width: 440px; }.timeline-section { margin-bottom: 1rem; }.timeline-item { padding-bottom: 2.5rem; }.contact-note { padding-block: 3.5rem; }
  .page-content { padding-top: 3rem; }.speaker-hero { padding-bottom: 0; }.post-page { padding-top: 2rem; }.timeline-year-group { grid-template-columns: 55px 1fr; gap: .75rem; }.writing-meta-right { align-items: flex-start; }.appearance-item { flex-wrap: wrap; }.year-heading-sticky { padding-top: 1.25rem; }.post-title { font-size: 2.5rem; }
}
@media (max-width: 420px) {
  .page-container { padding-inline: 1.1rem; }.nav-links { gap: .9rem; }.site-nav { gap: .6rem; }.color-switcher { padding-left: .35rem; }.color-dot { width: 22px; }.color-dot::before { left: 6px; }.color-dot[aria-pressed="true"]::after { left: 3px; }.intro h1 { font-size: 10vw; }.intro-eyebrow { font-size: .75rem; }.intro-eyebrow span { margin-left: .2rem; }.intro-actions { gap: 1.25rem; }.section-header-row { flex-wrap: wrap; gap: 1rem; }.section-title { font-size: 2.1rem; }.footer { flex-wrap: wrap; gap: 1rem; }.timeline-year-group { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

main:focus { outline: none; }
@media (max-width: 420px) { .intro-eyebrow span { display: block; margin: .5rem 0 0; } }
