@charset "UTF-8";

/* ---------------------------------------------
   Donddog — site system
--------------------------------------------- */

:root {
  --bg: #0c0d0b;
  --bg-rgb: 12, 13, 11;
  --surface: #141510;
  --surface-raised: #1a1c16;
  --surface-soft: #20221b;
  --ink: #f2efe5;
  --ink-rgb: 242, 239, 229;
  --muted: #97998a;
  --muted-strong: #c1c2b4;
  --line: rgba(242, 239, 229, 0.12);
  --line-strong: rgba(242, 239, 229, 0.24);
  --accent: #d8ff4f;
  --accent-rgb: 216, 255, 79;
  --accent-ink: #11120e;
  --accent-ink-strong: #080906;
  --accent-soft: rgba(216, 255, 79, 0.14);
  --accent-line: rgba(216, 255, 79, 0.4);
  --font-sans: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(22px, 4.4vw, 72px);
  --max-width: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f1eee3;
  --bg-rgb: 241, 238, 227;
  --surface: #f8f5eb;
  --surface-raised: #fffbf0;
  --surface-soft: #e8e4d7;
  --ink: #171812;
  --ink-rgb: 23, 24, 18;
  --muted: #6e6f62;
  --muted-strong: #4c4d43;
  --line: rgba(23, 24, 18, 0.14);
  --line-strong: rgba(23, 24, 18, 0.28);
  color-scheme: light;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 300ms ease, color 300ms ease;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(var(--accent-rgb), 0.085), transparent 28%),
    radial-gradient(circle at 4% 38%, rgba(var(--ink-rgb), 0.04), transparent 26%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--ink-rgb), 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.65) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(circle at 82% 6%, rgba(var(--accent-rgb), 0.22), transparent 30%),
    radial-gradient(circle at 4% 38%, rgba(var(--ink-rgb), 0.035), transparent 26%);
}

.site-noise {
  position: fixed;
  z-index: 1000;
  inset: 0;
  opacity: 0.24;
  mix-blend-mode: soft-light;
  pointer-events: none;
  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='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body.no-grain .site-noise {
  display: none;
}

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

