﻿/* =========================
   Hero Section
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 130px 8% 70px;
}

.hero-image-wrap {
  --hero-shape: 56% 44% 52% 48% / 42% 56% 44% 58%;
  position: relative;
  width: min(380px, 35vw);
  aspect-ratio: 1 / 1;
}

.hero-blob,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--hero-shape);
}

.hero-blob {
  background: var(--accent-primary);
  z-index: 0;
}

.hero-image {
  z-index: 1;
  object-fit: cover;
  display: block;
}

.hero-content {
  max-width: 520px;
}

.hero-title {
  color: var(--text-primary);
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-title span {
  color: var(--accent-primary);
}

.hero-subtitle {
  color: var(--text-primary);
  font-size: clamp(1.05rem, 2.3vw, 1.5rem);
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-email {
  display: inline-block;
  color: var(--text-primary);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  margin-top: -12px;
  margin-bottom: 28px;
}

.hero-email:hover {
  text-decoration: underline;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  text-decoration: none;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.hero-btn-primary {
  background: var(--accent-primary);
  color: var(--text-on-accent);
}

.hero-btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text-on-dark);
}

/* =========================
   Bio Section
========================= */
.bio {
  padding: 70px 8%;
  background: var(--section-muted-bg);
  border-top: 1px solid var(--section-muted-border);
  border-bottom: 1px solid var(--section-muted-border);
}

.bio-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.bio-title {
  color: var(--text-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.bio-text {
  color: var(--text-primary);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.85;
  text-align: justify;
  max-width: 900px;
}

.bio-btn {
  justify-self: start;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 11px 24px;
  border-radius: 10px;
  background: var(--accent-primary);
  color: var(--text-on-accent);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

@media (max-width: 980px) {
  .hero {
    gap: 40px;
    padding-top: 120px;
  }
}

@media (max-width: 760px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding-inline: 6%;
  }
  .hero-image-wrap {
    width: min(380px, 70vw);
  }
  .hero-actions {
    justify-content: center;
  }
  .bio {
    padding-inline: 6%;
  }
  .bio-btn {
    justify-self: center;
  }
  .bio-title,
  .bio-text {
    text-align: left;
  }
}
