.home-hero {
  background: var(--color-cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 72px;
  align-items: center;
  padding: 86px 0 76px;
}

.hero-copy {
  max-width: 780px;
}

.hero-lead {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-register {
  align-self: stretch;
  padding: 26px 0 0 28px;
  border-left: 1px solid var(--color-line);
}

.register-rule {
  width: 64px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--color-red);
}

.hero-register p {
  margin-bottom: 22px;
  color: var(--color-navy);
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
}

.hero-register ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stat {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.hero-stat span {
  display: block;
  margin-bottom: 3px;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stat strong {
  display: block;
  color: var(--color-navy);
  font-size: 1.2rem;
}

.earth-section {
  padding: 78px 0 82px;
  background: #ffffff;
}

.earth-copy {
  max-width: 840px;
  margin-bottom: 38px;
}

.earth-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.earth-feature {
  position: relative;
}

.earth-stage {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid #111827;
  border-radius: var(--radius);
  background: #02050a;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.earth-stage:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.earth-map-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform-origin: 70% 55%;
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.earth-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: filter 900ms ease;
}

.earth-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.76), rgba(2, 5, 10, 0.08) 42%, rgba(2, 5, 10, 0.74)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.42), rgba(2, 5, 10, 0.02) 46%, rgba(2, 5, 10, 0.54));
  pointer-events: none;
}

.earth-stage:hover .earth-map-layer,
.earth-feature.is-expanded .earth-map-layer,
.earth-stage:focus .earth-map-layer {
  transform: scale(2.24);
}

.earth-stage:hover .earth-image,
.earth-feature.is-expanded .earth-image,
.earth-stage:focus .earth-image {
  filter: saturate(1.08) contrast(1.06);
}

.cuba-pin {
  position: absolute;
  top: 57.4%;
  left: 67.4%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 800;
  transform: translate(-50%, -50%);
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.earth-stage:hover .cuba-pin,
.earth-feature.is-expanded .cuba-pin,
.earth-stage:focus .cuba-pin {
  transform: translate(-50%, -50%) scale(0.45);
}

.pin-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 7px rgba(178, 31, 45, 0.32);
}

.pin-dot::after {
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  content: "";
}

.pin-label {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 4px;
  background: rgba(10, 35, 66, 0.74);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.fact-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fact-line {
  stroke: rgba(255, 255, 255, 0.78);
  stroke-dasharray: 5 7;
  stroke-width: 0.25;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 280ms ease 220ms;
}

.earth-stage:hover .fact-line,
.earth-feature.is-expanded .fact-line,
.earth-stage:focus .fact-line {
  opacity: 1;
}

.fact-list {
  position: absolute;
  inset: 0;
  z-index: 6;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.fact-card {
  position: absolute;
  top: var(--fact-y);
  left: var(--fact-x);
  width: 214px;
  min-height: 112px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease var(--fact-delay), transform 260ms ease var(--fact-delay);
}

.earth-stage:hover .fact-card,
.earth-feature.is-expanded .fact-card,
.earth-stage:focus .fact-card {
  opacity: 1;
  transform: translateY(0);
}

.fact-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--color-navy);
  font-size: 1.08rem;
  line-height: 1.2;
}

.fact-card small {
  display: block;
  color: var(--color-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.earth-hint {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 6;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background: rgba(2, 5, 10, 0.62);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.source-note {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.overview-section {
  background: var(--color-wash);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.72fr);
  gap: 70px;
  padding: 76px 0;
}

.overview-copy p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.04rem;
}

.overview-list {
  display: grid;
  gap: 14px;
}

.overview-item {
  padding: 22px 0 20px;
  border-top: 1px solid var(--color-line);
}

.overview-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.overview-item p {
  color: var(--color-muted);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-register {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }

  .hero-register ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .earth-stage {
    min-height: 560px;
  }

  .fact-card {
    width: 190px;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    padding: 58px 0 50px;
  }

  .hero-register ul {
    grid-template-columns: 1fr;
  }

  .earth-section {
    padding: 56px 0 58px;
  }

  .earth-stage {
    display: grid;
    min-height: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 0;
  }

  .earth-map-layer {
    position: relative;
    inset: auto;
    width: 100%;
    overflow: hidden;
    border: 1px solid #111827;
    border-radius: var(--radius);
    transform: none;
  }

  .earth-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .earth-shade,
  .fact-lines,
  .cuba-pin,
  .earth-hint {
    display: none;
  }

  .earth-stage:hover .earth-map-layer,
  .earth-feature.is-expanded .earth-map-layer,
  .earth-stage:focus .earth-map-layer,
  .earth-stage:hover .earth-image,
  .earth-feature.is-expanded .earth-image,
  .earth-stage:focus .earth-image {
    filter: none;
    transform: none;
  }

  .fact-list {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
    pointer-events: auto;
  }

  .fact-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border-color: var(--color-line);
    background: #ffffff;
  }
}
