@font-face {
  font-family: Geist;
  src: url('./geist-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('./geist-mono-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #000;
  color: #eae6db;
  font-family: Geist, Arial, sans-serif;
  font-synthesis: none;
  --gold: #ad995d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 240px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 1px solid var(--gold); outline-offset: 7px; }

.site-header {
  max-width: 1600px;
  margin: 0 auto;
  padding: 34px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 400 11px/1.4 'Geist Mono', monospace;
  letter-spacing: .16em;
}

.wordmark { color: var(--gold); }
nav { display: flex; gap: 28px; }

main {
  width: 100%;
  max-width: 1600px;
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: 30px clamp(24px, 5vw, 80px) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

.globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
}

#earth {
  display: block;
  width: 100%;
  height: 100%;
}

.globe-message {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 24px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #aaa79f;
  font-size: 14px;
  line-height: 1.6;
}

.globe-message[hidden] { display: none; }
.copy { max-width: 570px; }

.eyebrow {
  margin: 0 0 27px;
  color: var(--gold);
  font: 400 10px/1.7 'Geist Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 36px;
  font-size: clamp(38px, 4.7vw, 74px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.copy > p:not(.eyebrow) {
  max-width: 49ch;
  margin: 0 0 22px;
  color: #aaa79f;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
}

.copy > p:last-child { margin-bottom: 0; }
.copy span { color: #eae6db; }

@media (max-width: 760px) {
  .site-header { padding-top: 25px; padding-bottom: 15px; }
  main {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 8px;
    padding-bottom: 64px;
  }
  .globe { max-width: 430px; justify-self: center; }
  .copy { width: 100%; max-width: 570px; justify-self: center; }
  .eyebrow { margin-bottom: 22px; }
  h1 { font-size: clamp(36px, 8vw, 58px); margin-bottom: 28px; }
}
