:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5b5b60;
  --accent: #1d4ed8;
  --border: #e5e5e8;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.site-header nav a {
  margin-left: 24px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--accent);
}

/* Hero / About */
.hero {
  padding: 64px 24px 48px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 8px;
}

.tagline {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 24px;
}

.hero p {
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn:hover {
  opacity: 0.9;
}

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

/* Resume */
#resume {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

#resume h2 {
  font-size: 1.6rem;
  margin-bottom: 32px;
}

.resume-block {
  margin-bottom: 36px;
}

.resume-block h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 16px;
}

.entry {
  margin-bottom: 20px;
}

.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.entry-title {
  font-weight: 600;
}

.entry-date {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.entry-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

.entry ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.entry li {
  margin-bottom: 6px;
  font-size: 0.97rem;
}

.resume-download {
  margin-top: 12px;
}

/* Projects placeholder */
.projects-placeholder {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.placeholder-note {
  color: var(--muted);
  font-style: italic;
}

/* Contact */
.contact {
  padding: 40px 24px 56px;
  border-top: 1px solid var(--border);
}

.contact a {
  color: var(--accent);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.9rem;
  }
}
