/*
  starplane — styles for the /starplane/ brand page.
  Plain static HTML, no build step. A fixed dark forest-green palette.
*/

:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Dark forest green — the site's single, fixed theme. */
  --bg:           #1f3227;
  --text-copy:    #d9e4d3;
  --text-heading: #edf3e8;
}

* { box-sizing: border-box; }

html {
  min-width: 360px;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-copy);
  max-width: 650px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;   /* 56px top, 32px sides, 64px bottom */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- starplane emblem + wordmark, centered in the viewport ------------------
   A retro globe emblem inside a banner ring whose text marches around it, with
   the italic "starplane" wordmark below. */
.starplane {
  min-height: calc(100dvh - 7.5rem);   /* body has 3.5rem top + 4rem bottom padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.emblem {
  display: block;
  width: min(78vw, 320px);
  height: auto;
  overflow: visible;
  color: var(--text-heading);          /* currentColor for the band, text, and globe */
}

/* Solid ring band = a thick stroke; the banner text is knocked out of it. */
.emblem-band { fill: none; stroke: currentColor; stroke-width: 20; }

.emblem-text text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  fill: var(--bg);                     /* knocked out of the band */
}
/* Each glyph is centred on its point along the ring path (placed by animateMotion). */
.ring-glyphs text { text-anchor: middle; dominant-baseline: central; }

.starplane .logo {
  font-family: "Orbitron", var(--font-sans);
  font-style: italic;                  /* retro-tech logo, italicized */
  font-weight: 900;
  font-size: clamp(1.6rem, 8vw, 3.75rem);   /* Orbitron is wide — keep it inside mobile */
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--text-heading);
  margin-top: 2.25rem;
}
