:root {
  --bg: oklch(0.16 0.008 240);
  --bg-elev: oklch(0.19 0.008 240);
  --bg-elev-2: oklch(0.22 0.009 240);
  --border: oklch(0.27 0.009 240);
  --border-strong: oklch(0.35 0.01 240);
  --fg: oklch(0.96 0.005 240);
  --fg-dim: oklch(0.78 0.008 240);
  --muted: oklch(0.58 0.012 240);
  --muted-2: oklch(0.42 0.012 240);
  --accent: oklch(0.82 0.19 145);
  --accent-dim: oklch(0.65 0.14 145);

  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono:
    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1200px;
  --pad: clamp(24px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: oklch(0.16 0.008 240 / 0.55);
  border-bottom: 1px solid oklch(0.27 0.009 240 / 0.6);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}
.topbar-inner .nav {
  margin-left: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.82 0.19 145 / 0.18);
}
.brand strong {
  color: var(--fg);
  font-weight: 500;
}
.brand .sep {
  color: var(--muted-2);
  margin: 0 4px;
}

.nav {
  display: flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.nav a {
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--muted);
  transition:
    color 0.18s,
    background 0.18s;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.nav a:hover {
  color: var(--fg);
  background: var(--bg-elev);
}
.nav a .num {
  color: var(--accent);
  opacity: 0.7;
}
.nav a.active {
  color: var(--fg);
  background: var(--bg-elev);
}
.nav a.active .num {
  opacity: 1;
}

/* Hamburger button (mobile only) */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--fg-dim);
  transition:
    border-color 0.18s,
    color 0.18s;
}
.nav-toggle:hover {
  border-color: var(--border-strong);
  color: var(--fg);
}
.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--fg);
}
.nav-toggle .bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle .bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 760px) {
  .brand-role {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
  .topbar-inner .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: var(--pad);
    margin-left: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    min-width: 180px;
    background: oklch(0.16 0.008 240 / 0.96);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 30px oklch(0.1 0.008 240 / 0.5);
    font-size: 13.5px;
  }
  .topbar-inner .nav[data-open="true"] {
    display: flex;
  }
  .topbar-inner .nav a {
    padding: 10px 12px;
  }
}

/* ---------- Layout ---------- */
main {
  position: relative;
  z-index: 1;
}
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) var(--pad);
  position: relative;
}
.sec-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.sec-label .idx {
  color: var(--accent);
}
.sec-label .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* ---------- Hero (with WebGL swirl) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad) 100px;
  max-width: none;
  margin: 0;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

/* WebGL canvas + fade to bg */
.swirl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.swirl-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 90% 60% at 50% 35%,
      transparent 0%,
      var(--bg) 90%
    ),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}
.swirl-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black 20%,
    transparent 80%
  );
  pointer-events: none;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 56px;
  letter-spacing: 0.02em;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta b {
  color: var(--fg-dim);
  font-weight: 500;
}
.hero-meta .pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 oklch(0.82 0.19 145 / 0.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 oklch(0.82 0.19 145 / 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px oklch(0.82 0.19 145 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 oklch(0.82 0.19 145 / 0);
  }
}

h1.hero-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(54px, 10vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--fg);
}
h1.hero-title .line2 {
  color: var(--fg);
  display: block;
}
h1.hero-title .dot {
  color: var(--accent);
}

.hero-tag {
  margin: 36px 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
  max-width: 22ch;
  font-weight: 400;
  text-wrap: balance;
}
.hero-tag em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.hero-lede {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 58ch;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: oklch(0.16 0.008 240 / 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 0.2s;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn.primary:hover {
  background: oklch(0.88 0.19 145);
  border-color: oklch(0.88 0.19 145);
  color: var(--bg);
}
.btn .arrow {
  transition: transform 0.2s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: trickle 2.2s ease-in-out infinite;
}
@keyframes trickle {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ---------- Work ---------- */
.work-intro {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 56px;
  max-width: 22ch;
  text-wrap: balance;
  color: var(--fg);
}
.work-intro em {
  color: var(--accent);
  font-style: normal;
}

.btn-label-short {
  display: none;
}

@media (max-width: 920px) {
  .company-side {
    display: none;
  }
}
@media (max-width: 760px) {
  .hero-meta {
    display: none;
  }
  .btn-label-short {
    display: inline;
  }
  .btn-label-long {
    display: none;
  }
  .work-intro {
    display: none;
  }
  #work .company:first-of-type {
    border-top: none;
    padding-top: 0;
  }
  .role-extra {
    display: none;
  }
  .company-side {
    display: none;
  }
}

.company {
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.company:last-child {
  border-bottom: 1px solid var(--border);
}
@media (max-width: 920px) {
  .company {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 0;
  }
}

.company-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  padding-top: 14px;
}
.company-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.company-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  margin: 0;
}
.company-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.company-role .sep {
  color: var(--muted-2);
}
.company-role .live {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.company-role .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.company-blurb {
  margin: 6px 0 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 58ch;
  text-wrap: pretty;
}
.company-blurb em {
  color: var(--fg);
  font-style: normal;
}

.projects {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  padding-left: 24px;
  gap: 26px;
}
.project {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  position: relative;
}
.project::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
}
.project.archived::before {
  border-color: var(--muted-2);
}
.project-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.project-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.project-dates {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.project-desc {
  margin: 4px 0 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 58ch;
  text-wrap: pretty;
}
.project-bullets {
  list-style: none;
  margin: 6px 0 10px;
  padding: 0;
  max-width: 64ch;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-dim);
  text-wrap: pretty;
}
.project-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.project-stack span {
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--fg-dim);
}

