.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));
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  width: min(100%, 460px);
}

.hero-panel:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 5px;
}

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

.hero-panel-content {
  padding: var(--space-lg);
}

.hero-globe-visual {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.86), transparent 9rem),
    linear-gradient(135deg, #fffaf2, #f4ead8 70%, #ead8a6);
  border-bottom: 1px solid rgba(231, 217, 194, 0.92);
  display: block;
  padding: 0.8rem;
}

.hero-globe-visual svg {
  border-radius: 22px;
  display: block;
  width: 100%;
}

.globe-bg {
  fill: rgba(255, 250, 242, 0.72);
}

.globe-shadow {
  fill: rgba(117, 106, 91, 0.09);
  transform: translateY(14px);
}

.globe-sphere {
  fill: url("#globeWash");
  stroke: rgba(200, 162, 74, 0.36);
  stroke-width: 3;
}

.globe-spin {
  animation: rotateGlobe 11s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.globe-land {
  fill: rgba(185, 157, 124, 0.42);
  stroke: rgba(117, 106, 91, 0.12);
  stroke-width: 2;
}

.globe-land-light {
  fill: rgba(220, 230, 214, 0.64);
}

.globe-line {
  fill: none;
  stroke: rgba(117, 106, 91, 0.17);
  stroke-width: 2;
}

.globe-route {
  fill: none;
  stroke: rgba(200, 162, 74, 0.95);
  stroke-dasharray: 4 10;
  stroke-linecap: round;
  stroke-width: 5;
}

.globe-pin path {
  fill: rgba(185, 157, 124, 0.82);
  stroke: rgba(63, 53, 40, 0.12);
  stroke-width: 2;
}

.globe-pin circle {
  fill: #fffaf2;
}

.globe-home circle {
  fill: #fffaf2;
  stroke: rgba(200, 162, 74, 0.92);
  stroke-width: 4;
}

.globe-home text {
  fill: var(--color-text);
  font-size: 20px;
  font-weight: 800;
  text-anchor: middle;
}

.distance-status {
  color: var(--color-gold);
  font-size: clamp(0.86rem, 1.45vw, 1rem);
  font-weight: 720;
  line-height: 1.55;
  margin: 0;
  text-transform: capitalize;
}

.hero-panel.is-loading-distance .distance-status {
  color: var(--color-gold);
}

.hero-panel.has-distance .distance-status {
  color: var(--color-gold);
}

.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 rotateGlobe {
  from {
    transform: translateX(-54px);
  }

  to {
    transform: translateX(54px);
  }
}

@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;
  }
}

@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,
  .globe-spin {
    animation: none;
  }
}
