:root {
  --parchment-1: #ecdfc2;
  --parchment-2: #e3d2a8;
  --parchment-3: #d8c193;
  --ink: #4a3521;
  --ink-strong: #3a2814;
  --ink-faint: #7a6142;
  --line: rgba(74, 53, 33, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: "EB Garamond", "Iowan Old Style", Georgia, serif;
  color: var(--ink);
  overflow: hidden;
  background-color: var(--parchment-2);
}

.chart {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 250, 232, 0.55), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(120, 90, 50, 0.18), transparent 60%),
    radial-gradient(ellipse at 50% 50%, var(--parchment-1) 0%, var(--parchment-2) 55%, var(--parchment-3) 100%);
}

.chart::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(58, 40, 20, 0.35) 100%);
  z-index: 3;
}

.chart::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(0deg, rgba(74,53,33,0.02) 0px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(74,53,33,0.02) 0px, transparent 1px, transparent 3px);
  z-index: 3;
}

.graticule,
.contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
}

.graticule {
  opacity: 0.22;
  z-index: 1;
}

.contours {
  opacity: 0.28;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.compass {
  width: min(46vh, 340px);
  height: min(46vh, 340px);
  color: var(--ink);
  opacity: 0.4;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: drift 180s linear infinite;
  z-index: -1;
}

@keyframes drift {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.eyebrow {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
  animation: fade-in 1.4s ease-out both;
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 7.5rem);
  letter-spacing: 0.22em;
  color: var(--ink-strong);
  line-height: 1;
  text-indent: 0.22em;
  text-shadow: 0 1px 0 rgba(255, 250, 232, 0.4);
  animation: fade-in 1.4s ease-out 0.15s both;
}

.tagline {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  animation: fade-in 1.4s ease-out 0.35s both;
}

.footer-line {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.65rem, 1.1vw, 0.78rem);
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
  animation: fade-in 1.4s ease-out 0.6s both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .wordmark { letter-spacing: 0.14em; text-indent: 0.14em; }
  .tagline br { display: inline; }
}
