:root {
  --page: #101a29;
  --card: #1b2a3b;
  --card-hover: #24384d;
  --ink: #f5f3eb;
  --muted: #b8c3cf;
  --accent: #ef5b92;
  --line: rgba(245, 243, 235, .17);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--page); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100%; margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }

.bio-page { width: 100%; max-width: 640px; min-height: 100dvh; margin: auto; padding: 0 20px; }
.site-nav { display: flex; min-height: 82px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--ink); color: var(--page); font-size: .9rem; font-weight: 900; }
.brand-copy { display: grid; gap: 1px; line-height: 1.05; }
.brand-copy strong { font-size: .94rem; letter-spacing: -.02em; }
.brand-copy small, .section-label, .project-number, .project-type, .nav-link, footer { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.brand-copy small { color: var(--muted); font-size: .62rem; }
.nav-link { color: var(--muted); font-size: .72rem; text-decoration: none; }
.nav-link span { color: var(--accent); font-weight: 800; }

.directory { padding: 51px 0 36px; }
.directory-intro { margin-bottom: 30px; }
.section-label { margin: 0 0 12px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 520px; margin: 0; letter-spacing: -.065em; font-size: clamp(2.45rem, 10vw, 4.65rem); line-height: .94; }
h1 em { color: var(--accent); font-style: normal; }
.intro-copy { margin: 17px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

.project-list { display: grid; width: 100%; gap: 12px; }
.project-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 42px; gap: 12px; align-items: center; min-height: 124px; padding: 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .1); transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.project-row:hover { transform: translateY(-2px); border-color: rgba(239, 91, 146, .65); background: var(--card-hover); }
.project-row:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.project-number { align-self: start; padding-top: 5px; color: var(--accent); font-size: .72rem; font-weight: 800; }
.project-title-wrap { display: grid; min-width: 0; gap: 5px; }
.project-type { overflow: hidden; color: #f2a2c0; font-size: .67rem; font-weight: 700; letter-spacing: .01em; text-overflow: ellipsis; white-space: nowrap; }
.project-title-wrap strong { font-size: clamp(1.3rem, 5.8vw, 1.7rem); letter-spacing: -.045em; line-height: 1.05; }
.project-description { color: var(--muted); font-size: .83rem; line-height: 1.38; }
.row-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(245, 243, 235, .45); border-radius: 50%; color: var(--ink); font-size: 1.2rem; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.project-row:hover .row-arrow { transform: translate(2px, -2px); border-color: var(--accent); background: var(--accent); }

footer { padding: 16px 0 28px; color: #8391a0; font-size: .63rem; text-align: center; }

@media (min-width: 641px) {
  .bio-page { padding: 0 32px; }
  .site-nav { min-height: 92px; }
  .directory { padding-top: 72px; }
  .project-row { min-height: 136px; padding: 21px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
