:root {
  --paper: #161815;
  --panel: #1e201d;
  --ink: #f7f6f1;
  --muted: #a7aaa4;
  --faint: #767972;
  --line: #41433f;
  --blue: #2f75ff;
  --blue-dark: #1f5bd1;
  --blue-soft: rgba(47,117,255,.18);
  --white: #f7f6f1;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Arial, Helvetica, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E"); }
.site-header, main, footer { width: min(calc(100% - 48px), 1440px); min-width: 0; margin-inline: auto; border-inline: 1px solid var(--line); }
.hero, .hero-copy, .current-entry { min-width: 0; }
button, a { color: inherit; }
button { font: inherit; }
a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.skip-link { position: fixed; top: 0; left: 0; z-index: 99; transform: translateY(-120%); padding: .75rem 1rem; background: var(--blue); color: white; font-family: var(--mono); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38% 25% 1fr;
  align-items: stretch;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
}
.site-header > * { display: flex; align-items: center; padding: 0 clamp(1.25rem, 4vw, 4.5rem); }
.brand { gap: .8rem; text-decoration: none; font: 700 .82rem/1 var(--mono); letter-spacing: .08em; }
.brand-mark { display: block; width: 28px; height: 28px; flex: 0 0 28px; }
.header-meta { border-inline: 1px solid var(--line); justify-content: space-between; gap: 1rem; font: .68rem/1.2 var(--mono); letter-spacing: .12em; color: var(--muted); }
.site-header nav { justify-content: flex-end; gap: clamp(1rem, 2vw, 2.5rem); }
.site-header nav a { text-decoration: none; font: 700 .7rem/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue); }

.hero { display: grid; grid-template-columns: 53% 47%; min-height: calc(100vh - 72px); border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 7vw, 7rem) 0; display: flex; flex-direction: column; }
.eyebrow { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); font: .72rem/1.2 var(--mono); letter-spacing: .1em; color: var(--muted); }
.eyebrow span:first-child { color: var(--blue); font-weight: 700; }
h1 { margin: 0; font-size: clamp(4.1rem, 7.35vw, 7.35rem); font-weight: 800; letter-spacing: -.085em; line-height: .72; text-transform: uppercase; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: clamp(1.3px, .12vw, 2px) var(--ink); }
.hero-lead { max-width: 650px; margin: 3rem 0 1.5rem; font-size: clamp(1.55rem, 2.4vw, 2.35rem); line-height: 1.08; letter-spacing: -.035em; }
.hero-intro { max-width: 620px; color: var(--muted); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin: 2rem 0 3.5rem; }
.button { border: 0; padding: 1.15rem 1.25rem; cursor: pointer; font: 700 .72rem/1 var(--mono); letter-spacing: .04em; text-decoration: none; }
.button-dark { background: var(--ink); color: var(--paper); min-width: 230px; display: flex; justify-content: space-between; }
.button-dark:hover, .button-dark:focus-visible { background: var(--blue); }
.text-link { font: 700 .7rem/1 var(--mono); text-decoration: none; }
.text-link:hover, .text-link:focus-visible { color: var(--blue); }
.hero-stats { margin: auto calc(clamp(1.5rem, 7vw, 7rem) * -1) 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-stats > div { padding: 1rem clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line); min-height: 92px; }
.hero-stats dt { font: .66rem/1 var(--mono); color: var(--muted); margin-bottom: .75rem; }
.hero-stats dd { margin: 0; font: 700 .66rem/1.35 var(--mono); }
.signal { display: inline-block; width: 7px; height: 7px; margin-right: .5rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }

