:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1d2328;
  --muted: #5c6b73;
  --accent: #2a6f62;
  --accent-dark: #214f46;
  --line: #e3e0d7;
  --shadow: 0 18px 40px rgba(29, 35, 40, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --maxw: 1100px;
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff 0%, #f6f4ef 55%, #f2efe9 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(92%, var(--maxw));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a {
  font-size: 0.98rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 70px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 8px 14px;
  background: #eef6f3;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.hero-card-info {
  padding: 20px 24px 26px;
}

.hero-card-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: #f0ede6;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section p {
  color: var(--muted);
  margin-bottom: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stats h3 {
  font-size: 1.6rem;
  color: var(--accent-dark);
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

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

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(29, 35, 40, 0.08);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

.meta {
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.timeline ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.timeline li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

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

.pill {
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
  color: var(--accent-dark);
}

.contact {
  padding-bottom: 90px;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.contact-info {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.contact-info span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0 40px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    right: 16px;
    background: var(--surface);
    border-radius: 16px;
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 50px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 280px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-card {
    padding: 24px;
  }

  .hero-badges {
    gap: 8px;
  }
}
