@charset "utf-8";
/* ============================================================================
   GenXis: the landing-page banner and the /genxis page.
   Loaded only where it is used (see templates/layout.php). Builds on the
   tokens and primitives in site.css; nothing here changes the rest of the site.
   ========================================================================= */

/* ----------------------------------------------------------------- hero */
.gx-hero {
  --gx-ink: #f4f1fb;
  --gx-soft: #d9d2ec;
  --gx-dim: #b3a9d0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--gx-ink);
  background:
    radial-gradient(56rem 38rem at 88% 18%, rgba(160, 63, 148, .42), transparent 62%),
    radial-gradient(46rem 34rem at 6% 112%, rgba(237, 162, 59, .20), transparent 62%),
    linear-gradient(125deg, #14112b 0%, #1f1747 48%, #35185a 100%);
}
.gx-hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 3px;
  background: var(--spectrum);
}
.gx-hero--banner { min-height: min(86vh, 47rem); display: flex; align-items: center; }
.gx-hero--page   { min-height: min(92vh, 52rem); display: flex; align-items: center; }

/* The art: a DNA helix with a large X behind it, centred on each other. */
.gx-hero__art {
  position: absolute; z-index: -1;
  top: 50%; right: clamp(-5rem, 3vw, 5rem);
  height: min(118%, 48rem);
  aspect-ratio: 360 / 640;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.gx-hero__helix {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .92;
  filter: drop-shadow(0 0 18px rgba(196, 76, 137, .35));
}
.gx-hero__x {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: clamp(14rem, 27vw, 26rem);
  line-height: 1;
  padding-bottom: .06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .34);
  background: linear-gradient(165deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .02) 72%);
  -webkit-background-clip: text; background-clip: text;
}

.gx-hero__inner {
  width: 100%;
  padding-block: clamp(3.4rem, 9vw, 7rem);
}
.gx-hero__inner > * { max-width: 40rem; }
.gx-hero__inner > .gx-hero__facts { max-width: 56rem; }

.gx-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.1rem;
  margin: 0 0 1.7rem;
  font-family: var(--mono);
  font-size: .69rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gx-dim);
}
.gx-pill {
  border: 1px solid rgba(237, 162, 59, .75);
  color: var(--c12);
  padding: .26rem .7rem;
  border-radius: 999px;
}

