.hero {
  align-items: center;
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  min-height: calc(100svh - var(--header-height));
  padding-top: var(--space-2xl);
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, transparent, rgba(200, 162, 74, 0.5), transparent);
  bottom: var(--space-lg);
  content: "";
  height: 1px;
  left: var(--space-xl);
  position: absolute;
  right: var(--space-xl);
}

.hero-copy {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  max-width: 740px;
}

.hero-title {
  color: rgba(63, 53, 40, 0.94);
  font-size: clamp(2.25rem, 5.3vw, 4.8rem);
  font-weight: 760;
  max-width: 860px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.signal-strip span {
  animation: gentlePulse 4.5s ease-in-out infinite;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.42rem 0.72rem;
}

.signal-strip span:nth-child(2) {
  animation-delay: 350ms;
}

.signal-strip span:nth-child(3) {
  animation-delay: 700ms;
}

.signal-strip span:nth-child(4) {
  animation-delay: 1050ms;
}

.hero-panel {
  background: linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(244, 234, 216, 0.92));
  overflow: hidden;
  padding: 0;
  width: min(100%, 460px);
}

.float-card {
  animation: floatCard 7s ease-in-out infinite;
}

.hero-portrait-card {
  align-self: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.86), transparent 9rem),
    linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(244, 234, 216, 0.62));
  border-radius: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  justify-self: end;
  padding: clamp(0.8rem, 2vw, 1.15rem);
}

.hero-portrait-card img {
  aspect-ratio: 1;
  border-radius: calc(clamp(1.4rem, 3vw, 2.2rem) - 0.45rem);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.about-flow,
.profile-layout {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  width: 100%;
}

.about-note {
  align-items: start;
  display: grid;
  gap: var(--space-md);
}

.about-note-large {
  grid-column: 1 / -1;
}

.about-note h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.about-note h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

.about-subsection {
  margin-top: var(--space-xl);
}

.about-note p {
  margin-bottom: 0;
}

.about-note p + p,
.about-subsection p + .quiet-list {
  margin-top: var(--space-md);
}

.about-side {
  display: grid;
  gap: var(--space-md);
}

.about-side h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.about-side h3:not(:first-child) {
  margin-top: var(--space-xl);
}

@media (max-width: 860px) {
  .about-flow,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .about-note-large {
    grid-column: auto;
  }
}

.quiet-list {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.quiet-list p {
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-orbit {
  display: flex;
  gap: var(--space-sm);
  margin: calc(-1 * var(--space-md)) 0 var(--space-xl);
}

.section-orbit span {
  animation: orbitDot 3.8s ease-in-out infinite;
  background: var(--color-gold-soft);
  border-radius: 999px;
  height: 0.62rem;
  width: 0.62rem;
}

.section-orbit span:nth-child(2) {
  animation-delay: 220ms;
  background: var(--color-sage-soft);
}

.section-orbit span:nth-child(3) {
  animation-delay: 440ms;
  background: var(--color-rose-soft);
}

.close-note {
  display: grid;
  max-width: 920px;
}

.close-note > div {
  background: linear-gradient(135deg, rgba(244, 234, 216, 0.82), rgba(255, 250, 242, 0.88));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}

@keyframes gentlePulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbitDot {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.18);
  }
}

.contact-section {
  padding-bottom: var(--space-3xl);
}

.contact-card {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
}

.contact-card p {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait-card {
    justify-self: start;
    width: min(100%, 340px);
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .contact-card {
    align-items: stretch;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  .float-card,
  .signal-strip span,
  .section-orbit span {
    animation: none;
  }
}
