* { box-sizing: border-box; }
html[data-theme="dark"] { --cp-text-muted: var(--cp-text-soft); }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--cp-bg); color: var(--cp-text); font-family: "Segoe UI", Aptos, Calibri, -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--cp-highlight); color: var(--cp-text); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--cp-accent); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--cp-accent); outline-offset: 5px; }
svg { display: block; max-width: 100%; }
button[hidden], [hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 10; padding: 8px 16px; background: var(--cp-surface); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--cp-border); }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-symbol { width: 40px; height: 44px; color: var(--cp-accent); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; font-weight: 650; font-size: 15px; letter-spacing: -.3px; }
.brand-copy small { font-size: 10px; color: var(--cp-text-muted); font-weight: 500; margin-top: 5px; letter-spacing: 2px; text-transform: uppercase; }
.navigation { display: flex; align-items: center; gap: 32px; }
.navigation > a { font-size: 14px; text-decoration: none; padding: 12px 0; color: var(--cp-text-muted); }
.navigation > a[aria-current="page"] { color: var(--cp-text); box-shadow: 0 2px 0 var(--cp-accent); }
.theme-toggle { border: 1px solid var(--cp-border); color: var(--cp-text); background: var(--cp-bg-elevated); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.theme-toggle svg { width: 18px; height: 18px; }
.eyebrow, .entry-label, .meta, .art-caption, .tag { font-family: Consolas, "Courier New", Courier, monospace; }
.eyebrow { display: block; font-size: 11px; line-height: 1.6; letter-spacing: 2px; text-transform: uppercase; color: var(--cp-text-muted); }
.eyebrow.accent { color: var(--cp-accent); }
.hero { padding: 84px 0 64px; display: grid; grid-template-columns: 1.12fr 1fr; gap: 52px; align-items: center; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(48px, 5.4vw, 76px); line-height: 1.03; letter-spacing: -4px; font-weight: 550; margin: 24px 0 28px; }
.hero h1 em { font-weight: 400; color: var(--cp-accent); font-style: normal; }
.hero-copy > p { max-width: 440px; font-size: 18px; line-height: 1.75; color: var(--cp-text-muted); margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 20px; background: var(--cp-accent); color: var(--cp-accent-fg); font-size: 14px; font-weight: 600; border-radius: 10px; text-decoration: none; }
.button:hover { background: var(--cp-accent-hover); color: var(--cp-accent-fg); }
.text-link { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.arrow { display: inline-block; font-size: 19px; font-weight: 400; transition: transform .2s; }
a:hover .arrow { transform: translateX(4px); }
.hero-figure { margin: 0; min-width: 0; position: relative; }
.perspective-art { aspect-ratio: 1.07; width: 100%; }
.art-paper { fill: var(--cp-bg-elevated); }
.art-soft { fill: var(--cp-accent-soft); }
.art-ink { fill: var(--cp-text); }
.art-accent { fill: var(--cp-accent); }
.art-muted { fill: var(--cp-text-soft); }
.art-stroke { fill: none; stroke: var(--cp-border-strong); stroke-width: 1; }
.art-line { fill: none; stroke: var(--cp-text-muted); stroke-width: 1.5; }
.art-rose-line { fill: none; stroke: var(--cp-accent); stroke-width: 1.5; }
.art-caption { font-size: 10px; color: var(--cp-text-muted); letter-spacing: 1px; display: flex; justify-content: space-between; padding: 16px 20px 0; text-transform: uppercase; }
.intro-line { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--cp-border); border-bottom: 1px solid var(--cp-border); padding: 18px 0; color: var(--cp-text-muted); font-size: 12px; }
.intro-line span:last-child { color: var(--cp-accent); }
.section { padding: 72px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; font-weight: 500; letter-spacing: -1.5px; margin: 10px 0 0; }
.featured { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--cp-border); border-radius: 16px; overflow: hidden; background: var(--cp-bg-elevated); }
.featured-art { background: var(--cp-surface-soft); display: grid; place-items: center; padding: 24px 44px; }
.featured-art .entry-art { width: 100%; height: 270px; }
.featured-copy { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; align-items: start; }
.entry-label { color: var(--cp-accent); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.featured h3 { font-size: 36px; line-height: 1.16; font-weight: 500; letter-spacing: -1.2px; margin: 16px 0; }
.featured-copy p { color: var(--cp-text-muted); font-size: 16px; max-width: 400px; margin-bottom: 24px; }
.meta { font-size: 11px; line-height: 1.8; color: var(--cp-text-muted); }
.featured .meta { margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 28px; }
.entry-card { border: 1px solid var(--cp-border); border-radius: 16px; padding: 24px; background: var(--cp-bg-elevated); display: flex; flex-direction: column; align-items: start; transition: border-color .2s, transform .2s; }
.entry-card:hover { border-color: var(--cp-border-strong); transform: translateY(-3px); }
.card-art { width: 100%; height: 128px; margin: 12px 0 24px; }
.entry-card h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.6px; font-weight: 550; margin: 12px 0; }
.entry-card h3 a { text-decoration: none; }
.entry-card p { color: var(--cp-text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.card-bottom { width: 100%; margin-top: auto; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.card-bottom a { text-decoration: none; }
.about { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; padding: 64px 0 80px; border-top: 1px solid var(--cp-border); }
.about h2 { font-size: 35px; }
.about p { font-size: 17px; color: var(--cp-text-muted); max-width: 660px; line-height: 1.85; }
.about .author-name { color: var(--cp-text); font-weight: 600; }
.about-links { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.site-footer { padding: 28px 0 36px; border-top: 1px solid var(--cp-border); display: flex; gap: 32px; justify-content: space-between; align-items: start; }
.footer-title { font-size: 18px; font-weight: 500; letter-spacing: -.6px; }
.site-footer p { font-size: 11px; color: var(--cp-text-muted); margin: 8px 0 0; }
.transport { max-width: 390px; text-align: right; }
.transport summary { cursor: pointer; color: var(--cp-text-muted); font-size: 11px; padding: 4px; }
.transport p { line-height: 1.8; }
.index-header { padding: 72px 0 44px; max-width: 760px; }
.index-header h1 { font-size: 64px; }
.index-header p { color: var(--cp-text-muted); font-size: 18px; max-width: 600px; }
.index-tools { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 4px 0 24px; padding: 20px 0; border-top: 1px solid var(--cp-border); border-bottom: 1px solid var(--cp-border); }
.index-tools .meta { margin: 0; }
.search-control { position: relative; width: min(320px, 100%); }
.search-control input { border: 1px solid var(--cp-border-strong); border-radius: 10px; background: var(--cp-bg-elevated); color: var(--cp-text); padding: 10px 14px; width: 100%; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.entry-list { padding-bottom: 80px; }
.entry-row { display: grid; grid-template-columns: 68px 1fr 180px 32px; gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--cp-border); text-decoration: none; }
.entry-row:hover h2 { color: var(--cp-accent); }
.row-number { font-size: 38px; font-weight: 300; letter-spacing: -2px; color: var(--cp-text-soft); }
.entry-row .eyebrow { font-size: 10px; color: var(--cp-accent); }
.entry-row h2 { font-size: 28px; letter-spacing: -.7px; margin: 8px 0 12px; }
.entry-row p { font-size: 15px; color: var(--cp-text-muted); margin-bottom: 8px; max-width: 630px; }
.entry-row .entry-art { width: 180px; height: 132px; background: var(--cp-bg-elevated); border-radius: 12px; }
.empty { padding: 40px 0; }
.breadcrumb { margin: 36px 0; color: var(--cp-text-muted); font-size: 13px; }
.breadcrumb a { text-decoration: none; }
.article-heading { display: grid; grid-template-columns: 1fr 260px; align-items: center; gap: 52px; padding-bottom: 44px; border-bottom: 1px solid var(--cp-border); }
.article-heading h1 { max-width: 850px; font-size: clamp(44px, 5vw, 66px); letter-spacing: -2.8px; margin: 20px 0; }
.article-heading .entry-art { width: 260px; height: 210px; }
.article-heading p { color: var(--cp-text-muted); font-size: 18px; max-width: 650px; }
.article-layout { display: grid; grid-template-columns: 200px minmax(0,720px); gap: 72px; padding: 48px 0 80px; }
.article-sidebar { align-self: start; position: sticky; top: 28px; }
.article-sidebar p { font-size: 12px; color: var(--cp-text-muted); margin: 12px 0 24px; }
.article-sidebar nav { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.article-sidebar nav a { font-size: 12px; text-decoration: none; line-height: 1.5; color: var(--cp-text-muted); display: flex; gap: 12px; }
.article-sidebar nav a[aria-current="page"] { color: var(--cp-accent); }
.article-sidebar nav span { font-family: Consolas, "Courier New", monospace; min-width: 22px; }
.article-body { min-width: 0; }
.article-body p { font-size: 18px; line-height: 1.9; margin: 0 0 28px; overflow-wrap: anywhere; }
.article-body .hashtag { color: var(--cp-accent); }
.article-body .original-heading { color: var(--cp-text-muted); font-size: 13px; border-left: 2px solid var(--cp-border); padding-left: 16px; margin-bottom: 32px; }
.article-body blockquote { border-left: 3px solid var(--cp-accent); margin: 36px 0; padding: 4px 0 4px 28px; }
.article-body blockquote p { font-size: 22px; line-height: 1.6; margin: 0; letter-spacing: -.3px; }
.source-note { margin-top: 48px; padding: 24px; border-radius: 12px; background: var(--cp-bg-elevated); border: 1px solid var(--cp-border); }
.source-note p { font-size: 13px; line-height: 1.8; margin-bottom: 12px; color: var(--cp-text-muted); }
.next-entries { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.next-entries a { text-decoration: none; padding: 20px 0; border-top: 1px solid var(--cp-border); font-size: 16px; }
.next-entries a:last-child { text-align: right; }
.next-entries .eyebrow { margin-bottom: 10px; font-size: 10px; }
.reading-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--cp-accent); z-index: 20; }
.preview-notice { background: var(--cp-accent-soft); color: var(--cp-text); text-align: center; padding: 8px 16px; font-size: 12px; }
.not-found { padding: 100px 0 160px; max-width: 720px; }
@media (min-width: 1500px) { .hero { gap: 80px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 20px; padding-top: 64px; }
  .hero h1 { font-size: 57px; letter-spacing: -3px; }
  .featured-copy { padding: 32px; }
  .featured h3 { font-size: 30px; }
  .cards { gap: 16px; }
  .entry-card { padding: 20px; }
  .article-layout { grid-template-columns: 160px minmax(0,1fr); gap: 36px; }
  .article-heading { grid-template-columns: 1fr 180px; gap: 24px; }
  .article-heading .entry-art { width: 180px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 100px; gap: 12px; flex-wrap: wrap; padding: 20px 0; }
  .brand-symbol { width: 32px; }
  .brand-copy { font-size: 13px; }
  .brand-copy small { font-size: 8px; letter-spacing: 1.5px; }
  .navigation { gap: 18px; }
  .navigation > a { font-size: 13px; }
  .navigation .about-nav { display: none; }
  .theme-toggle { width: 34px; height: 34px; }
  .hero { grid-template-columns: 1fr; padding: 48px 0 32px; gap: 36px; }
  .hero h1 { font-size: clamp(47px,11vw,70px); letter-spacing: -2.8px; margin-top: 20px; }
  .hero-copy > p { font-size: 17px; max-width: 100%; }
  .hero-figure { max-width: 440px; width: 100%; justify-self: center; }
  .perspective-art { max-height: 340px; }
  .intro-line { font-size: 11px; gap: 16px; }
  .intro-line span:nth-child(2) { display: none; }
  .section { padding: 48px 0; }
  .section-heading { align-items: start; }
  .section-heading .text-link { font-size: 12px; gap: 4px; white-space: nowrap; margin-top: 32px; }
  .featured { grid-template-columns: 1fr; }
  .featured-art { padding: 20px; }
  .featured-art .entry-art { height: 200px; }
  .featured-copy { padding: 28px; }
  .featured h3 { font-size: 32px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .entry-card { padding: 24px; }
  .card-art { height: 160px; }
  .about { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .about p { font-size: 16px; }
  .site-footer { flex-direction: column; gap: 16px; }
  .transport { text-align: left; }
  .index-header { padding: 48px 0 24px; }
  .index-header h1 { font-size: 48px; letter-spacing: -2px; }
  .index-tools { align-items: stretch; flex-direction: column; gap: 16px; }
  .search-control { width: 100%; }
  .entry-row { grid-template-columns: 40px 1fr 20px; gap: 16px; padding: 28px 0; }
  .entry-row > .entry-art { display: none; }
  .row-number { font-size: 29px; }
  .entry-row h2 { font-size: 25px; }
  .entry-row p { font-size: 14px; }
  .article-heading { grid-template-columns: 1fr; gap: 0; padding-bottom: 32px; }
  .article-heading > .entry-art { display: none; }
  .article-heading h1 { font-size: 44px; letter-spacing: -2px; }
  .article-layout { display: block; padding: 32px 0 56px; }
  .article-sidebar { position: static; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--cp-border); }
  .article-sidebar nav { display: none; }
  .article-sidebar p { margin: 8px 0 12px; }
  .article-body p { font-size: 17px; line-height: 1.9; }
  .next-entries { gap: 20px; }
}
@media (max-width: 370px) {
  .brand-copy small { display: none; }
  .brand-symbol { width: 26px; }
  .navigation { gap: 12px; }
  .hero h1 { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .article-sidebar, .site-footer, .next-entries, .reading-progress, .preview-notice { display: none; }
  .wrap { width: 100%; }
  .article-layout { display: block; }
  .article-heading { display: block; }
  .article-heading .entry-art { display: none; }
  .article-body p { font-size: 12pt; }
}
