:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-elevated: #f5f5f7;
  --bg-soft: #ececee;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --line: rgba(0, 0, 0, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.78);
  --accent: #0071e3;
  --accent-cyan: #00a6c7;
  --radius: 8px;
  --page: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-elevated: #161617;
  --bg-soft: #202022;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --line: rgba(255, 255, 255, 0.16);
  --nav-bg: rgba(10, 10, 11, 0.78);
  --accent: #2997ff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  transition: background-color 300ms ease, color 300ms ease;
}

body.menu-open,
body.search-open { overflow: hidden; }

button,
input { font: inherit; letter-spacing: 0; }

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

button { color: inherit; }

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent), transparent 35%);
  outline-offset: 3px;
}

::selection { background: #69e6ff; color: #09090a; }

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.reading-progress {
  position: fixed;
  z-index: 1500;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #00c2e6;
  transform: scaleX(0);
  transform-origin: left center;
}

.section-shell { width: var(--page); margin-inline: auto; }

.eyebrow {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow.on-dark { color: #8d8d93; }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 48px;
  border-bottom: 1px solid transparent;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: border-color 220ms ease, background-color 300ms ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(980px, calc(100vw - 36px));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 128px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-color: currentColor transparent transparent transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(8deg);
}

.brand-mark::before { top: 4px; }
.brand-mark::after { top: 0; transform: rotate(-8deg) scaleX(0.75); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-links a {
  font-size: 12px;
  opacity: 0.76;
  transition: opacity 180ms ease;
}

.nav-links a:hover { opacity: 1; }

.nav-actions,
.article-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 128px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.icon-button:hover { background: var(--bg-soft); }
.icon-button:active { transform: scale(0.92); }

.search-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.4px;
  background: currentColor;
  border-radius: 2px;
  content: "";
  transform: rotate(48deg);
}

.theme-button { font-size: 17px; }

.menu-button {
  display: none;
  gap: 4px;
  align-content: center;
}

.menu-button span {
  display: block;
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform 240ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 92px 24px 38px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
}

.hero-eyebrow,
.hero h1,
.hero-subtitle,
.hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 900ms var(--ease) forwards;
}

.hero-eyebrow { margin-bottom: 16px; animation-delay: 80ms; }

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(60px, 8.5vw, 112px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  animation-delay: 150ms;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--text-secondary);
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  animation-delay: 240ms;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 22px;
  animation-delay: 320ms;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
}

.text-link span {
  font-size: 24px;
  line-height: 0;
  transition: transform 180ms ease;
}

.text-link:hover span { transform: translateX(3px); }

.spatial-visual {
  position: relative;
  width: min(1220px, 96vw);
  height: clamp(300px, min(44vh, 46vw), 520px);
  min-height: 300px;
  margin-top: 42px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #07090d;
  box-shadow: 0 30px 80px rgba(12, 31, 55, 0.18);
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  animation: visual-enter 1300ms var(--ease) 400ms forwards;
}

.spatial-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.spatial-visual canvas { width: 100%; height: 100%; }

.spatial-prism {
  position: absolute;
  z-index: 1;
  top: -34%;
  right: 6%;
  width: 42%;
  height: 168%;
  pointer-events: none;
  transform: rotate(19deg);
  mix-blend-mode: screen;
  animation: prism-drift 11s var(--ease) infinite alternate;
}

.spatial-prism i {
  position: absolute;
  inset-block: 0;
  width: 22%;
  filter: blur(9px);
  opacity: .3;
}

