:root {
  --bg: #090a09;
  --bg-soft: #0f100f;
  --panel: #131512;
  --text: #f1f0e9;
  --muted: #8e9189;
  --dim: #5b5e58;
  --line: rgba(241, 240, 233, 0.16);
  --line-strong: rgba(241, 240, 233, 0.38);
  --accent: #b6ff58;
  --accent-dark: #151d0c;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-pad: clamp(20px, 2.65vw, 44px);
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 6%, rgba(182, 255, 88, 0.035), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.overlay-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #080908;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
blockquote,
dl,
dd {
  margin-top: 0;
}

.mono,
kbd {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--accent);
  color: #080908;
  font: 12px var(--mono);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  z-index: 150;
  inset: 0;
  pointer-events: none;
  opacity: 0.032;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
}

.site-mark {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
  font: 11px var(--mono);
  letter-spacing: -0.03em;
}

.site-mark span:first-child,
.site-mark span:last-child {
  color: var(--dim);
  transition: color 200ms ease;
}

.site-mark:hover span:first-child,
.site-mark:hover span:last-child {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 28px;
  font-family: var(--serif);
  font-size: 16px;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.key-button,
.inline-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: 11px var(--mono);
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.key-button:hover,
.inline-search:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.095);
}

.key-button--menu {
  display: none;
}

main {
  min-height: 60vh;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: calc(100svh - var(--header-h));
  padding: 24px var(--page-pad) 36px;
  overflow: hidden;
}

.home-hero::before {
  position: absolute;
  top: 43%;
  right: var(--page-pad);
  left: var(--page-pad);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  transform: scaleX(0);
  animation: line-in 1.4s 480ms var(--ease) forwards;
}

.hero-coordinate {
  grid-column: 1 / span 2;
  align-self: start;
  color: var(--muted);
  line-height: 1.65;
}

.hero-number {
  grid-column: 10 / -1;
  justify-self: end;
  color: var(--muted);
}

.home-hero h1 {
  position: absolute;
  top: 43%;
  left: 50%;
  display: flex;
  align-items: baseline;
  margin: 0;
  transform: translate(-50%, -54%);
  font-family: var(--serif);
  font-size: clamp(78px, 13.3vw, 214px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.home-hero h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(35px);
  animation: title-in 1.05s 120ms var(--ease) forwards;
}

.home-hero h1 span:nth-child(2) {
  animation-delay: 210ms;
}

.home-hero h1 span:nth-child(3) {
  animation-delay: 300ms;
}

.home-hero .hero-slash {
  margin: 0 0.04em;
  color: var(--accent);
  font-size: 0.72em;
}

.hero-intro {
  grid-column: 1 / span 4;
  align-self: end;
  max-width: 415px;
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero-status {
  display: flex;
  grid-column: 7 / span 2;
  align-items: center;
  align-self: end;
  gap: 8px;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(182, 255, 88, 0.08);
  animation: pulse 2.4s infinite;
}

.hero-scroll {
  display: flex;
  grid-column: 11 / -1;
  justify-content: space-between;
  align-items: center;
  align-self: end;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: color 180ms ease, border-color 180ms ease;
}

.hero-scroll:hover {
  border-color: var(--accent);
  color: var(--text);
}

.section-label {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.section-label span:first-child {
  color: var(--accent);
}

.featured-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 20px;
  padding: 120px var(--page-pad) 150px;
  border-top: 1px solid var(--line);
}

.featured-section .section-label {
  grid-column: 1 / span 4;
  margin-bottom: 38px;
}

.featured-visual {
  position: relative;
  grid-column: 1 / span 6;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(182, 255, 88, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 88, 0.028) 1px, transparent 1px),
    #0d0f0c;
  background-size: 42px 42px;
}

.featured-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(0, 0, 0, 0.28) 78%);
  pointer-events: none;
}

.signal-graphic {
  position: absolute;
  inset: 8%;
  transition: transform 800ms var(--ease);
}

.featured-visual:hover .signal-graphic {
  transform: scale(1.025) rotate(0.6deg);
}

.signal-axis {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.signal-axis--x {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.signal-axis--y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--line-strong), transparent);
}

.signal-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.55;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 90px rgba(182, 255, 88, 0.06) inset;
}

