/* =============================================================
   tzd-os v4.26.1 — terminal portfolio
   palette: tokyo-night-ish · accents: pink/cyan/mauve/yellow/green
============================================================= */

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

:root {
  /* surfaces */
  --bg:        #0d0e14;
  --bg-1:      #11131c;
  --bg-2:      #161824;
  --bg-3:      #1c1e2c;
  --pane:      rgba(22, 24, 36, 0.78);
  --pane-edge: rgba(255, 255, 255, 0.06);
  --pane-edge-strong: rgba(255, 255, 255, 0.12);

  /* text */
  --fg:        #d6d8e6;
  --fg-soft:   #b4b7c9;
  --fg-dim:    #6b6e83;
  --fg-faint:  #3e4156;

  /* accents — tokyo night, chroma pulled ~30% */
  --pink:   oklch(0.775 0.084 350);
  --pink-d: oklch(0.640 0.085 347);
  --mauve:  oklch(0.745 0.077 293);
  --cyan:   oklch(0.835 0.057 183);
  --cyan-d: oklch(0.710 0.057 183);
  --yellow: oklch(0.833 0.087 72);
  --green:  oklch(0.795 0.094 133);
  --red:    oklch(0.700 0.111 12);
  --blue:   oklch(0.710 0.091 260);

  /* glow */
  --glow-cyan:  0 0 24px oklch(0.835 0.057 183 / 0.18);
  --glow-pink:  0 0 24px oklch(0.775 0.084 350 / 0.14);
  --glow-mauve: 0 0 32px oklch(0.745 0.077 293 / 0.13);

  /* type */
  --mono: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, monospace;
  --sans: "Space Grotesk", -apple-system, system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* theme-aware utilities */
  --grid-line:   rgba(255,255,255,0.022);
  --border-soft: rgba(255,255,255,0.05);
  --border-hard: rgba(255,255,255,0.06);
}

@property --reveal {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

html, body { height: 100%; max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =============================================================
   BACKGROUND — orbs + cursor + grid
============================================================= */
.bg-orbs {
  position: fixed;
  inset: -10vmax;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-orbs::before,
.bg-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.bg-orbs::before {
  width: 50vmax; height: 50vmax;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--mauve) 55%, transparent), transparent 70%);
  top: -10vmax; left: -10vmax;
  animation: orbA 38s var(--ease) infinite alternate;
}
.bg-orbs::after {
  width: 46vmax; height: 46vmax;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--cyan) 50%, transparent), transparent 70%);
  bottom: -8vmax; right: -8vmax;
  animation: orbB 46s var(--ease) infinite alternate;
}
@keyframes orbA {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(18vw, 12vh) scale(1.15); }
  100% { transform: translate(28vw, -6vh) scale(0.95); }
}
@keyframes orbB {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-22vw, -10vh) scale(1.10); }
  100% { transform: translate(-12vw, 14vh) scale(0.92); }
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.vignette {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.5) 100%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.c-pink   { color: var(--pink); }
.c-mauve  { color: var(--mauve); }
.c-cyan   { color: var(--cyan); }
.c-yellow { color: var(--yellow); }
.c-green  { color: var(--green); }
.c-red    { color: var(--red); }
.c-blue   { color: var(--blue); }
.c-dim    { color: var(--fg-dim); }
.c-bg     { background: var(--cyan); color: var(--bg); }

::selection { background: rgba(245, 163, 199, 0.25); }


/* =============================================================
   APP SHELL
============================================================= */
.app {
  position: relative;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px clamp(16px, 3vw, 36px) 14px;
  gap: 22px;
}

/* =============================================================
   TMUX TOP BAR
============================================================= */
.tmux {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  height: 46px;
  width: min(960px, 100%);
  margin: 0 auto;
  background: var(--pane);
  border: 1px solid var(--pane-edge);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.02);
}
.tmux::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    color-mix(in oklch, var(--pink) 5%, transparent), transparent 30%, transparent 70%, color-mix(in oklch, var(--cyan) 5%, transparent));
  pointer-events: none;
}

.tmux__session {
  display: flex; align-items: center; gap: 6px;
  padding-right: 14px;
  border-right: 1px solid var(--pane-edge);
  font-weight: 600; letter-spacing: 0.01em;
}
.tmux__icon { font-size: 13px; filter: drop-shadow(var(--glow-pink)); }
.tmux__sep, .tmux__host { color: var(--fg-dim); font-weight: 400; }

