:root {
  color-scheme: dark;
  --ink: #12110f;
  --ink-2: #181714;
  --panel: #1e1d19;
  --panel-hi: #25231f;
  --line: #393732;
  --line-hi: #555149;
  --paper: #e8e2d7;
  --copy: #bbb5aa;
  --dim: #77736b;
  --yellow: #ffbd2e;
  --orange: #f47721;
  --red: #d94727;
  --blue: #7299b8;
  --mint: #83a98c;
  --unit: 5px;
  --max: 1440px;
  --sans: "DM Sans", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -1; content: ""; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px); background-size: 20px 20px; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: var(--ink); background: var(--yellow); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; padding: 10px; background: var(--paper); color: var(--ink); font: 12px var(--mono); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.topbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; min-height: 64px; max-width: var(--max); margin: auto; border: 1px solid var(--line); border-top: 0; background: rgba(18,17,15,.94); backdrop-filter: blur(12px); }
.wordmark, .topbar-meta, .menu-button { display: flex; align-items: center; gap: 12px; padding: 0 18px; font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.pixel-logo { display: grid; grid-template-columns: repeat(3, 5px); gap: 2px; width: 19px; }
.pixel-logo i { width: 5px; height: 5px; background: var(--yellow); }
.pixel-logo i:nth-child(2), .pixel-logo i:nth-child(4), .pixel-logo i:nth-child(6), .pixel-logo i:nth-child(8) { background: var(--orange); }
.pixel-logo i:nth-child(1), .pixel-logo i:nth-child(9) { opacity: 0; }
.nav { display: flex; border-inline: 1px solid var(--line); }
.nav a { display: grid; min-width: 92px; place-items: center; padding: 0 15px; border-right: 1px solid var(--line); color: var(--copy); font: 11px var(--mono); text-transform: uppercase; transition: background .15s, color .15s; }
.nav a:last-child { border: 0; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--paper); }
.topbar-meta { justify-content: flex-end; color: var(--dim); }
.status-dot { width: 7px; height: 7px; background: var(--mint); box-shadow: 0 0 0 3px rgba(131,169,140,.12); animation: blink 2.4s steps(2) infinite; }
.menu-button { display: none; border: 0; background: none; }

.hero { max-width: var(--max); min-height: calc(100vh - 64px); margin: auto; border-inline: 1px solid var(--line); }
.hero-kicker { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); color: var(--dim); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-kicker span { padding: 12px 16px; border-right: 1px solid var(--line); }
.hero-kicker span:last-child { border: 0; text-align: right; }
.hero-title { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: end; gap: 40px; padding: clamp(56px, 9vw, 126px) clamp(22px, 6vw, 88px) 50px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .86; }
h1 { font-size: clamp(4.3rem, 10.5vw, 10rem); }
h1 em, h2 em { color: var(--yellow); font-weight: 400; }
.hero-title p { padding-bottom: .7em; color: var(--copy); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; }

