/* damonli.com — builder/indie-hacker portfolio */

:root {
  --bg: #f6f3ec;
  --bg-soft: #efebe2;
  --ink: #161513;
  --ink-2: #2a2722;
  --muted: #7a766d;
  --muted-2: #a8a39a;
  --line: #e2dccf;
  --line-strong: #cfc8b8;
  --paper: #fbf9f3;

  --lav: #d8c7f0;
  --lav-ink: #5a3fa1;
  --peach: #f5d1b8;
  --peach-ink: #a95a25;
  --butter: #f3e29b;
  --butter-ink: #8a6a15;
  --mint: #c1e7c7;
  --mint-ink: #2f7a45;
  --blush: #f2c2c7;
  --blush-ink: #a13a48;

  --status-live: #2f9e57;
  --status-wip: #c98a1f;
  --status-soon: #7a7062;

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --section-pad-y: 120px;
  --gutter: 32px;
  --card-pad: 28px;
  --radius: 14px;
  --radius-sm: 8px;
}

[data-theme='dark'] {
  --bg: #15140f;
  --bg-soft: #1c1a14;
  --ink: #f3eee0;
  --ink-2: #d8d1bd;
  --muted: #9a9484;
  --muted-2: #6f6a5e;
  --line: #2c2922;
  --line-strong: #3a362c;
  --paper: #1a1813;

  --lav: #6c54a8;
  --lav-ink: #ece1ff;
  --peach: #b56a3e;
  --peach-ink: #ffe1cb;
  --butter: #a88c2c;
  --butter-ink: #fff2c1;
  --mint: #3e7a51;
  --mint-ink: #d4f0d9;
  --blush: #a45561;
  --blush-ink: #ffd8de;
}

[data-density='cozy']    { --section-pad-y: 96px; --gutter: 24px; --card-pad: 22px; }
[data-density='compact'] { --section-pad-y: 64px; --gutter: 18px; --card-pad: 18px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.025) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.6;
}
[data-theme='dark'] body::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--lav); color: var(--lav-ink); }

.mono { font-family: var(--font-mono); font-feature-settings: 'zero', 'ss01'; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: lowercase;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: currentColor; opacity: 0.6;
}

.section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section:first-of-type { border-top: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 12px 0 0;
  max-width: 720px;
}
.section-title em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}
.section-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
}
.section-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}

/* ── reveal animation ───────────────────────────────────────
   only `transform` is animated — if the timeline ever stalls, the
   element rests 18px low but is fully visible (graceful failure).
   we deliberately avoid animating opacity because animation-fill-mode
   would force opacity:0 onto stalled animations (paused tabs etc). */
@keyframes riseIn {
  from { transform: translateY(18px); }
  to   { transform: translateY(0); }
}
.reveal.in { animation: riseIn 0.7s cubic-bezier(.2,.7,.2,1) both; }
.reveal-stagger.in > * { animation: riseIn 0.6s cubic-bezier(.2,.7,.2,1) both; }
.reveal-stagger.in > *:nth-child(1) { animation-delay: 0.00s; }
.reveal-stagger.in > *:nth-child(2) { animation-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { animation-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { animation-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { animation-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(6) { animation-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(7) { animation-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; animation: none !important; }
}

/* ── nav ──────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-family: var(--font-mono);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-brand .mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.nav-brand .slash { color: var(--muted-2); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-links .idx { color: var(--muted-2); margin-right: 4px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta .ping {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--status-live);
  box-shadow: 0 0 0 0 currentColor;
  animation: ping 1.6s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(47,158,87,0.6); }
  100% { box-shadow: 0 0 0 8px rgba(47,158,87,0); }
}

/* ── hero ─────────────────────────────────────────────────── */

.hero {
  padding: 64px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}
.hero-status .ping-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--status-live); position: relative;
}
.hero-status .ping-dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--status-live);
  opacity: 0; animation: pingRing 1.8s ease-out infinite;
}
@keyframes pingRing {
  0%   { opacity: 0.6; transform: scale(0.6); }
  100% { opacity: 0;   transform: scale(1.6); }
}

