:root {
  --ink: #081020;
  --ink-2: #0c1327;
  --navy: #111833;
  --indigo: #1a2463;
  --violet: #6a4cff;
  --cyan: #00d4ff;
  --teal: #00e0a3;
  --gold: #d4af37;
  --gold-2: #f1cf72;
  --mist: #e6e8f0;
  --muted: #aab4d4;
  --line: rgba(212, 175, 55, 0.35);
  --glass: rgba(9, 16, 34, 0.74);
  --heading: "Cinzel", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -12rem, rgba(106, 76, 255, 0.23), transparent 34rem),
    radial-gradient(circle at 9% 18%, rgba(0, 212, 255, 0.12), transparent 22rem),
    linear-gradient(180deg, #050914 0%, #081020 38%, #060911 100%);
  color: var(--mist);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 80%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
figure {
  margin-top: 0;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  border-radius: 4px;
  background: var(--mist);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(212, 175, 55, 0.26);
  background: rgba(5, 9, 20, 0.84);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.brand-lockup,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-lockup img,
.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(230, 232, 240, 0.16);
  box-shadow: 0 0 24px rgba(106, 76, 255, 0.42);
}

.brand-lockup span,
.footer-brand span {
  display: grid;
  gap: 0.12rem;
}

.brand-lockup strong,
.footer-brand strong {
  color: #fff;
  font-family: var(--heading);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-lockup small,
.footer-brand small {
  color: var(--gold-2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(0.9rem, 2.2vw, 1.7rem);
  align-items: center;
  color: #dbe3ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.48rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 6px;
  background: rgba(8, 16, 32, 0.86);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  border-color: rgba(241, 207, 114, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 231, 157, 0.95), rgba(212, 175, 55, 0.92)),
    var(--gold);
  color: #11120b;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 38px rgba(212, 175, 55, 0.32);
}

.button-secondary {
  border-color: rgba(230, 232, 240, 0.24);
  background: rgba(8, 16, 32, 0.64);
  color: var(--mist);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 14px 34px rgba(0, 212, 255, 0.12);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.98) 0%, rgba(5, 9, 20, 0.88) 30%, rgba(5, 9, 20, 0.32) 72%, rgba(5, 9, 20, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.12), rgba(5, 9, 20, 0.92)),
    url("assets/hero-movement.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 16rem;
  background: linear-gradient(180deg, transparent, #081020);
}

.hero-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 690px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label,
.card-kicker,
.panel-kicker {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.05rem;
  color: #fff8df;
  font-family: var(--heading);
  font-size: clamp(3.65rem, 8vw, 6.8rem);
  font-weight: 600;
  line-height: 0.96;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.58);
}

.hero-subhead {
  max-width: 42rem;
  margin-bottom: 1.55rem;
  color: #dce7ff;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-panel {
  align-self: end;
  padding: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 19, 39, 0.82), rgba(8, 16, 32, 0.68)),
    rgba(8, 16, 32, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.orb {
  width: 58px;
  aspect-ratio: 1;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(241, 207, 114, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff6c2 0 7%, rgba(212, 175, 55, 0.94) 8% 13%, transparent 14%),
    conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.7), transparent, rgba(106, 76, 255, 0.72), transparent);
  box-shadow: 0 0 34px rgba(0, 212, 255, 0.22);
}

.panel-statement {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--heading);
  font-size: 1.32rem;
  line-height: 1.32;
}

.value-list {
  display: grid;
  gap: 0.52rem;
  padding: 0;
  margin-bottom: 0;
  color: #d7def8;
  list-style: none;
}

.value-list li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.value-list li::before {
  content: "";
  width: 0.55rem;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(0, 224, 163, 0.2);
}

.rtc-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -3rem auto 0;
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 8px 8px 0 0;
  background: rgba(5, 9, 20, 0.72);
  color: var(--gold-2);
  font-family: var(--heading);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.rtc-strip span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0.34rem;
  aspect-ratio: 1;
  margin-left: 2rem;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 6rem) 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-bottom: 0.85rem;
  color: #fff8df;
  font-family: var(--heading);
  font-size: clamp(2.05rem, 4.6vw, 4.1rem);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  color: #fff;
  font-family: var(--heading);
  font-size: 1.32rem;
  line-height: 1.15;
}

.lead,
.section-heading p,
.rhythm-copy p,
.invitation-panel p {
  color: #cbd5f5;
  font-size: 1.08rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
}

.thesis-card,
.lane-card,
.ecosystem-card,
.separation-note,
.rhythm-section,
.invitation-panel {
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 24, 51, 0.74), rgba(8, 16, 32, 0.72)),
    rgba(8, 16, 32, 0.7);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.thesis-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.thesis-card p:last-child {
  margin-bottom: 0;
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lane-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 1.4rem;
}

.lane-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background:
    radial-gradient(circle at 90% 12%, var(--accent, rgba(0, 212, 255, 0.44)), transparent 14rem),
    linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.04));
}

.movement-card {
  --accent: rgba(212, 175, 55, 0.54);
}

.path-card {
  --accent: rgba(0, 224, 163, 0.48);
}

.companion-card {
  --accent: rgba(106, 76, 255, 0.55);
}

.card-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(241, 207, 114, 0.5);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: var(--heading);
}