.pixel-world { position: relative; height: clamp(260px, 34vw, 480px); overflow: hidden; border-block: 1px solid var(--line); background: #171a1b; image-rendering: pixelated; }
.pixel-world::before { position: absolute; inset: 0; content: ""; background-image: linear-gradient(rgba(114,153,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(114,153,184,.06) 1px, transparent 1px); background-size: 10px 10px; }
.nebula { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(44px); opacity: .55; }
.nebula-a { top: -25%; left: -15%; width: 65%; aspect-ratio: 1; background: radial-gradient(circle, rgba(114,153,184,.4), transparent 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.nebula-b { right: -18%; bottom: -35%; width: 75%; aspect-ratio: 1; background: radial-gradient(circle, rgba(244,119,33,.24), transparent 65%); animation: drift-b 32s ease-in-out infinite alternate; }

.stars { position: absolute; inset: 0; }
.stars i { position: absolute; width: 3px; height: 3px; background: var(--blue); opacity: .18; animation: twinkle 4s steps(4) infinite; }
.stars i:nth-child(3n) { background: #d9d4c9; }
.stars i:nth-child(5n) { background: rgba(255,189,46,.85); }
.stars i.bright { width: 4px; height: 4px; background: var(--paper); box-shadow: 0 0 6px rgba(232,226,215,.55); animation-duration: 3s; }
.stars i:nth-child(1) { top: 12%; left: 6%; } .stars i:nth-child(2) { top: 8%; left: 18%; animation-delay: .6s; }
.stars i:nth-child(3) { top: 20%; left: 32%; animation-delay: 1.4s; } .stars i:nth-child(4) { top: 9%; left: 46%; animation-delay: 2s; }
.stars i:nth-child(5) { top: 17%; left: 60%; animation-delay: .9s; } .stars i:nth-child(6) { top: 7%; left: 74%; animation-delay: 2.6s; }
.stars i:nth-child(7) { top: 24%; left: 86%; animation-delay: 1.1s; } .stars i:nth-child(8) { top: 33%; left: 92%; animation-delay: 3s; }
.stars i:nth-child(9) { top: 40%; left: 4%; animation-delay: 1.8s; } .stars i:nth-child(10) { top: 47%; left: 14%; animation-delay: .3s; }
.stars i:nth-child(11) { top: 55%; left: 27%; animation-delay: 2.4s; } .stars i:nth-child(12) { top: 42%; left: 38%; animation-delay: 1s; }
.stars i:nth-child(13) { top: 58%; left: 48%; animation-delay: 3.2s; } .stars i:nth-child(14) { top: 49%; left: 62%; animation-delay: .7s; }
.stars i:nth-child(15) { top: 60%; left: 72%; animation-delay: 2.2s; } .stars i:nth-child(16) { top: 44%; left: 84%; animation-delay: 1.6s; }
.stars i:nth-child(17) { top: 66%; left: 95%; animation-delay: .4s; } .stars i:nth-child(18) { top: 72%; left: 9%; animation-delay: 2.8s; }
.stars i:nth-child(19) { top: 78%; left: 22%; animation-delay: 1.2s; } .stars i:nth-child(20) { top: 70%; left: 36%; animation-delay: 3.4s; }
.stars i:nth-child(21) { top: 82%; left: 55%; animation-delay: .5s; } .stars i:nth-child(22) { top: 76%; left: 67%; animation-delay: 2s; }
.stars i:nth-child(23) { top: 85%; left: 81%; animation-delay: 1.5s; } .stars i:nth-child(24) { top: 90%; left: 48%; animation-delay: 2.7s; }
.stars i:nth-child(25) { top: 5%; left: 30%; animation-delay: 3.6s; } .stars i:nth-child(26) { top: 30%; left: 10%; animation-delay: .2s; }
.stars i:nth-child(27) { top: 35%; left: 70%; animation-delay: 2.9s; } .stars i:nth-child(28) { top: 64%; left: 18%; animation-delay: 1.3s; }
.stars i:nth-child(29) { top: 88%; left: 8%; animation-delay: 3.8s; } .stars i:nth-child(30) { top: 26%; left: 94%; animation-delay: .8s; }
.stars i:nth-child(31) { top: 15%; left: 12%; animation-delay: 2.1s; } .stars i:nth-child(32) { top: 68%; left: 88%; animation-delay: 1.7s; }
.stars i:nth-child(33) { top: 52%; left: 92%; animation-delay: 3.1s; } .stars i:nth-child(34) { top: 6%; left: 90%; animation-delay: .1s; }
.stars i:nth-child(35) { top: 92%; left: 60%; animation-delay: 2.5s; } .stars i:nth-child(36) { top: 38%; left: 54%; animation-delay: 1.9s; }
.stars i:nth-child(37) { top: 10%; left: 64%; animation-delay: 3.3s; } .stars i:nth-child(38) { top: 80%; left: 38%; animation-delay: .6s; }
.stars i:nth-child(39) { top: 28%; left: 52%; animation-delay: 2.3s; } .stars i:nth-child(40) { top: 56%; left: 6%; animation-delay: 3.9s; }

.scanline { position: absolute; right: 6%; left: 6%; top: -4%; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, rgba(114,153,184,.55), transparent); animation: scan 11s linear infinite; }

.constellation { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; shape-rendering: crispEdges; animation: field-breathe 9s ease-in-out 3.5s infinite; }
.constellation .line { stroke: rgba(114,153,184,.55); stroke-width: 2; stroke-linecap: square; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 3.5s cubic-bezier(.4,0,.2,1) forwards; }
.constellation .l-2 { animation-delay: .35s; } .constellation .l-3 { animation-delay: .7s; }
.constellation .l-4 { animation-delay: 1.05s; } .constellation .l-5 { animation-delay: 1.4s; }
.constellation .ghost { stroke: var(--blue); stroke-width: 2; stroke-linecap: square; stroke-dasharray: 5 13; opacity: 0; animation: ghost-evolve 12s ease-in-out infinite; }
.constellation .node { fill: var(--yellow); animation: node-pulse 3.2s ease-in-out infinite, node-glow 3.2s ease-in-out infinite; }
.constellation .n-1 { animation-delay: 1.6s, 1.6s; } .constellation .n-2 { animation-delay: 1.95s, 1.95s; }
.constellation .n-3 { animation-delay: 2.3s, 2.3s; } .constellation .n-4 { animation-delay: 2.65s, 2.65s; }
.constellation .n-5 { animation-delay: 3s, 3s; } .constellation .dot { fill: var(--orange); animation-delay: 3.35s, 3.35s; }
.constellation .traveller { fill: var(--yellow); offset-path: path('M 240 44 L 312 82 L 336 152 L 244 206 L 192 262 L 196 292'); offset-rotate: 0deg; animation: travel 7s linear infinite; }
.constellation .t-2 { fill: var(--orange); animation-delay: 3.5s; }
.gen-cluster { shape-rendering: crispEdges; }
.gen-line { stroke: rgba(114,153,184,.6); stroke-width: 2; stroke-linecap: square; }
.gen-link { stroke: rgba(114,153,184,.35); stroke-width: 1.5; stroke-linecap: square; stroke-dasharray: 3 9; }
.gen-node { fill: var(--yellow); animation: node-pulse 3.2s ease-in-out infinite, node-glow 3.2s ease-in-out infinite; }
.gen-node.warm { fill: var(--orange); }
.shooting-star { position: absolute; z-index: 3; top: 12%; left: 2%; width: 64px; height: 3px; opacity: 0; background: linear-gradient(90deg, rgba(232,226,215,0), var(--paper)); animation: shoot 9s linear infinite; animation-delay: 2.5s; }
.shooting-star::after { position: absolute; right: -4px; top: -1px; width: 5px; height: 5px; content: ""; background: var(--yellow); box-shadow: 0 0 6px rgba(255,189,46,.8); }
.world-label, .world-readout { position: absolute; z-index: 4; font: 9px var(--mono); letter-spacing: .08em; color: var(--blue); }
.label-a { top: 20px; left: 20px; } .label-b { right: 20px; bottom: 18px; }
.world-readout { right: 20px; top: 20px; display: grid; grid-template-columns: repeat(3, auto); gap: 20px; }
.hero-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.hero-foot p { max-width: 600px; color: var(--dim); font: 12px/1.5 var(--mono); }
.text-link { display: inline-flex; align-items: center; gap: 16px; width: fit-content; color: var(--copy); font: 12px var(--mono); text-transform: uppercase; }
.text-link span { color: var(--yellow); transition: transform .15s; }
.text-link:hover span { transform: translate(3px, -3px); }

.grid-section, .work-section, .notes-section { max-width: var(--max); margin: auto; border-inline: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 190px 1.25fr 1fr 240px; border-bottom: 1px solid var(--line); }
.about > * { min-height: 330px; padding: 34px; border-right: 1px solid var(--line); }
.about > *:last-child { border: 0; }
.section-index { color: var(--yellow); font: 12px var(--mono); }
.section-index span { color: var(--dim); }
.about-statement { display: flex; align-items: center; }
.about-statement p { font: clamp(2rem, 3.1vw, 3.5rem)/1.05 var(--serif); }
.about-detail { display: flex; flex-direction: column; justify-content: center; gap: 30px; color: var(--copy); font-size: 15px; line-height: 1.7; }
.dial-panel { display: grid; place-content: center; background: var(--ink-2); }
.compass { position: relative; width: 150px; height: 150px; }
.compass-face { position: absolute; inset: 0; border: 1px solid var(--line-hi); border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--dim) 0deg 1deg, transparent 1deg 12deg); }
.compass-face::after { position: absolute; inset: 10px; border: 1px solid rgba(255,189,46,.14); border-radius: 50%; content: ""; }
.compass-face::before { position: absolute; inset: 14px; border-radius: 50%; content: ""; background: var(--panel-hi); box-shadow: inset 0 0 0 1px #111; }
.cardinal { position: absolute; z-index: 2; color: var(--dim); font: 9px var(--mono); }
.c-n { top: 6px; left: 50%; transform: translateX(-50%); color: var(--orange); }
.c-e { top: 50%; right: 8px; transform: translateY(-50%); }
.c-s { bottom: 5px; left: 50%; transform: translateX(-50%); }
.c-w { top: 50%; left: 8px; transform: translateY(-50%); }
.needle { position: absolute; top: 50%; left: 50%; width: 14px; height: 88px; margin: -44px 0 0 -7px; transform-origin: 7px 44px; animation: compass-settle 7s cubic-bezier(.22,1,.36,1) infinite; }
.needle b, .needle i { position: absolute; left: 50%; width: 0; height: 0; transform: translateX(-50%); }
.needle b { top: 0; border-right: 7px solid transparent; border-bottom: 44px solid var(--orange); border-left: 7px solid transparent; filter: drop-shadow(0 0 6px rgba(244,119,33,.5)); }
.needle i { bottom: 0; border-top: 44px solid var(--line-hi); border-right: 7px solid transparent; border-left: 7px solid transparent; }
.pivot { position: absolute; z-index: 3; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 8px rgba(255,189,46,.5); }
.dial-marks { margin-top: 18px; color: var(--dim); font: 9px var(--mono); text-align: center; text-transform: uppercase; }

.section-header { display: grid; grid-template-columns: 190px 1fr 340px; gap: 34px; align-items: end; padding: 90px 34px 44px; border-bottom: 1px solid var(--line); }
.section-header h2 { font-size: clamp(4rem, 8vw, 8rem); }
.section-header > p { color: var(--dim); font: 13px/1.6 var(--mono); }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); }
.project { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); transition: background .2s; }
.project:nth-child(2n) { border-right: 0; }
.project:hover { background: var(--panel); }
.project-top { display: flex; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--dim); font: 9px var(--mono); letter-spacing: .1em; }
.project-art { position: relative; display: grid; height: clamp(280px, 36vw, 500px); place-items: center; overflow: hidden; background: #161616; }
.project-featured .project-art { background: #161b1e; }
.radio-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(114,153,184,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(114,153,184,.08) 1px, transparent 1px); background-size: 16px 16px; }
.radio-node { z-index: 2; width: 18px; height: 18px; background: var(--yellow); box-shadow: 0 0 0 10px rgba(255,189,46,.1); }
.radio-wave { position: absolute; border: 3px solid var(--orange); border-radius: 50%; animation: radio-wave 3s ease-out infinite; }
.wave-a { width: 120px; height: 120px; } .wave-b { width: 260px; height: 260px; animation-delay: 1.2s; }
.chip { display: grid; grid-template-columns: repeat(3, 32px); grid-template-rows: repeat(3, 32px); gap: 5px; transform: rotate(45deg); }
.chip i { background: var(--line-hi); } .chip b { grid-area: 2/2; display: grid; place-items: center; background: var(--orange); color: var(--ink); font: 8px var(--mono); text-align: center; transform: rotate(-45deg); }
.pixel-flame { display: grid; grid-template-columns: repeat(4, 28px); grid-template-rows: repeat(3, 28px); gap: 3px; transform: rotate(45deg); }
.pixel-flame i { background: var(--orange); } .pixel-flame i:nth-child(1), .pixel-flame i:nth-child(4), .pixel-flame i:nth-child(9), .pixel-flame i:nth-child(12) { opacity: 0; } .pixel-flame i:nth-child(6), .pixel-flame i:nth-child(7), .pixel-flame i:nth-child(10) { background: var(--yellow); }
.steps { display: grid; grid-template-columns: repeat(8, 20px); gap: 10px; }
.steps i { width: 20px; height: 20px; border: 1px solid var(--line-hi); background: var(--panel); animation: sequence 2.4s steps(1) infinite; }
.steps i:nth-child(3n) { background: var(--orange); animation-delay: .3s; } .steps i:nth-child(5n) { background: var(--yellow); animation-delay: .6s; }
.project-copy { display: grid; grid-template-columns: 55px 1fr 30px; gap: 15px; min-height: 145px; padding: 22px 18px; border-top: 1px solid var(--line); }
.project-no { color: var(--dim); font: 10px var(--mono); }
.project-copy h3 { margin-bottom: 8px; font: 2rem var(--serif); }
.project-copy p { max-width: 500px; color: var(--copy); font-size: 13px; line-height: 1.55; }
.project-arrow { color: var(--yellow); font-family: var(--mono); transition: transform .15s; }
.project:hover .project-arrow { transform: translate(3px, -3px); }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--yellow); color: var(--ink); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 26px; padding: 13px 0; font: 500 11px var(--mono); animation: ticker 25s linear infinite; }
.ticker-track i { width: 6px; height: 6px; background: var(--red); }
.notes-section .section-header { grid-template-columns: 190px 1fr; }
.notes-list { border-top: 0; }
.note { display: grid; grid-template-columns: 150px 1fr 210px 30px; gap: 20px; align-items: center; min-height: 112px; padding: 18px 34px; border-bottom: 1px solid var(--line); transition: background .18s, padding .18s; }
.note:hover { padding-left: 42px; background: var(--panel); }
.note time, .note span { color: var(--dim); font: 10px var(--mono); text-transform: uppercase; }
.note h3, .note h2 { font: clamp(1.5rem, 3vw, 2.5rem) var(--serif); }
.note b { color: var(--yellow); font: 400 14px var(--mono); }
.note-muted { opacity: .45; }