.tmux__tabs {
  display: flex; align-items: center; gap: 4px;
  flex: 1;
  position: relative;
}
.tab {
  display: flex; align-items: center;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  position: relative;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.tab:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.tab--active { color: var(--fg); }

.tab-underline {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; border-radius: 1px;
  background: var(--cyan);
  box-shadow: 0 0 4px color-mix(in oklch, var(--cyan) 50%, transparent);
  width: var(--underline-w, 0px);
  transform: translateX(var(--underline-x, 0px));
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    width     280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.tmux__tabs.no-anim .tab-underline { transition: none; }

.tmux__type-caret {
  color: var(--cyan);
  margin-left: 1px;
  animation: blink 1.05s steps(2) infinite;
}

.tmux__right { display: flex; align-items: center; gap: 8px; }

.tmux__cmdk {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 9px; border-radius: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pane-edge);
  font-size: 11px; color: var(--fg-soft);
  transition: all 0.2s var(--ease);
}
.tmux__cmdk:hover { background: color-mix(in oklch, var(--mauve) 10%, transparent); color: var(--mauve); border-color: color-mix(in oklch, var(--mauve) 30%, transparent); }

.tmux__ico {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 5px; color: var(--fg-dim);
  transition: all 0.2s var(--ease);
}
.tmux__ico:hover { color: var(--cyan); background: color-mix(in oklch, var(--cyan) 8%, transparent); }

.tmux__cta {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 5px;
  background: linear-gradient(135deg, color-mix(in oklch, var(--pink) 15%, transparent), color-mix(in oklch, var(--mauve) 15%, transparent));
  border: 1px solid color-mix(in oklch, var(--pink) 30%, transparent);
  font-size: 12px; font-weight: 500; color: var(--fg);
  transition: all 0.2s var(--ease);
}
.tmux__cta:hover {
  background: linear-gradient(135deg, color-mix(in oklch, var(--pink) 25%, transparent), color-mix(in oklch, var(--mauve) 25%, transparent));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in oklch, var(--pink) 15%, transparent);
}

/* =============================================================
   MAIN SCROLL CONTAINER + VIEWS
============================================================= */
.main {
  overflow-y: auto;
  scroll-behavior: smooth;
  min-height: 0;
}
.main::-webkit-scrollbar { width: 10px; }
.main::-webkit-scrollbar-track { background: transparent; }
.main::-webkit-scrollbar-thumb { background: var(--border-hard); border-radius: 5px; }
.main::-webkit-scrollbar-thumb:hover { background: color-mix(in oklch, var(--cyan) 25%, transparent); }

.view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 6vh, 72px) clamp(20px, 4vw, 80px);
}
.view .grid { margin: 0 auto; }

.grid--home,
.grid--work,
.grid--projects {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- SECTION SEPARATOR ---------- */
.section-sep {
  flex-shrink: 0;
  width: calc(100% - clamp(40px, 8vw, 160px));
  margin: clamp(48px, 7vh, 88px) auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-hard) 25%,
    var(--border-hard) 75%,
    transparent 100%
  );
}

/* ---------- SECTION LABEL ---------- */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0 0 32px;
}

/* =============================================================
   HERO
============================================================= */
.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 620px;
}

.hero__avail {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  width: fit-content;
  border-radius: 4px;
  border: 1px solid color-mix(in oklch, var(--green) 30%, transparent);
  background: color-mix(in oklch, var(--green) 8%, transparent);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--green);
}
.hero__pulse {
  width: 7px; height: 7px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in oklch, var(--green) 70%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklch, var(--green) 70%, transparent); }
  70%  { box-shadow: 0 0 0 8px color-mix(in oklch, var(--green) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--green) 0%, transparent); }
}

