:root {
  --bg: #F5F3EE;
  --ink: #1A1916;
  --muted: #8A8679;
  --accent: #2E5D8E;
  --accent-light: #D6E4F0;
  --line: #D8D5CE;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --mono: 'DM Mono', monospace;
  --sans: 'Neue Haas Unica W1G', 'Helvetica Neue', Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 4.5rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 3rem 5rem 3rem;
  border-right: 1px solid var(--line);
  position: relative;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-name em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem;
  gap: 3rem;
}

.stat-block {
  animation: fadeUp 0.8s ease both;
}

.stat-block:nth-child(2) { animation-delay: 0.15s; }
.stat-block:nth-child(3) { animation-delay: 0.3s; }

.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-bottom-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.25rem 3rem;
  border-top: 1px solid var(--line);
  overflow-x: auto;
}

.tag-pill {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* SECTIONS */
section {
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.section-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.aside-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: white;
}

.aside-card-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.aside-card-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
}

/* EDUCATION */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.edu-item:first-child { border-top: 1px solid var(--line); }

.edu-year {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 0.2rem;
}

.edu-school {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.edu-degree {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.edu-gpa {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}

.edu-courses {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* EXPERIENCE */
.exp-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.exp-item:first-child { border-top: 1px solid var(--line); }

.exp-year {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 0.2rem;
}

.exp-org {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.15rem;
}

.exp-role {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.exp-desc {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.75;
}

/* HIGHLIGHTS */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.highlight-card {
  padding: 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.highlight-card:nth-child(3n) { border-right: none; }
.highlight-card:nth-last-child(-n+3) { border-bottom: none; }

.highlight-card:hover { background: white; }

.highlight-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.highlight-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.highlight-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.highlight-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

/* CERTIFICATIONS */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.cert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: var(--bg);
  gap: 2rem;
}

.cert-name {
  font-size: 0.9rem;
}

.cert-meta {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* SKILLS */
.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
}

.skills-heading {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  font-style: italic;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-key {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-val {
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.contact-val:hover { color: var(--accent); }

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-meta {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--line); padding: 4rem 1.5rem 3rem; }
  .hero-right { padding: 3rem 1.5rem; flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .hero-bottom-bar { padding: 1rem 1.5rem; }
  .section-inner { padding: 3.5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .edu-item, .exp-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .highlight-card:nth-child(2n) { border-right: none; }
  .highlight-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}