.contact-section { position: relative; display: grid; min-height: 680px; place-content: center; overflow: hidden; padding: 80px 24px; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); text-align: center; }
.contact-section > p { margin-bottom: 30px; font: 11px var(--mono); text-transform: uppercase; }
.contact-section h2 { position: relative; z-index: 2; font-size: clamp(6rem, 16vw, 15rem); line-height: .72; }
.contact-section h2 em { color: var(--red); }
.contact-button { position: relative; z-index: 2; display: flex; min-width: 290px; justify-content: space-between; margin: 60px auto 0; padding: 16px 18px; border: 1px solid var(--ink); font: 11px var(--mono); text-transform: uppercase; transition: color .18s, background .18s; }
.contact-button:hover { color: var(--paper); background: var(--ink); }
.contact-pixels { position: absolute; inset: 0; }
.contact-pixels i { position: absolute; width: clamp(25px, 5vw, 70px); aspect-ratio: 1; background: var(--yellow); }
.contact-pixels i:nth-child(1) { top: 12%; left: 8%; } .contact-pixels i:nth-child(2) { top: 24%; left: 13%; background: var(--orange); } .contact-pixels i:nth-child(3) { bottom: 14%; left: 5%; background: var(--red); } .contact-pixels i:nth-child(4) { top: 8%; right: 10%; background: var(--red); } .contact-pixels i:nth-child(5) { top: 18%; right: 5%; background: var(--orange); } .contact-pixels i:nth-child(6) { right: 14%; bottom: 14%; } .contact-pixels i:nth-child(7) { right: 7%; bottom: 25%; background: var(--orange); } .contact-pixels i:nth-child(8) { bottom: 7%; left: 17%; background: var(--blue); }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 100px; max-width: var(--max); margin: auto; padding: 20px 28px; color: var(--dim); font: 10px var(--mono); text-transform: uppercase; }
.footer > div:first-child { display: flex; align-items: center; gap: 10px; }
.footer > div:last-child { text-align: right; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--paper); }

