/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --bg:     #080808;
  --text:   #E8E4E0;
  --pink:   #C4405A;
  --muted:  #605558;
  --faint:  #302528;
  --border: rgba(196, 64, 90, 0.15);
}

/* ─── Base ───────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 80px 140px;
}

/* ─── Navigation ─────────────────────────────────────── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 120px;
}

.nav-name {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pink);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 80px;
  align-items: end;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.hero-name {
  font-family: 'DM Mono', monospace;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--pink);
}

.hero-name span {
  opacity: 0;
  display: inline-block;
}

.hero-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  max-width: 400px;
  line-height: 1.95;
}

.hero-desc em {
  font-style: italic;
  color: var(--text);
}

.hero-right {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.hero-photo {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}

.hero-photo:hover {
  filter: grayscale(0%);
}

/* ─── Sections ───────────────────────────────────────── */
section {
  margin-bottom: 104px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 80px;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.section-content {
  min-width: 0;
}

/* ─── Projects ───────────────────────────────────────── */
.project {
  padding: 36px 0;
  border-top: 1px solid var(--faint);
}

.project:last-child {
  border-bottom: 1px solid var(--faint);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.project-title a {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  letter-spacing: 0.01em;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.project-title a:hover {
  color: var(--pink);
  text-decoration-color: var(--pink);
}

.project-status {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-left: 16px;
}

.project-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

.project-desc em {
  font-style: italic;
  color: var(--text);
}

/* ─── Timeline ───────────────────────────────────────── */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--faint);
}

.entry {
  position: relative;
  padding: 0 0 44px 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.entry.visible {
  opacity: 1;
  transform: translateY(0);
}

.entry:last-child { padding-bottom: 0; }

.entry::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  transition: background 0.2s;
}

.entry:hover::before { background: var(--pink); }

.entry-year {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 300;
  font-style: italic;
  color: var(--pink);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.entry-title {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.entry-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
}

.entry-desc em {
  font-style: italic;
  color: var(--text);
}

/* ─── Contact ────────────────────────────────────────── */
.contact-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 28px;
}

.contact-desc em {
  font-style: italic;
  color: var(--text);
}

.contact-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-links a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.contact-links a:hover {
  color: var(--pink);
  text-decoration-color: var(--pink);
}

/* ─── Footer ─────────────────────────────────────────── */
footer {
  padding-top: 56px;
  border-top: 1px solid var(--faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--pink); }

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

/* ─── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-name span { opacity: 1 !important; transition: none !important; }
  .nav-links a::after { transition: none; }
  .entry { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Tablet ─────────────────────────────────────────── */
@media (max-width: 768px) {
  body { padding: 64px 40px 120px; }
  nav { margin-bottom: 80px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px 0;
  }

  .hero-right { justify-content: flex-start; }

  .hero-photo {
    width: 180px;
    height: 220px;
  }

  section { grid-template-columns: 1fr; gap: 0; }
  .section-label { margin-bottom: 32px; }
}

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 480px) {
  body { padding: 48px 24px 100px; }
  nav { margin-bottom: 64px; }
  .nav-links { gap: 20px; }
  .hero { margin-bottom: 88px; }

  .hero-photo {
    width: 140px;
    height: 175px;
  }
}