.company-side {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  text-align: right;
}
@media (max-width: 920px) {
  .company-side {
    display: none;
    text-align: left;
    padding-top: 0;
  }
}
.company-side .when {
  color: var(--fg);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.company-side .duration {
  color: var(--muted-2);
  font-size: 11px;
}
.company-side .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
@media (max-width: 920px) {
  .company-side .tags {
    justify-content: flex-start;
  }
}
.company-side .tags span {
  color: var(--fg-dim);
  font-size: 11px;
}
.company-side .tags span::after {
  content: " /";
  color: var(--muted-2);
}
.company-side .tags span:last-child::after {
  content: "";
}

/* ---------- Stack ---------- */
.stack-intro {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
  font-weight: 400;
  text-wrap: pretty;
  max-width: 32ch;
  margin: 0 0 56px;
}
.stack-intro em {
  color: var(--accent);
  font-style: normal;
}
.stack-intro .dim {
  color: var(--muted);
}

.stack-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .stack-groups {
    grid-template-columns: 1fr;
  }
}

.stack-group {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 24px 16px;
  background: oklch(0.18 0.008 240 / 0.5);
  display: flex;
  flex-direction: column;
}
.stack-group h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stack-group h4::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}
.stack-group h4 .count {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 10.5px;
}
.stack-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.stack-group li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid oklch(0.27 0.009 240 / 0.5);
}
.stack-group li:first-child {
  border-top: none;
  padding-top: 4px;
}
.stack-group li .name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.stack-group li .freq {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.stack-group li .freq.daily {
  color: var(--accent);
}

.stack-foot {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  text-wrap: pretty;
}
.stack-foot::before {
  content: "//";
  color: var(--accent);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-text p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--fg-dim);
  max-width: 60ch;
  text-wrap: pretty;
}
.about-text p em {
  color: var(--fg);
  font-style: normal;
  font-weight: 500;
}
.about-text .lead {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin-bottom: 8px;
  text-wrap: balance;
  font-weight: 400;
}

.about-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  transition: all 0.2s;
  align-self: flex-start;
  background: var(--bg-elev);
}
.about-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.about-cta .arrow {
  transition: transform 0.2s;
}
.about-cta:hover .arrow {
  transform: translate(2px, -2px);
}
.about-cta .li-mark {
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 11px;
}

.about-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.1) contrast(1.02);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    oklch(0.16 0.008 240 / 0.6) 100%
  );
  pointer-events: none;
}
.about-photo-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

.about-facts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .about-facts {
    grid-template-columns: 1fr 1fr;
  }
}
.fact {
  background: var(--bg);
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fact .v {
  font-size: 17px;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: balance;
}
.fact .v small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

/* ---------- Personal ---------- */
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) {
  .personal-grid {
    grid-template-columns: 1fr;
  }
}
.proj {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  background: oklch(0.18 0.008 240 / 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.proj:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}
.proj-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.proj-thumb svg,
.proj-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.proj-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-body .head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.proj-body h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.proj-body .status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.proj-body .status.live {
  color: var(--accent);
  border-color: oklch(0.82 0.19 145 / 0.4);
  background: oklch(0.82 0.19 145 / 0.06);
}
.proj-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-dim);
  text-wrap: pretty;;
}
.proj-body .tags {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.proj-body .tags span {
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--fg-dim);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--pad) 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.foot .left {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.foot .right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