/* blog pages */
.blog-page { max-width: var(--max); margin: auto; border-inline: 1px solid var(--line); }
.blog-hero { display: grid; grid-template-columns: 190px 1fr 340px; gap: 34px; align-items: end; padding: 90px 34px 44px; border-bottom: 1px solid var(--line); }
.blog-hero h1 { font-size: clamp(4rem, 8vw, 8rem); }
.blog-hero > p { color: var(--dim); font: 13px/1.6 var(--mono); }
.back-link { color: var(--dim); font: 10px var(--mono); text-transform: uppercase; transition: color .15s; }
.back-link:hover { color: var(--yellow); }

.article-head { padding: 90px 34px 60px; border-bottom: 1px solid var(--line); }
.article-meta { display: flex; align-items: center; gap: 24px; margin-bottom: 42px; color: var(--dim); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article-meta time { margin-left: auto; }
.article-head h1 { max-width: 920px; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .92; }
.article-head h1 em { color: var(--yellow); }

.prose { max-width: 760px; margin: auto; padding: 60px 34px 80px; }
.prose p { margin-bottom: 1.4em; color: var(--copy); font-size: 17px; line-height: 1.75; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.6em; padding-left: 1.4em; color: var(--copy); font-size: 16px; line-height: 1.7; }
.prose li { margin-bottom: .8em; }
.prose li:last-child { margin-bottom: 0; }
.prose li p { margin: 0; font-size: 16px; }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--yellow); }
.prose blockquote p { margin-bottom: .4em; color: var(--paper); font: italic 20px/1.6 var(--serif); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose sup a { color: var(--yellow); font: 11px var(--mono); }
.prose sup a:hover { text-decoration: underline; }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(114,153,184,.4); transition: color .15s, border-color .15s; }
.prose a:hover { color: var(--paper); border-color: var(--paper); }

