:root {
  --void: #050505;
  --canvas: #080808;
  --panel: #0f0f0f;
  --panel-raised: #141414;
  --text: #f5f3ed;
  --body: #c8c5bd;
  --muted: #8f8d87;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .25);
  --bronze: #d4a574;
  --bronze-dark: #8c5f38;
  --yellow: #ffd400;
  --red: #f66363;
  --blue: #2b94fe;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body { min-width: 320px; margin: 0; overflow-x: clip; background: var(--void); color: var(--text); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255, 212, 0, .2); }
::selection { background: var(--yellow); color: var(--void); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }

.wrap, .wrap-wide, .wrap-narrow { width: min(calc(100% - 56px), 1240px); margin-inline: auto; }
.wrap-wide { max-width: 1080px; }
.wrap-narrow { max-width: 760px; }
.site-shell { position: relative; z-index: 1; }

.atmosphere { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(70% 55% at 94% -8%, rgba(246, 99, 99, .15), transparent 58%), radial-gradient(50% 40% at 0% 88%, rgba(255, 212, 0, .06), transparent 64%), linear-gradient(180deg, #050505 0%, #090909 38%, #050505 100%); }
.maze, .dots, .grain, .glow { position: absolute; }
.maze { inset: -2px; opacity: .62; background-image: repeating-linear-gradient(0deg, transparent 0 47px, rgba(33, 33, 222, .22) 47px 48px), repeating-linear-gradient(90deg, transparent 0 47px, rgba(33, 33, 222, .22) 47px 48px); mask-image: radial-gradient(ellipse 85% 68% at 94% 2%, #000 0%, transparent 73%); }
.dots { inset: 0; opacity: .4; background-image: radial-gradient(circle, var(--yellow) 1.1px, transparent 1.45px); background-position: 12px 12px; background-size: 24px 24px; mask-image: radial-gradient(ellipse 72% 56% at 92% 5%, #000 0%, transparent 68%); animation: dots-drift 22s linear infinite; }
.grain { inset: 0; opacity: .075; 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='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.glow { border-radius: 50%; filter: blur(16px); animation: glow-drift 18s ease-in-out infinite alternate; }
.glow-red { top: -22vmax; right: -18vmax; width: 44vmax; height: 44vmax; background: radial-gradient(circle, rgba(246, 99, 99, .16), transparent 65%); }
.glow-yellow { top: 62vh; left: -15vmax; width: 34vmax; height: 34vmax; background: radial-gradient(circle, rgba(255, 212, 0, .07), transparent 66%); animation-duration: 24s; }
@keyframes dots-drift { to { background-position: 12px 36px; } }
@keyframes glow-drift { to { transform: translate(-3%, 5%); } }

.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); background: var(--yellow); color: var(--void); font: 650 12px var(--mono); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 34px; image-rendering: pixelated; transition: transform .2s ease; }
.brand:hover img { transform: translateY(-2px); }
.pellets { display: inline-flex; align-items: center; gap: 6px; }
.pellets i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 7px rgba(255, 212, 0, .35); }
.pellets i:last-child { width: 10px; height: 10px; animation: blink .75s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.site-header nav, .footer-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); color: var(--muted); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.site-header nav a, .footer-links a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; transition: color .18s ease; }
.site-header nav a:hover, .footer-links a:hover { color: var(--bronze); }
.site-header nav a.nav-newsletter { gap: 10px; padding-inline: 13px; border: 1px solid var(--bronze); background: var(--bronze); color: #111; font-weight: 700; }
.site-header nav a.nav-newsletter:hover { border-color: #e5b98a; background: #e5b98a; color: #111; }

.hero { position: relative; display: flex; min-height: calc(100vh - 89px); min-height: calc(100svh - 89px); flex-direction: column; justify-content: center; padding: 96px 0; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 1060px; margin: 24px 0 28px; font-family: var(--display); font-size: clamp(58px, 9.2vw, 136px); font-weight: 900; line-height: .86; letter-spacing: -.075em; }
.hero h1 em { display: block; color: var(--bronze); font-style: normal; }
.hero > .hero-intro { max-width: 740px; margin: 0; color: var(--body); font-size: clamp(19px, 2.25vw, 29px); line-height: 1.45; letter-spacing: -.018em; }
.eyebrow { margin: 0; color: var(--bronze); font: 650 11px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(246, 99, 99, .1); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 30px; padding: 0 18px; border: 1px solid var(--line-strong); font: 600 13px var(--mono); transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--bronze); background: var(--bronze); color: #111; }
.button-primary:hover { border-color: #e5b98a; background: #e5b98a; }
.button-quiet:hover { border-color: var(--bronze); background: var(--panel-raised); }

.section-heading { display: grid; grid-template-columns: minmax(150px, 1fr) 2.25fr; gap: 44px; padding: clamp(90px, 12vw, 150px) 0 clamp(48px, 7vw, 82px); }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 6.2vw, 82px); line-height: .96; letter-spacing: -.06em; }
.section-heading a { display: inline-flex; min-height: 44px; align-items: center; align-self: end; justify-self: end; color: var(--bronze); font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.post-list { display: grid; width: min(calc(100% - 56px), 1240px); margin: 0 auto clamp(90px, 12vw, 160px); grid-template-columns: repeat(12, 1fr); gap: 14px; }
.post-card { --tone: var(--bronze); position: relative; display: flex; min-height: 430px; grid-column: span 4; flex-direction: column; overflow: hidden; padding: 26px; border: 1px solid var(--line); background: rgba(15, 15, 15, .9); transition: border-color .2s ease, transform .25s ease, background .2s ease; }
.post-card:nth-child(1) { grid-column: span 8; }
.post-card:nth-child(2) { --tone: var(--yellow); grid-column: span 4; }
.post-card:nth-child(3) { --tone: var(--red); }
.post-card:nth-child(4) { --tone: var(--blue); }
.post-card:nth-child(5n) { --tone: var(--yellow); }
.post-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tone) 72%, transparent); background: #121212; }
.post-card::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(15, 15, 15, .4), rgba(15, 15, 15, .98) 72%); content: ""; pointer-events: none; }
.card-image { position: absolute; z-index: 0; inset: 0; opacity: .28; }
.card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.12); }
.card-glyph { position: absolute; z-index: 2; top: 45px; right: -25px; display: grid; width: 230px; height: 230px; place-items: center; transform: rotate(-12deg); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); border-radius: 50%; color: color-mix(in srgb, var(--tone) 22%, transparent); font: 900 92px/.8 var(--display); letter-spacing: -.1em; transition: transform .35s ease, color .2s ease; }
.card-glyph::before, .card-glyph::after { position: absolute; border: 1px solid color-mix(in srgb, var(--tone) 25%, transparent); border-radius: 50%; content: ""; }
.card-glyph::before { inset: 26px; }
.card-glyph::after { inset: 58px; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 18%, transparent), transparent 64%); }
.card-glyph span { position: relative; z-index: 1; }
.post-card:hover .card-glyph { transform: rotate(-6deg) scale(1.05); color: color-mix(in srgb, var(--tone) 34%, transparent); }
.card-copy { position: relative; z-index: 3; display: flex; width: min(100%, 660px); height: 100%; flex-direction: column; align-items: flex-start; }
.card-meta, .article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.card-meta a { color: var(--tone); }
.card-meta .card-topic { color: var(--tone); }
.card-meta .card-language { color: var(--blue); }
.post-card h3 { max-width: 20ch; margin: auto 0 15px; padding-top: 100px; font-family: var(--display); font-size: clamp(29px, 3.4vw, 48px); line-height: 1; letter-spacing: -.05em; }
.post-card h3 a:hover { color: var(--tone); }
.post-card p { max-width: 600px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.read-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--body); font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.read-link:hover { color: var(--tone); }

