/* THE PALETTE, copied at build time from _Website/AlienLifeCreations/_shared/styles.css
   (sha256 dc610c4f5e978c06). Edit it THERE; this block is regenerated. */
:root{
  /* —— BRAND PALETTE (sampled from the logo / banner / character art) —— */
  --green:#48FF2B;        /* signature neon wordmark green */
  --green-deep:#2ECF1A;   /* hovers, borders, deep fills */
  --cyan:#3FFAF5;         /* the being's crown/eye bioluminescence */
  --cyan-deep:#1F9AA5;
  --violet:#A35AAF;       /* the being's magenta/violet skin markings */
  --violet-deep:#6E3C79;
  --lime:#93FB06;         /* the being's chest-core energy glow */
  --lime-deep:#5FA400;
  --gold:#DBFF07;         /* acid-gold (eye) — the artifact glint */
  --gold-deep:#A6C000;

  /* —— PALETTE AS ARGUMENT: one meaning-color per content wing.
     A color that reads as a claim is never decorative (AEON law). —— */
  --sec-species:var(--green);   /* Alien Species  — living biolum green   */
  --sec-sites:var(--gold);      /* Ancient Sites  — artifact gold         */
  --sec-myth:var(--violet);     /* Mythology      — mystic violet         */
  --sec-ufo:var(--cyan);        /* UFOs & Disclosure — signal cyan        */
  --sec-lost:var(--lime);       /* Lost Worlds    — deep-core lime        */

  /* generic slots the shared constellation reads as a fallback */
  --gold-legacy:#48FF2B; --stone-tier:#8FA69A; --amber:#93FB06;

  /* —— SURFACES —— */
  --space:#0A0A12;        /* deep cosmos (page) */
  --space-2:#0E1420;      /* lifted navy for gradients */
  --header-bg:#0B0F0B;    /* near-black green-black */
  --header-line:#2ECF1A;  /* green edge-glow line */
  --card:#0F1620;         /* card ground */
  --card-2:#0C121b;       /* deeper card ground */
  --card-line:#1E3A2A;    /* faint green-cast borders */

  /* —— TEXT —— */
  --ink:#EAF2E8;          /* cool near-white (alien, not parchment) */
  --ink-soft:#9DB2A6;     /* green-grey secondary */
  --ink-label:#7FBF6A;    /* eyebrow / metadata labels */

  --maxw:1160px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}

/* alienlifeflow.com: the front page (THE_SHOW_PLAN Phase 2.3, 2026-10-08).
   THE PALETTE IS NOT HERE. ship/build_site.py prepends ALC's own :root block, copied from
   _Website/AlienLifeCreations/_shared/styles.css at build time (ruling S2: our Alien Life look,
   in neon), so a colour changes in ONE place. This file declares only what a colour MEANS here,
   in its own :root, and never writes a colour anywhere else. */

:root {
  --tube-glass: color-mix(in srgb, var(--green) 30%, transparent);
  --tube-glass-2: color-mix(in srgb, var(--cyan) 26%, transparent);
  --tube-glow: color-mix(in srgb, var(--green) 70%, transparent);
  --plaque: color-mix(in srgb, var(--space) 70%, transparent);
  --card-ground: color-mix(in srgb, var(--card) 88%, transparent);
  --card-inner: color-mix(in srgb, var(--cyan) 7%, transparent);
  --rule: color-mix(in srgb, var(--green) 22%, transparent);
  --focus: var(--cyan);
  --r: 18px;
  --gutter: clamp(16px, 4vw, 40px);
}

@property --flow {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  background: var(--space); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 10px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 20;
  background: var(--space-2); color: var(--ink); padding: 10px 14px; border-radius: 10px; }

/* ---------- THE TUBE: neon glass with light flowing through it ----------
   ::before is the glass, always lit a little; ::after is the light, a bright comet
   travelling round the tube. Both are only the border's ring (a mask cuts the middle out),
   so the card's own ground and words sit untouched inside. */
