:root {
  color-scheme: light;
  --background: #f4f7f4;
  --surface: #ffffff;
  --surface-alt: #eaf2ee;
  --text: #1c2b25;
  --muted: #55645e;
  --accent: #0f4d3f;
  --accent-alt: #3a7ca5;
  --accent-soft: rgba(15, 77, 63, 0.12);
  --border: #cddbd2;
  --shadow: 0 20px 45px rgba(16, 51, 41, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  padding-top: 72px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 179, 143, 0.08), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(123, 182, 214, 0.08), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(79, 179, 143, 0.06), transparent 40%);
  opacity: 0.7;
  z-index: -1;
}

body.dark {
  --background: #0f1714;
  --surface: #16201c;
  --surface-alt: #121a17;
  --text: #eef3ef;
  --muted: #b3c1bb;
  --accent: #4fb38f;
  --accent-alt: #7bb6d6;
  --accent-soft: rgba(79, 179, 143, 0.2);
  --border: #2a3a33;
  --shadow: 0 20px 45px rgba(5, 10, 8, 0.45);
}

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

a:hover {
  text-decoration: none;
}

.nav-links a {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transition: width 0.25s ease;
}

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

.link-underline {
  position: relative;
  padding-bottom: 2px;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transition: width 0.25s ease;
}

.link-underline:hover::after {
  width: 100%;
}

.hero {
  background: linear-gradient(135deg, #dbe9e2 0%, #eef6f3 55%, #e6f0f7 100%);
  padding: 72px 8vw 72px;
}

body.dark .hero {
  background: linear-gradient(135deg, #141d1a 0%, #1a2621 55%, #1c2b25 100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
  gap: 24px;
}

.nav--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 18px 8vw;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(16, 51, 41, 0.08);
}

body.dark .nav--sticky {
  background: rgba(15, 23, 20, 0.92);
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.scroll-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(16, 51, 41, 0.2);
}

.theme-toggle {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 500;
}


.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 18px 0 16px;
  line-height: 1.2;
}

.hero-summary {
  max-width: 520px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(16, 51, 41, 0.18);
  border-color: var(--accent);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

.button:not(.primary) {
  border-color: var(--accent-alt);
  color: var(--accent);
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent-alt);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(16, 51, 41, 0.18);
}

.hero-card h2 {
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
}

.availability {
  padding: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--muted);
}

.availability span {
  display: block;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.relocation {
  margin-top: 12px;
  border: 1px solid var(--border);
}

.section {
  padding: 72px 8vw;
}

.section.alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(16, 51, 41, 0.18);
}

.card h3 {
  margin-bottom: 12px;
}

.card ul {
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.card p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 28px;
}

.timeline-item {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-alt);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(16, 51, 41, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .timeline-item,
  .hero-card,
  .button,
  .scroll-top {
    transition: none;
  }

  .nav-links a::after {
    transition: none;
  }

  .link-underline::after {
    transition: none;
  }
}

.timeline-item h3 {
  margin-bottom: 4px;
}

.timeline-meta {
  color: var(--muted);
  margin-bottom: 12px;
}

.timeline-item ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}


.resume-downloads {
  display: grid;
  gap: 12px;
}

.resume-downloads p {
  color: var(--muted);
}

.cta {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.footer {
  padding: 36px 8vw 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.references {
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
}

.muted {
  color: var(--muted);
}

@media (max-width: 720px) {
  body {
    padding-top: 60px;
  }

  .nav--sticky {
    padding: 12px 6vw;
    box-shadow: 0 6px 16px rgba(16, 51, 41, 0.08);
  }

  .nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 32px;
  }

  .nav-links {
    flex-basis: 100%;
    order: 3;
    gap: 12px 16px;
  }

  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .logo {
    order: 1;
  }

  .scroll-top {
    order: 2;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .theme-toggle {
    display: none;
  }


  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