img,
svg {
  display: block;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 500 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.page-gutter {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono-label,
.eyebrow,
.post-meta,
.section-label,
.project-index,
.filter-button,
.read-time,
.footer-bottom,
.site-controls,
.brand-sub {
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pulse {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); }
  55% { box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

/* ---------------------------------------------
   Header
--------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 22px var(--gutter);
  border-bottom: 1px solid transparent;
  background: rgba(var(--bg-rgb), 0.82);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: border-color 240ms ease, padding 240ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  bottom: -1px;
  left: var(--gutter);
  height: 1px;
  background: var(--line);
  opacity: 0.75;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink-strong);
  font: italic 400 27px/1 var(--font-display);
  transform: rotate(-4deg);
  transition: transform 240ms var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(3deg) scale(1.05);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.brand-sub {
  max-width: 210px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 13px;
  color: var(--muted-strong);
  font: 500 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 180ms ease;
}

.main-nav a span {
  color: var(--muted);
  font-size: 8px;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover span {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 400 9px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.icon-button:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-soft);
}

.icon-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 200ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-3px);
}

.menu-toggle span:last-child {
  transform: translateY(3px);
}

body.nav-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

/* ---------------------------------------------
   Typography helpers
--------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 9px;
  line-height: 1.4;
}

.eyebrow-mark {
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.hero-title,
.section-title-wrap h2,
.studio-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-title em,
.section-title-wrap h2 em {
  color: var(--accent);
  font-weight: 400;
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(390px, 0.87fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  padding-top: clamp(66px, 8vw, 118px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-title {
  position: relative;
  margin-top: 28px;
  font-size: clamp(62px, 8.3vw, 126px);
  line-height: 0.85;
  text-wrap: balance;
}

.hero-title > span {
  display: block;
}

.hero-title em {
  display: block;
  margin-top: 0.08em;
  margin-left: clamp(0px, 5vw, 86px);
  font-style: italic;
  line-height: 0.82;
}

.hero-title::after {
  content: "";
  position: absolute;
  top: 2%;
  right: 2%;
  width: clamp(10px, 1.5vw, 20px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 48px rgba(var(--accent-rgb), 0.3);
}

.hero-deck {
  max-width: 552px;
  margin-top: 34px;
  color: var(--muted-strong);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 10px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 220ms var(--ease), background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.button svg,
.text-link svg,
.arrow-link svg,
.post-cta svg,
.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}

.button:hover svg,
.text-link:hover svg,
.arrow-link:hover svg,
.post-card:hover .post-cta svg {
  transform: translateX(4px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--bg);
}

.button-outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
}

.text-link,
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font: 500 10px/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.text-link:hover,
.arrow-link:hover {
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  margin-top: clamp(50px, 7vw, 82px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stat strong {
  font: 400 34px/0.9 var(--font-display);
  letter-spacing: -0.04em;
}

.hero-stat span {
  color: var(--muted);
  font: 400 8px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Transmission card */

.transmission {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

html[data-theme="light"] .transmission {
  box-shadow: 0 32px 70px rgba(48, 46, 35, 0.12);
}

.transmission::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -1px;
  left: 22px;
  width: 44px;
  height: 2px;
  background: var(--accent);
}

.transmission-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px 15px;
  border-bottom: 1px solid var(--line);
}

.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 8px;
  line-height: 1;
}

.transmission-number {
  color: var(--accent);
  font: 400 19px/1 var(--font-display);
}

.transmission-art {
  position: relative;
  display: block;
  height: clamp(230px, 23vw, 300px);
  overflow: hidden;
}

.art-stage {
  position: absolute;
  inset: 0;
}

.art-stamp {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font: 400 11px/1.02 var(--font-display);
  text-align: center;
  transform: rotate(9deg);
  transition: transform 400ms var(--ease);
}

.transmission-art:hover .art-stamp {
  transform: rotate(-7deg) scale(1.06);
}

.transmission-body {
  padding: 22px 24px 24px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
}

.post-meta > span:first-child {
  color: var(--accent);
}

.transmission-body h2 {
  margin-top: 12px;
  font: 400 clamp(28px, 2.4vw, 38px)/0.98 var(--font-display);
  letter-spacing: -0.035em;
}

.transmission-body h2 a {
  transition: color 180ms ease;
}

.transmission-body h2 a:hover {
  color: var(--accent);
}

.transmission-body > p {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 12.5px;
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.transmission-body .arrow-link {
  margin-top: 20px;
  color: var(--ink);
}

/* ---------------------------------------------
   Art block
--------------------------------------------- */

.post-card-art,
.art-stage {
  --art-bg: #171911;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(var(--accent-rgb), 0.16), transparent 34%),
    linear-gradient(135deg, #161811 0%, #10120d 100%);
}

.art-stage {
  position: absolute;
  inset: 0;
  height: auto;
}

html[data-theme="light"] .post-card-art,
html[data-theme="light"] .art-stage {
  background:
    radial-gradient(circle at 75% 20%, rgba(var(--accent-rgb), 0.35), transparent 36%),
    linear-gradient(135deg, #e9e5d6 0%, #ddd9ca 100%);
}

.art-stage::before,
.post-card-art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(var(--ink-rgb), 0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), 0.28) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
  pointer-events: none;
}

.art-stage::after,
.post-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
  pointer-events: none;
}

.art-code {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(var(--ink-rgb), 0.2);
  border-radius: 999px;
  color: rgba(var(--ink-rgb), 0.7);
  font: 400 7px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.art-word {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 14px;
  color: rgba(var(--ink-rgb), 0.56);
  font: italic 400 clamp(26px, 3vw, 42px)/0.82 var(--font-display);
  letter-spacing: -0.04em;
  text-align: right;
}

.art-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 46px rgba(var(--accent-rgb), 0.8);
  transform: translate(-50%, -50%);
}

.art-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  border-radius: 50%;
  transition: transform 800ms var(--ease);
}

.orbit-a {
  width: 42%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.orbit-b {
  width: 66%;
  aspect-ratio: 1.55;
  transform: translate(-50%, -50%) rotate(-24deg);
  border-color: var(--accent-line);
}

.orbit-c {
  width: 92%;
  aspect-ratio: 2.15;
  transform: translate(-50%, -50%) rotate(17deg);
}

.post-card:hover .orbit-a {
  transform: translate(-50%, -50%) scale(1.14);
}

.post-card:hover .orbit-b {
  transform: translate(-50%, -50%) rotate(-16deg) scale(1.05);
}

.post-card:hover .orbit-c {
  transform: translate(-50%, -50%) rotate(10deg) scale(1.03);
}

.art-grid-lines {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  background-image:
    linear-gradient(rgba(var(--ink-rgb), 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.14) 1px, transparent 1px);
  background-size: 25% 25%;
  transform: rotate(-4deg);
}

.art-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid var(--accent-line);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: inset 0 0 40px rgba(var(--accent-rgb), 0.08);
}

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