.tube { position: relative; isolation: isolate; border-radius: var(--r); }
.tube::before, .tube::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  pointer-events: none; z-index: 1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.tube::before { background: linear-gradient(135deg, var(--tube-glass), var(--tube-glass-2)); }
.tube::after {
  background: conic-gradient(from var(--flow),
    transparent 0 60%, var(--cyan) 70%, var(--green) 78%, var(--lime) 83%, transparent 90% 100%);
  filter: drop-shadow(0 0 6px var(--tube-glow));
  animation: flow var(--flow-s, 7s) linear infinite;
}
@keyframes flow { to { --flow: 360deg; } }

/* ---------- the bar ---------- */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px;
  background: linear-gradient(var(--plaque), transparent);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--tube-glass), 0 0 18px var(--tube-glass); }
.brand .word { font-weight: 800; letter-spacing: .16em; font-size: 15px; color: var(--green);
  text-shadow: 0 0 10px var(--tube-glow); }
.nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ink); }
.nav .pill { color: var(--green); padding: 10px 16px; --r: 999px; --flow-s: 5s; }

/* ---------- the hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center; overflow: clip;
  padding: calc(env(safe-area-inset-top, 0px) + 84px) var(--gutter) 76px;
}
.stage { position: absolute; inset: 0; z-index: 0; }
/* The chamber's page paints its own body near-black (rgb 5 5 11, measured 2026-10-08), so an opaque
   frame hid the neon poster and the hero read as a black void. SCREEN blending drops that black and
   ADDS the chamber's light onto the poster's glow, until the engine's hero mode brings the dancers. */
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  pointer-events: none; opacity: 0; transition: opacity 1.8s ease; mix-blend-mode: screen; }
.stage.live iframe { opacity: 1; }
.poster {
  position: absolute; inset: -10%;
  background:
    radial-gradient(40% 35% at 30% 40%, color-mix(in srgb, var(--green) 32%, transparent), transparent 70%),
    radial-gradient(45% 40% at 70% 55%, color-mix(in srgb, var(--violet) 40%, transparent), transparent 70%),
    radial-gradient(35% 30% at 55% 25%, color-mix(in srgb, var(--cyan) 30%, transparent), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, var(--lime) 14%, transparent), transparent 70%),
    var(--space);
  filter: blur(10px) saturate(1.2);
  animation: drift 26s ease-in-out infinite alternate;
}
.stage.live .poster { opacity: .8; transition: opacity 1.8s ease; }
@keyframes drift { to { transform: translate3d(2%, -2%, 0) scale(1.06) rotate(4deg); } }

/* THE DANCERS KEEP THEIR STAGE. The hero is the Cairn room's trio of flock dancers (engine v5.20 to
   v5.22), and MEASURED from the flock's own canvas they dance in a band from 52% to 84% of the hero's
   height, across 15% to 85% of its width (2026-10-08, 15 samples at 1280x720). So the plaque sits in
   the clear sky above them: top left on a wide screen, top centre on a phone. (A first guess put it
   centred, over the dancers; a second put it low and left, over the left dancer: both before measuring.) */
.hero { place-items: start start; }
.plaque {
  position: relative; z-index: 2; width: min(540px, 100%);
  margin: 0 0 0 clamp(0px, 3vw, 40px);
  padding: clamp(24px, 4vw, 40px); text-align: left;
  background: var(--plaque);
  -webkit-backdrop-filter: blur(6px) saturate(1.15); backdrop-filter: blur(6px) saturate(1.15);
  --r: 26px; --flow-s: 9s;
}
.eyebrow { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-label); }
.neon {
  margin: 0; font-weight: 800; letter-spacing: .12em; line-height: 1.05; white-space: nowrap;
  font-size: clamp(2rem, 8.4vw, 3.6rem); color: var(--green);
  text-shadow:
    0 0 4px color-mix(in srgb, var(--green) 90%, transparent),
    0 0 14px color-mix(in srgb, var(--green) 70%, transparent),
    0 0 36px color-mix(in srgb, var(--cyan) 45%, transparent),
    0 0 72px color-mix(in srgb, var(--green) 30%, transparent);
}
.deck { margin: 14px 0 6px; font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--ink); }
/* the paragraph only where the hero has room for it as well as the dancers; the band below says it too */
.sub { margin: 0 0 22px; max-width: 52ch; color: var(--ink-soft); display: none; }
@media (min-width: 1200px) and (min-height: 900px) { .sub { display: block; } }
.ctas { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 44px;
  padding: 12px 24px; --r: 999px; --flow-s: 4.5s;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--space); background: var(--green);
  box-shadow: 0 0 24px var(--tube-glass);
}
.btn:hover { background: var(--lime); }
.btn.ghost { color: var(--green); background: transparent; }
.btn.ghost:hover { color: var(--lime); }
.cue { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); left: 50%;
  translate: -50% 0; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; }
