/* ---------- Tokens ---------- */
:root {
  --bg: #07060d;
  --bg-2: #0d0a1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3eefb;
  --text-dim: #b6acc9;
  --text-muted: #7a728c;
  --accent: #c084fc;       /* violet */
  --accent-2: #f472b6;     /* pink */
  --accent-3: #67e8f9;     /* cyan */
  --grad: linear-gradient(120deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
  --grad-soft: linear-gradient(120deg, rgba(168,85,247,.35), rgba(236,72,153,.35) 60%, rgba(245,158,11,.25));
  --pill-bg: rgba(255,255,255,0.06);
  --pill-border: rgba(255,255,255,0.12);
  --shadow-glow: 0 0 0 1px rgba(192,132,252,.25), 0 20px 80px -20px rgba(192,132,252,.45);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Geist Mono", ui-monospace, monospace;
}

[data-theme="light"] {
  --bg: #f6f3ec;
  --bg-2: #ece7dc;
  --surface: rgba(20, 14, 30, 0.04);
  --surface-2: rgba(20, 14, 30, 0.06);
  --border: rgba(20, 14, 30, 0.10);
  --border-strong: rgba(20, 14, 30, 0.22);
  --text: #14101f;
  --text-dim: #4a4357;
  --text-muted: #837b91;
  --pill-bg: rgba(20, 14, 30, 0.05);
  --pill-border: rgba(20, 14, 30, 0.14);
  --shadow-glow: 0 0 0 1px rgba(168,85,247,.18), 0 20px 60px -20px rgba(236,72,153,.3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  transition: background 400ms ease, color 400ms ease;
}

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  overflow: hidden;
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  mix-blend-mode: screen;
}
.aurora::before {
  width: 60vw; height: 60vw;
  left: -10vw; top: -20vw;
  background: radial-gradient(circle, #a855f7 0%, transparent 60%);
  animation: float1 22s ease-in-out infinite alternate;
}
.aurora::after {
  width: 55vw; height: 55vw;
  right: -10vw; top: 10vw;
  background: radial-gradient(circle, #ec4899 0%, transparent 60%);
  animation: float2 26s ease-in-out infinite alternate;
}
.aurora .blob3 {
  position: absolute;
  width: 50vw; height: 50vw;
  left: 30vw; top: 60vh;
  background: radial-gradient(circle, #f59e0b 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;
  mix-blend-mode: screen;
  animation: float3 30s ease-in-out infinite alternate;
}
[data-theme="light"] .aurora::before,
[data-theme="light"] .aurora::after,
[data-theme="light"] .aurora .blob3 {
  mix-blend-mode: multiply;
  opacity: .22;
}

@keyframes float1 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(15vw,10vh) scale(1.15)} }
@keyframes float2 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-12vw,8vh) scale(1.1)} }
@keyframes float3 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-20vw,-12vh) scale(1.2)} }

/* Grain overlay */
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Layout ---------- */
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 18px;
  z-index: 50;
  margin-top: 18px;
  display: flex;
  justify-content: center;
  max-width: 100vw;
  padding: 0 32px;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.4);
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
  border-right: 1px solid var(--border);
  margin-right: 4px;
}
.nav-brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(192,132,252,.6);
}
.nav a:not(.nav-brand) {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: 999px;
  transition: all 200ms ease;
}
.nav a:not(.nav-brand):hover {
  color: var(--text);
  background: var(--pill-bg);
}
.nav-theme {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  margin-left: 4px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--pill-bg);
  color: var(--text);
  cursor: pointer;
  transition: all 200ms ease;
}
.nav-theme:hover { background: var(--surface-2); border-color: var(--border-strong); }
.nav-theme svg { width: 14px; height: 14px; }
.nav-theme .icon-sun { display: none; }
[data-theme="light"] .nav-theme .icon-sun { display: block; }
[data-theme="light"] .nav-theme .icon-moon { display: none; }

/* Global: all section headers centered */
section > .shell,
section > div.shell {
  text-align: center;
}
section > .shell .section-label,
section > div.shell .section-label {
  margin-left: auto;
  margin-right: auto;
}
section > .shell .section-sub,
section > div.shell .section-sub {
  margin-left: auto;
  margin-right: auto;
}
/* Keep body content/grids left-aligned */
.about-prose p { text-align: center; max-width: none; }

/* ---------- Sections ---------- */
section {
  padding: 140px 0;
  position: relative;
  scroll-margin-top: 100px;
}