.hero__name {
  margin: 0;
  padding-bottom: 0.16em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero__row {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  animation: nameRise 420ms var(--ease-out) forwards 120ms;
}
.hero__row--last {
  background: linear-gradient(110deg,
    var(--pink) 0%, var(--mauve) 28%, var(--cyan) 56%, var(--mauve) 84%, var(--pink) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-mask-image: linear-gradient(90deg,
    #000 0%, #000 var(--reveal), transparent calc(var(--reveal) + 8%), transparent 100%);
          mask-image: linear-gradient(90deg,
    #000 0%, #000 var(--reveal), transparent calc(var(--reveal) + 8%), transparent 100%);
  animation:
    gradientFlow 14s var(--ease) infinite,
    nameRise 420ms var(--ease-out) forwards 200ms,
    nameWipe 720ms var(--ease-out) forwards 240ms;
}
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes nameRise { to { opacity: 1; transform: translateY(0); } }
@keyframes nameWipe { to { --reveal: 100%; } }

.hero__caret-end {
  display: inline-block;
  width: 0.08em; height: 0.85em;
  margin-left: 0.08em;
  vertical-align: -0.04em;
  background: var(--cyan); border-radius: 1px;
  box-shadow: 0 0 14px color-mix(in oklch, var(--cyan) 60%, transparent);
  opacity: 0;
}
body.boot-done .hero__caret-end {
  animation:
    caretAppear 0.3s ease forwards 1000ms,
    caretBlink  1.1s steps(2) infinite 1100ms;
}
@keyframes caretAppear { to { opacity: 0.9; } }
@keyframes caretBlink {
  0%, 49%   { opacity: 0.9; }
  50%, 100% { opacity: 0; }
}

/* Subtitle row */
.hero__sub {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--fg-soft);
}

/* Lead paragraph */
.hero__lead {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 56ch;
}

/* Meta row (country / education / focus) */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
}
.hero__meta-key {
  color: var(--fg-dim); font-weight: 600;
  font-size: 11px; letter-spacing: 0.03em;
}
.hero__meta-val { color: var(--fg-soft); }

/* Contact links */
.hero__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 480px;
}
.hero__link {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
  transition: transform 80ms ease-out;
}
.hero__link:last-child { border-bottom: none; }
.hero__link:hover { transform: translate(calc(4px + var(--mx, 0px)), var(--my, 0px)); }
.hero__link:hover .hero__link-val { color: var(--cyan); }
.hero__link:hover .hero__link-arr { color: var(--cyan); transform: translate(2px, -2px); }
.hero__link-key {
  color: var(--fg-dim); font-size: 11px;
  width: 64px; flex-shrink: 0;
  letter-spacing: 0.02em;
}
.hero__link-val { color: var(--fg-soft); font-weight: 500; flex: 1; }
.hero__link-arr {
  color: var(--fg-faint); font-size: 12px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

/* Terminal prompt */
.hero__prompt {
  margin-top: 4px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--pane-edge);
  border-left: 2px solid var(--cyan);
  border-radius: 4px;
  font-size: 12px;
  display: flex; align-items: center; gap: 4px;
  flex-wrap: wrap;
  max-width: 480px;
}
.caret {
  display: inline-block; margin-left: 2px;
  color: var(--cyan); animation: blink 1.05s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* =============================================================
   NOTES (now / thinking / on building)
============================================================= */
.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-hard);
  border-radius: 8px;
  overflow: hidden;
}

.note {
  position: relative;
  padding: 28px 24px 26px;
  overflow: hidden;
  transition: background 0.25s var(--ease);
}
.note:not(:last-child) { border-right: 1px solid var(--border-hard); }
.note:hover { background: color-mix(in oklch, var(--note-color) 5%, transparent); }

.note--cyan   { --note-color: var(--cyan); }
.note--mauve  { --note-color: var(--mauve); }
.note--yellow { --note-color: var(--yellow); }

.note__ghost {
  position: absolute;
  bottom: -12px; right: 14px;
  font-family: var(--sans);
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255,255,255,0.028);
  user-select: none;
  pointer-events: none;
  transition: color 0.25s var(--ease);
}
.note:hover .note__ghost { color: color-mix(in oklch, var(--note-color) 7%, transparent); }

.note__key {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--note-color);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-shadow: 0 0 14px color-mix(in oklch, var(--note-color) 55%, transparent);
}
.note__head {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.note__sub {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .notes { grid-template-columns: 1fr; }
  .note:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border-hard); }
}

/* =============================================================
   EXPERIENCE
============================================================= */
.exp { display: flex; flex-direction: column; }

