/* ============ DESIGN TOKENS ============ */
:root {
  /* Surfaces */
  --bg: oklch(0.13 0.005 80);
  --bg-deep: oklch(0.10 0.004 80);
  --surface: oklch(0.17 0.006 80);
  --surface-2: oklch(0.20 0.007 80);
  --border: oklch(0.27 0.008 80);
  --border-strong: oklch(0.38 0.012 80);

  /* Text */
  --text: oklch(0.97 0.005 80);
  --text-mute: oklch(0.68 0.008 80);
  --text-dim: oklch(0.48 0.008 80);

  /* Accent — chartreuse */
  --accent: oklch(0.90 0.18 122);
  --accent-2: oklch(0.78 0.16 130);
  --accent-dim: oklch(0.55 0.12 130);
  --accent-glow: oklch(0.90 0.18 122 / 0.18);

  /* Type */
  --font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  /* Scale */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-emph: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1200px 800px at 80% -10%, oklch(0.20 0.04 125 / 0.10), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, oklch(0.20 0.03 80 / 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 10px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ============ LAYOUT ============ */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .shell { padding: 0 20px; } }

section {
  padding: 140px 0;
  position: relative;
}
@media (max-width: 720px) { section { padding: 96px 0; } }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.section-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.section-title {
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  text-wrap: balance;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-mute);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 8px 18px;
  background: oklch(0.13 0.005 80 / 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.35);
  transition: top 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav.is-tucked { top: -80px; }
.nav-brand {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
  margin-right: 8px;
}
.nav-brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.nav-links { display: flex; gap: 2px; }
.nav-link {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-mute);
  transition: all 0.2s var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--text); background: var(--surface-2); }
.nav-cta {
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-deep);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.nav-cta:hover { background: var(--accent); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-brand { border-right: 0; margin-right: 0; padding-right: 8px; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, black, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, black, transparent 90%);
  opacity: 0.55;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow.g1 { top: -200px; right: -200px; }
.hero-glow.g2 { bottom: -300px; left: -300px; opacity: 0.6; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 36px;
}
.hero-pill-status {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.hero-pill-status::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2s var(--ease) infinite;
  opacity: 0.45;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(2); opacity: 0; }
}

.hero-name {
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-name em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-role {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.hero-role span { display: inline-flex; align-items: center; gap: 8px; }
.hero-role .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }

.hero-sub {
  font-size: clamp(17px, 1.55vw, 21px);
  color: var(--text-mute);
  max-width: 56ch;
  margin-bottom: 44px;
  text-wrap: pretty;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px oklch(0.85 0.18 125 / 0.30);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.hero-meta {
  position: absolute;
  left: 32px;
  bottom: 40px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-meta-bar {
  width: 60px; height: 1px; background: var(--border-strong);
}
.hero-marquee {
  position: absolute;
  right: 32px;
  bottom: 40px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 14px;
}
.scroll-indicator {
  width: 22px; height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  position: relative;
}
.scroll-indicator::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

@media (max-width: 720px) {
  .hero-meta, .hero-marquee { display: none; }
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.about-body p { color: var(--text-mute); font-size: 17px; margin-bottom: 20px; max-width: 52ch; }
.about-body p strong { color: var(--text); font-weight: 500; }
.about-body em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.about-card {
  background: linear-gradient(180deg, var(--surface) 0%, oklch(0.14 0.005 80) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.about-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-top: 24px;
}
.about-stat {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.about-stat-num {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.about-stat-num .unit { color: var(--accent); }
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 8px;
}
.about-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-quote {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.3;
  font-style: italic;
  margin-top: 28px;
  color: var(--text);
  text-wrap: balance;
}
.about-quote::before { content: "“"; color: var(--accent); margin-right: 4px; }
.about-quote::after { content: "”"; color: var(--accent); margin-left: 2px; }

/* ============ SKILLS ============ */
.skills-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.skills-tab {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  transition: all 0.2s var(--ease);
}
.skills-tab:hover { color: var(--text); border-color: var(--border-strong); }
.skills-tab.active {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
}
.skills-tab-count {
  margin-left: 8px;
  font-size: 11px;
  opacity: 0.6;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.skill {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.skill:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.skill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), oklch(0.90 0.18 122 / 0.10), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.skill:hover::after { opacity: 1; }
.skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.skill-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.skill-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.skill-bar {
  height: 4px;
  background: var(--bg-deep);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 2px;
  transition: width 1.2s var(--ease-emph);
  width: 0;
}
.skill.is-revealed .skill-bar-fill { width: var(--lvl); }
.skill-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.skill-meta .yrs { color: var(--text-mute); }

/* ============ PROJECTS ============ */
.projects-list { display: flex; flex-direction: column; gap: 18px; }
.project {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  position: relative;
}
.project:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.35);
}
.project-media {
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.project-body {
  padding: 36px 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.project-meta-num { color: var(--accent); }
.project-title {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.project-desc { color: var(--text-mute); font-size: 15px; max-width: 50ch; }
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.project-stack span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-mute);
}
.project-links {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 8px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-mute);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s var(--ease);
}
.project-link:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project-media { border-right: 0; border-bottom: 1px solid var(--border); min-height: 240px; }
  .project-body { padding: 28px 24px; }
}

/* Project mockups */
.mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mock-chrome {
  width: 100%;
  height: 100%;
  background: oklch(0.10 0.005 80);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mock-bar {
  height: 28px;
  background: oklch(0.14 0.005 80);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.mock-bar-url {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-dim);
}
.mock-body { flex: 1; padding: 16px; position: relative; overflow: hidden; }

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  margin-top: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--border) 0%, var(--border-strong) 50%, transparent 100%);
}
.tl-item {
  position: relative;
  padding: 28px 0 28px 56px;
  border-bottom: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 36px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  transition: all 0.3s var(--ease);
}
.tl-item.is-current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.90 0.18 122 / 0.18);
}
.tl-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.tl-role { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.tl-role .at { color: var(--text-mute); font-weight: 400; }
.tl-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.tl-desc { color: var(--text-mute); font-size: 15px; max-width: 64ch; margin-bottom: 12px; }
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tl-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mute);
}

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.stat-num .plus { color: var(--accent); margin-left: 2px; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 14px;
}
.stat-icon {
  position: absolute;
  top: 24px; right: 24px;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
}
@media (max-width: 920px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* ============ CONTACT ============ */
.contact {
  background:
    radial-gradient(800px 500px at 50% 0%, var(--accent-glow), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.contact-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.contact-title {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 24px;
  text-wrap: balance;
}
.contact-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.contact-sub {
  font-size: 18px;
  color: var(--text-mute);
  margin-bottom: 40px;
  text-wrap: pretty;
}
.contact-channels {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  transition: all 0.25s var(--ease);
}
.channel:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.channel-icon {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-row .end { display: flex; gap: 24px; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-emph), transform 0.9s var(--ease-emph);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-emph), transform 0.7s var(--ease-emph);
}
.reveal-stagger.is-in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.05s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.10s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.15s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.20s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.25s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 0.30s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: 0.35s; }
.reveal-stagger.is-in > *:nth-child(9) { transition-delay: 0.40s; }
.reveal-stagger.is-in > *:nth-child(n+10) { transition-delay: 0.45s; }

/* ============ CURSOR ============ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s var(--ease);
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}
.cursor.is-hover {
  width: 44px; height: 44px;
  background: oklch(0.90 0.18 122 / 0.15);
}
