:root {
  --bg: #0b0b0d;
  --surface: #121216;
  --surface-2: #18181d;
  --text: #f4f2ed;
  --muted: #a8a5a0;
  --line: rgba(255,255,255,.11);
  --accent: #d7b77a;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.nav {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 18px;
}
.nav nav { display: flex; gap: 28px; }
.nav nav a { color: var(--muted); font-size: 13px; }
.nav nav a:hover, .socials a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--line);
  padding: 10px 15px;
  font-size: 13px;
}
.hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0 0 20px;
}
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 {
  max-width: 850px;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -.055em;
  font-weight: 600;
}
h1 em, h2 em {
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-weight: 500;
}
.hero-text {
  max-width: 660px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions { display: flex; gap: 12px; }
.button { padding: 13px 19px; font-size: 13px; font-weight: 600; }
.button.primary { background: var(--text); color: var(--bg); }
.button.secondary { border: 1px solid var(--line); }
.hero-card {
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  padding: 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
}
.monogram {
  font-family: "Playfair Display", serif;
  font-size: 100px;
  line-height: .8;
  color: var(--accent);
  margin-bottom: auto;
}
.hero-card span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 4px; }
.hero-card strong { font-size: 14px; font-weight: 500; }
.statement, .section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.statement {
  padding: 130px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement h2 {
  max-width: 930px;
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -.045em;
}
.statement > p:last-child { max-width: 720px; color: var(--muted); margin: 30px 0 0; font-size: 16px; }
.section { padding: 130px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 55px; }
.section-heading h2 { font-size: clamp(36px, 4vw, 58px); letter-spacing: -.04em; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.date { color: var(--muted); font-size: 12px; }
.timeline-item h3 { font-size: 22px; }
.company { color: var(--accent); font-size: 13px; margin: 7px 0 12px; }
.timeline-item p:last-child { color: var(--muted); max-width: 700px; margin: 0; }
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.project {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px;
  min-height: 320px;
  position: relative;
}
.project.featured { grid-column: span 2; min-height: 350px; }
.project-number { position: absolute; top: 26px; right: 28px; color: var(--muted); font-size: 12px; }
.tag { color: var(--accent); font-size: 10px; letter-spacing: .16em; font-weight: 700; margin: 0 0 65px; }
.project h3 { font-size: 28px; max-width: 700px; letter-spacing: -.025em; }
.project p:not(.tag) { color: var(--muted); max-width: 690px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chips span, .skills span {
  border: 1px solid var(--line);
  padding: 7px 10px;
  font-size: 11px;
  color: var(--muted);
}
.edu-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
}
.edu-card h3 { font-size: 24px; }
.edu-card p { margin: 8px 0 0; color: var(--muted); }
.muted { font-size: 13px; }
.gpa { text-align: right; }
.gpa span, .gpa small { color: var(--muted); font-size: 11px; }
.gpa strong { display: block; font-size: 64px; line-height: 1; font-weight: 500; }
.school-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.school-row div { padding: 24px 0; }
.school-row div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.school-row strong, .school-row span { display: block; }
.school-row span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.skills { display: flex; flex-wrap: wrap; gap: 9px; }
.contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 130px max(24px, calc((100vw - var(--max))/2));
}
.contact h2 { font-size: clamp(44px, 6vw, 78px); letter-spacing: -.05em; max-width: 900px; }
.contact > p:not(.eyebrow) { color: var(--muted); max-width: 540px; margin: 25px 0 32px; }
.email { font-size: clamp(22px, 3vw, 38px); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.socials { display: flex; gap: 24px; margin-top: 40px; color: var(--muted); font-size: 13px; }
footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 820px) {
  .nav { height: 70px; }
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 90px; min-height: auto; }
  .hero-card { min-height: 250px; }
  .statement, .section { padding: 90px 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 12px; }
  .projects { grid-template-columns: 1fr; }
  .project.featured { grid-column: auto; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .edu-card { align-items: flex-start; gap: 30px; }
}
@media (max-width: 560px) {
  .nav, .hero, .statement, .section, footer { width: min(100% - 30px, var(--max)); }
  .nav-cta { display: none; }
  h1 { font-size: 48px; }
  .hero-actions { flex-direction: column; }
  .button { text-align: center; }
  .edu-card { display: block; }
  .gpa { text-align: left; margin-top: 30px; }
  .school-row { grid-template-columns: 1fr; }
  .school-row div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .contact { padding-left: 15px; padding-right: 15px; }
}