.hero-title {
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0;
}
.hero-title .line { display: block; }
.hero-title .accent {
  background: linear-gradient(180deg, transparent 64%, var(--butter) 64% 92%, transparent 92%);
  padding: 0 4px;
}
.hero-title .tinker {
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-title .tinker .gear {
  width: 0.78em; height: 0.78em;
  display: inline-block;
  animation: spin 14s linear infinite;
  color: var(--peach-ink);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-roles {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.tag .sw { width: 8px; height: 8px; border-radius: 50%; }

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.hero-avatar-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lav) 0%, var(--peach) 60%, var(--butter) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.hero-avatar-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,0.45), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(0,0,0,0.06), transparent 50%);
  pointer-events: none;
}
.hero-avatar {
  width: 82%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.82);
  border-radius: 0 0 10px 10px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
  text-align: left;
  line-height: 1.6;
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.hero-avatar-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
}
.hero-meta dt { color: var(--muted-2); }
.hero-meta dd { margin: 0; color: var(--ink-2); }

.hero-foot {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  font-family: var(--font-mono);
  font-size: 12px;
}
.stat .n {
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.stat .l { color: var(--muted); }

/* ── now / about ──────────────────────────────────────────── */

.now-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.now-prose {
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 600px;
  text-wrap: pretty;
  font-weight: 400;
}
.now-prose b {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 70%, var(--mint) 70% 95%, transparent 95%);
  padding: 0 2px;
}
.now-prose .lav   { background: linear-gradient(180deg, transparent 70%, var(--lav) 70% 95%, transparent 95%); padding: 0 2px; color: var(--ink); }
.now-prose .peach { background: linear-gradient(180deg, transparent 70%, var(--peach) 70% 95%, transparent 95%); padding: 0 2px; color: var(--ink); }

.now-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.now-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
}
.now-list li:last-child { border-bottom: 0; }
.now-list .k {
  color: var(--muted-2);
  font-size: 11px;
}
.now-list .v { color: var(--ink); }
.now-list .v em {
  font-style: normal;
  color: var(--muted);
}
.now-list .t { color: var(--muted); }

/* ── projects ────────────────────────────────────────────── */

.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
  align-items: stretch;
}
.proj {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 360px;
}
.proj:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -16px rgba(0,0,0,0.15);
}
.proj--wide { grid-column: span 2; min-height: 420px; }
.proj--half { grid-column: span 1; }
.proj--third { grid-column: span 1; }

/* portrait screenshot slot (e.g. an iPhone screen) */
.proj-vis--portrait {
  display: grid;
  place-items: center;
  padding: 22px 0;
  min-height: 420px;
}
.proj-vis--portrait > .proj-shot,
.proj-vis--portrait > image-slot {
  width: auto;
  height: 100%;
  min-height: 380px;
  aspect-ratio: 9 / 19.5;
  max-width: 86%;
  box-shadow: 0 14px 36px -18px rgba(0,0,0,0.45);
}

.proj-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.proj-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}
.proj-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.proj-status .pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--status-soon);
}
.proj-status.live .pip { background: var(--status-live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-live) 25%, transparent); }
.proj-status.wip .pip  { background: var(--status-wip);  box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-wip)  25%, transparent); }
.proj-status.soon .pip { background: var(--status-soon); }

.proj-name {
  font-size: 30px;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  line-height: 1.05;
}
.proj-name .at { color: var(--muted-2); }
.proj-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 50ch;
}
.proj-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.proj-tags .tag { font-size: 11px; padding: 4px 8px; }

.proj-vis {
  flex: 0 0 180px;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 140px;
}
.proj-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.proj-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: gap 0.2s ease;
}
.proj-link:hover { gap: 10px; }
.proj-link .arr { font-size: 10px; }
.proj-link.disabled {
  color: var(--muted-2);
  border-bottom-color: transparent;
  cursor: default;
}
.proj-foot-url {
  color: var(--muted);
  transition: color 0.15s ease;
}
.proj-foot-url:hover { color: var(--ink); }
.proj-vis > image-slot,
.proj-vis > .proj-shot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
}

/* accent variants */
.proj--lav    { --c: var(--lav);    --ci: var(--lav-ink); }
.proj--peach  { --c: var(--peach);  --ci: var(--peach-ink); }
.proj--butter { --c: var(--butter); --ci: var(--butter-ink); }
.proj--mint   { --c: var(--mint);   --ci: var(--mint-ink); }
.proj--blush  { --c: var(--blush);  --ci: var(--blush-ink); }
.proj--ink    { --c: var(--ink);    --ci: var(--bg); }

