/* ═══════════════════════════════════════
   hero.css — Hero / Landing Section
═══════════════════════════════════════ */

#hero {
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: 100%;
}

/* ── Text side ────────────────────── */
.hero-text {
  max-width: 620px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-name .first { color: var(--text); }
.hero-name .last  { color: var(--accent); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-summary {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 24px;
}

/* ── Education Card ───────────────── */
.edu-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 540px;
  margin-bottom: 36px;
  transition: transform var(--dur), border-color var(--dur);
}

.edu-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.edu-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-body {
  flex: 1;
}

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.edu-school {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

/* ── CTA buttons ──────────────────── */
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #001733;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}

.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #001733;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 179, 237, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--dur), color var(--dur), background var(--dur), transform var(--dur);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* ── Hero links row ───────────────── */
.hero-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color var(--dur);
}

.hero-link:hover { color: var(--accent); }

.hero-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-link-sep {
  display: block;
  width: 1px;
  height: 14px;
  background: var(--border);
}

/* ── Photo side ───────────────────── */
.hero-photo-wrap {
  flex-shrink: 0;
  position: relative;
}

.hero-photo-frame {
  position: relative;
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 3 / 4;
}

/* decorative corner lines */
.hero-photo-frame::before,
.hero-photo-frame::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--accent);
  border-style: solid;
  z-index: 2;
  transition: width 0.4s var(--ease), height 0.4s var(--ease);
}

.hero-photo-frame::before {
  top: -8px; left: -8px;
  border-width: 2px 0 0 2px;
}

.hero-photo-frame::after {
  bottom: -8px; right: -8px;
  border-width: 0 2px 2px 0;
}

.hero-photo-frame:hover::before,
.hero-photo-frame:hover::after {
  width: 60px;
  height: 60px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
  filter: contrast(1.04) brightness(1.01);
  transition: transform 0.5s var(--ease);
}

.hero-photo-frame:hover .hero-photo {
  transform: scale(1.02);
}

/* subtle overlay tint */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(
    160deg,
    rgba(0, 36, 81, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}



/* ── Responsive ───────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-photo-wrap { order: -1; }

  .hero-photo-frame {
    width: clamp(160px, 50vw, 220px);
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-links {
    justify-content: center;
  }

  .hero-summary {
    margin-inline: auto;
  }
}