/* ==========================================================================
   Where we gather: the globe section (index.html)
   A gilded-relief Earth on the midnight-plum page. The globe is drawn by
   assets/js/globe.js; this file lays out the stage and the address panel,
   which is real, readable text at all times.
   ========================================================================== */

.pv-globe {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(48% 62% at 40% 52%, rgba(105, 45, 133, 0.38), rgba(105, 45, 133, 0) 70%),
    linear-gradient(180deg, var(--midnight) 0%, #2b0d38 50%, var(--midnight) 100%);
}

.pv-globe__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* The globe fills the stage; the camera frames it in the left part of the screen */
.pv-globe__visual {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}
.pv-globe__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.pv-globe__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem var(--gutter);
  width: 100%;
  padding-top: var(--header-h);
}
.pv-globe__panel { grid-column: 8 / span 5; max-width: 30rem; }

.pv-globe__name {
  margin: 0 0 0.7rem;
  font: 500 clamp(2.2rem, 1rem + 2.8vw, 4rem)/1.02 var(--serif);
  letter-spacing: -0.025em;
  color: var(--ivory);
}
.pv-globe__place {
  margin: 0 0 2rem;
  font: italic 400 var(--step-2)/1.2 var(--serif);
  color: var(--gold);
}
.pv-globe__address {
  margin: 0 0 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(230, 166, 79, 0.35);
  font: 400 var(--step-1)/1.45 var(--sans);
  color: var(--ivory);
}
.pv-globe__time {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0 0 2rem;
  color: var(--ivory-soft);
}
.pv-globe__time strong {
  font: 500 var(--step-2)/1 var(--serif);
  color: var(--ivory);
}
.pv-globe__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Phones: globe above, details below, nothing pinned ---------- */

@media (max-width: 960px) {
  .pv-globe__stage { display: block; min-height: 0; padding-block: clamp(3rem, 8vw, 5rem) clamp(4rem, 10vw, 6rem); }
  .pv-globe__visual { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; max-height: 70svh; margin-inline: auto; }
  .pv-globe__grid { grid-template-columns: minmax(0, 1fr); padding-top: 0; margin-top: 0.5rem; }
  .pv-globe__panel { grid-column: 1 / -1; max-width: none; }
  .pv-globe__place { margin-bottom: 1.5rem; }
}

/* As the section scrolls away, the globe's lower edge melts into the page
   instead of ending in a straight line against the next section */
.pv-globe__visual {
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