.lane-card h3,
.lane-card p,
.lane-card a {
  position: relative;
}

.lane-card p {
  color: #cbd5f5;
}

.lane-card a,
.ecosystem-card a {
  color: var(--gold-2);
  font-weight: 800;
  text-decoration: none;
}

.lane-card a::after {
  content: " ->";
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.ecosystem-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.ecosystem-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
}

.ecosystem-card:nth-child(4) img {
  height: 220px;
  object-position: center 30%;
}

.ecosystem-card div,
.ecosystem-card.text-card {
  padding: 1rem;
}

.ecosystem-card p {
  margin-bottom: 0;
  color: #c5cee9;
  font-size: 0.92rem;
}

.ecosystem-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.04rem;
}



.text-card {
  min-height: 100%;
  grid-template-rows: 1fr;
}

.systems-mark {
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  border: 1px solid rgba(106, 76, 255, 0.64);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 76, 255, 0.4), rgba(17, 24, 51, 0.36));
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
}

.systems-mark.star {
  border-color: rgba(0, 212, 255, 0.64);
  color: var(--cyan);
  font-family: var(--heading);
  font-size: 2.2rem;
}

.separation-note {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: #cbd5f5;
}

.separation-note strong {
  flex: 0 0 auto;
  color: #fff8df;
}

.rhythm-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.rhythm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.rhythm-steps article {
  min-height: 190px;
  padding: 1rem;
  border: 1px solid rgba(230, 232, 240, 0.12);
  border-radius: 6px;
  background: rgba(5, 9, 20, 0.44);
}

.rhythm-steps span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold-2);
  font-family: var(--heading);
  font-size: 1.08rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rhythm-steps p {
  margin-bottom: 0;
  color: #cbd5f5;
  font-size: 0.94rem;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.character-card {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 8px;
  background: #050914;
  box-shadow: var(--shadow);
}

.character-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.character-card div {
  padding: 1.1rem;
}

.character-card h3 {
  margin-bottom: 0.35rem;
  color: #fff8df;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.character-card p {
  color: #cbd5f5;
}

.character-card .role {
  margin-bottom: 0.65rem;
  color: #c58bff;
  font-weight: 800;
}

.invitation-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
}

.invitation-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 16, 32, 0.96), rgba(8, 16, 32, 0.78)),
    url("assets/movement-signal.webp") center / cover no-repeat;
  opacity: 0.64;
}

.signup-form {
  display: grid;
  gap: 0.72rem;
}

.signup-form label {
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(230, 232, 240, 0.24);
  border-radius: 6px;
  background: rgba(5, 9, 20, 0.74);
  color: #fff;
  font: inherit;
  padding: 0 0.95rem;
}

input:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16);
}

.form-note {
  margin-bottom: 0;
  color: #b6c0df;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(5, 9, 20, 0.84);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.35rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-shell p {
  max-width: 620px;
  margin-bottom: 0;
  color: #aab4d4;
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: auto auto;
  }

  .main-nav {
    order: 4;
    grid-column: 1 / -1;
    justify-self: start;
    padding-bottom: 0.9rem;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-shell,
  .split-layout,
  .rhythm-section,
  .invitation-panel {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: 620px;
  }

  .hero-panel {
    align-self: start;
    max-width: 460px;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .character-card img {
    height: 330px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 15px;
  }

  .header-shell {
    min-height: 74px;
  }

  .brand-lockup strong {
    font-size: 1.1rem;
  }

  .brand-lockup small {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding: 0.9rem 0 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
  }

  .main-nav.is-open {
    display: grid;
    gap: 0.68rem;
  }

  .hero {
    min-height: unset;
  }

  .hero-art {
    background:
      linear-gradient(180deg, rgba(5, 9, 20, 0.88) 0%, rgba(5, 9, 20, 0.58) 36%, rgba(5, 9, 20, 0.96) 100%),
      url("assets/hero-movement.webp") center / cover no-repeat;
  }

  .hero-shell {
    min-height: unset;
    padding-top: 4.5rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .rtc-strip {
    margin-top: 0;
    border-radius: 0;
  }

  .lane-grid,
  .character-grid {
    grid-template-columns: 1fr;
  }

  .lane-card {
    min-height: 230px;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-card img,
  .ecosystem-card:nth-child(4) img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: center top;
  }

  .rhythm-steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-shell p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-shell,
  .hero-shell,
  .rtc-strip,
  .section,
  .footer-shell {
    width: min(100% - 22px, 500px);
  }

  .brand-lockup img,
  .footer-brand img {
    width: 44px;
    height: 44px;
  }

  .hero-shell {
    padding: 3.3rem 0 3rem;
  }

  .hero h1 {
    font-size: 3.12rem;
  }

  .hero-actions,
  .rtc-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .rtc-strip span:not(:last-child)::after {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  h2 {
    font-size: 2rem;
  }

  .rhythm-section {
    gap: 1.35rem;
    padding: 1.45rem 1.35rem;
  }

  .rhythm-section h2 {
    font-size: clamp(1.78rem, 8.7vw, 2.35rem);
    line-height: 1.06;
  }

  .rhythm-copy p {
    font-size: 1rem;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .character-card img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
  }

  .separation-note {
    align-items: flex-start;
    flex-direction: column;
  }
}
a { text-decoration: none; }