.art-cross::before {
  top: 50%;
  left: -30%;
  width: 160%;
  height: 1px;
}

.art-cross::after {
  top: -30%;
  left: 50%;
  width: 1px;
  height: 160%;
}

.art-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.wave-a {
  width: 22%;
  background: rgba(var(--accent-rgb), 0.08);
}

.wave-b {
  width: 62%;
  opacity: 0.7;
}

.wave-c {
  width: 90%;
  opacity: 0.35;
}

.art-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 44%;
  border: 1px solid rgba(var(--ink-rgb), 0.25);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.stack-b {
  transform: translate(-44%, -56%) rotate(3deg);
  border-color: var(--accent-line);
}

.stack-c {
  transform: translate(-56%, -46%) rotate(12deg);
  opacity: 0.5;
}

/* ---------------------------------------------
   Signal strip
--------------------------------------------- */

.signal-strip {
  overflow: hidden;
  border-block: 1px solid var(--accent-line);
  background: var(--accent);
  color: var(--accent-ink);
}

.signal-track {
  display: flex;
  width: max-content;
  padding: 11px 0;
  animation: marquee 36s linear infinite;
}

.signal-strip:hover .signal-track {
  animation-play-state: paused;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-right: 25px;
  font: 500 9px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.signal-item::after {
  content: "◆";
  font-size: 6px;
  opacity: 0.65;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------
   Sections
--------------------------------------------- */

.journal,
.projects,
.studio {
  padding-top: clamp(88px, 10vw, 148px);
  padding-bottom: clamp(88px, 10vw, 148px);
}

.section-head {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 11px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
  white-space: nowrap;
}

.section-label span:first-child {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 7px;
}

.section-title-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.62fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
}

.section-title-wrap h2 {
  font-size: clamp(50px, 6.3vw, 94px);
  line-height: 0.84;
}

.section-title-wrap h2 em {
  font-style: italic;
}

.section-title-wrap > p {
  max-width: 380px;
  padding-bottom: 5px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.75;
}

/* ---------------------------------------------
   Journal
--------------------------------------------- */

.post-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(48px, 5vw, 72px);
  margin-bottom: 24px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 8px;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.filter-button sup {
  position: relative;
  top: -1px;
  color: var(--muted);
  font: 400 7px/1 var(--font-mono);
}

.filter-button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.filter-button.is-active sup {
  color: var(--accent-ink);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  grid-column: span 2;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 260ms ease, transform 320ms var(--ease), box-shadow 320ms var(--ease);
}

.post-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  transform: translateY(-5px);
}

.post-card.is-draft {
  border-style: dashed;
}

.post-card:first-child {
  grid-column: span 6;
}

