/* styles.css — clean hire-me site. */

:root {
  --bg: #f3f1ec;
  --card: #faf9f6;
  --card-2: #fefdfb;
  --line: rgba(20, 18, 14, 0.07);
  --line-strong: rgba(20, 18, 14, 0.14);
  --ink: #18171a;
  --ink-soft: #2c2a26;
  --dim: #8a857a;
  --mute: #b3ad9f;
  --accent: oklch(0.66 0.17 38);
  --accent-soft: oklch(0.66 0.17 38 / 0.10);
  --green: oklch(0.7 0.16 152);
  --radius: 24px;
  --radius-sm: 14px;

  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #0e0e10;
  --card: #161618;
  --card-2: #1c1c1f;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #f1efea;
  --ink-soft: #d6d3cb;
  --dim: #8a857a;
  --mute: #5e5a52;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button { font-family: inherit; }

/* ——— layout ——— */
.page { max-width: 1180px; margin: 0 auto; padding: 0 32px 80px; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0 32px;
}
.nav-left { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; letter-spacing: -0.5px;
  position: relative;
}
.logo-mark::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); position: absolute; bottom: -2px; right: -2px;
}
.nav-email {
  font-size: 15px; color: var(--ink); letter-spacing: -0.1px;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--card-2); border-color: var(--ink); }

/* ——— hero ——— */
.hero { padding: 56px 4px 80px; }
.hero-text {
  font-size: 72px; line-height: 1.05; letter-spacing: -3px;
  font-weight: 600; color: var(--ink);
  max-width: 900px;
}
.hero-text .soft { color: var(--mute); font-weight: 500; }
.hero-text .accent { color: var(--accent); }
.hero-text .ital { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -2px; }

.hero-avatar {
  display: inline-block; vertical-align: -10px; margin: 0 8px;
  width: 76px; height: 76px; border-radius: 24px;
  overflow: hidden; position: relative;
  box-shadow: 0 1px 0 var(--line-strong), 0 8px 24px rgba(0,0,0,0.06);
}
.hero-avatar img {
  position: absolute;
  width: 143.3%; height: 143.3%;
  left: 51.3%; top: 52.63%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card);
  font-size: 16px; font-weight: 500; color: var(--ink);
  vertical-align: 6px; letter-spacing: -0.3px;
  font-family: var(--font-sans);
  margin-left: 4px;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--green) 18%, transparent);
  flex: 0 0 9px;
}

