/* hero.css */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(212,175,55,0.16), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(212,175,55,0.08), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
  width: 100%;
}

.hero-copy .eyebrow { margin-bottom: var(--space-2); }

.hero-name {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
}

.hero-signature {
  display: block;
  width: min(360px, 70%);
  height: 40px;
  margin-top: 0.4rem;
}
.hero-signature path {
  fill: none;
  stroke: var(--color-gold-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: signature-draw 1.8s var(--ease-out) 0.5s forwards;
}
@keyframes signature-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-signature path { animation: none; stroke-dashoffset: 0; }
}

.hero-titles {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--color-text-muted);
  min-height: 1.6em;
  display: flex;
  align-items: center;
}
.hero-titles .cursor {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--color-gold-bright);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-tagline {
  margin-top: var(--space-3);
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
}

.hero-cta-row {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-social {
  margin-top: var(--space-4);
  display: flex;
  gap: 0.9rem;
}
.hero-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), color var(--dur-fast);
  color: var(--color-text-muted);
}
.hero-social a:hover { transform: translateY(-3px); border-color: var(--color-gold); color: var(--color-gold-bright); }
.hero-social svg { width: 17px; height: 17px; }

.hero-portrait-wrap {
  position: relative;
  justify-self: center;
  width: min(380px, 100%);
  animation: float-y 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-portrait-wrap { animation: none; } }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-portrait-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--color-border);
}
.hero-portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.hero-portrait-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0) 55%, rgba(15,17,21,0.55) 100%);
}

.hero-portrait-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-portrait-badge img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }
.hero-portrait-badge span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-muted); line-height: 1.3; }
.hero-portrait-badge strong { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--color-text); }

.scroll-indicator {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.scroll-indicator .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--color-gold-bright), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-portrait-wrap { width: min(300px, 70%); margin-top: var(--space-5); order: -1; }
  .hero-portrait-badge { left: -12px; bottom: -18px; }
}
