@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..700;1,14..32,300..700&display=swap');

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

:root {
  --text: #0d0d0d;
  --muted: #6b7280;
  --subtle: #9ca3af;
  --border: #e8e6e3;
  --bg: #f8f7f4;
  --surface: #ffffff;
  --accent: #1d4ed8;
  --accent-light: rgba(29, 78, 216, 0.08);
  --dark: #0d0d0d;
  --max: 720px;
  --nav-height: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Animations ──────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ── Navigation ──────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

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

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.2s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* ── Band layout ─────────────────────────────────────── */

main {
  padding-top: var(--nav-height);
}

.band {
  width: 100%;
}

.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 2.5rem;
}

/* ── Hero band ───────────────────────────────────────── */

.band-hero {
  background:
    radial-gradient(ellipse at 90% -10%, rgba(29, 78, 216, 0.09) 0%, transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}

.band-hero .band-inner {
  padding-top: 6.5rem;
  padding-bottom: 5rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.875rem 0.3rem 0.6rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s ease both;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2.5s ease infinite;
  flex-shrink: 0;
}

#hero h1 {
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.5s 0.1s ease both;
}

.hero-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.5s 0.2s ease both;
}

.hero-location {
  font-size: 0.875rem;
  color: var(--subtle);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.5s 0.25s ease both;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.35s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  background: var(--bg);
  transform: translateY(-1px);
}

/* ── Section labels ──────────────────────────────────── */

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
}

/* ── Stats band ──────────────────────────────────────── */

.band-stats {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.band-stats .band-inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.stat-plus {
  font-size: 0.65em;
  color: var(--accent);
  vertical-align: super;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

/* ── About band ──────────────────────────────────────── */

.band-about {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

#about p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 1.25rem;
}

#about p:last-of-type {
  margin-bottom: 0;
}

#about strong {
  color: var(--text);
  font-weight: 600;
}

.skills {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1e40af;
  background: rgba(29, 78, 216, 0.07);
  border: 1px solid rgba(29, 78, 216, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* ── Experience band ─────────────────────────────────── */

.band-experience {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.timeline {
  position: relative;
  padding-left: 1.75rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 2rem;
  width: 1px;
  background: var(--border);
}

.timeline-entry {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  transform: translateX(-4px);
  transition: border-color 0.2s, background 0.2s;
}

.timeline-entry.is-current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.entry-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.entry-company {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.entry-dates {
  font-size: 0.8125rem;
  color: var(--subtle);
  white-space: nowrap;
}

.entry-roles {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.875rem;
}

.entry-role {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.entry-role.is-current {
  color: var(--accent);
  font-weight: 500;
}

.entry-desc {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #4b5563;
}

.entry-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.entry-highlights li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4b5563;
  padding-left: 1.1rem;
  position: relative;
}

.entry-highlights li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--subtle);
}

.entry-highlights strong {
  color: var(--text);
  font-weight: 600;
}

.about-availability {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(29, 78, 216, 0.05);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
}

.about-availability strong {
  color: var(--text);
}

/* ── Contact band ────────────────────────────────────── */

.band-contact {
  background: var(--dark);
}

.band-contact .section-label {
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.band-contact .contact-intro {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.375rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.contact-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.contact-item-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.7);
}

.contact-item-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.1rem;
}

.contact-item-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
}

.contact-item-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
  transition: transform 0.15s, color 0.15s;
}

.contact-item:hover .contact-item-arrow {
  transform: translate(2px, -2px);
  color: rgba(255,255,255,0.7);
}

/* ── Footer ──────────────────────────────────────────── */

footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 600px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .band-inner {
    padding: 4rem 1.25rem;
  }

  .band-hero .band-inner {
    padding-top: 5rem;
  }

  .entry-header {
    flex-direction: column;
    gap: 0.2rem;
  }
}
