:root {
  --bg:           #FFFFFF;
  --bg-card:      #ecf2ea; 
  --bg-block:     #C2D4B0;
  --accent:       #5A7A50;
  --accent-dark:  #3E5A37;
  --text:         #1A1A18;
  --text-muted:   #6B7067;
  --text-light:   #9BA397;
  --border:       #C8D4C0;
  --white:        #FFFFFF;
  --nav-h:        68px;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-code:    'JetBrains Mono', monospace;

  --radius-sm:    4px;
  --radius-md:    12px;
  --radius-lg:    20px;

  --transition:   0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.nav-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}

.nav-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--accent-dark); }

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 3rem;
  gap: 1.2rem;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-link {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--accent); }

.hero {
  flex: 1;
  height: auto;
  min-height: calc(100vh - var(--nav-h) - 60px);
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-block {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 36%;
  background: var(--bg-block);
  z-index: 0;
}

.hero-card-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 3rem 0 3rem 4rem;
}

.hero-card {
  background: var(--bg-card);
  padding: 3.5rem 2.5rem;
  width: 325px;
  min-height: 460px;
  justify-content: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(40, 60, 35, 0.27);
}

.hero-photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 8px rgba(40, 60, 35, 0.1);
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.9);
  border: 4px solid #ffffff;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-light);
  text-align: center;
  padding: 0.5rem;
}

.hero-card-name {
  font-family: var(--font-code);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--text);
  text-align: center;
}

.hero-card-divider {
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-card-title {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--text);
  text-transform: uppercase;
  text-align: center;
}

.hero-card-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}
.social-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 4rem 4rem 3.5rem;
  max-width: 520px;
}

.hero-hello {
  font-family: var(--font-code);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.hero-cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
  font-weight: 400;
}

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

.hero-tagline {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.hero-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 1rem;
}
.hero-bio:last-child { margin-bottom: 0; }

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-light);
}
.footer-copy a {
  color: var(--accent);
  transition: color var(--transition);
}
.footer-copy a:hover { color: var(--accent-dark); }

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-light);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.page-header {
  padding: calc(var(--nav-h) + 4rem) 3rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
}

@media (max-width: 860px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-role { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    flex-direction: column;
    min-height: unset;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 3rem;
  }
  .hero-bg-block {
    width: 100%;
    height: 50%;
    bottom: auto;
  }
  .hero-card-wrap {
    padding: 0 1.5rem 0;
    justify-content: center;
  }
  .hero-card { width: 300px; }
  .hero-content {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }
  .footer {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}