.exp__entry {
  border-bottom: 1px solid var(--border-soft);
  opacity: 0;
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) + 22px));
  transition:
    transform 0.55s var(--ease-out) calc(var(--i, 0) * 70ms),
    opacity 0.55s var(--ease-out) calc(var(--i, 0) * 70ms),
    background 0.25s var(--ease);
  border-radius: 6px;
  margin: 0 -14px;
  padding: 24px 14px;
}
.exp__entry.is-visible {
  opacity: 1;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 80ms ease-out, background 0.25s var(--ease);
}
.exp__entry:hover { background: color-mix(in oklch, var(--cyan) 3%, transparent); }
.exp__entry:hover .exp__title { color: var(--cyan); }
.exp__entry:hover .exp__ghost { color: color-mix(in oklch, var(--cyan) 5.5%, transparent); }
.exp__entry--pub:hover .exp__title { color: var(--mauve); }
.exp__entry--pub:hover .exp__ghost { color: color-mix(in oklch, var(--mauve) 7%, transparent); }
.exp__entry--last { border-bottom: none; }

/* ghost year number — gives timeline depth without adding boxes */
.exp__ghost {
  font-family: var(--sans);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255,255,255,0.028);
  margin-bottom: -18px;
  user-select: none;
  pointer-events: none;
}

.exp__inner { position: relative; }

.exp__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.exp__title {
  font-family: var(--sans);
  font-size: 18px; font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}
.exp__org { font-weight: 600; }
.exp__date {
  margin-left: auto;
  font-size: 12px;
  white-space: nowrap;
  color: var(--fg-soft);
}

.exp__list {
  margin: 0 0 12px; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 5px;
}
.exp__list li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.exp__list li::before {
  content: "·";
  position: absolute; left: 0;
  color: var(--fg-faint);
  font-size: 16px; line-height: 1.3;
}
.exp__list li strong { color: var(--yellow); font-weight: 600; }

.exp__tags {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.exp__tags span {
  font-size: 11px;
  color: var(--fg-faint);
  letter-spacing: 0.03em;
}

/* publication entry — subtle mauve tint on the ghost */
.exp__entry--pub .exp__ghost { color: rgba(196, 167, 231, 0.04); }

/* =============================================================
   SKILLS RUN
============================================================= */
.skillset { padding: 8px 0 0; }

.skillset__run {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 12px;
}
.sk--lang  { color: var(--cyan); }
.sk--fw    { color: var(--mauve); }
.sk--plat  { color: var(--yellow); }
.sk-sep    { color: var(--fg-faint); }

/* =============================================================
   PROJECTS
============================================================= */
.projlist { display: flex; flex-direction: column; }

.proj {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 28px 14px;
  margin: 0 -14px;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
  border-radius: 6px;
  opacity: 0;
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) + 22px));
  transition:
    transform 0.55s var(--ease-out) calc(var(--i, 0) * 90ms),
    opacity 0.55s var(--ease-out) calc(var(--i, 0) * 90ms),
    background 0.25s var(--ease);
}
.proj.is-visible {
  opacity: 1;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 80ms ease-out, background 0.25s var(--ease);
}
.proj:last-of-type { border-bottom: none; }
.proj:hover { background: color-mix(in oklch, var(--cyan) 3%, transparent); }
.proj:hover .proj__num { color: color-mix(in oklch, var(--fg) 14%, transparent); }
.proj:hover .proj__name { color: var(--cyan); }

.proj__num {
  font-family: var(--sans);
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  color: rgba(255,255,255,0.06);
  padding-top: 6px;
  user-select: none;
  transition: color 0.25s var(--ease);
}

.proj__name {
  font-family: var(--sans);
  font-size: 21px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 10px;
  transition: color 0.25s var(--ease);
}
.proj__desc {
  font-family: var(--sans);
  font-size: 14px; line-height: 1.7;
  color: var(--fg-soft);
  margin: 0 0 12px;
  max-width: 66ch;
}
.proj__foot {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.proj__tags {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.proj__tags span {
  font-size: 11px; color: var(--fg-faint);
  letter-spacing: 0.03em;
}
.proj__status {
  font-size: 11px; letter-spacing: 0.04em;
}
.proj__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--cyan);
  transition: opacity 0.2s var(--ease);
}
.proj__link:hover { opacity: 0.7; }

/* =============================================================
   CREDITS
============================================================= */
.credits {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 11px; color: var(--fg-soft);
  align-items: center;
}