.signal-orbit::before,
.signal-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
}

.signal-orbit::before {
  inset: 12%;
}

.signal-orbit::after {
  inset: -18%;
}

.signal-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: var(--accent);
  font: 24px var(--mono);
  transform: translate(-50%, -50%);
}

.signal-data {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--muted);
  line-height: 1.55;
}

.featured-copy {
  display: flex;
  grid-column: 8 / span 5;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4px;
}

.featured-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.featured-copy h2 {
  margin: 28px 0 20px;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.featured-copy h2 a {
  transition: color 180ms ease;
}

.featured-copy h2 a:hover {
  color: var(--accent);
}

.featured-copy > p {
  max-width: 520px;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 34px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--line-strong);
  font: 11px var(--mono);
  text-transform: uppercase;
  transition: gap 250ms var(--ease), border-color 180ms ease;
}

.text-link:hover {
  gap: 44px;
  border-color: var(--accent);
}

.archive-section {
  padding: 28px var(--page-pad) 140px;
  border-top: 1px solid var(--line);
}

.archive-section .section-label {
  margin-bottom: 88px;
}

.archive-head,
.post-row {
  display: grid;
  grid-template-columns: 2fr 7fr 2fr 1fr;
  gap: 18px;
}

.archive-head {
  padding: 0 0 10px;
  color: var(--dim);
}

.post-row {
  position: relative;
  align-items: baseline;
  padding: 21px 0 22px;
  border-top: 1px solid var(--line);
  transition: padding 350ms var(--ease), color 180ms ease;
}

.post-row::before {
  position: absolute;
  inset: 0 calc(var(--page-pad) * -1);
  z-index: -1;
  content: "";
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 310ms var(--ease);
}

.post-row:hover {
  padding-right: 10px;
  padding-left: 10px;
  color: #090a09;
}

.post-row:hover::before {
  transform: scaleY(1);
}

.post-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.post-row time,
.post-category {
  color: var(--muted);
}

.post-row:hover time,
.post-row:hover .post-category {
  color: rgba(9, 10, 9, 0.62);
}

.row-arrow {
  justify-self: end;
  font-size: 19px;
  transition: transform 250ms var(--ease);
}

.post-row:hover .row-arrow {
  transform: translate(4px, -4px);
}

.archive-more {
  margin-top: 48px;
}

.home-note {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 120px var(--page-pad) 180px;
  border-top: 1px solid var(--line);
}

.home-note > p {
  grid-column: 1 / span 2;
  color: var(--muted);
}

.home-note blockquote {
  grid-column: 4 / span 8;
  max-width: 1100px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 200px;
  padding: 32px var(--page-pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 11px var(--mono);
  text-transform: uppercase;
}

.site-footer p {
  justify-self: start;
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--accent);
}

.overlay {
  position: fixed;
  z-index: 140;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  padding: 0 var(--page-pad) 38px;
  background: rgba(9, 10, 9, 0.985);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 260ms ease, transform 450ms var(--ease), visibility 0s 450ms;
}

.overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.overlay-bar {
  display: flex;
  flex: 0 0 var(--header-h);
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 11px var(--mono);
  text-transform: uppercase;
}

.menu-links {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
}

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 9px 0;
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  transition: color 180ms ease, transform 350ms var(--ease);
}

.menu-links a span {
  min-width: 24px;
  color: var(--dim);
  font: 10px var(--mono);
  letter-spacing: 0;
}

.menu-links a:hover {
  color: var(--accent);
  transform: translateX(12px);
}

.menu-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--muted);
  font-size: 14px;
}

.menu-meta p {
  margin: 0;
}

.search-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: clamp(40px, 8vw, 110px) 0 24px;
  border-bottom: 1px solid var(--line-strong);
}

.search-prefix {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 100px);
}

.search-shell input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  caret-color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 100px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.search-shell input::placeholder {
  color: var(--dim);
  opacity: 1;
}

.search-count {
  align-self: end;
  padding-bottom: 13px;
  color: var(--muted);
  font: 11px var(--mono);
  text-transform: uppercase;
}

.search-results {
  overflow: auto;
  padding-top: 24px;
}

.search-result {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding 250ms var(--ease);
}