.footnotes { max-width: 760px; margin: auto; padding: 30px 34px 70px; border-top: 1px solid var(--line); }
.footnotes ol { margin: 0; padding-left: 1.3em; color: var(--dim); font: 12px/1.7 var(--mono); }
.footnotes li { margin-bottom: 12px; }
.footnotes li:last-child { margin-bottom: 0; }
.footnotes li::marker { color: var(--yellow); }
.footnotes a { color: var(--dim); }
.footnotes a:hover { color: var(--yellow); }
.footnotes .fn-back { color: var(--yellow); }

.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 30px 34px 44px; }
.post-nav a:last-child { text-align: right; }
.post-nav a:first-child { text-align: left; }
.post-nav .back-link { color: var(--copy); }
.post-nav .back-link:hover { color: var(--yellow); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes blink { 50% { opacity: .35; } }
@keyframes twinkle { 0%, 100% { opacity: .1; } 50% { opacity: .55; } }
@keyframes node-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes node-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255,189,46,0)); } 50% { filter: drop-shadow(0 0 8px rgba(255,189,46,.85)); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes field-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
@keyframes ghost-evolve { 0%, 100% { opacity: 0; } 45%, 55% { opacity: .32; } }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, 8%) scale(1.18); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-7%, -5%) scale(1.24); } }
@keyframes scan {
  0% { top: -4%; opacity: 0; }
  8% { opacity: .9; }
  35% { top: 45%; opacity: .45; }
  60% { top: 85%; opacity: .5; }
  72% { opacity: 0; top: 104%; }
  100% { top: 104%; opacity: 0; }
}
@keyframes shoot {
  0% { opacity: 0; transform: translate(0, 0) rotate(24deg); }
  7% { opacity: 1; }
  15% { opacity: 0; transform: translate(1400px, -560px) rotate(24deg); }
  100% { opacity: 0; transform: translate(1400px, -560px) rotate(24deg); }
}
@keyframes compass-settle {
  0% { transform: rotate(0deg); }
  14% { transform: rotate(-42deg); }
  28% { transform: rotate(26deg); }
  40% { transform: rotate(-13deg); }
  50% { transform: rotate(6deg); }
  58% { transform: rotate(-3deg); }
  64% { transform: rotate(1.5deg); }
  70% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
@keyframes radio-wave { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes sequence { 0%, 20% { filter: brightness(1); } 21%, 30% { filter: brightness(1.8); } 31%, 100% { filter: brightness(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1000px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar-meta { display: none; }
  .menu-button { display: flex; }
  .nav { position: absolute; top: 63px; right: 0; left: 0; display: none; grid-template-columns: repeat(5,1fr); border: 1px solid var(--line); background: var(--ink); }
  .nav.open { display: grid; }
  .nav a { min-height: 54px; border-right: 1px solid var(--line); }
  .hero-title { grid-template-columns: 1fr; }
  .hero-title p { max-width: 560px; }
  .about { grid-template-columns: 150px 1fr 1fr; }
  .dial-panel { display: none; }
  .about-detail { border: 0; }
  .section-header { grid-template-columns: 150px 1fr; }
  .section-header > p { grid-column: 2; }
  .blog-hero { grid-template-columns: 150px 1fr; }
  .blog-hero > p { grid-column: 2; }
  .article-head { padding: 70px 28px 44px; }
  .article-head h1 { font-size: clamp(2.6rem, 9vw, 5rem); }
  .prose, .footnotes { padding-inline: 28px; }
}

@media (max-width: 700px) {
  .topbar { margin-inline: 10px; }
  .nav { grid-template-columns: repeat(2,1fr); }
  .nav a { border-bottom: 1px solid var(--line); }
  .hero, .grid-section, .work-section, .notes-section { margin-inline: 10px; }
  .hero-kicker { grid-template-columns: 1fr 1fr; }
  .hero-kicker span:last-child { display: none; }
  .hero-title { padding: 64px 20px 34px; }
  h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .pixel-world { height: 330px; }
  .world-readout { display: none; }
  .hero-foot { grid-template-columns: 1fr; padding: 20px; }
  .about { grid-template-columns: 1fr; }
  .about > * { min-height: auto; padding: 28px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-statement p { font-size: 2.2rem; }
  .section-header, .notes-section .section-header { grid-template-columns: 1fr; padding: 70px 20px 32px; }
  .section-header > p { grid-column: 1; }
  .blog-hero { grid-template-columns: 1fr; padding: 60px 20px 28px; }
  .blog-hero h1 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .blog-hero > p { grid-column: 1; }
  .article-meta { flex-wrap: wrap; gap: 10px 18px; margin-bottom: 30px; }
  .article-meta time { margin-left: 0; }
  .prose, .footnotes { padding: 40px 20px 60px; }
  .prose p, .prose li p { font-size: 16px; }
  .post-nav { grid-template-columns: 1fr; padding: 24px 20px 40px; text-align: left !important; }
  .post-nav a { text-align: left !important; }
  .projects { grid-template-columns: 1fr; }
  .project { border-right: 0; }
  .project-art { height: 320px; }
  .note { grid-template-columns: 75px 1fr 20px; min-height: 96px; padding: 16px 20px; }
  .note span { display: none; }
  .contact-section { min-height: 560px; }
  .contact-section h2 { font-size: clamp(6rem, 26vw, 9rem); }
  .footer { grid-template-columns: 1fr; gap: 24px; padding: 30px 20px; }
  .footer-links { flex-wrap: wrap; gap: 15px; }
  .footer > div:last-child { text-align: left; }
}

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