.current-entry {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(2rem, 7vw, 7rem);
  background-color: var(--panel);
  background-image: linear-gradient(rgba(247,246,241,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(247,246,241,.055) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.current-entry::before, .current-entry::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); box-shadow: 0 0 14px rgba(0,0,0,.45); }
.current-entry::before { left: 9%; } .current-entry::after { right: 9%; }
.blueprint-labels { position: absolute; top: 1.5rem; left: 12%; right: 12%; display: flex; justify-content: space-between; font: .65rem/1 var(--mono); letter-spacing: .08em; }
.entry-module { position: relative; z-index: 1; min-height: 520px; padding: 1.2rem; background: linear-gradient(145deg, rgba(35,38,34,.97), rgba(19,21,18,.97)); border: 1px solid #5a5d56; box-shadow: 0 18px 45px rgba(0,0,0,.38), inset 0 0 0 8px rgba(255,255,255,.018); display: grid; grid-template-rows: auto 1fr auto; }
.module-head, .module-foot { display: flex; justify-content: space-between; font: 700 .68rem/1 var(--mono); letter-spacing: .08em; }
.module-head { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.module-foot { padding-top: 1rem; border-top: 1px solid var(--line); }
.entry-number { position: absolute; inset: 14% 0 auto; text-align: center; color: rgba(247,246,241,.045); font-size: clamp(9rem, 18vw, 16rem); font-weight: 800; line-height: 1; letter-spacing: -.12em; }
.orbit { position: absolute; width: 58%; aspect-ratio: 1; left: 21%; top: 22%; border: 1px dashed rgba(247,246,241,.22); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; border: 1px solid rgba(247,246,241,.1); border-radius: 50%; inset: 13%; }
.orbit::after { inset: 28%; }
.orbit i { position: absolute; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px var(--blue-soft); }
.orbit i:nth-child(1) { left: 7%; top: 30%; }.orbit i:nth-child(2) { right: 1%; top: 52%; }.orbit i:nth-child(3) { left: 48%; bottom: -4px; }
.entry-center { z-index: 2; align-self: center; text-align: center; max-width: 360px; margin: auto; }
.entry-center span { font: .65rem/1.2 var(--mono); color: var(--blue); }
.entry-center strong { display: block; margin-top: 1rem; font-size: clamp(1.45rem, 2.5vw, 2.4rem); line-height: 1.05; letter-spacing: -.04em; }
.entry-open { position: absolute; z-index: 3; bottom: 4rem; right: 1.2rem; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: .65rem .8rem; cursor: pointer; font: 700 .65rem/1 var(--mono); }
.entry-open:hover, .entry-open:focus-visible { background: var(--blue); border-color: var(--blue); color: white; }
.module-note { z-index: 1; display: flex; gap: .8rem; margin: 1.5rem 0 0; color: var(--muted); font-size: .85rem; }
.module-note span { color: var(--blue); font: 700 1rem/1 var(--mono); }

.topic-strip { min-height: 76px; padding: 0 clamp(1.5rem, 7vw, 7rem); display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); align-items: center; }
.topic-strip span { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.4rem; border-right: 1px solid var(--line); font: 700 .72rem/1 var(--mono); }
.topic-strip span:first-child { border-left: 1px solid var(--line); }.topic-strip b { color: var(--blue); }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 7rem); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 18% 52% 1fr; gap: 3rem; align-items: start; margin-bottom: 5rem; }
.section-heading > p:first-child, .section-index, .about-label { font: 700 .73rem/1 var(--mono); letter-spacing: .08em; }
.section-heading > p:first-child span, .section-index span, .about-label span { color: var(--blue); margin-right: 1rem; }
h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.7rem); line-height: .98; letter-spacing: -.06em; }
.section-deck { margin: 0; color: var(--muted); line-height: 1.7; }
.featured-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; border: 1px solid var(--ink); }
.post-card { min-height: 440px; padding: 1.5rem; display: flex; flex-direction: column; border-right: 1px solid var(--ink); }
.post-card:last-child { border-right: 0; }
.post-meta { display: flex; justify-content: space-between; gap: 1rem; font: .64rem/1 var(--mono); color: var(--muted); }
.post-meta span:first-child { color: var(--blue); font-weight: 700; }
.post-card h3 { max-width: 600px; margin: auto 0 1.5rem; font-size: clamp(1.8rem, 3vw, 3.3rem); line-height: 1; letter-spacing: -.045em; }
.post-card p { color: var(--muted); line-height: 1.65; }
.post-footer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid currentColor; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: .65rem/1.2 var(--mono); }
.post-footer a, .post-footer button, .archive-table button { border: 0; background: none; padding: 0; cursor: pointer; font: 700 .68rem/1 var(--mono); text-decoration: none; }
.post-footer a:hover, .post-footer a:focus-visible, .post-footer button:hover, .post-footer button:focus-visible { color: var(--blue); }
.post-card-main { background: var(--ink); color: var(--paper); }.post-card-main p, .post-card-main .post-meta { color: #5e615a; }
.post-card-main .post-meta span:first-child, .post-card-main .post-footer button:hover { color: #72a0ff; }
.post-card-blue { background: var(--blue); color: white; }.post-card-blue p, .post-card-blue .post-meta { color: rgba(255,255,255,.76); }.post-card-blue .post-meta span:first-child { color: white; }.post-card-blue .post-footer button:hover { color: var(--ink); }

.publication-feed { border: 1px solid var(--ink); }
.publication-feed:has(.post-card) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.publication-feed .post-card { border-bottom: 0; }
.publication-feed .post-card:nth-child(2n) { border-right: 0; }
.publication-empty { min-height: 390px; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, transparent 50%, var(--blue-soft)); }
.publication-empty > span { margin-bottom: auto; color: var(--blue); font: 700 .68rem/1 var(--mono); letter-spacing: .08em; }
.publication-empty h3 { max-width: 760px; margin: 3rem 0 1rem; font-size: clamp(2rem, 4vw, 4.4rem); line-height: .95; letter-spacing: -.05em; }
.publication-empty p { max-width: 580px; margin: 0; color: var(--muted); }
.publication-empty a { align-self: flex-start; margin-top: 2rem; font: 700 .7rem/1 var(--mono); text-decoration: none; }
.publication-empty a:hover, .publication-empty a:focus-visible { color: var(--blue); }

.field-notes { display: grid; grid-template-columns: 18% 31% 1fr; gap: 3rem; }
.notes-intro h2, .archive-head h2, .about-copy h2 { font-size: clamp(2.2rem, 4vw, 4.5rem); }
.notes-intro p, .archive-head p { color: var(--muted); line-height: 1.7; }
.notes-list { border-top: 1px solid var(--ink); }
.notes-list article { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.notes-list time, .notes-list span { font: .65rem/1.3 var(--mono); color: var(--muted); }.notes-list p { margin: 0; line-height: 1.45; }

.editorial-rules { border-top: 1px solid var(--ink); }
.editorial-rules article { display: grid; grid-template-columns: 54px 1fr; gap: 1.25rem; padding: 1.45rem 0; border-bottom: 1px solid var(--line); }
.editorial-rules article > span { color: var(--blue); font: 700 .68rem/1.2 var(--mono); }
.editorial-rules strong { font: 700 .72rem/1.2 var(--mono); letter-spacing: .08em; }
.editorial-rules p { margin: .55rem 0 0; color: var(--muted); line-height: 1.55; }

.archive { display: grid; grid-template-columns: 18% 31% 1fr; gap: 3rem; }
.archive-table { border-top: 1px solid var(--ink); }
.archive-table button { width: 100%; display: grid; grid-template-columns: 50px 1fr 110px 85px 20px; gap: 1rem; align-items: center; padding: 1.4rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.archive-table button:hover, .archive-table button:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
.archive-table span, .archive-table em, .archive-table time { font: normal .65rem/1.2 var(--mono); }.archive-table span { color: var(--blue); }.archive-table strong { font-size: .95rem; }
.archive-callout { border: 1px solid var(--ink); padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.archive-callout > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; font: 700 .68rem/1.2 var(--mono); }
.archive-callout strong { color: var(--blue); font-size: clamp(3rem, 6vw, 6rem); line-height: .8; letter-spacing: -.08em; }

.about { display: grid; grid-template-columns: 18% 44% 1fr; gap: 3rem; background: var(--ink); color: var(--paper); }
.about-copy p { font-size: 1.15rem; line-height: 1.7; color: #555851; }.about-copy a { color: var(--paper); }
.about-principles { border-top: 1px solid #a9aaa4; }.about-principles p { display: grid; grid-template-columns: 36px 110px 1fr; gap: .7rem; padding: 1.2rem 0; border-bottom: 1px solid #a9aaa4; margin: 0; color: #555851; font-size: .85rem; }.about-principles span { color: var(--blue-dark); font-family: var(--mono); }.about-principles strong { color: var(--paper); font-family: var(--mono); font-size: .72rem; }

footer { min-height: 340px; padding: 4rem clamp(1.5rem, 7vw, 7rem); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; background: var(--blue); color: white; }
footer > * { min-width: 0; }
.footer-brand { font-size: clamp(4rem, 10vw, 10rem); font-weight: 800; line-height: .62; letter-spacing: -.08em; }.footer-brand span { color: transparent; -webkit-text-stroke: 2px white; }
footer > p { align-self: start; font: 700 .7rem/1.4 var(--mono); }
footer > div:last-child { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.5); padding-top: 1rem; font: .7rem/1.2 var(--mono); } footer a { text-decoration: none; }

.article-dialog { width: min(980px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.32); }
.article-dialog::backdrop { background: rgba(15,17,16,.78); backdrop-filter: blur(3px); }
.dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: var(--ink); color: var(--paper); font: 700 .72rem/1 var(--mono); }
.dialog-bar button { border: 0; background: none; color: inherit; cursor: pointer; font: inherit; }.dialog-bar button:hover { color: #72a0ff; }
.article-header { padding: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.article-header > p { color: var(--blue); font: 700 .72rem/1.2 var(--mono); letter-spacing: .06em; }
.article-header h2 { max-width: 760px; margin: 2.5rem 0; }
.article-header > div { display: flex; gap: 2rem; font: .65rem/1 var(--mono); color: var(--muted); }
.article-body { max-width: 720px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem); font-size: 1.12rem; line-height: 1.8; }
.article-body .article-lede { font-size: 1.6rem; line-height: 1.4; letter-spacing: -.025em; color: var(--ink); }
.article-body h3 { margin: 3.5rem 0 1rem; font-size: 1.6rem; letter-spacing: -.03em; }.article-body p { color: #c0c2bc; }.article-body blockquote { margin: 3rem 0; padding: 2rem; border-left: 4px solid var(--blue); background: var(--panel); font-size: 1.4rem; line-height: 1.45; }
body.dialog-open { overflow: hidden; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }.header-meta { display: none; }.site-header > * { padding-inline: 1.5rem; }
  .hero { grid-template-columns: 1fr; }.hero-copy { min-height: 760px; }.current-entry { min-height: 720px; border-top: 1px solid var(--line); }.entry-module { width: min(620px, 100%); margin: auto; }
  .section-heading, .field-notes, .archive, .about { grid-template-columns: 1fr 2fr; }.section-heading .section-deck, .notes-list, .editorial-rules, .archive-table, .about-principles { grid-column: 2; }
  .featured-grid { grid-template-columns: 1fr 1fr; }.post-card-main { grid-column: 1 / -1; }.post-card { border-bottom: 1px solid var(--ink); }.post-card:nth-child(2) { border-bottom: 0; }
  .publication-feed:has(.post-card) { grid-template-columns: 1fr; }.publication-feed .post-card { border-right: 0; border-bottom: 1px solid var(--ink); }.publication-feed .post-card:last-child { border-bottom: 0; }
}

@media (max-width: 700px) {
  .site-header, main, footer { width: calc(100% - 24px); }
  .site-header { min-height: 64px; }.site-header nav a:not(:last-child) { display: none; }.site-header nav { gap: 0; }
  .hero-copy { min-height: 760px; padding-inline: 1.25rem; }.eyebrow { margin-bottom: 3.5rem; } h1 { width: 100%; max-width: 100%; font-size: clamp(3rem, 15.5vw, 5rem); }.hero-lead { font-size: 1.65rem; }.hero-actions { align-items: stretch; flex-direction: column; gap: 1.25rem; }.hero-stats { margin-inline: -1.25rem; grid-template-columns: 1fr; }.hero-stats > div { min-height: 76px; border-bottom: 1px solid var(--line); }
  .current-entry { padding-inline: 1.25rem; min-height: 620px; }.entry-module { min-height: 470px; }.entry-center strong { font-size: 1.55rem; }
  .topic-strip { grid-template-columns: 1fr 1fr; padding: 0; }.topic-strip span { border-bottom: 1px solid var(--line); border-left: 0 !important; }
  .section { padding-inline: 1.25rem; }.section-heading, .field-notes, .archive, .about { grid-template-columns: 1fr; gap: 2rem; }.section-heading .section-deck, .notes-list, .editorial-rules, .archive-table, .about-principles { grid-column: 1; }.section-heading { margin-bottom: 3rem; }
  .featured-grid { grid-template-columns: 1fr; }.post-card-main { grid-column: auto; }.post-card { min-height: 380px; border-right: 0; border-bottom: 1px solid var(--ink) !important; }.post-card:last-child { border-bottom: 0 !important; }
  .notes-list article { grid-template-columns: 72px 1fr; }.notes-list span { grid-column: 2; }
  .editorial-rules article { grid-template-columns: 40px 1fr; }
  .archive-table button { grid-template-columns: 36px 1fr 20px; }.archive-table em, .archive-table time { display: none; }
  .about-principles p { grid-template-columns: 32px 1fr; }.about-principles p > :last-child { grid-column: 2; }
  footer { min-height: 300px; grid-template-columns: 1fr; }.footer-brand { max-width: 100%; overflow: hidden; font-size: 17vw; } footer > p { margin: 0; } footer > div:last-child { flex-direction: column; gap: 1rem; }
  .article-header, .article-body { padding-inline: 1.5rem; }.article-header h2 { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