.cue span { width: 14px; height: 14px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  rotate: 45deg; filter: drop-shadow(0 0 6px var(--tube-glow)); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 50% { translate: 0 6px; } }

/* ---------- the pipes between rooms: a horizontal tube, light running along it ---------- */
.pipe { position: relative; height: 10px; margin: clamp(36px, 7vw, 72px) auto; width: min(1160px, calc(100% - 2 * var(--gutter))); }
.pipe .glass { position: absolute; inset: 3px 0; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--tube-glass) 12%, var(--tube-glass-2) 88%, transparent);
  box-shadow: 0 0 14px var(--tube-glass); }
.pipe .light { position: absolute; top: 3px; height: 4px; width: 22%; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), var(--lime), transparent);
  filter: drop-shadow(0 0 8px var(--tube-glow)); animation: run 5.5s linear infinite; }
@keyframes run { from { left: -22%; } to { left: 100%; } }
.pipe.thin { margin: 0 auto 28px; }

/* ---------- the bands ---------- */
.band { width: min(1160px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.head { margin: 0 0 10px; text-align: center; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: .06em;
  color: var(--ink); text-shadow: 0 0 22px var(--tube-glass); }
.lead { margin: 0 auto 30px; max-width: 60ch; text-align: center; color: var(--ink-soft); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 26px 24px 24px; background: var(--card-ground);
  box-shadow: inset 0 0 28px var(--card-inner);
}
.card h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: .03em; color: var(--green); }
.card p { margin: 0; color: var(--ink-soft); }
.card .tag { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cyan); }
/* the comets do not march in step */
.grid .card:nth-child(2) { --flow-s: 8.2s; }
.grid .card:nth-child(3) { --flow-s: 6.4s; }
.grid .card:nth-child(4) { --flow-s: 7.6s; }
.grid .card:nth-child(5) { --flow-s: 9.1s; }
.grid .card:nth-child(6) { --flow-s: 6.9s; }

/* ---------- the foot ---------- */
.foot { width: min(1160px, calc(100% - 2 * var(--gutter))); margin: clamp(48px, 8vw, 96px) auto 0;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 36px); text-align: center; }
.made { margin: 0 0 10px; color: var(--ink-soft); }
.family { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; }
.family a { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  min-height: 44px; display: inline-flex; align-items: center; }
.legal { margin: 2px 0 0; }
.legal a { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- narrow screens ----------
   The bar never wraps onto a second row (on 2026-10-08 a wrapped bar sat across the plaque at
   800 px): below 980 px the two section links step aside (the sections are a scroll away) and
   the mark and the way into the chamber keep one row. */
@media (max-width: 980px) {
  .bar { flex-wrap: nowrap; }
  .nav a:not(.pill) { display: none; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .hero { place-items: start center; }
  .plaque { margin: 0; text-align: center; }
  .ctas { justify-content: center; }
  .sub { display: none; }
}
@media (max-width: 400px) {
  .brand .word { display: none; }
}

/* ---------- stillness (AEONGRADE V6): honoured, and nothing moves while nobody watches ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tube::after, .pipe .light, .poster, .cue span { animation: none; }
  .tube::after { background: conic-gradient(from 210deg,
    transparent 0 60%, var(--cyan) 70%, var(--green) 78%, var(--lime) 83%, transparent 90% 100%); }
  .pipe .light { left: 39%; }
}
.paused .tube::after, .paused .pipe .light, .paused .poster, .paused .cue span { animation-play-state: paused; }