/* =============================================================
   STATUS BAR REVEAL
============================================================= */
@keyframes statusIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}
.statusbar__mode  { animation: statusIn 0.3s var(--ease-out)  50ms both; }
.statusbar__file  { animation: statusIn 0.3s var(--ease-out) 130ms both; }
.statusbar__hint:nth-of-type(1) { animation: statusIn 0.3s var(--ease-out) 220ms both; }
.statusbar__hint:nth-of-type(2) { animation: statusIn 0.3s var(--ease-out) 270ms both; }
.statusbar__hint:nth-of-type(3) { animation: statusIn 0.3s var(--ease-out) 320ms both; }
.statusbar__git   { animation: statusIn 0.3s var(--ease-out) 380ms both; }
.statusbar__time  { animation: statusIn 0.3s var(--ease-out) 460ms both; }

/* =============================================================
   STATUS BAR
============================================================= */
.statusbar {
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px; height: 30px;
  width: min(960px, 100%);
  margin: 0 auto;
  background: var(--pane);
  border: 1px solid var(--pane-edge);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.02em;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.02);
}
.statusbar__group { display: flex; align-items: center; gap: 10px; }
.statusbar__center { flex: 1; justify-content: center; }
.statusbar__mode {
  padding: 2px 9px; border-radius: 3px;
  font-weight: 700; font-size: 10px; letter-spacing: 0.06em;
}
.statusbar__file { color: var(--fg-soft); }
.statusbar__hint { display: flex; gap: 4px; align-items: center; color: var(--fg-dim); }
.statusbar__hint kbd {
  display: inline-grid; place-items: center;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--pane-edge);
  border-radius: 3px; font-size: 10px;
  font-family: var(--mono); color: var(--fg-soft);
}
.statusbar__time { font-variant-numeric: tabular-nums; color: var(--cyan); }
.statusbar__git  { color: var(--green); font-weight: 600; }

/* =============================================================
   COMMAND PALETTE
============================================================= */
.palette {
  position: fixed; inset: 0;
  z-index: 500;
  display: grid; place-items: start center;
  padding-top: 12vh;
  background: rgba(13,14,20,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.palette.is-open { opacity: 1; visibility: visible; }

.palette__panel {
  width: min(540px, 90vw);
  background: var(--bg-2);
  border: 1px solid var(--pane-edge-strong);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.25s var(--ease-out);
}
.palette.is-open .palette__panel { transform: translateY(0) scale(1); }

.palette__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pane-edge);
}
.palette__sigil { font-size: 14px; }
.palette__input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--mono); font-size: 14px; color: var(--fg);
}
.palette__input::placeholder { color: var(--fg-dim); }
.palette__hint { font-size: 11px; color: var(--fg-dim); }
.palette__hint kbd {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--pane-edge);
  padding: 1px 6px; border-radius: 3px;
  font-size: 10px; font-family: var(--mono);
}

.palette__list { margin: 0; padding: 6px; list-style: none; max-height: 50vh; overflow: auto; }
.palette__item {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 5px;
  font-size: 13px; cursor: pointer;
  transition: background 0.1s var(--ease);
}
.palette__item:hover,
.palette__item.is-active { background: color-mix(in oklch, var(--cyan) 8%, transparent); }
.palette__item.is-active { box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--cyan) 30%, transparent); }
.palette__item-name { color: var(--fg); }
.palette__item-hint { color: var(--fg-dim); font-size: 11px; }
.palette__item .c-cyan svg { display: block; }

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1100px) {
  .view { padding: 36px clamp(12px, 3vw, 36px); }
}

@media (max-width: 920px) {
  .tmux {
    flex-wrap: wrap; height: auto;
    padding: 8px 14px; gap: 8px; border-radius: 16px;
  }
  .tmux__session { padding-right: 10px; flex: 0 0 auto; }
  .tmux__right   { flex: 0 0 auto; margin-left: auto; gap: 6px; }
  .tmux__cmdk    { padding: 4px 7px; font-size: 10px; }
  .tmux__tabs {
    order: 3; flex: 1 0 100%; justify-content: flex-start;
    gap: 4px; padding-top: 6px;
    border-top: 1px solid var(--pane-edge);
  }
  .tab { padding: 5px 10px; }
}

