/* Ger Labs: a page of starlight. The sky and the ger (sky.js) sit behind
   and above; the content floats over the sky on dark glass. System fonts only, so the site
   loads nothing from elsewhere. */
:root {
  --text: #ece9fb;
  --muted: #a7a9c6;
  --faint: #6f7396;
  --star: #f4f1ff;
  --gold: #ffd98a;
  --ice: #a9bcff;
  --glass: rgba(9, 13, 32, .78);
  --line: rgba(169, 188, 255, .16);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: #010208;
  color: var(--text);
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#figures { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.mini-figure { display: block; width: 100%; height: 110px; margin-bottom: 10px; overflow: visible; }
.mini-lines line { stroke: rgba(214, 226, 255, .8); stroke-width: 1.2; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(150, 180, 255, .7)); }
.mini-stars circle { fill: #f4f2ff; filter: drop-shadow(0 0 3px rgba(200, 215, 255, .9)); }
.mini-stars circle.warm { fill: #ffd8a8; filter: drop-shadow(0 0 4px rgba(255, 200, 120, .95)); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff1c9; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

/* ---- the top bar */
.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(1, 2, 8, .75), rgba(1, 2, 8, 0));
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--star);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.brand svg { color: var(--ice); }
nav { display: flex; gap: clamp(16px, 3vw, 36px); }
nav a {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: color .2s ease;
}
nav a:hover { color: var(--star); }

main { position: relative; z-index: 1; }

/* ---- the hero: the ger in stars */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 16px 64px;
}
.hero-figure { width: min(450px, 72vw); aspect-ratio: 495 / 221; }
h1 {
  margin: 10px 0 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 200;
  letter-spacing: .42em;
  text-indent: .42em; /* keeps the spaced letters centred */
  text-transform: uppercase;
  color: var(--star);
  text-shadow: 0 0 30px rgba(169, 188, 255, .35);
}
.tagline { margin: 8px 0 0; max-width: 32em; color: var(--muted); font-size: 1.05rem; }
.scroll {
  margin-top: 40px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ice);
  animation: bob 2.4s ease-in-out infinite;
}
.scroll:hover { color: var(--star); border-color: rgba(169, 188, 255, .4); }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---- sections */
.section { padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 48px); max-width: 1180px; margin: 0 auto; }
.heading { text-align: center; margin-bottom: 40px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--ice);
  font-size: .74rem;
  letter-spacing: .34em;
  text-transform: uppercase;
}
h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 300; letter-spacing: .02em; color: var(--star); }
h3 { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--star); }

/* ---- glass cards and panels */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card, .panel {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s ease, box-shadow .4s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 217, 138, .35);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .45), 0 0 40px rgba(169, 188, 255, .08);
}
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.card-head img { border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.card > p { margin: 0 0 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.chips span {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chips .live { color: var(--gold); border-color: rgba(255, 217, 138, .45); }
.more { margin-top: auto; font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.more span { display: inline-block; transition: transform .25s ease; }
.more:hover span { transform: translateX(4px); }
.more.soon { color: var(--faint); font-weight: 500; }

.panel { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); }
.panel p { color: var(--muted); margin: 0 0 14px; }
.panel.center { text-align: center; }
.mail {
  display: inline-block;
  margin: 6px 0 18px;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 217, 138, .35);
}
.muted { font-size: .92rem; }

footer {
  position: relative;
  z-index: 1;
  padding: 40px 16px 56px;
  text-align: center;
  color: var(--faint);
  font-size: .82rem;
}
footer p { margin: 0 0 6px; }

/* the 404 page */
.lost { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 16px; position: relative; z-index: 1; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  nav { gap: 18px; }
  h1 { letter-spacing: .28em; text-indent: .28em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