.page-heading { min-height: 470px; padding: clamp(100px, 14vw, 180px) 0 70px; border-bottom: 1px solid var(--line); }
.page-heading h1 { max-width: 1000px; margin: 24px 0 0; font-family: var(--display); font-size: clamp(58px, 9vw, 124px); line-height: .87; letter-spacing: -.07em; overflow-wrap: anywhere; }
.article-header { display: flex; min-height: 570px; flex-direction: column; justify-content: flex-end; padding: clamp(90px, 13vw, 170px) 0 clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 980px; margin: 28px 0 30px; font-family: var(--display); font-size: clamp(54px, 8.5vw, 118px); font-weight: 900; line-height: .88; letter-spacing: -.07em; overflow-wrap: anywhere; }
.article-meta { color: var(--body); }
.article-meta a, .article-note a { color: var(--bronze); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-meta a:hover, .article-note a:hover { color: var(--text); }
.term-links { display: flex; flex-wrap: wrap; gap: 7px; }
.term-links > span { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--bronze) 32%, transparent); color: var(--bronze); font: 600 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.term-links > span.language-label { border-color: color-mix(in srgb, var(--blue) 42%, transparent); color: var(--blue); }
.article-hero { margin-top: 54px; margin-bottom: 76px; }
.article-hero img { width: 100%; max-height: 680px; object-fit: cover; border: 1px solid var(--line); background: var(--panel); }
figcaption, .wp-caption-text { margin-top: 10px; color: var(--muted); font: 10px/1.5 var(--mono); text-align: center; }