.search-result time {
  color: var(--muted);
  font: 11px var(--mono);
}

.search-result span:nth-child(2) {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1;
}

.search-result:hover {
  padding-right: 8px;
  padding-left: 8px;
  color: var(--accent);
}

.search-empty {
  margin-top: 36px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 24px;
}

.page-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: 68svh;
  padding: 70px var(--page-pad) 82px;
  border-bottom: 1px solid var(--line);
}

.page-index {
  grid-column: 1 / span 3;
  color: var(--muted);
}

.page-intro h1 {
  grid-column: 4 / -1;
  align-self: center;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(62px, 8.7vw, 138px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.page-lead {
  grid-column: 9 / -1;
  align-self: end;
  max-width: 440px;
  margin: 50px 0 0;
  color: var(--muted);
}

.writing-archive {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding: 95px var(--page-pad) 150px;
}

.archive-sidebar {
  position: sticky;
  top: 28px;
  grid-column: 1 / span 3;
  height: fit-content;
  color: var(--muted);
  line-height: 1.5;
}

.archive-sidebar .inline-search {
  margin-top: 34px;
}

.writing-list {
  grid-column: 4 / -1;
}

.writing-item {
  display: grid;
  grid-template-columns: 2fr 7fr;
  gap: 22px;
  padding: 22px 0 68px;
  border-top: 1px solid var(--line);
}

.writing-item-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
}

.writing-item h2,
.writing-item > p,
.writing-item-foot {
  grid-column: 2;
}

.writing-item h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.7vw, 88px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.writing-item h2 a {
  transition: color 180ms ease;
}

.writing-item h2 a:hover {
  color: var(--accent);
}

.writing-item > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
}

.writing-item-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 45px;
  color: var(--muted);
}

.writing-item-foot a:hover {
  color: var(--accent);
}

.about-intro {
  min-height: 72svh;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding: 120px var(--page-pad) 160px;
}

.about-sigil {
  position: relative;
  grid-column: 1 / span 5;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0e0d;
}

.about-sigil > span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--serif);
  font-size: clamp(140px, 22vw, 340px);
  line-height: 1;
  transform: translate(-50%, -52%);
}

.sigil-cross::before,
.sigil-cross::after {
  position: absolute;
  content: "";
  background: var(--accent);
  opacity: 0.65;
}

.sigil-cross::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.sigil-cross::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.about-copy {
  grid-column: 7 / span 4;
}

.about-copy p {
  color: var(--muted);
}

.about-copy .about-large {
  margin-bottom: 40px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.about-contact {
  margin-top: 64px;
  line-height: 2;
}

.about-contact a:hover {
  color: var(--accent);
}

.about-facts {
  grid-column: 12 / -1;
}

.about-facts dl {
  margin: 0;
}

.about-facts dl > div {
  margin-bottom: 25px;
}

.about-facts dt {
  margin-bottom: 4px;
  color: var(--dim);
}

.about-facts dd {
  white-space: nowrap;
}

.post-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: 76svh;
  padding: 48px var(--page-pad) 75px;
  border-bottom: 1px solid var(--line);
}

.post-back {
  grid-column: 1 / span 3;
  width: fit-content;
  color: var(--muted);
}

.post-back:hover {
  color: var(--accent);
}

.post-kicker {
  display: flex;
  grid-column: 10 / -1;
  justify-content: space-between;
  color: var(--muted);
}

.post-hero h1 {
  grid-column: 2 / span 10;
  align-self: center;
  margin: 65px 0 35px;
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 158px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.072em;
  text-wrap: balance;
}

.post-deck {
  grid-column: 7 / span 5;
  align-self: end;
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
}

.post-byline {
  display: flex;
  grid-column: 2 / span 3;
  align-self: end;
  justify-content: space-between;
  color: var(--muted);
}

.post-progress {
  position: sticky;
  z-index: 80;
  top: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}

.post-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.post-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding: 115px var(--page-pad) 160px;
}

.post-aside {
  position: sticky;
  top: 40px;
  grid-column: 1 / span 2;
  height: fit-content;
  color: var(--muted);
}

.tag-list {
  padding: 0;
  margin: 45px 0 0;
  list-style: none;
  line-height: 1.8;
}

