/* =========================
   CSS RESET / BASE
========================= */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   VARIABLES
========================= */

:root {
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-light: #e5e7eb;
  --border-muted: #cbd5f5;

  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.15);

  --max-width: 1100px;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

h2 {
  font-size: 1.75rem;
  margin-top: 4rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  max-width: 70ch;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   LAYOUT
========================= */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

section {
  margin-bottom: 5rem;
}

/* =========================
   NAV
========================= */

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 600;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

/* =========================
   HERO
========================= */

#hero {
  margin-top: 3rem;
}

#hero h1 .muted {
  color: var(--text-muted);
  font-style: italic;
}

/* =========================
   STATUS INDICATOR
========================= */

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* =========================
   CAREER / TIMELINE
========================= */

.career .eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-light);
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3rem;
  position: relative;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-dot {
  position: absolute;
  left: 136px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--border-muted);
}

.timeline-item.current .timeline-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.timeline-right .org {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* =========================
   TERMINAL
========================= */

.terminal {
  margin-top: 2rem;
  background: #0b1220;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.terminal-line {
  opacity: 0.9;
}

.terminal-line::before {
  content: "$ ";
  color: #22c55e;
}

/* =========================
   FOOTER
========================= */

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

footer a {
  margin: 0 0.5rem;
}