/* Alternating tinted backgrounds for clear separation */
#about {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#about .about-grid { text-align: left; }
#apps {
  background: transparent;
  border-bottom: 1px solid var(--border);
}
#apps .apps { text-align: left; }
#contact {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Section divider line for ALL sections */
section + section {
  border-top: 1px solid var(--border);
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--pill-bg);
  margin-bottom: 20px;
}
.section-label::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.section-title em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 0 52px;
  line-height: 1.6;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 80px;
  padding-bottom: 140px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 680px;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero-tag .pulse {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
}
.hero-tag .pulse::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid #4ade80;
  animation: pulse 2s ease-out infinite;
}
.hero-tag .meta-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  text-align: center;
  width: 100%;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero p.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 50ch;
  margin: 0 auto 32px;
  text-align: center;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  color: var(--text);
  cursor: pointer;
  transition: all 200ms ease;
}
.btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--grad);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 30px -8px rgba(236,72,153,.6);
}
[data-theme="light"] .btn.primary { color: white; }
.btn.primary:hover { box-shadow: 0 12px 40px -8px rgba(236,72,153,.7); }
.btn svg { width: 14px; height: 14px; }

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-top-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Hero — 3-row composition: pill, [portrait | name+content], stats */
.hero-pill-row {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-headline-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-portrait-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.name-mark {
  font-family: var(--mono);
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.55em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-left: 0.55em;
}

.hero-center h1 { margin-top: 0; }
.hero-center .lede { margin-top: 8px; }
.hero-center .hero-cta { margin-top: 24px; }

@media (max-width: 880px) {
  .hero-headline-row {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero-portrait-side { order: 0; }
  .hero-center { order: 1; }
  .name-mark { letter-spacing: 0.4em; padding-left: 0.4em; }
}
.portrait-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.portrait-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.portrait-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--text-muted);
  white-space: nowrap;
}
.portrait-badge .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  width: 100%;
}
.hero-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat .v {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
}
.hero-stat .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 48px;
  max-width: 100%;
}
.about-prose {
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
}
.about-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 18px;
  text-align: center;
  max-width: none;
}
.about-prose .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  justify-content: center;
}
.about-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 auto 16px;
  max-width: 58ch;
  text-align: center;
}
.about-prose p strong {
  color: var(--text);
  font-weight: 500;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 200ms ease;
  min-height: 112px;
}
.fact:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.fact .icon {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--pill-bg);
  border: 1px solid var(--border);
  color: var(--accent);
}
.fact .icon svg { width: 14px; height: 14px; }
.fact .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: auto;
}
.fact .v {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
}

.tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
}
.tag {
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  color: var(--text-dim);
}
.tag.accent {
  border-color: rgba(192,132,252,.4);
  color: var(--accent);
  background: rgba(192,132,252,.08);
}

/* ---------- Apps ---------- */
.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.app-card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: all 300ms ease;
  isolation: isolate;
}
.app-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, var(--app-glow, var(--accent)) 0%, transparent 65%);
  opacity: .25;
  z-index: -1;
  transition: opacity 400ms ease, transform 400ms ease;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.app-card:hover::before {
  opacity: .5;
  transform: scale(1.15);
}
.app-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.app-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: white;
  background: var(--app-grad, var(--grad));
  box-shadow: 0 12px 30px -10px var(--app-glow, rgba(192,132,252,.5));
}
.app-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.app-status.live {
  color: #4ade80;
  border-color: rgba(74, 222, 128, .35);
  background: rgba(74, 222, 128, .08);
}
.app-status.live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}
.app-status.beta { color: var(--accent); border-color: rgba(192,132,252,.35); background: rgba(192,132,252,.08); }
.app-status.dev  { color: #f59e0b; border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.08); }

.app-name {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.app-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.app-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 24px;
  flex: 1;
}
.app-foot {
  display: flex; justify-content: space-between; align-items: center;
}
.app-meta {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.app-meta span {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--text-dim);
  letter-spacing: .04em;
}
.app-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 200ms ease;
}
.app-card:hover .app-arrow {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: rotate(-45deg);
}
.app-arrow svg { width: 14px; height: 14px; }

/* ---------- Blog ---------- */
.blog-empty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
}
.blog-empty-left {
  padding: 48px;
  border-right: 1px solid var(--border);
}
.blog-empty-right {
  padding: 48px;
  background: var(--surface-2);
  display: flex; flex-direction: column; justify-content: center;
}
.blog-empty h3 {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.blog-empty p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.code-block {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text-dim);
  line-height: 1.7;
  overflow-x: auto;
}
[data-theme="light"] .code-block { background: rgba(20,14,30,.06); }
.code-block .k { color: var(--accent); }
.code-block .s { color: #fbcfe8; }
[data-theme="light"] .code-block .s { color: #be185d; }
.code-block .c { color: var(--text-muted); }

.post-stub {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 0;
  border-top: 1px dashed var(--border);
}
.post-stub:first-of-type { border-top: 0; padding-top: 0; }
.post-stub .meta {
  display: flex; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.post-stub .ttl {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.post-stub.ghost .ttl { color: var(--text-muted); font-style: italic; }

/* ---------- Contact ---------- */
.contact {
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(236,72,153,.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(168,85,247,.18), transparent 50%),
    var(--surface);
  padding: 72px 56px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.08;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.contact h2 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0 auto 32px;
  max-width: 48ch;
  line-height: 1.6;
}
.contact-pills {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
}

/* ---------- Footer ---------- */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
footer .left { display: flex; align-items: center; gap: 10px; }
footer .left .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}
footer .right { display: flex; gap: 20px; }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { max-width: 100%; }
  .portrait-circle { width: 160px; height: 160px; }
  .about-grid { gap: 32px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .blog-empty-left { border-right: 0; border-bottom: 1px solid var(--border); }
  .hero { min-height: auto; padding-top: 60px; }
  section { padding: 80px 0; }
  .nav-pill { font-size: 12px; }
  .nav a:not(.nav-brand) { padding: 6px 10px; font-size: 12px; }
  .contact { padding: 48px 24px; }
  .shell { padding: 0 20px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero-stat { border-right: 0; padding: 8px 0; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: 0; }
}