.post-content {
  grid-column: 4 / span 6;
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.post-content > :first-child {
  margin-top: 0;
  font-size: 1.24em;
  line-height: 1.42;
}

.post-content p {
  margin-bottom: 1.45em;
}

.post-content h2 {
  margin: 2.1em 0 0.65em;
  font-size: clamp(37px, 4vw, 62px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.post-content h3 {
  margin: 2em 0 0.6em;
  font-size: 1.45em;
  font-weight: 400;
  line-height: 1.08;
}

.post-content a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.post-content a:hover {
  color: var(--accent);
}

.post-content blockquote {
  margin: 2.2em 0;
  padding: 0 0 0 25px;
  border-left: 1px solid var(--accent);
  color: var(--muted);
  font-size: 1.28em;
  line-height: 1.35;
}

.post-content ul,
.post-content ol {
  padding-left: 1.2em;
  margin-bottom: 1.6em;
}

.post-content li {
  padding-left: 0.25em;
  margin-bottom: 0.45em;
}

.post-content code {
  padding: 0.12em 0.3em;
  background: var(--panel);
  color: var(--accent);
  font: 0.78em var(--mono);
}

.post-content pre {
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.post-content pre code {
  padding: 0;
  background: transparent;
}

.post-side-note {
  grid-column: 11 / -1;
  align-self: start;
  color: var(--muted);
  line-height: 1.55;
}

.side-index {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
}

.post-next {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 20px;
  align-items: start;
  padding: 80px var(--page-pad) 120px;
  border-top: 1px solid var(--line);
}

.post-next > span {
  color: var(--muted);
}

.post-next a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  transition: color 180ms ease;
}

.post-next a:hover {
  color: var(--accent);
}

.error-page {
  display: flex;
  min-height: calc(100svh - var(--header-h));
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--page-pad);
}

.error-page > .mono {
  color: var(--accent);
}

.error-page h1 {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: clamp(70px, 12vw, 180px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.error-page > p:not(.mono) {
  max-width: 450px;
  color: var(--muted);
}

.error-page .text-link {
  margin-top: 35px;
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 850ms ease, transform 850ms var(--ease);
}

.has-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes title-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes line-in {
  to { transform: scaleX(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

@media (max-width: 980px) {
  :root {
    --header-h: 66px;
  }

  .desktop-nav,
  .header-actions .key-button:first-child {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
  }

  .key-button--menu {
    display: inline-flex;
  }

  .home-hero h1 {
    white-space: normal;
  }

  .hero-intro {
    grid-column: 1 / span 6;
  }

  .hero-status {
    grid-column: 8 / span 2;
  }

  .hero-scroll {
    grid-column: 10 / -1;
  }

  .featured-visual {
    grid-column: 1 / span 7;
  }

  .featured-copy {
    grid-column: 8 / -1;
  }

  .featured-copy h2 {
    font-size: clamp(40px, 5.7vw, 64px);
  }

  .about-sigil {
    grid-column: 1 / span 5;
  }

  .about-copy {
    grid-column: 7 / -1;
  }

  .about-facts {
    display: none;
  }

  .post-content {
    grid-column: 4 / span 8;
  }

  .post-side-note {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --page-pad: 18px;
  }

  .page-noise {
    opacity: 0.02;
  }

  .home-hero {
    min-height: calc(100svh - var(--header-h));
    padding-top: 12px;
    padding-bottom: 22px;
  }

  .home-hero::before {
    top: 38%;
  }

  .hero-coordinate {
    grid-column: 1 / span 5;
  }

  .hero-number {
    grid-column: 7 / -1;
  }

  .home-hero h1 {
    top: 38%;
    left: var(--page-pad);
    display: block;
    transform: translateY(-46%);
    font-size: clamp(78px, 27vw, 125px);
    line-height: 0.72;
    white-space: normal;
  }

  .home-hero h1 span {
    display: block;
  }

  .home-hero .hero-slash {
    position: absolute;
    right: -0.22em;
    bottom: -0.05em;
  }

  .hero-intro {
    grid-column: 1 / span 9;
    font-size: 21px;
  }

  .hero-status {
    display: none;
  }

  .hero-scroll {
    grid-column: 10 / -1;
    justify-content: flex-end;
    border: 0;
    font-size: 0;
  }

  .hero-scroll span {
    font-size: 22px;
  }

  .featured-section {
    display: block;
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .featured-section .section-label {
    margin-bottom: 28px;
  }

  .featured-visual {
    display: block;
    aspect-ratio: 1 / 0.86;
    margin-bottom: 34px;
  }

  .featured-copy h2 {
    margin-top: 22px;
    font-size: 47px;
  }

  .featured-copy > p {
    margin-bottom: 32px;
  }

  .archive-section {
    padding-bottom: 90px;
  }

  .archive-section .section-label {
    margin-bottom: 58px;
  }

  .archive-head {
    display: none;
  }

  .post-row {
    grid-template-columns: 1fr auto;
    gap: 9px 12px;
    padding: 17px 0 18px;
  }

  .post-row time {
    grid-column: 1;
    grid-row: 1;
  }

  .post-row h3 {
    grid-column: 1;
    grid-row: 2;
    font-size: 30px;
    line-height: 0.98;
  }

  .post-category {
    display: none;
  }

  .row-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .post-row::before {
    display: none;
  }

  .post-row:hover {
    padding-right: 0;
    padding-left: 0;
    color: var(--accent);
  }

  .post-row:hover time {
    color: var(--muted);
  }

  .home-note {
    display: block;
    padding-top: 85px;
    padding-bottom: 110px;
  }

  .home-note blockquote {
    margin-top: 65px;
    font-size: 47px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 180px;
  }

  .site-footer > p {
    display: none;
  }

  .footer-links a:not(:last-child) {
    display: none;
  }

  .menu-links a {
    gap: 18px;
    font-size: clamp(52px, 17vw, 82px);
  }

  .menu-meta p:first-child {
    display: none;
  }

  .menu-meta {
    justify-content: flex-end;
  }

  .search-shell {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding-top: 55px;
  }

  .search-prefix,
  .search-shell input {
    font-size: 43px;
  }

  .search-count {
    grid-column: 2;
    padding: 0;
  }

  .search-result {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .search-result time {
    grid-column: 1;
  }

  .search-result span:nth-child(2) {
    grid-column: 1;
    font-size: 28px;
  }

  .search-result .search-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .page-intro {
    display: block;
    min-height: 65svh;
    padding-top: 35px;
    padding-bottom: 55px;
  }

  .page-intro h1 {
    margin-top: 100px;
    font-size: clamp(55px, 17.5vw, 82px);
  }

  .page-lead {
    margin-top: 55px;
  }

  .writing-archive {
    display: block;
    padding-top: 65px;
    padding-bottom: 90px;
  }

  .archive-sidebar {
    position: static;
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
  }

  .archive-sidebar p:nth-child(2),
  .archive-sidebar .inline-search {
    display: none;
  }

  .writing-item {
    display: block;
    padding-bottom: 52px;
  }

  .writing-item-meta {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 28px;
  }

  .writing-item h2 {
    font-size: 47px;
  }

  .writing-item-foot {
    margin-top: 36px;
  }

  .about-intro h1 {
    font-size: clamp(50px, 16vw, 76px);
  }

  .about-grid {
    display: block;
    padding-top: 65px;
    padding-bottom: 100px;
  }

  .about-sigil {
    margin-bottom: 55px;
  }

  .post-hero {
    display: block;
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 48px;
  }

  .post-kicker {
    margin-top: 70px;
  }

  .post-hero h1 {
    margin: 28px 0 42px;
    font-size: clamp(56px, 18vw, 86px);
  }

  .post-deck {
    margin-bottom: 58px;
    font-size: 21px;
  }

  .post-byline {
    gap: 30px;
    justify-content: flex-start;
  }

  .post-layout {
    display: block;
    padding-top: 65px;
    padding-bottom: 90px;
  }

  .post-aside,
  .post-side-note {
    display: none;
  }

  .post-content {
    font-size: 19px;
    line-height: 1.55;
  }

  .post-content h2 {
    font-size: 42px;
  }

  .post-next {
    display: block;
    padding-top: 58px;
    padding-bottom: 80px;
  }

  .post-next > span {
    display: block;
    margin-bottom: 40px;
  }

  .post-next a {
    font-size: 42px;
  }

  .error-page h1 {
    font-size: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