.article-body { min-width: 0; padding-block: 76px 30px; color: var(--body); font-size: clamp(17px, 1.55vw, 19px); line-height: 1.82; letter-spacing: -.006em; overflow-wrap: break-word; }
.article-hero + .article-body { padding-top: 0; }
.article-body > :first-child { margin-top: 0; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote, .article-body pre, .article-body table, .article-body figure { margin-block: 1.6em; }
.article-body h2, .article-body h3, .article-body h4 { margin: 2.2em 0 .7em; color: var(--text); font-family: var(--display); line-height: 1.02; letter-spacing: -.05em; }
.article-body h2 { font-size: clamp(34px, 5vw, 58px); }
.article-body h3 { font-size: clamp(26px, 3.5vw, 38px); }
.article-body a { color: var(--bronze); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--bronze) 50%, transparent); text-underline-offset: .2em; }
.article-body a, .article-body em, .article-body strong { overflow-wrap: anywhere; }
.article-body a:hover { color: var(--text); }
.article-body blockquote { margin-inline: 0; padding: 20px 0 20px 25px; border-left: 2px solid var(--bronze); color: var(--text); font-size: 1.15em; }
.article-body pre, .article-body code { font-family: var(--mono); }
.article-body :not(pre) > code, .empty-state code { padding: .16em .38em; background: var(--panel-raised); color: var(--yellow); font-size: .84em; }
.article-body pre { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; padding: 22px; border: 1px solid var(--line); background: var(--panel); color: var(--body); font-size: 13px; line-height: 1.65; -webkit-overflow-scrolling: touch; }
.article-body hr { width: 100%; margin: 64px 0; border: 0; border-top: 1px solid var(--line); }
.article-body table { display: block; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-collapse: collapse; font-size: 13px; -webkit-overflow-scrolling: touch; }
.article-body th, .article-body td { min-width: 150px; padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { color: var(--bronze); font: 650 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article-body iframe { width: 100%; max-width: 100%; border: 0; }
.article-body .alignwide, .article-body .wp-block-image { width: min(1080px, calc(100vw - 56px)); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.article-body .aligncenter, .article-body .wp-block-image img { margin-inline: auto; }
.article-body .code-frame { width: min(960px, calc(100vw - 56px)); max-width: none; margin: 42px 50%; transform: translateX(-50%); border: 1px solid var(--line); background: #080808; }
.article-body .code-toolbar { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--bronze); font: 650 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.article-body .code-toolbar button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font: inherit; text-transform: inherit; }
.article-body .code-toolbar button:hover { border-color: var(--bronze); color: var(--text); }
.article-body .code-frame pre { margin: 0; border: 0; background: transparent; }
.syntax-code code { display: block; color: #d8d5ce; tab-size: 2; }
.tok-comment { color: #74716b; font-style: italic; }
.tok-string { color: #c6dc86; }
.tok-number { color: #f2a65a; }
.tok-tag { color: var(--red); }
.tok-keyword { color: #d19aee; }
.tok-literal { color: var(--blue); }
.tok-function { color: #e5c07b; }

.article-body .wp-block-gallery, .article-body .gallery { display: grid; width: min(1080px, calc(100vw - 56px)); max-width: none; margin: 42px 50%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; transform: translateX(-50%); }
.article-body .wp-block-gallery.columns-1 { grid-template-columns: 1fr; }
.article-body .wp-block-gallery.columns-3, .article-body .gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-body .wp-block-gallery.columns-4, .article-body .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-body .wp-block-gallery .blocks-gallery-grid { display: grid; grid-column: 1 / -1; grid-template-columns: inherit; gap: inherit; margin: 0; padding: 0; list-style: none; }
.article-body .wp-block-gallery .blocks-gallery-item, .article-body .wp-block-gallery .wp-block-image, .article-body .wp-block-gallery figure, .article-body .gallery figure { width: auto; min-width: 0; margin: 0; transform: none; }
.article-body .wp-block-gallery img, .article-body .gallery img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border: 1px solid var(--line); }
.article-body .wp-block-gallery figcaption, .article-body .gallery figcaption { margin: 0; padding: 9px 4px 2px; }
.gallery-trigger { cursor: zoom-in; touch-action: manipulation; }

.article-body .wp-block-embed, .article-body > iframe { width: min(960px, calc(100vw - 56px)); max-width: none; margin: 42px 50%; transform: translateX(-50%); }
.article-body .wp-block-embed iframe, .article-body > iframe { display: block; width: 100%; height: auto; min-height: min(540px, 62vw); border: 1px solid var(--line); background: #000; }
.article-body .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.article-body .wp-block-cover { position: relative; display: grid; min-height: 300px; overflow: hidden; place-items: center; padding: 32px; }
.article-body .wp-block-cover__image-background { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-body .wp-block-cover__background { position: absolute; z-index: 1; inset: 0; background: rgba(0, 0, 0, .45); }
.article-body .wp-block-cover__inner-container { position: relative; z-index: 2; color: #fff; }
.article-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.article-body .wp-block-button__link { display: inline-flex; min-height: 46px; align-items: center; padding: 0 16px; border: 1px solid var(--bronze); background: var(--bronze); color: #111; font: 600 12px var(--mono); text-decoration: none; }

.has-lightbox, .has-lightbox body { overflow: hidden; overscroll-behavior: none; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; overscroll-behavior: contain; padding: max(70px, calc(env(safe-area-inset-top) + 58px)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); background: rgba(5, 5, 5, .96); backdrop-filter: blur(12px); touch-action: pan-y pinch-zoom; }
.lightbox figure { display: grid; max-width: min(1200px, 100%); max-height: 100%; justify-self: center; margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; color: var(--body); text-align: left; }
.lightbox figcaption small { flex: 0 0 auto; color: var(--bronze); font: 10px var(--mono); }
.lightbox button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line-strong); background: rgba(15, 15, 15, .8); color: var(--text); cursor: pointer; font: 22px var(--mono); }
.lightbox button:hover { border-color: var(--bronze); color: var(--bronze); }
.lightbox-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); }
.lightbox-previous { justify-self: start; }
.lightbox-next { justify-self: end; }
.article-footer { margin-top: 50px; padding: 30px 0 80px; border-top: 1px solid var(--line); }
.article-note { color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.post-navigation, .pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; padding-block: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-navigation a { display: flex; min-width: 0; min-height: 44px; flex-direction: column; justify-content: center; transition: color .18s ease; }
.post-navigation a.next { text-align: right; }
.post-navigation a:hover { color: var(--bronze); }
.post-navigation small { margin-bottom: 8px; color: var(--muted); font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.post-navigation span { min-width: 0; font-family: var(--display); font-size: clamp(17px, 2vw, 24px); line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.pagination { align-items: center; margin-bottom: 100px; color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pagination a { display: inline-flex; min-height: 44px; align-items: center; }
.pagination a:last-child { justify-self: end; text-align: right; }

.term-grid, .archive-index, .archive-list { width: min(calc(100% - 56px), 1240px); margin: 54px auto 140px; }
.term-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.term-card { display: flex; min-height: 180px; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); background: rgba(15, 15, 15, .88); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.term-card:hover { transform: translateY(-4px); border-color: var(--bronze); background: #121212; }
.term-card span { max-width: 14ch; font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.term-card small, .archive-index span { color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.archive-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.archive-index a { display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); background: rgba(15, 15, 15, .8); }
.archive-index a:hover { border-color: var(--bronze); }
.archive-index strong { font-family: var(--display); font-size: 52px; line-height: 1; letter-spacing: -.06em; }
.archive-list { border-top: 1px solid var(--line); }
.archive-list a { display: grid; min-width: 0; min-height: 82px; grid-template-columns: 180px minmax(0, 1fr); gap: 25px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease, color .2s ease; }
.archive-list a:hover { padding-inline: 12px; background: rgba(212, 165, 116, .055); color: var(--bronze); }
.archive-list time { color: var(--muted); font: 10px var(--mono); }
.archive-list span { min-width: 0; font-family: var(--display); font-size: clamp(18px, 2vw, 25px); letter-spacing: -.025em; overflow-wrap: anywhere; }

.empty-state, .not-found { padding: clamp(28px, 5vw, 60px); border: 1px solid var(--line); background: rgba(15, 15, 15, .9); }
.empty-state { grid-column: 1 / -1; }
.empty-state h3, .not-found h1 { max-width: 20ch; margin: 18px 0; font-family: var(--display); font-size: clamp(36px, 6vw, 72px); line-height: .95; letter-spacing: -.06em; }
.empty-state p, .not-found p { max-width: 620px; color: var(--muted); }
.not-found { width: min(calc(100% - 56px), 960px); min-height: 480px; margin: 90px auto; }
.muted { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.newsletter-cta { display: grid; grid-template-columns: minmax(0, 1.6fr) auto; gap: clamp(40px, 8vw, 110px); align-items: end; padding: clamp(76px, 10vw, 128px) 0; border-bottom: 1px solid var(--line); }
.newsletter-cta h2 { max-width: 780px; margin: 20px 0 18px; font-family: var(--display); font-size: clamp(42px, 6.2vw, 82px); line-height: .96; letter-spacing: -.06em; }
.newsletter-cta > div > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; }
.newsletter-cta .button { margin-bottom: 6px; white-space: nowrap; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; padding: 62px 0 max(38px, env(safe-area-inset-bottom)); }
.footer-lockup { display: flex; align-items: center; gap: 15px; }
.footer-lockup img { image-rendering: pixelated; }
.footer-lockup strong { font-family: var(--display); font-size: 22px; letter-spacing: -.035em; }
.footer-lockup p { margin: 2px 0 0; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.footer-links { flex-wrap: wrap; justify-content: flex-end; gap: 14px 28px; }

@media (max-width: 1000px) {
  .post-card, .post-card:nth-child(1), .post-card:nth-child(2) { min-height: 420px; grid-column: span 6; }
}

@media (max-width: 720px) {
  .wrap, .wrap-wide, .wrap-narrow, .post-list, .term-grid, .archive-index, .archive-list { width: auto; margin-right: max(19px, env(safe-area-inset-right)); margin-left: max(19px, env(safe-area-inset-left)); }
  .header-inner { min-height: 78px; gap: 8px; }
  .site-header nav { gap: 2px; font-size: 9px; }
  .site-header nav a { padding-inline: 3px; }
  .hero { min-height: 0; justify-content: flex-start; padding: calc(88px + env(safe-area-inset-top)) 0 max(44px, env(safe-area-inset-bottom)); }
  .hero h1 { margin: 20px 0 24px; font-size: clamp(52px, 17vw, 82px); }
  .hero > .hero-intro { font-size: 19px; }
  .hero-actions { margin-top: 34px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; padding: 76px 0 44px; }
  .section-heading a { justify-self: start; }
  .post-list { display: block; margin-bottom: 76px; }
  .post-card, .post-card:nth-child(1), .post-card:nth-child(2) { min-height: 410px; margin-bottom: 12px; }
  .card-glyph { right: -42px; width: 190px; height: 190px; font-size: 76px; }
  .post-card h3 { font-size: clamp(28px, 9vw, 40px); }
  .page-heading { min-height: 390px; padding: 96px 0 54px; }
  .article-header { min-height: 520px; padding: 82px 0 62px; }
  .article-header h1 { margin: 22px 0 24px; font-size: clamp(48px, 14vw, 76px); }
  .article-body { padding-top: 58px; font-size: 17px; }
  .article-body .alignwide, .article-body .wp-block-image { width: 100%; margin-inline: 0; transform: none; }
  .article-body .code-frame, .article-body .wp-block-gallery, .article-body .gallery, .article-body .wp-block-embed, .article-body > iframe { width: 100%; margin-inline: 0; transform: none; }
  .article-body .wp-block-gallery, .article-body .wp-block-gallery.columns-3, .article-body .wp-block-gallery.columns-4, .article-body .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-body .wp-block-gallery img, .article-body .gallery img { min-height: 150px; }
  .lightbox { display: grid; grid-template-columns: minmax(0, 1fr); padding-right: max(12px, env(safe-area-inset-right)); padding-left: max(12px, env(safe-area-inset-left)); }
  .lightbox figure { grid-column: 1; width: 100%; }
  .lightbox-previous, .lightbox-next { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); }
  .lightbox-previous { left: max(12px, env(safe-area-inset-left)); }
  .lightbox-next { right: max(12px, env(safe-area-inset-right)); }
  .lightbox figcaption { flex-direction: column; gap: 6px; }
  .post-navigation, .pagination { grid-template-columns: 1fr; }
  .post-navigation a.next, .pagination a:last-child { justify-self: start; text-align: left; }
  .archive-list a { grid-template-columns: 1fr; gap: 5px; padding: 18px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-cta { grid-template-columns: 1fr; align-items: start; padding: 76px 0; }
  .newsletter-cta .button { width: fit-content; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .brand { font-size: 12px; }
  .pellets { display: none; }
  .site-header nav { font-size: 8px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .newsletter-cta .button { width: 100%; white-space: normal; }
  .post-card { padding: 20px; }
}

@media (hover: none) {
  .brand:hover img, .button:hover, .post-card:hover, .term-card:hover { transform: none; }
  .post-card:hover { border-color: var(--line); background: rgba(15, 15, 15, .9); }
  .site-header nav a:active, .footer-links a:active, .term-links a:active, .read-link:active, .post-navigation a:active, .pagination a:active { color: var(--yellow); }
  .button:active, .code-toolbar button:active, .lightbox button:active { border-color: var(--yellow); transform: scale(.98); }
  .gallery-trigger:active { opacity: .78; }
}

@media (pointer: coarse) {
  .site-header nav a, .footer-links a, .section-heading a, .read-link, .post-navigation a, .pagination a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dots, .glow, .pellets i:last-child, .live-dot { animation: none !important; }
  .post-card, .card-glyph, .brand img, .button { transition: none; }
}

@media print {
  .atmosphere, .site-header, .site-footer, .post-navigation, .term-links { display: none; }
  body { background: #fff; color: #000; }
  .article-body { max-width: none; color: #000; }
}
