/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
  min-height: 620px;
  padding-block: var(--space-8) var(--space-9);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.intro {
  max-width: 470px;
  margin: var(--space-5) 0 var(--space-6);
  color: var(--text-muted);
  font-size: var(--text-lg);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 450px;
}

.orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 400px);
  aspect-ratio: 1;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
}

.orbit::before {
  content: "";
  position: absolute;
  inset: -23px;
  border: 1px dashed var(--border-soft);
  border-radius: 50%;
}

.portrait {
  width: 82%;
  border: 8px solid var(--surface-page);
  border-radius: 50%;
  box-shadow: 0 14px 50px var(--shadow-soft);
}

.orbit-label {
  position: absolute;
  right: -14px;
  bottom: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  background: var(--surface-page);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stars,
.hero-saturn,
.hero-planet {
  position: absolute;
}

.hero-stars {
  top: 12px;
  left: 4%;
  width: 100px;
}

.hero-saturn {
  top: 4px;
  right: -14px;
  width: 150px;
  transform: rotate(12deg);
}

.hero-planet {
  bottom: 8px;
  left: 2%;
  width: 88px;
}

/* Sections */
.section {
  padding-block: var(--space-section);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.section-heading .eyebrow {
  margin-bottom: var(--space-2);
}

.section-note {
  max-width: 310px;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-md);
}

/* Portfolio */
.work-section {
  border-top: 1px solid var(--border-soft);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
}

.card-moon {
  right: 3%;
  bottom: -16px;
  width: 180px;
}

.card-nebula {
  right: -12px;
  bottom: -10px;
  width: 185px;
  opacity: 0.8;
}

/* About */
.about-section {
  background: var(--surface-tint);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: var(--space-8);
}

.about-copy {
  max-width: 610px;
  color: var(--text-muted);
}

.about-copy p:first-child {
  margin-top: 0;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-art {
  width: 130px;
  margin-top: var(--space-5);
}

@media (width <= 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: var(--space-8) var(--space-7);
  }

  .hero-art {
    min-height: 380px;
  }

  .orbit {
    width: min(76%, 340px);
  }

  .hero-saturn {
    right: 4%;
  }

  .section {
    padding-block: var(--space-section-compact);
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .work-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: var(--space-6);
  }

  .about-art {
    width: 100px;
    margin-top: var(--space-2);
  }
}

@media (width <= 480px) {
  .hero-art {
    min-height: 320px;
  }

  .hero-stars {
    width: 70px;
  }

  .hero-saturn {
    width: 100px;
  }

  .hero-planet {
    width: 65px;
  }

  .orbit-label {
    right: -15px;
    bottom: 15px;
  }

  .card-moon,
  .card-nebula {
    right: -20px;
    width: 135px;
  }
}
