:root {
  --ink: #0f1f1a;
  --muted: #4a5c57;
  --blue-900: #0f3d2e;
  --blue-700: #1f6b52;
  --blue-500: #2c8a6a;
  --blue-300: #77c9a9;
  --wash: #eef6f2;
  --card: #ffffff;
  --ring: rgba(44, 138, 106, 0.25);
  --shadow: 0 14px 34px rgba(15, 61, 46, 0.12);
  --radius: 18px;
  --max-width: 1100px;
  --head-font: "Space Grotesk", sans-serif;
  --body-font: "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: radial-gradient(1200px 520px at 12% -10%, #d6efe4 0%, transparent 60%),
    radial-gradient(1200px 520px at 100% 0%, #e6f5ee 0%, transparent 52%),
    linear-gradient(180deg, #f8fbf9 0%, #eef5f2 100%);
  min-height: 100vh;
}

body.loaded .hero-content {
  animation: fadeUp 0.8s ease-out forwards;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--blue-500);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 250, 247, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 27, 42, 0.08);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--head-font);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-900);
}

.brand-slogan {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  position: relative;
}

.nav-links a[aria-current="page"] {
  color: var(--blue-900);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  background: var(--blue-500);
  border-radius: 999px;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero--image {
  background: linear-gradient(130deg, rgba(12, 33, 25, 0.85), rgba(12, 33, 25, 0.35)),
    url("../assets/theme-hero.jpg") center/cover no-repeat;
}

.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(124, 214, 177, 0.35), transparent 55%);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: 8%;
  top: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(124, 214, 177, 0.55), transparent 70%);
  filter: blur(4px);
  opacity: 0.8;
}

.hero-content {
  max-width: 720px;
  opacity: 0;
  transform: translateY(14px);
  position: relative;
  z-index: 1;
}

.hero--image .hero-content {
  background: rgba(9, 25, 19, 0.68);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 16px 36px rgba(8, 22, 17, 0.35);
}

.hero--image .btn.secondary {
  border-color: rgba(231, 247, 240, 0.45);
  color: #e7f7f0;
}

.hero--image .eyebrow {
  background: rgba(124, 214, 177, 0.2);
  color: #d9f5ea;
}

.hero--image h1,
.hero--image p {
  color: #f0fbf6;
}

.hero--image .hero-lines {
  color: #d9f5ea;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(45, 111, 190, 0.12);
  color: var(--blue-900);
  font-size: 0.85rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--head-font);
  margin: 0 0 1rem;
  color: var(--blue-900);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.hero-name {
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  margin-bottom: 0.5rem;
}

.hero-slogan {
  margin-bottom: 1.2rem;
}

.hero-slogan p {
  margin-bottom: 0.6rem;
  font-family: var(--head-font);
  letter-spacing: 0.01em;
}

.hero-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  font-size: 0.95rem;
  color: var(--blue-700);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--blue-900);
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 2.5rem 0 3.5rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 27, 42, 0.08);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(12, 27, 42, 0.06);
  font-size: 0.85rem;
  color: var(--blue-900);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 10px 22px rgba(27, 79, 139, 0.25);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(27, 79, 139, 0.3);
  color: var(--blue-900);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(27, 79, 139, 0.2);
}

button.btn {
  border: none;
  cursor: pointer;
  font-family: var(--body-font);
}

.stats {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: rgba(44, 138, 106, 0.1);
}

.stat strong {
  font-size: 1.5rem;
  color: var(--blue-900);
}

.timeline {
  display: grid;
  gap: 1.5rem;
}

.role {
  border-left: 3px solid rgba(44, 138, 106, 0.35);
  padding-left: 1.2rem;
}

.role h3 {
  margin-bottom: 0.4rem;
}

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

.detail-list {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.detail-list li {
  margin-bottom: 0.5rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.section-title::before {
  content: "";
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue-500);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(12, 27, 42, 0.12);
  font-family: var(--body-font);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--ring);
  border-color: var(--blue-500);
}

details {
  background: rgba(12, 27, 42, 0.04);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blue-900);
}

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

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