.post-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.post-card:first-child .post-card-link {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.post-card-art {
  height: 190px;
  flex: 0 0 auto;
}

.post-card:first-child .post-card-art {
  height: 100%;
  min-height: 330px;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 22px;
}

.post-card:first-child .post-card-body {
  justify-content: center;
  padding: clamp(26px, 3.5vw, 52px);
}

.post-card-body .post-meta {
  gap: 7px;
}

.post-card-body h3 {
  margin-top: 13px;
  font: 400 clamp(23px, 2.2vw, 31px)/1.02 var(--font-display);
  letter-spacing: -0.035em;
  transition: color 180ms ease;
}

.post-card:first-child h3 {
  max-width: 560px;
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

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

.post-card-body > p {
  display: -webkit-box;
  margin-top: 13px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.post-card:first-child .post-card-body > p {
  max-width: 500px;
  font-size: 13.5px;
  -webkit-line-clamp: 4;
}

.post-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted-strong);
  font: 500 8px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

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

.read-time {
  margin-left: auto;
  font-size: 7px;
  white-space: nowrap;
}

.draft-badge {
  display: inline-flex;
  padding: 3px 6px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font: 500 6px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font: 400 24px/1 var(--font-display);
}

.empty-state h3 {
  font: 400 34px/1 var(--font-display);
}

.empty-state p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.noscript-note {
  padding: 24px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

/* ---------------------------------------------
   Projects
--------------------------------------------- */

.projects {
  position: relative;
  z-index: 0;
}

.projects::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: var(--surface);
  border-block: 1px solid var(--line);
  transform: translateX(-50%);
}

.project-list {
  margin-top: clamp(48px, 5vw, 72px);
  border-top: 1px solid var(--line-strong);
}

.project-row {
  display: grid;
  grid-template-columns: 68px minmax(220px, 1.05fr) minmax(260px, 1.25fr) minmax(190px, 0.62fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 220ms ease, padding 220ms ease;
}

.project-row:hover {
  padding-inline: 16px;
  background: var(--accent-soft);
}

.project-index {
  color: var(--muted);
  font-size: 8px;
}

.project-main h3 {
  margin-top: 8px;
  font: 400 clamp(29px, 3vw, 42px)/0.92 var(--font-display);
  letter-spacing: -0.04em;
  transition: color 180ms ease;
}

.project-row:hover h3 {
  color: var(--accent);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font: 400 8px/1 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}

.project-status.is-active {
  color: var(--accent);
}

.project-status.is-active span {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
}

.project-status.is-released span {
  background: var(--muted-strong);
}

.project-description {
  max-width: 480px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.project-progress {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.project-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font: 400 8px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-meta-line span:last-child {
  color: var(--ink);
}

.progress-bar {
  height: 3px;
  background: var(--line);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 800ms var(--ease);
}

/* ---------------------------------------------
   Studio
--------------------------------------------- */

.studio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.studio-visual {
  display: grid;
  place-items: center;
}

.orbit-graphic {
  position: relative;
  display: grid;
  width: min(100%, 470px);
  aspect-ratio: 1;
  place-items: center;
}

.orbit-graphic::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14), transparent 68%);
  filter: blur(8px);
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.ring-one {
  inset: 3%;
}

.ring-two {
  inset: 18%;
  border-color: var(--accent-line);
  animation: slow-spin 40s linear infinite;
}

.ring-two::before,
.ring-two::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.6);
}

.ring-two::before {
  top: 11%;
  left: 12%;
}

.ring-two::after {
  right: 6%;
  bottom: 22%;
  width: 4px;
  height: 4px;
}

.ring-three {
  inset: 33%;
  border-style: dashed;
  opacity: 0.65;
}

.orbit-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 31%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink-strong);
  font: italic 400 clamp(64px, 8vw, 114px)/1 var(--font-display);
  box-shadow: 0 0 80px rgba(var(--accent-rgb), 0.18);
}

.orbit-note {
  position: absolute;
  z-index: 3;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--muted-strong);
  font: 400 7px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-one {
  top: 17%;
  right: 4%;
  transform: rotate(7deg);
}

.note-two {
  bottom: 16%;
  left: 0;
  transform: rotate(-5deg);
}

.orbit-dot {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: var(--accent);
}

.dot-one {
  top: 13%;
  left: 27%;
  width: 7px;
  height: 7px;
}

