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

:root {
  --bg: #090d14;
  --surface: #0e1520;
  --surface2: #131d2b;
  --accent: #c9a84c;
  --text: #e8e8e8;
  --muted: #888;
  --border: #1e2d42;
  --font: 'Aptos', 'Aptos Display', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Aptos Display', 'Aptos', 'Segoe UI', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.95);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  backdrop-filter: blur(6px);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 0.05em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--accent);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #090d14 60%, #0d1a2e 100%);
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.tagline {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-family: var(--font);
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

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

/* SECTIONS */
section {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

section:nth-child(even) {
  background: var(--surface);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
}

h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ABOUT */
.about-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.headshot {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* RESUME */
.resume-block {
  margin-bottom: 3rem;
}

.resume-block h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: var(--font);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.resume-item {
  margin-bottom: 2rem;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.role {
  font-size: 1.1rem;
  font-weight: bold;
}

.date {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font);
}

.company {
  display: block;
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.9rem;
  margin: 0.25rem 0 0.5rem;
}

.resume-item p,
.resume-item ul {
  color: var(--muted);
  font-size: 0.95rem;
}

.resume-item ul {
  padding-left: 1.25rem;
  margin-top: 0.4rem;
}

.resume-item ul li {
  margin-bottom: 0.4rem;
}

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

.skill {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--text);
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.blog-card:hover {
  border-color: var(--accent);
}

.blog-date {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card h4 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.85rem;
}

.blog-link:hover {
  text-decoration: underline;
}

/* CONTACT */
#contact p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  nav ul {
    gap: 1rem;
  }
}