.gx-hero__title { margin: 0; line-height: 1; color: #fff; font-weight: 400; }
.gx-hero__brand {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--smallcaps);
  font-weight: 500;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gx-dim);
}
.gx-hero__sentence {
  display: block;
  min-height: 2.15em;
  font-family: var(--display);
  font-size: calc(clamp(2.6rem, 7vw, 5.4rem) * var(--scale-display, 1));
  line-height: 1.04;
}
.gx-rotor { display: inline; }
.gx-rotor__word {
  display: inline-block;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  padding-bottom: .08em;
  background: linear-gradient(90deg, var(--c12), var(--c9) 52%, #c9a6ff);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transition: opacity .35s ease, transform .35s ease;
}
.gx-rotor__word.is-out { opacity: 0; transform: translateY(.22em); }

.gx-hero__dna {
  margin: 1.4rem 0 .9rem;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  color: #fff;
}
.gx-hero__lede { margin: 0; color: var(--gx-soft); font-size: 1.04em; }

.gx-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.btn.gx-btn { background: #fff; border-color: #fff; color: #1a1640; }
.btn.gx-btn:hover { background: transparent; border-color: #fff; color: #fff; }
.btn.gx-btn--line { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn.gx-btn--line:hover { background: #fff; border-color: #fff; color: #1a1640; }

.gx-hero__facts {
  list-style: none; margin: 2.9rem 0 0; padding: 1.4rem 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .92rem; line-height: 1.45; color: var(--gx-dim);
}
.gx-hero__facts strong {
  display: block; margin-bottom: .15rem;
  font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.1;
  color: #fff;
}

.gx-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (max-width: 52rem) {
  .gx-hero__art { right: -9rem; height: 100%; opacity: .32; }
  .gx-hero__x { display: none; }
  .gx-hero__facts { grid-template-columns: 1fr; gap: 1.1rem; }
  .gx-hero--banner, .gx-hero--page { min-height: 0; }
}

/* ----------------------------------------------------------------- page */
.gx-lede {
  max-width: 40rem;
  font-size: 1.12em;
  color: var(--ink-soft);
}

/* how it works: five steps */
.gx-steps {
  list-style: none; margin: 2.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  counter-reset: gx;
}
.gx-steps li {
  position: relative;
  background: var(--bg);
  padding: 1.7rem 1.35rem 1.6rem;
  counter-increment: gx;
}
.gx-steps li::before {
  content: "0" counter(gx);
  display: block; margin-bottom: 1rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; color: var(--faint);
}
.gx-steps li::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--step, var(--c1));
}
.gx-steps h3 { font-family: var(--display); font-size: 1.6rem; margin-bottom: .55rem; }
.gx-steps p { color: var(--muted); font-size: .95em; margin: 0; }

/* who does what */
.gx-roles {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
/* Three across, then two wider: five cards fill the grid with no empty cell. */
.gx-role { grid-column: span 2; background: var(--bg); padding: 1.8rem 1.5rem; }
.gx-role:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 52rem) {
  .gx-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-role, .gx-role:nth-child(n+4) { grid-column: span 1; }
  .gx-role:last-child { grid-column: 1 / -1; }
}
@media (max-width: 36rem) {
  .gx-roles { grid-template-columns: 1fr; }
}
.gx-role__tag {
  display: inline-block; margin-bottom: 1rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  padding: .22rem .6rem; border-radius: 999px;
}
.gx-role h3 { font-family: var(--display); font-size: 1.55rem; margin-bottom: .55rem; }
.gx-role p { color: var(--muted); font-size: .95em; margin: 0; }

/* who owns what */
.gx-own { margin-top: 2.4rem; }
.gx-own__bar {
  display: flex; height: 5.4rem; overflow: hidden;
  border-radius: var(--radius);
}
.gx-own__seg {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 1.2rem; color: #fff;
}
.gx-own__seg b { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1; }
.gx-own__seg span { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; opacity: .92; margin-top: .3rem; }
.gx-own__seg--a { flex: 20 1 0; background: var(--c2); }
.gx-own__seg--b { flex: 20 1 0; background: var(--c7); }
.gx-own__seg--c { flex: 60 1 0; background: linear-gradient(90deg, var(--c10), var(--c12)); color: #2a1a05; }
.gx-notes { margin: 2rem 0 0; padding: 0; list-style: none; max-width: 40rem; }
.gx-notes li {
  position: relative; padding: 0 0 .9rem 1.5rem; color: var(--muted);
}
.gx-notes li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .42rem; height: .42rem; border-radius: 50%; background: var(--accent);
}
.gx-notes strong { color: var(--ink); font-weight: 600; }

/* two speeds */
.gx-lanes {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.gx-lane { background: var(--bg); padding: 2rem 1.8rem; }
.gx-lane__time {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1;
  color: var(--accent); margin-bottom: .6rem;
}
.gx-lane h3 { margin-bottom: .6rem; }
.gx-lane p { color: var(--muted); margin: 0; }

/* programme board */
.gx-board {
  margin-top: 2.4rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.gx-person { background: var(--bg); padding: 1.6rem 1.4rem; }
.gx-person__role { font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.gx-person__name { font-family: var(--display); font-size: 1.55rem; line-height: 1.15; margin: .5rem 0 .3rem; }
.gx-person__note { color: var(--muted); font-size: .92em; margin: 0; }
.gx-person--open { grid-column: 1 / -1; background: var(--surface-2); }
.gx-person--open .gx-person__name { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.3rem; }

/* join: three doors */
.gx-join {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.gx-door { background: var(--bg); padding: 2rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; }
.gx-door h3 { font-family: var(--display); font-size: 1.8rem; }
.gx-door dl { margin: 0; }
.gx-door dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: .8rem; }
.gx-door dd { margin: .15rem 0 0; color: var(--muted); font-size: .96em; }
.gx-door .btn { margin-top: auto; align-self: flex-start; }

/* questions */
.gx-faq { margin-top: 2.2rem; max-width: 46rem; border-top: 1px solid var(--rule); }
.gx-faq details { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.gx-faq summary {
  cursor: pointer; list-style: none;
  font-size: 1.18rem; color: var(--ink);
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary::after { content: "+"; font-family: var(--mono); color: var(--faint); }
.gx-faq details[open] summary::after { content: "\2212"; }
.gx-faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 38rem; }

/* closing call */
.gx-cta {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
  color: var(--gx-ink, #f4f1fb);
  background:
    radial-gradient(40rem 24rem at 50% 120%, rgba(237, 162, 59, .25), transparent 65%),
    linear-gradient(125deg, #14112b 0%, #1f1747 55%, #35185a 100%);
  position: relative;
}
.gx-cta::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--spectrum); }
/* The footer's usual gap above it would leave a pale strip under the dark band. */
main:has(> .gx-cta:last-child) + .site-footer { margin-top: 0; }
.gx-cta h2 { color: #fff; max-width: 40rem; margin-inline: auto; }
.gx-cta p { color: #d9d2ec; max-width: 34rem; margin: 1.2rem auto 2rem; }
.gx-cta .gx-hero__actions { justify-content: center; margin-top: 0; }

@media (max-width: 64rem) {
  .gx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-steps li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .gx-steps { grid-template-columns: 1fr; }
  .gx-lanes { grid-template-columns: 1fr; }
  .gx-own__bar { height: auto; flex-direction: column; }
  .gx-own__seg { padding: 1rem 1.2rem; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gx-rotor__word { transition: none; }
}
