:root {
  --teal: #14555a;
  --river: #2e8b8b;
  --sand: #f2ede4;
  --accent: #6a8f5d;
  --ink: #1a2b2c;
  --paper: #ffffff;
  --muted: #5b7071;
  --shadow: 0 2px 10px rgba(20, 85, 90, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--teal);
  color: #fff;
}
.site-header .inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px;
}
.site-header a { color: #fff; text-decoration: none; }
.brand { font-weight: 700; letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a { opacity: 0.85; padding: 6px 2px; }
.site-nav a:hover { opacity: 1; }
.site-nav a.active { opacity: 1; border-bottom: 2px solid var(--accent); }
.nav-toggle {
  display: none; background: none; border: none; color: #fff; font-size: 1.6rem;
  cursor: pointer; line-height: 1;
}

main { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.hero {
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
  padding: 24px 0 40px;
}
.hero img {
  width: 220px; border-radius: 50%;
  box-shadow: var(--shadow);
}
.hero h1 { margin: 0 0 4px; font-size: 2.2rem; color: var(--teal); }
.hero .subtitle { margin: 0 0 12px; font-size: 1.1rem; color: var(--river); font-weight: 600; }
.hero p { max-width: 620px; }

h2.section-title { color: var(--teal); font-size: 1.5rem; margin: 48px 0 16px; }

.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px; list-style: none; padding: 0; margin: 0;
}
.skills-grid li {
  background: var(--sand); border-radius: 8px; padding: 12px 16px;
  border-left: 4px solid var(--river);
}

.card {
  background: var(--paper); border: 1px solid #e3e9e9; border-radius: 10px;
  padding: 20px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; color: var(--teal); }
.card .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn {
  border: 1px solid var(--river); background: #fff; color: var(--teal);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 0.9rem;
}
.filter-btn:hover { background: var(--sand); }
.filter-btn.active { background: var(--river); color: #fff; font-weight: 700; }

.project-item { margin-bottom: 16px; }
.project-item[hidden] { display: none; }
.project-year { color: var(--river); font-weight: 700; margin: 28px 0 10px; font-size: 1.15rem; }

.strip {
  background: var(--teal); color: #fff; border-radius: 10px; padding: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.strip a { color: #fff; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
}
.btn:hover { background: #58794a; }

.doc-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.doc-list li {
  background: var(--sand); border-radius: 8px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.contact-block { display: grid; gap: 10px; margin: 8px 0 24px; }
.contact-block a { font-weight: 600; }
.footer {
  background: var(--teal); color: rgba(255,255,255,0.9);
  padding: 24px 20px; margin-top: 48px; text-align: center; font-size: 0.9rem;
}
.footer img { height: 40px; width: auto; display: inline-block; margin-bottom: 8px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; background: var(--teal); padding: 12px 20px; gap: 10px;
  }
  .site-nav.open { display: flex; }
  .hero { justify-content: center; text-align: center; }
  .hero img { width: 160px; }
}
