/* ── Variables ────────────────────────────────────────────── */
:root {
  --color-accent:   #4f46e5;
  --color-heading:  #111827;
  --color-body:     #374151;
  --color-muted:    #6b7280;
  --color-subtle:   #9ca3af;
  --color-divider:  #f3f4f6;
  --color-sep:      #d1d5db;
  --font-main:      'Inter', system-ui, sans-serif;
  --max-width:      42rem;
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  background: #fff;
  color: var(--color-body);
  -webkit-font-smoothing: antialiased;
}

/* ── Background canvas ────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Layout ───────────────────────────────────────────────── */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.site-footer {
  border-top: 1px solid var(--color-divider);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-subtle);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
}

.hero-name {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-heading);
}

.hero-bio {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-bio .accent { color: var(--color-accent); font-weight: 400; }
.hero-bio a.accent { text-decoration: none; }
.hero-bio a.accent:hover { text-decoration: underline; }

.entry-org a { color: inherit; text-decoration: none; }
.entry-org a:hover { text-decoration: underline; }

.hero-divider {
  margin-top: 2.5rem;
  border: none;
  border-top: 1px solid var(--color-divider);
}

/* ── Section ──────────────────────────────────────────────── */
.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
  margin-bottom: 1.25rem;
}

/* ── Entry (experience / education) ──────────────────────── */
.entry-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.entry-role {
  font-weight: 500;
  color: var(--color-heading);
}

.entry-org {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-top: 0.1rem;
}

.entry-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted);
}

.entry-desc .highlight { font-weight: 500; color: var(--color-body); }

.entry-date {
  font-size: 0.75rem;
  color: var(--color-subtle);
  white-space: nowrap;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ── Projects ─────────────────────────────────────────────── */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-name {
  font-weight: 500;
  color: var(--color-heading);
}

.project-desc {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted);
}

/* ── Skills ───────────────────────────────────────────────── */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.skill-row { display: flex; gap: 0.75rem; }

.skill-label {
  width: 7rem;
  flex-shrink: 0;
  color: var(--color-subtle);
  font-weight: 300;
}

.skill-value { color: var(--color-body); }

/* ── Awards ───────────────────────────────────────────────── */
.award-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted);
  list-style: none;
}

.award-name {
  color: var(--color-body);
  font-weight: 400;
}

/* ── Fade-in animation ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
:root {
  --color-accent:   #4f46e5;
  --color-heading:  #111827;
  --color-body:     #374151;
  --color-muted:    #6b7280;
  --color-subtle:   #9ca3af;
  --color-divider:  #f3f4f6;
  --color-sep:      #d1d5db;
  --font-main:      'Inter', system-ui, sans-serif;
  --max-width:      42rem;
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  background: #fff;
  color: var(--color-body);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ───────────────────────────────────────────────── */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.site-footer {
  border-top: 1px solid var(--color-divider);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-subtle);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
}

.hero-name {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-heading);
}

.hero-bio {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}


.socials {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-accent);
}

.socials a { color: inherit; text-decoration: none; }
.socials a:hover { text-decoration: underline; }
.socials-sep { color: var(--color-sep); }

.socials-cv {
  color: #fff !important;
  background: var(--color-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.socials-cv:hover { opacity: 0.85; text-decoration: none !important; }

.hero-divider {
  margin-top: 2.5rem;
  border: none;
  border-top: 1px solid var(--color-divider);
}

/* ── Section ──────────────────────────────────────────────── */
.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
  margin-bottom: 1.25rem;
}

/* ── Entry (experience / education) ──────────────────────── */
.entry-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.entry-role {
  font-weight: 500;
  color: var(--color-heading);
}

.entry-org {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-top: 0.1rem;
}

.entry-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted);
}

.entry-desc .highlight { font-weight: 500; color: var(--color-body); }

.entry-date {
  font-size: 0.75rem;
  color: var(--color-subtle);
  white-space: nowrap;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ── Projects ─────────────────────────────────────────────── */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-name {
  font-weight: 500;
  color: var(--color-heading);
}

.project-desc {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted);
}

/* ── Skills ───────────────────────────────────────────────── */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.skill-row { display: flex; gap: 0.75rem; }

.skill-label {
  width: 7rem;
  flex-shrink: 0;
  color: var(--color-subtle);
  font-weight: 300;
}

.skill-value { color: var(--color-body); }

/* ── Awards ───────────────────────────────────────────────── */
.award-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted);
  list-style: none;
}

.award-name {
  color: var(--color-body);
  font-weight: 400;
}

/* ── Fade-in animation ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
