:root {
  --navy-950: #01161e;
  --navy-800: #124559;
  --teal-500: #598392;
  --sage-300: #aec3b0;
  --cream-50: #eff6e0;

  --bg: var(--navy-950);
  --bg-elevated: #0a232c;
  --text: var(--cream-50);
  --text-muted: var(--sage-300);
  --border: rgba(174, 195, 176, 0.2);
  --accent: var(--teal-500);
  --accent-strong: var(--sage-300);

  --max-width: 960px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  color: var(--cream-50);
  line-height: 1.2;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(1, 22, 30, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--cream-50);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* Hero */

.hero {
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--teal-500);
  object-fit: cover;
  margin-bottom: 1.5rem;
  background: var(--bg-elevated);
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--sage-300);
  margin: 0 0 1.25rem;
}

.hero-intro {
  max-width: 640px;
  color: var(--text);
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--teal-500);
  color: var(--navy-950);
}

.btn-secondary {
  background: var(--sage-300);
  color: var(--navy-950);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--cream-50);
  margin-top: 1.5rem;
}

/* Persona sections */

.persona,
.bridge,
.contact {
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--teal-500);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.75rem;
}

.persona-bio {
  max-width: 700px;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.tag {
  background: rgba(89, 131, 146, 0.2);
  border: 1px solid rgba(89, 131, 146, 0.35);
  color: var(--sage-300);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.tag-bridge {
  background: rgba(174, 195, 176, 0.15);
  border-color: rgba(174, 195, 176, 0.35);
}

.bridge {
  background: var(--bg-elevated);
}

/* Projects */

.projects-heading {
  margin: 3rem 0 1.25rem;
  font-size: 1.35rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.projects-status {
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.project-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.project-card h4 a {
  color: var(--cream-50);
  text-decoration: none;
}

.project-card h4 a:hover {
  text-decoration: underline;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-topics span {
  background: rgba(89, 131, 146, 0.2);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  color: var(--sage-300);
}

/* Contact */

.social-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--cream-50);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
}

.social-links a:hover {
  border-color: var(--teal-500);
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

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