.dot-two {
  right: 26%;
  bottom: 8%;
  width: 4px;
  height: 4px;
  opacity: 0.6;
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.studio-copy .section-label {
  padding-top: 0;
}

.studio-copy h2 {
  margin-top: 24px;
  font-size: clamp(60px, 7vw, 106px);
  line-height: 0.84;
}

.studio-body {
  max-width: 590px;
  margin-top: 27px;
  color: var(--muted-strong);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.75;
}

.studio-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 590px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.studio-fact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.studio-fact span {
  color: var(--muted);
  font: 400 7px/1.3 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-fact strong {
  font: 400 17px/1.2 var(--font-display);
  letter-spacing: -0.01em;
}

.studio-copy .button {
  margin-top: 38px;
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */

.site-footer {
  position: relative;
  padding-top: clamp(52px, 6vw, 78px);
  padding-bottom: 22px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 30px;
  align-items: start;
  padding-bottom: clamp(46px, 6vw, 76px);
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 23px;
}

.footer-brand .brand-name {
  font-size: 18px;
}

.footer-brand > p {
  max-width: 260px;
  margin-top: 16px;
  color: var(--muted);
  font: 400 8px/1.6 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 22px;
  padding-top: 8px;
}

.footer-nav a {
  position: relative;
  color: var(--muted-strong);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  padding-top: 8px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font: 400 9px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.footer-socials svg {
  width: 11px;
  height: 11px;
}

.footer-wordmark {
  margin-left: -0.045em;
  color: transparent;
  font: 400 clamp(90px, 17.5vw, 252px)/0.72 var(--font-display);
  letter-spacing: -0.065em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--line-strong);
  white-space: nowrap;
  user-select: none;
  transition: color 500ms ease, -webkit-text-stroke-color 500ms ease;
}

.footer-wordmark:hover {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 7px;
}

.footer-note {
  margin-left: auto;
}

.site-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 7px;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.site-controls::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.site-controls:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---------------------------------------------
   Preview + toast
--------------------------------------------- */

.preview-banner {
  position: fixed;
  z-index: 1100;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 36px);
  padding: 12px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  color: var(--muted-strong);
  font: 400 8px/1.3 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-banner a {
  color: var(--accent);
  white-space: nowrap;
}

.toast {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--surface-raised);
  color: var(--ink);
  font: 400 9px/1.4 var(--font-mono);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------
   Reveal
--------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------
   Responsive
--------------------------------------------- */

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(190px, 1fr) auto minmax(170px, 1fr);
  }

  .availability {
    display: none;
  }

  .hero {
    gap: 48px;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.75fr);
  }

  .hero-title {
    font-size: clamp(60px, 8.7vw, 100px);
  }

  .project-row {
    grid-template-columns: 54px minmax(200px, 0.9fr) minmax(220px, 1.1fr) minmax(150px, 0.55fr);
    gap: 22px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    z-index: 80;
    top: 85px;
    right: var(--gutter);
    left: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--surface-raised);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 220ms var(--ease), visibility 180ms ease;
  }

  .main-nav a {
    justify-content: space-between;
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
    position: relative;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 66px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-title {
    font-size: clamp(64px, 12.2vw, 118px);
  }

  .transmission {
    max-width: 660px;
    margin-left: 0;
  }

  .transmission-art {
    height: 340px;
  }

  .section-head {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .section-title-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title-wrap > p {
    max-width: 520px;
  }

  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card,
  .post-card:first-child {
    grid-column: auto;
  }

  .post-card:first-child .post-card-link {
    grid-template-columns: 1fr;
  }

  .post-card:first-child .post-card-art {
    min-height: 260px;
  }

  .post-card:first-child .post-card-body {
    padding: 28px;
  }

  .project-row {
    grid-template-columns: 42px minmax(0, 1fr) minmax(190px, 0.7fr);
  }

  .project-description {
    grid-column: 2;
    max-width: none;
  }

  .project-progress {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .studio {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .studio-visual {
    order: 2;
  }

  .orbit-graphic {
    width: min(100%, 440px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .footer-socials {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 23px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .main-nav {
    top: 77px;
  }

  .hero {
    gap: 54px;
    padding-top: 52px;
    padding-bottom: 78px;
  }

  .hero-title {
    margin-top: 24px;
    font-size: clamp(55px, 17.5vw, 82px);
  }

  .hero-title em {
    margin-left: 0.08em;
  }

  .hero-title::after {
    top: 4%;
    right: 1%;
    width: 12px;
  }

  .hero-deck {
    margin-top: 26px;
    font-size: 14.5px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 29px;
  }

  .button {
    min-height: 46px;
  }

  .hero-stats {
    gap: 12px;
    margin-top: 48px;
  }

  .hero-stat strong {
    font-size: 27px;
  }

  .hero-stat span {
    font-size: 7px;
  }

  .transmission-art {
    height: 240px;
  }

  .art-stamp {
    width: 58px;
    height: 58px;
    font-size: 9px;
  }

  .transmission-body {
    padding: 20px;
  }

  .signal-track {
    padding: 9px 0;
  }

  .journal,
  .projects,
  .studio {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-label {
    padding-top: 0;
  }

  .section-title-wrap h2 {
    font-size: clamp(48px, 14.5vw, 68px);
  }

  .section-title-wrap > p {
    font-size: 12px;
  }

  .post-filters {
    margin-top: 36px;
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .post-card:first-child .post-card-art {
    min-height: 220px;
  }

  .post-card:first-child .post-card-body {
    padding: 23px 21px;
  }

  .post-card:first-child h3 {
    font-size: 34px;
  }

  .post-card-art {
    height: 175px;
  }

  .read-time {
    margin-left: 0;
  }

  .project-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 24px 0;
  }

  .project-row:hover {
    padding-inline: 10px;
  }

  .project-main h3 {
    font-size: 31px;
  }

  .project-description {
    grid-column: 2;
    font-size: 11.5px;
  }

  .project-progress {
    grid-column: 2;
    grid-row: auto;
    margin-top: 4px;
  }

  .studio {
    gap: 48px;
  }

  .studio-copy h2 {
    font-size: clamp(55px, 15vw, 78px);
  }

  .studio-visual {
    order: 0;
  }

  .orbit-graphic {
    width: min(100%, 340px);
  }

  .studio-facts {
    gap: 12px;
  }

  .studio-fact strong {
    font-size: 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-socials {
    grid-column: auto;
  }

  .footer-wordmark {
    font-size: clamp(80px, 28vw, 150px);
    overflow: hidden;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .footer-note {
    margin-left: 0;
  }

  .preview-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    border-radius: 12px;
    font-size: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .signal-track {
    animation: none;
  }
}

/* ---------------------------------------------
   Journal entry
--------------------------------------------- */

.article-main {
  min-height: 70vh;
}

.article-loading {
  display: flex;
  min-height: 46vh;
  align-items: center;
  justify-content: center;
}

.article-loading .mono-label {
  color: var(--muted);
  font-size: 9px;
}

.article-hero {
  max-width: 1180px;
  padding-top: clamp(58px, 7vw, 100px);
  padding-bottom: clamp(40px, 5vw, 66px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 500 8px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.back-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}

.back-link:hover svg {
  transform: translateX(-3px);
}

.article-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: clamp(42px, 5vw, 64px);
}

.article-eyebrow .mono-label:first-child {
  color: var(--accent);
  font-size: 8px;
}

.article-eyebrow .eyebrow-mark {
  width: 24px;
}

.article-eyebrow .mono-label:last-child {
  color: var(--muted);
  font-size: 8px;
}

.article-hero h1 {
  max-width: 1030px;
  margin-top: 22px;
  font: 400 clamp(55px, 8.2vw, 118px)/0.86 var(--font-display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.article-deck {
  max-width: 690px;
  margin-top: 27px;
  color: var(--muted-strong);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.68;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.byline-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink-strong);
  font: italic 400 23px/1 var(--font-display);
  transform: rotate(-4deg);
}

.article-byline > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-byline strong {
  font-size: 11px;
  font-weight: 600;
}

.article-byline > div span {
  color: var(--muted);
  font: 400 7px/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.copy-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 400 7px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.copy-link:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}

.copy-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-art {
  max-width: 1328px;
}

.article-art-frame {
  position: relative;
  height: clamp(280px, 38vw, 470px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-art-frame .art-code {
  top: 22px;
  left: 22px;
  font-size: 8px;
}

.article-art-frame .art-word {
  right: 24px;
  bottom: 20px;
  font-size: clamp(42px, 6vw, 82px);
}

.article-art-frame .orbit-a {
  width: 34%;
}

.article-art-frame .orbit-b {
  width: 58%;
}

.article-art-frame .orbit-c {
  width: 80%;
}

.article-art-frame .art-core {
  width: 18px;
  height: 18px;
}

.article-art-frame .art-grid-lines {
  inset: 16% 20%;
}

.article-art-frame .art-cross {
  width: 26%;
}

.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  gap: clamp(40px, 7vw, 110px);
  justify-content: center;
  max-width: 1130px;
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(70px, 8vw, 106px);
}

.article-rail {
  position: sticky;
  top: 118px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding-top: 5px;
}

.rail-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.rail-block span {
  color: var(--muted);
  font: 400 7px/1.3 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-block strong {
  color: var(--muted-strong);
  font: 400 12px/1.3 var(--font-sans);
}

.rail-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent);
  font: 400 8px/1.3 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rail-link span {
  transition: transform 180ms ease;
}

.rail-link:hover span {
  transform: translate(2px, -2px);
}

.article-prose {
  min-width: 0;
  color: var(--muted-strong);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.82;
}

.article-prose > *:first-child {
  margin-top: 0;
}

.article-prose p {
  margin-bottom: 1.55em;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.article-prose h2 {
  margin: 1.7em 0 0.5em;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 0.98;
}

.article-prose h3 {
  margin: 1.55em 0 0.4em;
  font-size: 29px;
  line-height: 1.05;
}

.article-prose h4 {
  margin: 1.5em 0 0.35em;
  font-size: 23px;
  line-height: 1.1;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.55em;
  padding-left: 1.25em;
}

.article-prose li {
  margin-bottom: 0.48em;
  padding-left: 0.35em;
}

.article-prose li::marker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75em;
}

.article-prose strong {
  color: var(--ink);
  font-weight: 600;
}

.article-prose em {
  font-family: var(--font-display);
  font-size: 1.08em;
}

.article-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-prose blockquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--accent);
}

.article-prose blockquote p {
  margin: 0;
  color: var(--ink);
  font: italic 400 clamp(23px, 2.4vw, 31px)/1.28 var(--font-display);
  letter-spacing: -0.02em;
}

.article-prose code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: 400 0.8em/1 var(--font-mono);
}

.article-prose hr {
  width: 54px;
  margin: 2.7em 0;
  border: 0;
  border-top: 2px solid var(--accent);
}

.article-next {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1130px;
  padding-top: 32px;
  padding-bottom: clamp(70px, 8vw, 110px);
  border-top: 1px solid var(--line-strong);
}

.article-next .mono-label {
  color: var(--muted);
  font-size: 8px;
}

.article-next a {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 24px;
  text-align: right;
  font: 400 clamp(28px, 3.4vw, 47px)/0.98 var(--font-display);
  letter-spacing: -0.035em;
  transition: color 180ms ease;
}

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

.article-next svg {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}

.article-next a:hover svg {
  transform: translateX(5px);
}

.article-missing {
  display: flex;
  min-height: 60vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 950px;
  padding-top: 80px;
  padding-bottom: 100px;
}

.article-missing .empty-mark {
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 9px;
}

.article-missing h1 {
  font: 400 clamp(54px, 8vw, 100px)/0.88 var(--font-display);
  letter-spacing: -0.05em;
}

.article-missing p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.article-missing .button {
  margin-top: 32px;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .article-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .rail-block {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .rail-link {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 10px;
  }
}

@media (max-width: 680px) {
  .article-hero {
    padding-top: 45px;
  }

  .article-eyebrow {
    margin-top: 37px;
  }

  .article-hero h1 {
    margin-top: 18px;
    font-size: clamp(50px, 15.5vw, 72px);
  }

  .article-deck {
    margin-top: 21px;
    font-size: 14px;
  }

  .article-byline {
    margin-top: 28px;
  }

  .copy-link {
    margin-left: 0;
  }

  .article-art-frame {
    height: 250px;
  }

  .article-layout {
    padding-top: 46px;
    padding-bottom: 72px;
  }

  .article-rail {
    grid-template-columns: 1fr 1fr;
  }

  .rail-block:last-of-type {
    grid-column: 1 / -1;
  }

  .article-prose {
    font-size: 15px;
    line-height: 1.78;
  }

  .article-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .article-next a {
    text-align: left;
    font-size: 32px;
  }
}

.hero {
  display: block;
  min-height: 0;
  padding-top: clamp(90px, 12vw, 160px);
  padding-bottom: clamp(100px, 14vw, 180px);
}

.hero-copy {
  max-width: 900px;
}

.hero-title {
  max-width: 900px;
  margin-top: 24px;
  font-size: clamp(64px, 9vw, 128px);
}

.hero-title em {
  margin-left: clamp(0px, 4vw, 62px);
}

.hero-title::after {
  right: 10%;
}

.hero-deck {
  max-width: 540px;
  margin-top: 28px;
}

.hero-actions {
  margin-top: 29px;
}

.journal,
.projects {
  padding-top: clamp(78px, 9vw, 128px);
  padding-bottom: clamp(78px, 9vw, 128px);
}

.section-title-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
}

.section-title-wrap h2 {
  font-size: clamp(48px, 6vw, 82px);
}

.post-filters:empty,
.journal-grid:empty,
.project-list:empty {
  display: none;
}

.empty-note {
  grid-column: 1 / -1;
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.project-list:has(.empty-note) {
  border-top: 0;
}

.footer-wordmark {
  font-size: clamp(76px, 13vw, 184px);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 86px;
    padding-bottom: 104px;
  }

  .section-title-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-copy,
  .hero-title,
  .hero-deck {
    width: 100%;
    min-width: 0;
  }

  .hero {
    padding-top: 62px;
    padding-bottom: 84px;
  }

  .hero-title {
    font-size: clamp(58px, 15vw, 82px);
  }

  .hero-title em {
    margin-left: 0.06em;
  }

  .hero-title::after {
    right: 3%;
  }

  .section-title-wrap h2 {
    font-size: clamp(48px, 14vw, 66px);
  }
}
