/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Page ────────────────────────────────────────────────── */
html, body {
  width: 100%;
  height: 100%;
  background: #ffffff;
  color: #000000;
  font-family: "Times New Roman", Times, serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  padding: 6vh 2rem 6vh;
  gap: 2.5rem;
}

/* ── Heading ─────────────────────────────────────────────── */
#studio-name {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;           /* Cochin is elegant at regular weight */
  letter-spacing: 0.08em;
  color: #000000;
  text-align: center;
  user-select: none;
}

/* ── Map container ───────────────────────────────────────── */
/*
 * Target: ~1/5 of total page area on a laptop.
 * We use viewport height so it scales naturally.
 * Portrait bias: width is constrained, height drives sizing.
 */
#map-container {
  width: 100%;
  /* 2:1 aspect ratio — standard equirectangular world map */
  aspect-ratio: 2 / 1;
  max-height: 38vh;           /* keeps it to ~1/5 page on typical laptops */
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

#map-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  main {
    padding: 4vh 1rem 4vh;
    gap: 1.5rem;
  }

  #studio-name {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  #map-container {
    max-height: none;         /* let aspect-ratio drive height on phones */
  }
}