@media (max-width: 720px) {
  body { font-size: 12px; }
  .app { padding: 10px; gap: 12px; }
  .tmux {
    flex-wrap: wrap; height: auto;
    padding: 8px 12px; gap: 8px; border-radius: 16px;
  }
  .tmux__session { padding-right: 8px; flex: 0 0 auto; }
  .tmux__tabs { order: 3; flex: 1 0 100%; justify-content: flex-start; gap: 4px; }
  .tmux__right { flex: 0 0 auto; margin-left: auto; }
  .tmux__cmdk  { padding: 4px 7px; font-size: 10px; }
  .tab { padding: 4px 10px; }

  .view { padding: 28px 14px; }

  .hero__name { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .hero__lead { font-size: 14px; }

  .exp__ghost { font-size: 52px; margin-bottom: -12px; }
  .exp__header { gap: 4px; }
  .exp__date { margin-left: 0; }
  .exp__title { font-size: 16px; }
  .exp__list li { font-size: 13px; }

  .proj { grid-template-columns: 36px 1fr; gap: 12px; }
  .proj__num { font-size: 22px; }
  .proj__name { font-size: 17px; }
  .proj__desc { font-size: 13px; }

  .statusbar { flex-wrap: wrap; height: auto; padding: 6px 14px; border-radius: 16px; }
  .statusbar__center { display: none; }

  .palette__panel { width: min(420px, 92vw); }

  .bg-orbs::before,
  .bg-orbs::after { filter: blur(50px); opacity: 0.4; }
}

/* =============================================================
   REDUCED MOTION
============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================
   THEME OVERRIDES
============================================================= */

/* C — Cream / Paper light mode */
[data-theme="cream"] {
  --bg:               oklch(0.96 0.018 75);
  --bg-1:             oklch(0.93 0.016 72);
  --bg-2:             oklch(0.89 0.015 70);
  --bg-3:             oklch(0.85 0.014 68);
  --pane:             oklch(0.91 0.016 72 / 0.88);
  --pane-edge:        oklch(0.15 0.010 45 / 0.10);
  --pane-edge-strong: oklch(0.15 0.010 45 / 0.18);
  --fg:               oklch(0.18 0.016 45);
  --fg-soft:          oklch(0.35 0.012 40);
  --fg-dim:           oklch(0.52 0.008 35);
  --fg-faint:         oklch(0.70 0.006 30);
  --pink:             oklch(0.50 0.16 20);
  --pink-d:           oklch(0.40 0.14 20);
  --mauve:            oklch(0.45 0.10 35);
  --cyan:             oklch(0.50 0.16 20);
  --cyan-d:           oklch(0.40 0.14 20);
  --yellow:           oklch(0.48 0.12 55);
  --green:            oklch(0.42 0.12 145);
  --red:              oklch(0.50 0.18 20);
  --blue:             oklch(0.40 0.12 250);
  --glow-cyan:        0 0 24px oklch(0.50 0.16 20 / 0.18);
  --glow-pink:        0 0 24px oklch(0.50 0.16 20 / 0.14);
  --glow-mauve:       0 0 32px oklch(0.45 0.10 35 / 0.12);
  --grid-line:        oklch(0.15 0.010 45 / 0.04);
  --border-soft:      oklch(0.15 0.010 45 / 0.08);
  --border-hard:      oklch(0.15 0.010 45 / 0.10);
}
[data-theme="cream"] .main::-webkit-scrollbar-thumb { background: oklch(0.15 0.010 45 / 0.10); }
[data-theme="cream"] .main::-webkit-scrollbar-thumb:hover { background: color-mix(in oklch, var(--cyan) 22%, transparent); }
[data-theme="cream"] .exp__ghost { color: oklch(0.15 0.010 45 / 0.04); }
[data-theme="cream"] .note__ghost { color: oklch(0.15 0.010 45 / 0.05); }
[data-theme="cream"] .proj__num { color: oklch(0.15 0.010 45 / 0.07); }
[data-theme="cream"] .proj:hover .proj__num { color: oklch(0.15 0.010 45 / 0.16); }
[data-theme="cream"] .hero__prompt {
  background: oklch(0.89 0.015 70 / 0.5);
  border-color: var(--border-soft);
  border-left-color: var(--cyan);
}

