/* Ger Labs: a page of starlight. The sky (sky.js) sits behind everything;
   the content floats over it 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(10, 15, 36, .48);
  --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;
}

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;
}
.constellation.ger { width: min(560px, 86vw); height: auto; overflow: visible; }
.chart-label {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: .72rem;
  font-style: italic;
  letter-spacing: .3em;
  text-transform: uppercase;
}
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); } }

/* ---- constellations: fine lines that draw themselves in, twinkling stars */
.constellation .lines line, .constellation .lines path {
  stroke: rgba(196, 210, 255, .7);
  stroke-width: 1.4;
  fill: none;
  filter: drop-shadow(0 0 3px rgba(169, 188, 255, .6));
  stroke-dasharray: var(--len, 200);
  stroke-dashoffset: var(--len, 200);
  transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1), stroke .3s ease;
  transition-delay: calc(var(--i, 0) * 120ms + 200ms);
}
.constellation.in .lines line, .constellation.in .lines path { stroke-dashoffset: 0; }
.constellation .stars circle {
  fill: var(--star);
  filter: drop-shadow(0 0 3px rgba(200, 215, 255, .9));
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .8s ease;
}
.constellation.in .stars circle { opacity: 1; animation: twinkle 3.2s ease-in-out infinite; }
.constellation .stars circle.big { filter: drop-shadow(0 0 5px rgba(210, 225, 255, .95)) drop-shadow(0 0 12px rgba(169, 188, 255, .5)); }
.constellation .stars circle.warm { fill: #ffe6b0; filter: drop-shadow(0 0 4px rgba(255, 200, 120, .95)); }
.constellation .stars circle.faint { opacity: .6; }
.constellation .stars circle:nth-child(3n) { animation-delay: -1.1s; animation-duration: 2.7s; }
.constellation .stars circle:nth-child(3n+1) { animation-delay: -2s; animation-duration: 3.8s; }
@keyframes twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(.7); opacity: .65; } }
.hero .constellation:hover .lines line { stroke: rgba(255, 217, 138, .85); }

/* ---- 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); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.cards .card:nth-child(2) { transition-delay: .12s; }
.cards .card:nth-child(3) { transition-delay: .24s; }

/* ---- 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;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  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, opacity .9s 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:hover .constellation .lines line { stroke: rgba(255, 217, 138, .75); }
.constellation.mini .lines line { stroke-width: 1.1; }
.constellation.mini { width: 100%; height: 96px; margin-bottom: 10px; overflow: visible; }
.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; }
  .reveal { opacity: 1; transform: none; }
  .constellation .lines line, .constellation .lines path { stroke-dashoffset: 0; }
  .constellation .stars circle { opacity: 1; }
}
