/* Vectorzoa · www splash
   Crisp glowing vectors, chunky pixels. Glow is a tool, not a filter.
   Glow recipe: halo = stroke x 3.2 at ~22% opacity, then a solid crisp core. */

:root {
  --bg: #050810;
  --ink: #e8f4ff;
  --ink-2: #b4c6da;          /* secondary text, ~11:1 on bg */
  --ink-3: #8094ab;          /* tertiary labels, ~6:1 on bg */
  --amber: #ffb347;
  --amber-hot: #ffe2a0;
  --cyan: #77ffff;
  --panel: rgba(12, 18, 32, 0.62);
  --line: rgba(200, 225, 255, 0.16);
  --line-2: rgba(200, 225, 255, 0.32);

  --sans: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", Montserrat, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Static fallback field (JS off): a fine, faint vector grid of crosses. */
html.no-js body {
  background-image:
    linear-gradient(rgba(200, 225, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 225, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center center;
}

.field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
html.no-js .field { display: none; }

.top, .hero, .foot { position: relative; z-index: 1; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Top bar ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(var(--pad) * .7) var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
}

.mark { width: 28px; height: 28px; overflow: visible; }
.mark path { fill: none; stroke: var(--ink); stroke-linejoin: miter; stroke-linecap: square; }
.mark-halo { stroke-width: 7.4; opacity: .22; stroke-linejoin: round; stroke-linecap: round; }
.mark-core { stroke-width: 2.3; }
.mark-px { fill: var(--amber); }

.top-note {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(20px, 4vh, 96px) var(--pad);
}

.eyebrow {
  margin: 0 0 clamp(22px, 3.2vw, 40px);
  font-family: var(--mono);
  font-size: clamp(11px, .35vw + 9.5px, 13px);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-left: .34em; /* optically centre tracked caps */
}

.wordmark { margin: 0; line-height: 0; width: min(88vw, 1040px, 100%); }

.wm { width: 100%; height: auto; overflow: visible; }
.wm path {
  fill: none;
  stroke: var(--ink);
  stroke-linejoin: miter;
  stroke-linecap: square;
  stroke-miterlimit: 8;
}
.wm-halo { opacity: .22; }  /* group opacity: overlaps never double up */
.wm-halo path { stroke-width: 14.4; stroke-linejoin: round; stroke-linecap: round; }  /* 4.5 x 3.2 */
.wm-core path { stroke-width: 4.5; }
.wm-px { fill: var(--amber); }

/* Stroke-by-stroke assembly (< 2s total). */
.wm path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: wm-draw .55s var(--ease) forwards;
  animation-delay: calc(var(--i) * 85ms + 120ms);
}
.wm-px {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: wm-px .42s steps(3, end) 1.68s forwards;
}
@keyframes wm-draw { to { stroke-dashoffset: 0; } }
@keyframes wm-px {
  0%   { opacity: 0; fill: #fff; transform: scale(2); }
  60%  { opacity: 1; fill: var(--amber-hot); transform: scale(1.25); }
  100% { opacity: 1; fill: var(--amber); transform: scale(1); }
}

.tagline {
  margin: clamp(26px, 3.6vw, 48px) 0 0;
  max-width: 40ch;
  text-wrap: balance;
  font-size: clamp(19px, 1.2vw + 13px, 32px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--ink);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: clamp(22px, 2.6vw, 34px) 0 0;
  padding: 9px 16px 9px 14px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
.status-px {
  width: 6px; height: 6px;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 71, .22);
  animation: blink 2.4s steps(1, end) infinite;
}
@keyframes blink { 0%, 72% { opacity: 1; } 73%, 100% { opacity: .35; } }

.contact {
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  font-size: 16px;
  color: var(--ink-2);
}
.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.contact a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- 2006 -> 2026 era line ---------- */
.era {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-left: 0;
  letter-spacing: .28em;
}
.era-year { color: var(--ink-2); }
.era-year--now { color: var(--ink); }
.era-line { width: clamp(72px, 12vw, 180px); height: 12px; overflow: visible; }
.era-line path { fill: none; stroke: var(--ink); stroke-linecap: square; vector-effect: non-scaling-stroke; }
.era-halo { opacity: .22; }
.era-halo path { stroke-width: 4.8; stroke-linecap: round; }   /* 1.5 x 3.2 */
.era-core path { stroke-width: 1.5; }
.era-core .era-tick { stroke: var(--ink-3); stroke-width: 1; }
.era-line g > path:first-child {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: wm-draw .9s var(--ease) .1s forwards;
}
.era-px {
  fill: var(--amber);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: wm-px .42s steps(3, end) .95s forwards;
}

.subline {
  margin: 14px 0 0;
  max-width: 46ch;
  text-wrap: balance;
  font-size: clamp(15px, .35vw + 13px, 19px);
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- Footer / museum strip ---------- */
.foot { padding: 0 var(--pad) calc(var(--pad) * .7); }

.museum {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 24px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--amber);
}
.museum p { margin: 0; }
.museum-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--amber);
}
.museum-text { flex: 1 1 320px; font-size: 15px; color: var(--ink-2); }
.museum-link {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.museum-link:hover { color: var(--cyan); border-color: var(--cyan); }

.legal {
  max-width: 1040px;
  margin: 14px auto 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- 404 ---------- */
.code {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--amber);
  padding-left: .34em;
}
.wordmark--small { width: min(72vw, 560px); }
.back {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.back:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .wordmark { width: 100%; }
  .wm-halo path { stroke-width: 19.2; }  /* thicker beam when small: 6 x 3.2 */
  .wm-core path { stroke-width: 6; }
  .museum { padding: 14px 16px; }
  .status { font-size: 11px; letter-spacing: .16em; }
}

@media (min-width: 700px) and (max-height: 860px) {
  .eyebrow { margin-bottom: 22px; }
  .tagline { margin-top: 30px; }
  .status, .contact { margin-top: 16px; }
  .top { padding-top: 18px; padding-bottom: 18px; }
}

@media (min-width: 1800px) {
  body { font-size: 18px; }
  .contact, .museum-text, .museum-link { font-size: 17px; }
}

/* ---------- Reduced motion: a static composition ---------- */
@media (prefers-reduced-motion: reduce) {
  .wm path { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .wm-px, .era-px { animation: none; opacity: 1; }
  .era-line g > path:first-child { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .status-px { animation: none; }
  .contact a, .museum-link, .back { transition: none; }
}

/* keep the release window together; on phones it drops to its own line */
.status-when { white-space: nowrap; }
@media (max-width: 480px) { .status { flex-wrap: wrap; justify-content: center; text-align: center; } .status-when { flex-basis: 100%; } }
.status-sep { color: var(--ink-dim, inherit); opacity: .7; }
@media (max-width: 480px) { .status-sep { display: none; } }