.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; }
.btn-primary {
  background: var(--ink); color: var(--bg);
  padding: 14px 24px; border-radius: 999px; border: none;
  font-size: 16px; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: -0.1px;
  transition: background .15s, transform .15s;
}
.btn-primary:hover { background: #000; transform: translateY(-1px); }
[data-theme="dark"] .btn-primary:hover { background: #fff; color: var(--bg); }
.btn-ghost {
  background: var(--card); color: var(--ink);
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 16px; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.btn-ghost:hover { background: var(--card-2); }
.hero-blurb {
  font-size: 16px; color: var(--ink-soft); max-width: 380px;
  line-height: 1.5; letter-spacing: -0.1px;
  margin: 0;
}

.hero-meta {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 420px;
}

/* ——— bento ——— */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.bento .card { padding: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.card-label {
  font-size: 12px; color: var(--dim); font-weight: 500;
  letter-spacing: -0.1px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card-2);
  display: inline-block;
}
.card-title {
  font-size: 20px; font-weight: 600; letter-spacing: -0.6px; color: var(--ink);
  margin: 0;
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

/* — selected work card — */
.work-card { display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.work-list { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.work-row {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 14px;
  padding: 14px 0; align-items: center;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.work-row:first-child { border-top: none; padding-top: 6px; }
.work-row .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--ink);
  margin-left: 6px;
}
.work-row .meta { font-size: 14px; color: var(--dim); }
.work-row .name { font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; }
.work-row .arrow { font-size: 14px; color: var(--dim); }
.work-row:hover .name { color: var(--accent); }

/* — stack card — */
.stack-stack {
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0;
}
.stack-half { flex: 0 0 auto; display: flex; flex-direction: column; }
.stack-half.stack-half-tools { min-height: 200px; }
.stack-marquee {
  margin-top: 14px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex; gap: 8px; width: max-content;
  animation: stack-marquee 22s linear infinite;
}
.stack-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes stack-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}
.stack-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 7px 12px; border-radius: 10px;
  background: var(--card-2); border: 1px solid var(--line);
  color: var(--ink-soft); letter-spacing: -0.1px;
}
.chip-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* — about card — */
.onchain-card { display: flex; flex-direction: column; gap: 12px; }
.onchain-id {
  font-family: var(--font-sans); font-size: 32px; font-weight: 600;
  letter-spacing: -1.4px; margin-top: 4px;
  display: flex; align-items: baseline; gap: 8px;
}
.onchain-id .eth { color: var(--accent); }

.about-id { font-style: normal; }
.lang-list {
  display: inline-flex; gap: 8px; align-items: baseline;
}
.lang {
  display: inline-flex; align-items: baseline; gap: 5px;
}
.lang + .lang::before {
  content: "·"; color: var(--mute); margin-right: 3px;
}
.lang-code {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink);
  font-weight: 500;
}
.lang-level {
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
}
.kv {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--line);
  font-size: 13px;
}
.kv:first-of-type { border-top: none; padding-top: 0; }
.kv .k { color: var(--dim); }
.kv .v { color: var(--ink); font-family: var(--font-mono); font-size: 12px; }
.kv .v.v-accent { color: var(--accent); font-weight: 500; }

/* — hackathon list (interactive) — */
.hack-card { display: flex; flex-direction: column; align-self: start; }
.hack-card .hack-list {
  display: flex; flex-direction: column; gap: 8px;
  flex: 1; margin-top: 14px;
}
.hack-row-btn {
  appearance: none; font: inherit; color: inherit; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 12px 14px;
  background: var(--card-2); border: 1px solid var(--line);
  border-radius: 14px; text-align: left;
  position: relative; overflow: hidden;
  align-items: center;
  transition: background .15s, border-color .15s, transform .15s;
}
.hack-row-btn:hover {
  background: var(--card); border-color: var(--line-strong);
  transform: translateY(-1px);
}
.hack-row-btn.active {
  background: var(--accent-soft); border-color: var(--accent-soft);
}
.hack-row-btn.active::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px;
  width: 3px; background: var(--accent); border-radius: 0 3px 3px 0;
}
.hack-row-btn.active .hack-event { color: var(--accent); }
.hack-event { font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; }
.hack-event .yr { color: var(--mute); font-weight: 400; margin-left: 6px; font-size: 14px; }
.hack-meta { font-size: 13px; color: var(--dim); margin-top: 2px; }
.hack-prize {
  font-size: 13px; color: var(--accent); font-weight: 500;
  text-align: right; white-space: nowrap;
}
.hack-row-btn .hack-meta { font-size: 12px; }
.hack-row-btn .hack-event { font-size: 14.5px; }
.hack-row-btn .hack-prize { font-size: 12px; }

/* — hackathon detail card — */
.hack-detail {
  display: flex; flex-direction: column; gap: 14px;
}
.hack-detail-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px;
}
.hack-project-name {
  font-size: 36px; font-weight: 600; letter-spacing: -1.4px;
  margin: 8px 0 4px; line-height: 1;
}
.hack-project-tag {
  font-family: var(--font-serif); font-style: italic; font-size: 18px;
  color: var(--ink-soft); letter-spacing: -0.4px;
}
.hack-detail-event {
  text-align: right; padding-top: 4px;
}
.hack-detail-event .hack-event { font-size: 14px; }
.hack-detail-event .hack-meta { font-size: 12px; }

.hack-desc {
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
  margin: 0; max-width: 640px;
}

.hack-video {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden;
  background: radial-gradient(120% 100% at 30% 0%, #1a1a1f 0%, #0a0a0c 70%);
  border: 1px solid var(--line);
  margin-top: 2px;
}
.hack-video-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 18px,
    rgba(255, 255, 255, 0.025) 18px,
    rgba(255, 255, 255, 0.025) 36px
  );
  animation: hackVideoStripe 14s linear infinite;
}
@keyframes hackVideoStripe { to { background-position: 360px 0; } }

.hack-video-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