.spatial-prism i:nth-child(1) { left: 3%; background: linear-gradient(180deg,transparent,#65edf2 28%,transparent 72%); }
.spatial-prism i:nth-child(2) { left: 34%; background: linear-gradient(180deg,transparent,#ff6683 37%,transparent 78%); animation: beam-pulse 4.8s ease-in-out infinite; }
.spatial-prism i:nth-child(3) { right: 4%; background: linear-gradient(180deg,transparent,#f1d05d 42%,transparent 74%); animation: beam-pulse 5.6s ease-in-out -2s infinite; }

.spatial-sweep {
  position: absolute;
  z-index: 1;
  top: -75%;
  left: -16%;
  width: 20%;
  height: 250%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.21),transparent);
  filter: blur(5px);
  pointer-events: none;
  transform: rotate(20deg);
  animation: visual-sweep 7.5s ease-in-out 1.4s infinite;
}

.spatial-hud {
  position: absolute;
  z-index: 2;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.58);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.spatial-hud-top { top: 18px; justify-content: space-between; }

.spatial-hud-bottom {
  bottom: 18px;
  justify-content: flex-start;
  gap: 9px;
}

.spatial-hud-bottom i {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.28);
}

.spatial-focus {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 54%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
}

.spatial-focus > span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: focus-ring 3.6s ease-out infinite;
}

.spatial-focus > span:nth-child(2) { animation-delay: 1.2s; }
.spatial-focus > span:nth-child(3) { animation-delay: 2.4s; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 700;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--text-secondary);
  content: "";
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.manifesto {
  display: grid;
  padding-block: 32px 170px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 90px;
}

.manifesto-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 700;
  line-height: 1.08;
}

.topic-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 62px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.topic-line i {
  width: 5px;
  height: 5px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.manifesto-motion {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  transform: translateY(var(--scroll-shift, 0));
  transition: transform 120ms linear, opacity 850ms var(--ease);
}

.manifesto-motion > span {
  position: absolute;
  inset: 12%;
  border: 1px solid color-mix(in srgb, var(--text), transparent 70%);
  border-radius: 46% 54% 58% 42%;
  animation: slow-spin 18s linear infinite;
}

.manifesto-motion > span:nth-child(2) {
  inset: 25%;
  border-color: #00a6c7;
  animation-duration: 13s;
  animation-direction: reverse;
}

.manifesto-motion > span:nth-child(3) {
  inset: 38%;
  border-color: #e96d75;
  animation-duration: 9s;
}

.manifesto-motion > i {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #f1c75b;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(241,199,91,0.55);
  animation: dot-float 4s ease-in-out infinite;
}

.columns { padding-block: 150px 170px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
}

.mobile-title-line { display: inline; }

.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.quiet-button:hover { border-color: var(--text-secondary); background: var(--bg-elevated); }
.quiet-button:active { transform: scale(0.97); }

.filter-bar {
  display: flex;
  gap: 8px;
  margin-top: 54px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.filter-button:hover { color: var(--text); }

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

.column-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.column-card,
.post-card {
  --card-accent: #00a7c7;
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  flex-direction: column;
  grid-column: span 4;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 520ms var(--ease) var(--delay, 0ms), opacity 520ms var(--ease) var(--delay, 0ms), box-shadow 260ms ease, border-color 260ms ease;
}

.column-card::before,
.post-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--card-accent), transparent 83%), transparent 33%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.column-card:nth-child(1),
.column-card:nth-child(2) { grid-column: span 6; min-height: 460px; }

.column-card.is-visible,
.post-card.is-visible { opacity: 1; transform: translateY(0); }

.column-card:hover,
.post-card:hover {
  border-color: color-mix(in srgb, var(--card-accent), transparent 45%);
  box-shadow: 0 24px 50px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.column-card:hover::before,
.post-card:hover::before { opacity: 1; }

.motion-card[data-tone="cyan"] { --card-accent: #00a7c7; }
.motion-card[data-tone="orange"] { --card-accent: #ed8d1d; }
.motion-card[data-tone="green"] { --card-accent: #1c9a5f; }
.motion-card[data-tone="blue"] { --card-accent: #4a73e8; }
.motion-card[data-tone="rose"] { --card-accent: #e56172; }

.card-topline,
.post-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
}

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

.column-card h3,
.post-card h3 {
  position: relative;
  z-index: 2;
  max-width: 410px;
  margin: 30px 0 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
}

.column-card > p,
.post-card > p {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.card-arrow {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 24px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  font-size: 18px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.column-card:hover .card-arrow { background: var(--text); color: var(--bg); transform: translate(2px,-2px); }

.card-visual {
  position: absolute;
  right: -7%;
  bottom: -14%;
  width: 72%;
  aspect-ratio: 1;
  color: var(--card-accent);
  opacity: 0.62;
}

.visual-ripple::before,
.visual-ripple::after {
  position: absolute;
  inset: 16%;
  border: 1px solid currentColor;
  border-radius: 48% 52% 57% 43%;
  content: "";
  animation: ripple-shape 8s ease-in-out infinite;
}

.visual-ripple::after {
  inset: 30%;
  box-shadow: 0 0 0 25px color-mix(in srgb,currentColor,transparent 84%), 0 0 0 50px color-mix(in srgb,currentColor,transparent 91%);
  animation-delay: -3s;
  animation-direction: reverse;
}

.visual-mesh {
  background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg,currentColor 1px,transparent 1px);
  background-size: 24px 24px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 22%, transparent 70%);
  transform: perspective(300px) rotateX(58deg) rotateZ(18deg);
  animation: mesh-drift 7s linear infinite;
}

.visual-terminal::before {
  position: absolute;
  inset: 16%;
  border: 1px solid currentColor;
  content: "";
  box-shadow: inset 0 22px color-mix(in srgb,currentColor,transparent 88%);
}

.visual-terminal::after {
  position: absolute;
  top: 39%;
  left: 27%;
  width: 54%;
  height: 6px;
  background: currentColor;
  box-shadow: 0 18px color-mix(in srgb,currentColor,transparent 38%), -12px 36px color-mix(in srgb,currentColor,transparent 62%), 6px 54px color-mix(in srgb,currentColor,transparent 78%);
  content: "";
  animation: terminal-pulse 2.8s ease-in-out infinite;
}

.visual-contour::before,
.visual-contour::after {
  position: absolute;
  inset: 12%;
  border: 1px solid currentColor;
  border-radius: 42% 58% 33% 67% / 52% 38% 62% 48%;
  content: "";
  box-shadow: 0 0 0 16px color-mix(in srgb,currentColor,transparent 83%), 0 0 0 32px color-mix(in srgb,currentColor,transparent 89%), 0 0 0 48px color-mix(in srgb,currentColor,transparent 94%);
  animation: contour-breathe 6s ease-in-out infinite;
}

.visual-contour::after {
  inset: 37%;
  background: currentColor;
  box-shadow: 0 0 34px currentColor;
  opacity: 0.75;
  animation-delay: -2s;
}

.visual-orbit::before {
  position: absolute;
  inset: 10%;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 26px color-mix(in srgb,currentColor,transparent 90%), inset 0 0 0 54px color-mix(in srgb,currentColor,transparent 94%);
  content: "";
}

.visual-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  margin: -7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
  content: "";
  transform-origin: 0 0;
  animation: orbit-dot 5.5s linear infinite;
}

.column-grid.is-post-grid .post-card { min-height: 350px; }

.post-card h3 { font-size: clamp(26px, 2.7vw, 38px); }

.post-card-motion {
  position: absolute;
  right: -5%;
  bottom: -18%;
  width: 64%;
  aspect-ratio: 1;
}

.post-card-motion i {
  position: absolute;
  inset: 12%;
  border: 1px solid color-mix(in srgb,var(--card-accent),transparent 30%);
  border-radius: 44% 56% 61% 39%;
  animation: ripple-shape 9s ease-in-out infinite;
}

.post-card-motion i:nth-child(2) { inset: 25%; animation-delay: -3s; }
.post-card-motion i:nth-child(3) { inset: 38%; animation-delay: -6s; }

.post-card-footer {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 11px;
}

.empty-state {
  padding: 80px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.empty-symbol { display: block; color: var(--accent-cyan); font-size: 58px; }
.empty-state h3 { margin: 14px 0 0; font-size: 26px; }
.empty-state p { margin: 10px 0 0; color: var(--text-secondary); }

.focus-stage { position: relative; background: #050506; color: #f5f5f7; }

.focus-inner {
  display: grid;
  min-height: 1180px;
  padding-block: 150px;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.focus-heading { position: sticky; top: 140px; align-self: start; }

.focus-heading h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.03;
}

.focus-heading > p:last-child {
  max-width: 370px;
  margin: 28px 0 0;
  color: #8d8d93;
  font-size: 19px;
  line-height: 1.55;
}

.focus-steps {
  display: flex;
  padding-top: 170px;
  flex-direction: column;
  gap: 32px;
}

.focus-step {
  position: relative;
  display: grid;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: #111113;
  grid-template-columns: auto 1fr;
  gap: 28px;
  opacity: 0.48;
  transform: scale(0.985);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), border-color 500ms ease;
}

.focus-step.is-active { border-color: rgba(105,230,255,0.36); opacity: 1; transform: scale(1); }

.step-index { color: #6e6e73; font-family: "SFMono-Regular",Consolas,monospace; font-size: 11px; }
.step-kicker { margin: 0 0 12px; color: #69e6ff; font-size: 10px; font-weight: 700; }
.focus-step h3 { margin: 0; font-size: clamp(30px,3vw,42px); }
.focus-step-copy > p:last-child { max-width: 320px; margin: 14px 0 0; color: #98989d; line-height: 1.55; }

.stream-motion {
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: 78%;
  height: 150px;
  transform: rotate(-8deg);
}

.stream-motion i {
  position: absolute;
  right: 0;
  width: 100%;
  height: 75px;
  border: 1px solid #00c2e6;
  border-color: #00c2e6 transparent transparent transparent;
  border-radius: 50%;
  animation: stream-wave 4.5s ease-in-out infinite;
}

.stream-motion i:nth-child(2) { top: 18px; opacity: .78; animation-delay: -.6s; }
.stream-motion i:nth-child(3) { top: 36px; opacity: .6; animation-delay: -1.2s; }
.stream-motion i:nth-child(4) { top: 54px; opacity: .43; animation-delay: -1.8s; }
.stream-motion i:nth-child(5) { top: 72px; opacity: .26; animation-delay: -2.4s; }

.module-motion {
  position: absolute;
  right: 8%;
  bottom: 12%;
  display: grid;
  width: 44%;
  aspect-ratio: 1.5;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  transform: perspective(350px) rotateX(48deg) rotateZ(-9deg);
}

.module-motion i {
  border: 1px solid rgba(240,160,70,.65);
  background: rgba(240,160,70,.08);
  animation: module-rise 3.6s ease-in-out infinite;
}

.module-motion i:nth-child(2) { animation-delay: -.6s; }
.module-motion i:nth-child(3) { animation-delay: -1.2s; }
.module-motion i:nth-child(4) { animation-delay: -1.8s; }
.module-motion i:nth-child(5) { animation-delay: -2.4s; }
.module-motion i:nth-child(6) { animation-delay: -3s; }

.line-motion {
  position: absolute;
  right: 30px;
  bottom: 38px;
  display: flex;
  width: 48%;
  flex-direction: column;
  gap: 12px;
}

.line-motion span {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: #29292c;
  border-radius: 2px;
}

.line-motion span::before {
  display: block;
  width: 44%;
  height: 100%;
  background: #8b86ef;
  content: "";
  animation: line-read 3s ease-in-out infinite;
}

.line-motion span:nth-child(2) { width: 76%; margin-left: 12%; }
.line-motion span:nth-child(3) { width: 90%; margin-left: 4%; }
.line-motion span:nth-child(4) { width: 62%; margin-left: 20%; }
.line-motion span:nth-child(2)::before { animation-delay: -.7s; }
.line-motion span:nth-child(3)::before { animation-delay: -1.4s; }
.line-motion span:nth-child(4)::before { animation-delay: -2.1s; }

.studio-section { padding-block: 150px; background: #eef4ef; color: #161817; }
html[data-theme="dark"] .studio-section { background: #0d1712; color: #f5f5f7; }

.studio-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.studio-copy h2 { margin: 0; font-size: clamp(42px,4.5vw,58px); line-height: 1.06; }
.studio-copy > p:not(.eyebrow) { max-width: 410px; margin: 24px 0 0; color: #68716b; font-size: 18px; line-height: 1.55; }
html[data-theme="dark"] .studio-copy > p:not(.eyebrow) { color: #99a29c; }
.button-link { padding: 0; border: 0; background: transparent; }
.studio-copy .button-link { margin-top: 26px; color: #0a7545; }

.workspace-window {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  background: #101311;
  box-shadow: 0 34px 70px rgba(29,69,46,0.18);
}

.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.window-bar > span { width: 8px; height: 8px; background: #454846; border-radius: 50%; }
.window-bar > span:first-child { background: #d96b60; }
.window-bar > span:nth-child(2) { background: #e0ac4e; }
.window-bar > span:nth-child(3) { background: #5ead77; }
.window-bar p { position: absolute; left: 50%; margin: 0; color: #777b78; font-family: "SFMono-Regular",Consolas,monospace; font-size: 9px; transform: translateX(-50%); }

.workspace-body { display: grid; height: 390px; grid-template-columns: 78px 1fr; }
.workspace-sidebar { display: flex; padding-top: 38px; border-right: 1px solid rgba(255,255,255,.07); flex-direction: column; align-items: center; gap: 24px; }
.workspace-sidebar i { width: 20px; height: 4px; background: #373b38; border-radius: 2px; }
.workspace-sidebar i:first-child { background: #67d79a; box-shadow: 0 0 12px rgba(103,215,154,.5); animation: sidebar-pulse 2.5s ease-in-out infinite; }

.workspace-canvas { position: relative; overflow: hidden; }
.workspace-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 42px 42px; }
.workspace-canvas svg { position: absolute; inset: 12% 8%; width: 84%; height: 76%; overflow: visible; }
.workspace-canvas path { fill: none; stroke: #69e6ff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 9 9; animation: path-flow 2.4s linear infinite; }
.workspace-canvas .workspace-path-alt { stroke: #67d79a; stroke-width: 1.3; opacity: .72; animation-direction: reverse; }

.workspace-node { position: absolute; z-index: 2; width: 13px; height: 13px; border: 2px solid #101311; background: #69e6ff; border-radius: 50%; box-shadow: 0 0 0 1px #69e6ff, 0 0 18px rgba(105,230,255,.5); animation: node-pulse 2.2s ease-in-out infinite; }
.node-a { top: 57%; left: 17%; }
.node-b { top: 38%; left: 52%; animation-delay: -.7s; background: #67d79a; box-shadow: 0 0 0 1px #67d79a,0 0 18px rgba(103,215,154,.5); }
.node-c { top: 24%; right: 12%; animation-delay: -1.4s; background: #f1c75b; box-shadow: 0 0 0 1px #f1c75b,0 0 18px rgba(241,199,91,.5); }

.workspace-cursor { position: absolute; z-index: 3; width: 9px; height: 13px; background: #fff; clip-path: polygon(0 0,100% 70%,56% 70%,76% 100%,59% 100%,40% 72%,0 100%); animation: cursor-travel 8s var(--ease) infinite; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }

.notes-section { padding-block: 150px 110px; overflow: hidden; }
.notes-rail { display: grid; margin-top: 58px; border-top: 1px solid var(--line); }
.note-row { display: grid; min-height: 92px; padding: 18px 0; border-bottom: 1px solid var(--line); grid-template-columns: 100px 1fr auto; align-items: center; gap: 24px; transition: padding 220ms var(--ease), color 180ms ease; }
a.note-row:hover { padding-inline: 12px; color: var(--accent); }
.note-row > span:first-child { color: var(--text-secondary); font-family: "SFMono-Regular",Consolas,monospace; font-size: 11px; }
.note-row h3 { margin: 0; font-size: 20px; }
.note-row p { margin: 5px 0 0; color: var(--text-secondary); font-size: 13px; }
.note-status { padding: 6px 10px; border: 1px solid var(--line); border-radius: 16px; color: var(--text-secondary); font-size: 11px; }

.notes-marquee,
.about-loop { width: 100vw; margin-top: 90px; margin-left: calc((var(--page) - 100vw) / 2); overflow: hidden; border-block: 1px solid var(--line); }
.notes-marquee > div,
.about-loop > div { display: flex; width: max-content; min-width: 118vw; padding-block: 22px; align-items: center; gap: 24px; color: var(--text-secondary); font-size: 11px; font-weight: 700; animation: marquee 16s ease-in-out infinite alternate; }
.notes-marquee span,
.about-loop span { min-width: 180px; text-align: center; }
.notes-marquee i,
.about-loop i { width: 4px; height: 4px; background: var(--accent-cyan); border-radius: 50%; }

.life-section { position: relative; display: flex; min-height: min(900px,90svh); overflow: hidden; background: #11141a; color: #fff; align-items: center; }
.life-visual { position: absolute; inset: 0; overflow: hidden; background: #182b45; }
.life-sky { position: absolute; inset: 0; background: linear-gradient(180deg,#102845 0%,#445f73 52%,#e08758 100%); animation: sky-breathe 9s ease-in-out infinite alternate; }
.life-stars { position: absolute; inset: 0; }
.life-stars i { position: absolute; width: 2px; height: 2px; background: #fff; opacity: .7; animation: star-twinkle 2.8s ease-in-out infinite; }
.life-stars i:nth-child(1) { top: 14%; left: 14%; }
.life-stars i:nth-child(2) { top: 22%; left: 32%; animation-delay: -.4s; }
.life-stars i:nth-child(3) { top: 11%; left: 57%; animation-delay: -.8s; }
.life-stars i:nth-child(4) { top: 28%; left: 72%; animation-delay: -1.2s; }
.life-stars i:nth-child(5) { top: 18%; left: 88%; animation-delay: -1.6s; }
.life-stars i:nth-child(6) { top: 35%; left: 45%; animation-delay: -2s; }
.life-stars i:nth-child(7) { top: 31%; left: 8%; animation-delay: -2.4s; }
.life-sun { position: absolute; top: 29%; right: 18%; width: clamp(70px,10vw,140px); aspect-ratio: 1; background: #ffd39a; border-radius: 50%; box-shadow: 0 0 60px rgba(255,188,125,.42); animation: sun-drift 8s ease-in-out infinite; }
.life-horizon { position: absolute; right: -5%; bottom: 0; left: -5%; height: 48%; background: #19212a; clip-path: polygon(0 66%,15% 48%,28% 61%,43% 23%,57% 56%,70% 34%,84% 54%,100% 32%,100% 100%,0 100%); }
.life-horizon-back { bottom: 12%; background: #384550; opacity: .72; transform: scale(1.06); animation: horizon-drift 12s ease-in-out infinite alternate; }
.life-horizon-front { background: #10151b; clip-path: polygon(0 72%,11% 55%,27% 69%,45% 44%,56% 66%,74% 49%,89% 64%,100% 52%,100% 100%,0 100%); animation: horizon-drift 9s ease-in-out infinite alternate-reverse; }
.life-grid { position: absolute; right: 0; bottom: -8%; width: 54%; height: 54%; background-image: linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to top,black,transparent 76%); transform: perspective(400px) rotateX(64deg) rotateZ(-9deg); transform-origin: bottom center; animation: grid-slide 7s linear infinite; }
.life-visual::after { position: absolute; inset: 0; background: rgba(5,8,12,.25); content: ""; }
.life-copy { position: relative; z-index: 2; width: var(--page); margin-inline: auto; }
.life-copy .eyebrow { color: rgba(255,255,255,.65); }
.life-copy h2 { max-width: 780px; margin: 0; font-size: clamp(50px,7vw,90px); line-height: 1.02; }
.life-copy > p:not(.eyebrow) { max-width: 530px; margin: 26px 0 0; color: rgba(255,255,255,.72); font-size: 19px; line-height: 1.55; }
.light-button { margin-top: 30px; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.07); color: #fff; }
.light-button:hover { border-color: #fff; background: rgba(255,255,255,.13); }

.about-section { padding-block: 130px 90px; overflow: hidden; }
.about-index { padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--text-secondary); font-family: "SFMono-Regular",Consolas,monospace; font-size: 11px; }
.about-grid { display: grid; padding-top: 70px; grid-template-columns: 1fr .8fr; gap: 100px; }
.about-title h2 { margin: 0; font-size: clamp(46px,6vw,76px); line-height: 1.04; }
.about-copy > p { margin: 34px 0 0; color: var(--text-secondary); font-size: clamp(20px,2.4vw,28px); font-weight: 500; line-height: 1.48; }
.about-links { display: flex; gap: 12px; margin-top: 32px; }
.about-links a { display: inline-flex; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 20px; align-items: center; font-size: 13px; transition: border-color 180ms ease,background-color 180ms ease; }
.about-links a:hover { border-color: var(--text-secondary); background: var(--bg-elevated); }
.about-loop { margin-top: 110px; }
.about-loop > div { animation-duration: 18s; animation-direction: reverse; }
.about-loop i:nth-of-type(2n) { background: #e56172; }

.site-footer { background: var(--bg-elevated); }
.footer-inner { padding-block: 54px 28px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.footer-main p { margin: 0; color: var(--text-secondary); font-size: 12px; }
.footer-nav { display: flex; gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.footer-nav a { color: var(--text-secondary); font-size: 12px; }
.footer-nav a:hover { color: var(--text); }
.footer-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; color: var(--text-secondary); font-size: 11px; }
.footer-meta button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }

.search-overlay { position: fixed; z-index: 1400; inset: 0; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.34); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; animation: fade-in 220ms ease forwards; }
.search-panel { position: relative; width: min(680px,calc(100vw - 32px)); max-height: min(700px,calc(100vh - 80px)); margin: 64px auto 0; padding: 30px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,.2); opacity: 0; transform: translateY(-18px) scale(.98); animation: search-enter 360ms var(--ease) forwards; }
.search-panel-head { display: flex; align-items: center; justify-content: space-between; }
.search-panel-head h2 { margin: 0; font-size: 28px; }
.close-button { background: var(--bg-elevated); font-size: 24px; font-weight: 300; }
.search-field { display: grid; height: 54px; margin-top: 28px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); grid-template-columns: 20px 1fr; align-items: center; gap: 12px; }
.search-field input { width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-field input::placeholder { color: var(--text-secondary); }
.search-results { display: grid; margin-top: 18px; }
.search-result { display: grid; width: 100%; min-height: 74px; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; grid-template-columns: 1fr auto; align-items: center; gap: 20px; text-align: left; cursor: pointer; }
.search-result:hover h3 { color: var(--accent); }
.search-result h3 { margin: 0; font-size: 16px; transition: color 180ms ease; }
.search-result p { margin: 5px 0 0; color: var(--text-secondary); font-size: 12px; }
.search-result > span { color: var(--text-secondary); }
.search-empty { padding: 44px 10px; color: var(--text-secondary); text-align: center; }
.noscript-note { position: fixed; z-index: 3000; right: 12px; bottom: 12px; left: 12px; padding: 14px; background: #fff2cc; color: #4b3b00; text-align: center; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 850ms var(--ease),transform 850ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Category pages */
.category-page {
  --category-accent: #4fe1eb;
  --category-accent-2: #5e7dff;
  --category-warm: #f3cf5b;
}

.category-page[data-category-tone="orange"] { --category-accent: #ff9c45; --category-accent-2: #ff5272; --category-warm: #5bd4d0; }
.category-page[data-category-tone="green"] { --category-accent: #52df91; --category-accent-2: #4fc5e7; --category-warm: #f2cb57; }
.category-page[data-category-tone="blue"] { --category-accent: #6d8cff; --category-accent-2: #54d7e3; --category-warm: #f2787b; }
.category-page[data-category-tone="rose"] { --category-accent: #ff748b; --category-accent-2: #eeb64e; --category-warm: #4fcbd8; }

.category-header:not(.is-past-hero) {
  border-color: rgba(255,255,255,.08);
  background: rgba(7,8,11,.56);
  color: #f5f5f7;
}

.category-header:not(.is-past-hero) .nav-links a,
.category-header:not(.is-past-hero) .brand { color: #f5f5f7; }
.category-header:not(.is-past-hero) .icon-button { color: #f5f5f7; }
.category-header:not(.is-past-hero) .menu-button span { background: #f5f5f7; }
.category-nav-links a.is-current { opacity: 1; }
.category-nav-links a.is-current::after { transform: scaleX(1); }

.category-hero {
  position: relative;
  display: grid;
  height: calc(100svh - 64px);
  min-height: 660px;
  max-height: 880px;
  overflow: hidden;
  background: #06070a;
  color: #f5f5f7;
  isolation: isolate;
  place-items: center;
}

.category-hero canvas,
.category-hero-grid,
.category-light-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.category-hero canvas { z-index: -4; max-width: none; }

.category-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,rgba(4,5,8,.84) 0%,rgba(4,5,8,.46) 42%,rgba(4,5,8,.08) 76%), linear-gradient(0deg,rgba(5,6,9,.52),transparent 38%);
  content: "";
}

.category-hero::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg,transparent,var(--category-accent),var(--category-accent-2),transparent);
  content: "";
  opacity: .8;
  animation: category-line 4.6s ease-in-out infinite;
}

.category-light-field { z-index: -2; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.category-light-field i {
  position: absolute;
  top: -45%;
  width: 11%;
  height: 190%;
  filter: blur(22px);
  opacity: .23;
  transform: rotate(22deg);
  animation: category-beam 10s var(--ease) infinite alternate;
}
.category-light-field i:nth-child(1) { left: 43%; background: linear-gradient(180deg,transparent,var(--category-accent),transparent); }
.category-light-field i:nth-child(2) { left: 64%; background: linear-gradient(180deg,transparent,var(--category-accent-2),transparent); animation-delay: -4s; }
.category-light-field i:nth-child(3) { left: 82%; background: linear-gradient(180deg,transparent,var(--category-warm),transparent); animation-delay: -7s; }

.category-hero-grid {
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg,transparent 5%,black 70%,transparent);
  opacity: .42;
  animation: category-grid 14s linear infinite;
}

.category-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px,calc(100vw - 64px));
  margin-top: 28px;
}

.category-hero-copy .eyebrow { color: var(--category-accent); opacity: 0; animation: category-copy-in 900ms var(--ease) 160ms forwards; }
.category-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: 104px;
  line-height: .94;
  opacity: 0;
  transform: translateY(38px);
  animation: category-copy-in 1100ms var(--ease) 240ms forwards;
}
.category-hero-copy h2 {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.92);
  font-size: 34px;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(30px);
  animation: category-copy-in 1100ms var(--ease) 390ms forwards;
}
.category-hero-copy > p:last-child {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 18px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(24px);
  animation: category-copy-in 1000ms var(--ease) 520ms forwards;
}

.category-hero-meta {
  position: absolute;
  right: max(32px,calc((100vw - 1180px)/2));
  bottom: 28px;
  left: max(32px,calc((100vw - 1180px)/2));
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.44);
  font-family: "SFMono-Regular",Consolas,monospace;
  font-size: 9px;
}

.category-scroll-cue { position: absolute; z-index: 2; right: 28px; top: 50%; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.48); font-size: 9px; writing-mode: vertical-rl; }
.category-scroll-cue i { width: 1px; height: 52px; overflow: hidden; background: rgba(255,255,255,.14); }
.category-scroll-cue i::after { display: block; width: 100%; height: 24px; background: var(--category-accent); content: ""; animation: scroll-cue 1.9s ease-in-out infinite; }

.category-archive { padding-block: 112px 132px; }
.category-archive-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.category-archive-head h2 { margin: 0; font-size: 54px; line-height: 1.08; }
.category-archive-head > span { padding-bottom: 7px; color: var(--text-secondary); font-size: 13px; }
.category-switcher { display: flex; margin-top: 50px; padding-bottom: 14px; overflow-x: auto; border-bottom: 1px solid var(--line); gap: 30px; scrollbar-width: none; }
.category-switcher::-webkit-scrollbar { display: none; }
.category-switcher a { position: relative; flex: 0 0 auto; padding: 8px 0; color: var(--text-secondary); font-size: 14px; }
.category-switcher a::after { position: absolute; right: 0; bottom: -15px; left: 0; height: 2px; background: var(--category-accent); content: ""; transform: scaleX(0); transition: transform 260ms var(--ease); }
.category-switcher a:hover,
.category-switcher a.is-current { color: var(--text); }
.category-switcher a.is-current::after { transform: scaleX(1); }

.category-post-grid { display: grid; margin-top: 38px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.category-post {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: flex;
  min-height: 380px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  flex-direction: column;
  transition: border-color 260ms ease,box-shadow 320ms ease,transform 420ms var(--ease),opacity 800ms var(--ease) var(--delay,0ms);
}
.category-post::before { position: absolute; inset: 0; background: radial-gradient(circle at var(--x) var(--y),color-mix(in srgb,var(--category-accent),transparent 78%),transparent 34%); content: ""; opacity: 0; transition: opacity 240ms ease; }
.category-post:hover { border-color: color-mix(in srgb,var(--category-accent),transparent 42%); box-shadow: 0 28px 65px rgba(0,0,0,.12); transform: translateY(-6px); }
.category-post:hover::before { opacity: 1; }
.category-post-meta,.category-post-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 11px; }
.category-post h3 { position: relative; z-index: 2; max-width: 520px; margin: 44px 0 0; font-size: 36px; line-height: 1.12; }
.category-post > p { position: relative; z-index: 2; max-width: 500px; margin: 18px 0 0; color: var(--text-secondary); line-height: 1.65; }
.category-post-footer { margin-top: auto; align-items: end; }
.category-post-footer i { display: grid; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; place-items: center; font-size: 18px; transition: transform 220ms ease,background 220ms ease,color 220ms ease; }
.category-post:hover .category-post-footer i { background: var(--text); color: var(--bg); transform: translate(2px,-2px); }
.category-post-motion { position: absolute; right: -22px; bottom: -35px; width: 210px; height: 210px; opacity: .48; }
.category-post-motion i { position: absolute; inset: calc(var(--ring,0)*18px); border: 1px solid var(--category-accent); border-radius: 47% 53% 62% 38%; animation: ripple-shape 7s ease-in-out infinite; }
.category-post-motion i:nth-child(2) { --ring: 1; animation-delay: -2.2s; }
.category-post-motion i:nth-child(3) { --ring: 2; animation-delay: -4.4s; }

.category-empty { min-height: 390px; margin-top: 38px; padding: 58px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elevated); text-align: center; }
.category-empty[hidden] { display: none; }
.category-empty-motion { position: relative; width: 148px; height: 148px; margin: 0 auto 24px; }
.category-empty-motion i { position: absolute; inset: calc(var(--empty-ring,0)*20px); border: 1px solid color-mix(in srgb,var(--category-accent),transparent 18%); border-radius: 50%; animation: empty-orbit 6s linear infinite; }
.category-empty-motion i:nth-child(2) { --empty-ring: 1; animation-direction: reverse; animation-duration: 4.5s; }
.category-empty-motion i:nth-child(3) { --empty-ring: 2; animation-duration: 3.6s; }
.category-empty h3 { margin: 0; font-size: 27px; }
.category-empty p { margin: 12px 0 0; color: var(--text-secondary); }

.category-next { overflow: hidden; background: #090a0d; color: #f5f5f7; }
.category-next a { position: relative; display: grid; width: min(1180px,calc(100vw - 48px)); min-height: 390px; margin-inline: auto; padding-block: 82px; align-content: center; }
.category-next a::before { position: absolute; top: -160px; right: -70px; width: 480px; height: 480px; border: 1px solid var(--category-accent); border-radius: 48% 52% 55% 45%; box-shadow: 0 0 0 62px color-mix(in srgb,var(--category-accent-2),transparent 89%),0 0 0 124px color-mix(in srgb,var(--category-warm),transparent 94%); content: ""; opacity: .5; animation: ripple-shape 12s ease-in-out infinite; }
.category-next p { margin: 0 0 14px; color: var(--category-accent); font-size: 12px; font-weight: 700; }
.category-next h2 { margin: 0; font-size: 70px; line-height: 1; }
.category-next span { max-width: 540px; margin-top: 18px; color: rgba(255,255,255,.58); font-size: 18px; }
.category-next i { position: absolute; right: 6px; bottom: 76px; font-style: normal; font-size: 48px; transition: transform 280ms var(--ease); }
.category-next a:hover i { transform: translate(8px,-8px); }
.category-footer .footer-main { padding-bottom: 30px; }

/* Article pages */
.article-nav-actions { gap: 8px; }
.article-back { color: var(--text-secondary); font-size: 12px; }
.article-back:hover { color: var(--text); }

.article-hero { padding: 112px 24px 24px; }
.article-hero-copy { width: min(980px,calc(100vw - 48px)); margin-inline: auto; text-align: center; }
.article-meta { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--text-secondary); font-size: 11px; }
.article-meta > *:not(:last-child)::after { margin-left: 12px; color: var(--line); content: "/"; }
.article-date:empty { display: none; }
.draft-badge { padding: 5px 9px; border: 1px solid #d99c28; border-radius: 14px; color: #a56c00; }
.draft-badge::after { display: none; }
.article-hero h1 { max-width: 1050px; margin: 28px auto 0; overflow-wrap: anywhere; font-size: clamp(50px,7vw,92px); line-height: 1.03; }
.article-hero-copy > p { max-width: 720px; margin: 24px auto 0; color: var(--text-secondary); font-size: clamp(18px,2vw,24px); line-height: 1.5; }
.article-kinetic { position: relative; width: min(1220px,calc(100vw - 32px)); height: clamp(280px,min(38vh,38vw),440px); margin: 56px auto 0; overflow: hidden; border-radius: var(--radius); background: #08090b; box-shadow: 0 28px 70px rgba(0,0,0,.15); }
.article-kinetic canvas { width: 100%; height: 100%; }
.article-kinetic::after { position: absolute; top: -65%; left: -28%; width: 18%; height: 230%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); filter: blur(5px); content: ""; pointer-events: none; transform: rotate(18deg); animation: visual-sweep 8s ease-in-out 1s infinite; }
.article-kinetic-label { position: absolute; right: 20px; bottom: 18px; left: 20px; display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-family: "SFMono-Regular",Consolas,monospace; font-size: 9px; text-transform: uppercase; }

.article-layout { display: grid; width: min(1050px,calc(100vw - 48px)); margin: 0 auto; padding-block: 72px 120px; grid-template-columns: 180px minmax(0,760px); gap: 90px; }
.article-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; }
.article-toc > p { margin: 0 0 16px; color: var(--text-secondary); font-size: 11px; font-weight: 700; }
.article-toc nav { display: grid; border-left: 1px solid var(--line); }
.article-toc a { padding: 7px 0 7px 14px; color: var(--text-secondary); font-size: 12px; line-height: 1.4; transition: color 180ms ease,border-color 180ms ease; }
.article-toc a:hover { color: var(--text); }
.article-toc a.is-subheading { padding-left: 24px; font-size: 11px; }

.article-prose { min-width: 0; color: var(--text); font-size: 18px; line-height: 1.9; }
.article-prose > * { margin-top: 0; margin-bottom: 30px; }
.article-prose.is-animated > * { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease),transform 650ms var(--ease); }
.article-prose.is-animated > *.article-visible { opacity: 1; transform: translateY(0); }
.article-prose h1 { font-size: 46px; line-height: 1.15; }
.article-prose h2 { margin-top: 80px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 34px; line-height: 1.25; scroll-margin-top: 72px; }
.article-prose h3 { margin-top: 54px; font-size: 25px; line-height: 1.3; scroll-margin-top: 72px; }
.article-prose p { color: color-mix(in srgb,var(--text),var(--text-secondary) 18%); }
.article-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-prose blockquote { margin-inline: 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--text); color: var(--text-secondary); font-size: 21px; }
.article-prose blockquote p { margin: 0; }
.article-prose ul,
.article-prose ol { padding-left: 24px; }
.article-prose li { margin-block: 8px; }
.article-prose hr { margin-block: 68px; border: 0; border-top: 1px solid var(--line); }
.article-prose code { padding: 2px 5px; border-radius: 4px; background: var(--bg-soft); font-family: "SFMono-Regular",Consolas,monospace; font-size: .88em; }
.article-prose pre { position: relative; margin-block: 42px; padding: 26px; overflow-x: auto; border-radius: var(--radius); background: #101113; color: #e8e8ea; line-height: 1.65; }
.article-prose pre code { padding: 0; background: transparent; color: inherit; }
.copy-code { position: absolute; top: 10px; right: 10px; min-height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: rgba(255,255,255,.08); color: #c9c9ce; cursor: pointer; font-size: 11px; }
.article-prose img { width: 100%; height: auto; margin-block: 44px; border-radius: var(--radius); }
.article-cover { margin: 0 0 64px; }
.article-cover img { margin: 0; }
.article-prose table { display: block; width: 100%; margin-block: 42px; overflow-x: auto; border-collapse: collapse; }
.article-prose th,
.article-prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.article-prose th { font-size: 13px; }

.article-end { display: grid; width: min(760px,calc(100vw - 48px)); margin: 0 auto 130px; padding-top: 50px; border-top: 1px solid var(--line); place-items: center; text-align: center; }
.article-end > span { color: var(--accent-cyan); font-size: 56px; }
.article-end p { margin: 14px 0 20px; color: var(--text-secondary); }
.article-footer .footer-meta { padding-block: 28px; }

@keyframes hero-enter { to { opacity: 1; transform: translateY(0); } }
@keyframes visual-enter { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes scroll-cue { 0% { transform: translateY(-18px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(38px); opacity: 0; } }
@keyframes focus-ring { 0% { opacity: .8; transform: scale(.4); } 100% { opacity: 0; transform: scale(14); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes dot-float { 50% { transform: translate(24px,36px) scale(.75); } }
@keyframes ripple-shape { 0%,100% { transform: rotate(0) scale(1); border-radius: 48% 52% 57% 43%; } 50% { transform: rotate(115deg) scale(1.06); border-radius: 60% 40% 45% 55%; } }
@keyframes mesh-drift { to { background-position: 24px 24px,24px 24px; } }
@keyframes terminal-pulse { 0%,100% { transform: scaleX(.75); opacity: .55; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes contour-breathe { 0%,100% { transform: scale(.92) rotate(0); } 50% { transform: scale(1.06) rotate(32deg); } }
@keyframes orbit-dot { from { transform: rotate(0) translateX(92px); } to { transform: rotate(360deg) translateX(92px); } }
@keyframes stream-wave { 0%,100% { transform: translateX(0) scaleX(.85); } 50% { transform: translateX(-22px) scaleX(1.06); } }
@keyframes module-rise { 0%,100% { transform: translateZ(0); background: rgba(240,160,70,.06); } 50% { transform: translateY(-12px); background: rgba(240,160,70,.23); } }
@keyframes line-read { 0%,100% { transform: translateX(-70%); } 50% { transform: translateX(190%); } }
@keyframes sidebar-pulse { 50% { box-shadow: 0 0 24px rgba(103,215,154,.9); } }
@keyframes path-flow { to { stroke-dashoffset: -36; } }
@keyframes node-pulse { 50% { transform: scale(1.45); } }
@keyframes cursor-travel { 0%,100% { top: 76%; left: 14%; } 28% { top: 34%; left: 46%; } 58% { top: 18%; left: 78%; } 78% { top: 58%; left: 62%; } }
@keyframes marquee { to { transform: translateX(-18vw); } }
@keyframes sky-breathe { to { filter: saturate(1.14) brightness(1.06); } }
@keyframes star-twinkle { 50% { opacity: .15; transform: scale(.5); } }
@keyframes sun-drift { 50% { transform: translate(-18px,12px) scale(.96); box-shadow: 0 0 85px rgba(255,188,125,.54); } }
@keyframes horizon-drift { to { transform: translateX(2.5%) scale(1.06); } }
@keyframes grid-slide { to { background-position: 44px 44px,44px 44px; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes search-enter { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes prism-drift { 0% { transform: rotate(17deg) translate3d(-4%,2%,0); } 100% { transform: rotate(23deg) translate3d(10%,-4%,0); } }
@keyframes beam-pulse { 0%,100% { opacity: .16; transform: scaleX(.8); } 50% { opacity: .46; transform: scaleX(1.28); } }
@keyframes visual-sweep { 0%,12% { transform: translateX(0) rotate(20deg); opacity: 0; } 28% { opacity: .58; } 62%,100% { transform: translateX(720%) rotate(20deg); opacity: 0; } }
@keyframes category-line { 0%,100% { opacity: .26; transform: scaleX(.42); } 50% { opacity: .9; transform: scaleX(1); } }
@keyframes category-beam { 0% { opacity: .12; transform: translate3d(-22%,2%,0) rotate(18deg) scaleX(.72); } 100% { opacity: .34; transform: translate3d(32%,-3%,0) rotate(26deg) scaleX(1.18); } }
@keyframes category-grid { to { background-position: 48px 48px,48px 48px; } }
@keyframes category-copy-in { to { opacity: 1; transform: translateY(0); } }
@keyframes empty-orbit { to { transform: rotate(360deg) scaleX(.74); border-radius: 42% 58% 50% 50%; } }

@media (max-width: 900px) {
  :root { --page: min(100% - 36px,720px); }

  .nav-links {
    position: fixed;
    top: 48px;
    right: 0;
    left: 0;
    display: flex;
    min-height: calc(100svh - 48px);
    padding: 54px 30px;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 260ms ease,transform 320ms var(--ease);
  }

  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 28px; font-weight: 650; opacity: 1; }
  .site-header.is-menu-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-header.is-menu-open { background: var(--bg); }
  .menu-button { display: grid; }
  .site-header.is-menu-open .menu-button span:first-child { transform: translateY(2.5px) rotate(45deg); }
  .site-header.is-menu-open .menu-button span:last-child { transform: translateY(-2.5px) rotate(-45deg); }
  .brand,
  .nav-actions { min-width: auto; }

  .manifesto { grid-template-columns: 1fr; gap: 30px; }
  .manifesto-motion { width: min(330px,70vw); margin-left: auto; }

  .focus-inner { min-height: auto; grid-template-columns: 1fr; gap: 72px; }
  .focus-heading { position: static; }
  .focus-steps { padding-top: 0; }
  .focus-step { opacity: 1; transform: none; }

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

  .column-card,
  .column-card:nth-child(1),
  .column-card:nth-child(2),
  .post-card { min-height: 390px; grid-column: span 6; }
  .column-card:last-child { grid-column: span 12; }

  .about-grid { grid-template-columns: 1fr; gap: 24px; }

  .article-layout { width: min(760px,calc(100vw - 48px)); grid-template-columns: 1fr; gap: 0; }
  .article-toc { display: none; }

  .category-header.is-menu-open:not(.is-past-hero) .category-nav-links { background: #08090c; }
  .category-hero-copy { width: min(720px,calc(100vw - 48px)); }
  .category-hero-copy h1 { font-size: 76px; }
  .category-hero-copy h2 { max-width: 620px; font-size: 30px; }
  .category-hero::before { background: linear-gradient(90deg,rgba(4,5,8,.78),rgba(4,5,8,.32) 72%,rgba(4,5,8,.12)); }
  .category-light-field i { width: 16%; }
  .category-archive { padding-block: 96px 110px; }
  .category-archive-head h2 { font-size: 46px; }
  .category-post-grid { grid-template-columns: 1fr; }
  .category-next h2 { font-size: 58px; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 32px); }
  .nav-shell { width: calc(100vw - 24px); }
  .icon-button { width: 36px; height: 36px; }

  .hero { padding: 86px 16px 34px; }
  .hero h1 { font-size: clamp(54px,18vw,74px); }
  .hero-subtitle { margin-top: 18px; font-size: 18px; }
  .hero-actions { gap: 22px; }
  .text-link { font-size: 15px; }
  .spatial-visual { width: calc(100vw - 20px); height: clamp(270px,39vh,330px); min-height: 270px; margin-top: 32px; }
  .spatial-hud { right: 14px; left: 14px; }
  .spatial-focus,
  .scroll-cue { display: none; }

  .manifesto,
  .columns,
  .notes-section,
  .about-section { padding-block: 100px; }
  .manifesto-title { font-size: 42px; }
  .manifesto-motion { width: 240px; margin-top: 20px; }
  .topic-line { margin-top: 48px; flex-wrap: wrap; gap: 12px; }
  .topic-line i { width: 3px; height: 3px; }

  .focus-inner { padding-block: 100px; }
  .focus-heading h2 { font-size: 48px; }
  .focus-step { min-height: 280px; padding: 24px; gap: 16px; }

  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 42px; }
  .mobile-title-line { display: block; }
  .section-heading > .quiet-button,
  .section-heading > .button-link { align-self: flex-start; }

  .column-grid { grid-template-columns: 1fr; }
  .column-card,
  .column-card:nth-child(1),
  .column-card:nth-child(2),
  .column-card:last-child,
  .post-card { min-height: 360px; grid-column: 1; }
  .column-card h3 { font-size: 32px; }

  .studio-section { padding-block: 100px; }
  .studio-copy h2 { font-size: 43px; }
  .workspace-body { height: 300px; grid-template-columns: 48px 1fr; }
  .workspace-sidebar { gap: 20px; }
  .workspace-sidebar i { width: 13px; }

  .note-row { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .note-row h3 { font-size: 17px; }
  .note-row p { display: none; }
  .notes-marquee,
  .about-loop { margin-left: -16px; }

  .life-section { min-height: 720px; }
  .life-copy h2 { font-size: 48px; }
  .life-copy > p:not(.eyebrow) { font-size: 16px; }
  .life-sun { top: 19%; right: 12%; }
  .life-grid { width: 100%; }

  .about-title h2 { font-size: 48px; }
  .about-copy > p { margin-top: 8px; font-size: 20px; }

  .footer-main { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-nav { justify-content: space-between; gap: 10px; }

  .search-panel { max-height: calc(100svh - 32px); margin-top: 16px; padding: 22px; }

  .article-nav-actions { min-width: auto; }
  .article-hero { padding: 92px 16px 24px; }
  .article-hero-copy { width: 100%; }
  .article-meta { flex-wrap: wrap; gap: 7px; }
  .article-meta > *:not(:last-child)::after { margin-left: 7px; }
  .article-hero h1 { margin-top: 24px; font-size: clamp(44px,13vw,62px); }
  .article-hero-copy > p { font-size: 17px; }
  .article-kinetic { width: calc(100vw - 20px); height: 300px; margin-top: 36px; }
  .article-layout { width: calc(100vw - 32px); margin-top: 0; padding-block: 52px 90px; }
  .article-prose { font-size: 17px; line-height: 1.82; }
  .article-prose h1 { font-size: 38px; }
  .article-prose h2 { margin-top: 64px; font-size: 30px; }
  .article-prose h3 { margin-top: 44px; font-size: 23px; }
  .article-prose pre { margin-inline: -8px; padding: 22px 18px; }
  .article-end { width: calc(100vw - 32px); margin-bottom: 90px; }

  .category-hero { height: calc(100svh - 40px); min-height: 610px; }
  .category-hero-copy { width: calc(100vw - 40px); margin-top: 10px; }
  .category-hero-copy .eyebrow { margin-bottom: 16px; }
  .category-hero-copy h1 { font-size: 58px; }
  .category-hero-copy h2 { margin-top: 22px; font-size: 25px; line-height: 1.2; }
  .category-hero-copy > p:last-child { margin-top: 16px; font-size: 16px; line-height: 1.55; }
  .category-hero-meta { right: 20px; bottom: 18px; left: 20px; }
  .category-hero-meta span:last-child { display: none; }
  .category-scroll-cue { display: none; }
  .category-hero-grid { background-size: 36px 36px; }
  .category-light-field i { width: 24%; filter: blur(17px); }
  .category-archive { padding-block: 80px 92px; }
  .category-archive-head { align-items: flex-start; }
  .category-archive-head h2 { font-size: 38px; }
  .category-archive-head > span { flex: 0 0 auto; }
  .category-switcher { margin-top: 36px; gap: 24px; }
  .category-post { min-height: 350px; padding: 24px; }
  .category-post h3 { margin-top: 36px; font-size: 30px; }
  .category-empty { min-height: 350px; padding: 50px 18px; }
  .category-empty h3 { font-size: 23px; }
  .category-next a { width: calc(100vw - 32px); min-height: 330px; padding-block: 64px; }
  .category-next a::before { top: -60px; right: -220px; width: 360px; height: 360px; }
  .category-next h2 { font-size: 48px; }
  .category-next span { max-width: calc(100% - 30px); font-size: 16px; }
  .category-next i { right: 2px; bottom: 54px; font-size: 36px; }
}

@media (min-width: 621px) and (max-height: 820px) {
  .hero { padding-top: 72px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(52px,7vw,86px); }
  .hero-subtitle { margin-top: 16px; }
  .hero-actions { margin-top: 16px; }
  .spatial-visual { height: clamp(260px,36vh,380px); min-height: 260px; margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal,
  .column-card,
  .post-card,
  .article-prose > * { opacity: 1 !important; transform: none !important; }
}