.proj-vis {
  background: var(--c, var(--bg-soft));
  color: var(--ci, var(--ink));
}

/* ── lab (home stack panel) ──────────────────────────────── */

.lab {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
}
.lab-head {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.lab-head .left {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.lab-head .dots { display: inline-flex; gap: 6px; }
.lab-head .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong);
}
.lab-head .right {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--mint-ink);
  font-size: 11px;
}
.lab-head .right .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--status-live);
}
.lab-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 380px;
}
.lab-col {
  padding: 22px 22px;
}
.lab-col + .lab-col {
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-soft) 50%, transparent));
}
.lab-col h4 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.lab-row {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}
.lab-row:last-child { border-bottom: 0; }
.lab-row .port { color: var(--muted-2); }
.lab-row .url  { color: var(--ink-2); }
.lab-row .badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--mint) 60%, transparent);
  color: var(--mint-ink);
  letter-spacing: 0.04em;
}
.lab-row .badge.warn { background: color-mix(in srgb, var(--butter) 70%, transparent); color: var(--butter-ink); }
.lab-row .badge.idle { background: var(--bg-soft); color: var(--muted); }
.lab-row .arrow { color: var(--muted-2); }

.lab-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 6px 0;
  font-size: 12px;
}
.lab-stat .k { color: var(--muted); }
.lab-stat .v { color: var(--ink-2); }
.lab-bar {
  margin-top: 4px;
  margin-bottom: 14px;
  height: 4px;
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
}
.lab-bar > i {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 4px;
  transition: width 1s ease;
}
.lab-bar.cpu  > i { background: var(--mint-ink); }
.lab-bar.mem  > i { background: var(--lav-ink); }
.lab-bar.disk > i { background: var(--peach-ink); }
.lab-bar.net  > i { background: var(--butter-ink); }

.lab-graph {
  margin-top: 8px;
  height: 60px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 100%);
  border: 1px dashed var(--line);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.lab-graph svg { width: 100%; height: 100%; display: block; }
.lab-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex; justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

/* ── now-list-like KV for terminal-ish blocks ─────────────── */

.kvs {
  display: grid;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.kvs .kv {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
}
.kvs .kv .k { color: var(--muted-2); }
.kvs .kv .v { color: var(--ink-2); }

/* ── stack section ───────────────────────────────────────── */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stack-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stack-card .glyph {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.stack-card .glyph.logo {
  background: var(--ink);
  -webkit-mask: var(--logo) center / 60% no-repeat;
  mask: var(--logo) center / 60% no-repeat;
}
.stack-card h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.stack-card .desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  line-height: 1.55;
}

/* ── contact / outro ─────────────────────────────────────── */

.contact {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-headline {
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 500;
}
.contact-headline a {
  background: linear-gradient(180deg, transparent 72%, var(--lav) 72% 96%, transparent 96%);
  padding: 0 4px;
  transition: background 0.2s;
}
.contact-headline a:hover {
  background: linear-gradient(180deg, transparent 0%, var(--lav) 0% 100%, transparent 100%);
}

.contact-side {
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s ease;
  color: var(--ink);
  text-decoration: none;
}
.contact-link:first-child { border-top: 1px solid var(--line); }
.contact-link:hover { padding-left: 8px; }
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2, #f0ede8);
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.contact-link:hover .contact-icon { opacity: 1; }
.contact-label {
  flex: 1;
}
.contact-side .arr {
  color: var(--muted-2);
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: auto;
}
.contact-link:hover .arr {
  transform: translateX(4px);
  color: var(--ink);
}

footer.foot {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.foot .build {
  color: var(--muted-2);
}

/* ── responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-foot { grid-template-columns: repeat(2, 1fr); }
  .now-grid  { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj--wide, .proj--half, .proj--third { grid-column: span 1; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-body { grid-template-columns: 1fr; }
  .lab-col + .lab-col { border-left: 0; border-top: 1px solid var(--line); }
  .nav-links { display: none; }
}

/* ── illustration bits ───────────────────────────────────── */

.vis-flow svg, .vis-rek svg, .vis-n8n svg, .vis-pkmn svg, .vis-paper svg, .vis-egg svg {
  width: 100%; height: 100%;
  display: block;
}