.hack-video-empty .hack-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 16px;
}
.hack-video-pill {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hack-video-filename {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2px;
}

.hack-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px;
}
.hack-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card-2);
  font-size: 13px; color: var(--ink); text-decoration: none;
  letter-spacing: -0.1px;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.hack-link:hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
  transform: translateY(-1px);
}
[data-theme="dark"] .hack-link:hover { background: #fafaf7; color: #0e0e10; border-color: #fafaf7; }

/* ——— featured work (deep cards) ——— */
.section-header {
  display: flex; align-items: end; justify-content: space-between;
  padding: 80px 4px 28px; gap: 24px;
}
.section-title {
  font-size: 44px; font-weight: 600; letter-spacing: -1.8px; margin: 0;
  color: var(--ink); max-width: 720px;
}
.section-title .ital { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.section-title .accent { color: var(--accent); }
.section-meta { font-size: 14px; color: var(--dim); font-family: var(--font-mono); }

.proj { display: flex; flex-direction: column; gap: 20px; padding: 36px; min-height: 420px; border-color: var(--line-strong); overflow: visible; }
.proj + .proj { margin-top: 18px; }
.proj-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.proj-name {
  font-size: 56px; font-weight: 600; letter-spacing: -2.4px; margin: 0;
  line-height: 1;
}
.proj-tag { font-size: 13px; color: var(--dim); font-family: var(--font-mono); }
.proj-kicker {
  font-size: 22px; color: var(--ink-soft); letter-spacing: -0.6px; line-height: 1.3;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  max-width: 560px;
}
.proj-stack {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
  max-width: 360px;
}
.proj-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 8px;
}
.proj-body > * { min-width: 0; }
.proj-h {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--dim); margin-bottom: 8px; font-family: var(--font-mono);
}
.proj-p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 18px; }
.proj-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px;
}
.metric { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.metric .v { font-size: 26px; font-weight: 600; letter-spacing: -1px; color: var(--accent); }
.metric .k { font-size: 11px; color: var(--dim); margin-top: 4px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }

.proj-code {
  background: #0e0e10; border-radius: var(--radius-sm);
  padding: 18px 20px; font-family: var(--font-mono); font-size: 12.5px;
  line-height: 1.7; color: #e6e3da; margin: 0;
  max-width: 100%;
  white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: hidden;
}
[data-theme="dark"] .proj-code { background: #050507; }
.proj-code .cm { color: #6b7280; font-style: italic; }
.proj-code .k  { color: oklch(0.78 0.14 320); }
.proj-code .fn { color: oklch(0.75 0.15 240); }
.proj-code .str{ color: oklch(0.78 0.13 145); }
.proj-code .num{ color: oklch(0.78 0.13 60); }
.proj-code .ty { color: oklch(0.78 0.1 190); }

.proj-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; justify-content: flex-end; }
.link-a {
  font-size: 14px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.link-a:hover { color: var(--accent); border-color: var(--accent); }

/* ——— contact ——— */
.contact {
  margin-top: 96px; padding: 80px 56px; border-radius: var(--radius);
  background: var(--ink); color: var(--bg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: end; position: relative; overflow: hidden;
}
[data-theme="dark"] .contact { background: #fafaf7; color: #0e0e10; }
.contact-title {
  font-size: 88px; font-weight: 600; letter-spacing: -3.5px; line-height: 0.95; margin: 0;
}
.contact-title .ital { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.contact-title .accent { color: var(--accent); }
.contact-meta { display: flex; flex-direction: column; gap: 16px; }
.contact-meta .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 15px;
}
[data-theme="dark"] .contact-meta .row { border-top-color: rgba(0,0,0,0.10); }
.contact-meta .row:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.10); }
[data-theme="dark"] .contact-meta .row:last-of-type { border-bottom-color: rgba(0,0,0,0.10); }
.contact-meta .k { color: rgba(255,255,255,0.55); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
[data-theme="dark"] .contact-meta .k { color: rgba(0,0,0,0.45); }
.contact-meta .v { color: var(--bg); text-decoration: none; }
[data-theme="dark"] .contact-meta .v { color: #0e0e10; }
.contact-meta a.v:hover { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.contact .btn-primary { background: var(--bg); color: var(--ink); margin-top: 0; text-decoration: none; }
.contact .btn-primary:hover { background: var(--accent); color: #fff; }
.contact .btn-primary-ghost {
  background: transparent; color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact .btn-primary-ghost:hover {
  background: rgba(255, 255, 255, 0.06); color: var(--bg);
  border-color: rgba(255, 255, 255, 0.4);
}
[data-theme="dark"] .contact .btn-primary-ghost { color: #0e0e10; border-color: rgba(0, 0, 0, 0.2); }
[data-theme="dark"] .contact .btn-primary-ghost:hover { background: rgba(0, 0, 0, 0.06); color: #0e0e10; border-color: rgba(0, 0, 0, 0.4); }

/* ——— footer ——— */
.footer {
  margin-top: 32px; padding: 24px 4px; display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--mute);
}

/* ——— micro-animation (opt-in, never gates visibility) ——— */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .card, .proj, .contact { animation: fadeUp .5s ease-out both; }
  .card:nth-child(2) { animation-delay: .04s; }
  .card:nth-child(3) { animation-delay: .08s; }
  .card:nth-child(4) { animation-delay: .12s; }
  .card:nth-child(5) { animation-delay: .16s; }
}

/* ——— responsive ——— */

/* tablet — 1024 and under */
@media (max-width: 1024px) {
  .page { padding: 0 24px 64px; }
  .hero { padding: 40px 4px 64px; }
  .hero-text { font-size: 56px; letter-spacing: -2px; }
  .hero-avatar { width: 60px; height: 60px; vertical-align: -6px; }

  .bento { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 2; }
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: span 4; }

  .section-header { padding: 56px 4px 22px; }
  .section-title { font-size: 36px; letter-spacing: -1.4px; }

  .proj { padding: 28px; min-height: 0; }
  .proj-name { font-size: 44px; letter-spacing: -1.8px; }
  .proj-kicker { font-size: 19px; }
  .proj-body { grid-template-columns: 1fr; gap: 24px; }
  .proj-body > * { min-width: 0; }
  .proj-code { max-width: 100%; overflow-x: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
  .proj-metrics { grid-template-columns: repeat(4, 1fr); }

  .contact { padding: 56px 36px; gap: 36px; }
  .contact-title { font-size: 64px; letter-spacing: -2.5px; }
}

/* mobile — 640 and under */
@media (max-width: 640px) {
  .page { padding: 0 18px 56px; }

  .nav { padding: 18px 0 24px; }
  .nav-email { display: none; }
  .logo-mark { width: 34px; height: 34px; font-size: 15px; }
  .icon-btn { width: 36px; height: 36px; }

  .hero { padding: 24px 0 48px; }
  .hero-text {
    font-size: 38px; letter-spacing: -1.4px; line-height: 1.08;
  }
  .hero-avatar { width: 44px; height: 44px; border-radius: 14px; vertical-align: -4px; margin: 0 4px; }
  .status-pill {
    font-size: 13px; padding: 5px 11px; vertical-align: 3px;
  }
  .status-dot { width: 7px; height: 7px; flex: 0 0 7px; }

  .hero-actions {
    flex-direction: column; align-items: stretch; gap: 16px; margin-top: 28px;
  }
  .btn-primary { justify-content: center; padding: 13px 22px; font-size: 15px; }
  .hero-blurb { font-size: 14px; max-width: none; }

  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento .card { padding: 18px; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; }
  .work-card { min-height: 0; }

  .card-title { font-size: 18px; letter-spacing: -0.4px; }
  .onchain-id { font-size: 26px; letter-spacing: -1px; }
  .kv .v { font-size: 11px; word-break: break-all; }

  .hack-detail-top { flex-direction: column; gap: 8px; }
  .hack-detail-event { text-align: left; padding-top: 0; }
  .hack-project-name { font-size: 28px; letter-spacing: -1.1px; }
  .hack-project-tag { font-size: 15px; }
  .hack-desc { font-size: 13px; }
  .hack-video-pill { font-size: 10px; padding: 6px 10px; }
  .hack-link { font-size: 12px; padding: 7px 12px; }
  .hack-row-btn { padding: 12px 8px; }

  .section-header {
    flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 48px 0 18px;
  }
  .section-title { font-size: 28px; letter-spacing: -1px; }
  .section-meta { font-size: 12px; }

  .proj { padding: 22px; }
  .proj-top { flex-direction: column; align-items: flex-start; }
  .proj-stack { justify-content: flex-start; max-width: 100%; }
  .proj-name { font-size: 34px; letter-spacing: -1.4px; }
  .proj-kicker { font-size: 16px; }
  .proj-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 12px 14px; }
  .metric .v { font-size: 22px; }
  .proj-code { font-size: 11.5px; padding: 14px 16px; overflow-x: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }

  .contact {
    margin-top: 64px; padding: 40px 24px; gap: 24px;
    grid-template-columns: 1fr;
  }
  .contact-title { font-size: 44px; letter-spacing: -1.8px; }
  .contact-meta .row { font-size: 13px; padding: 12px 0; }

  .footer {
    flex-direction: column; align-items: flex-start; gap: 6px;
    font-size: 10.5px; letter-spacing: 1.2px;
  }
}
