/*
  Luxe orchestration layer
  - loaded last to establish hierarchy and rhythm
  - preserves component modular ownership
*/

:root {
  --luxe-ink-990: #02101b;
  --luxe-ink-940: #07293f;
  --luxe-ink-900: #0a4a69;
  --luxe-paper: #f8fbff;
  --luxe-paper-soft: #eff5fb;
  --luxe-cyan: #29b1d7;
  --luxe-cyan-deep: #0f6f96;
  --luxe-gold: #cfa458;
  --luxe-shell-radius: 30px;
  --luxe-card-radius: 17px;
  --luxe-shadow-ink: 0 38px 96px rgba(2, 10, 18, 0.5);
  --luxe-shadow-paper: 0 20px 52px rgba(5, 24, 38, 0.13);
}

body {
  background:
    radial-gradient(1220px 660px at -12% -24%, rgba(46, 182, 220, 0.16), transparent 74%),
    radial-gradient(860px 420px at 110% -20%, rgba(208, 169, 86, 0.12), transparent 76%),
    radial-gradient(980px 520px at 54% 116%, rgba(18, 120, 160, 0.12), transparent 78%),
    linear-gradient(184deg, #eef4f9 0%, #f9fcff 56%, #eef4fa 100%);
  color: #05354d;
}

.wrap {
  width: min(1520px, 94vw);
}

main {
  padding: 2rem 0 4.1rem;
}

.page-home {
  gap: clamp(1.24rem, 2vw, 2.22rem);
}

.page-home .content-section {
  margin-bottom: 0;
}

.page-home .content-section[data-visual-priority="primary"] {
  box-shadow: var(--luxe-shadow-ink);
}

.page-home .content-section[data-visual-priority="secondary"],
.page-home .content-section[data-visual-priority="tertiary"],
.page-home .content-section[data-visual-priority="support"] {
  box-shadow: var(--luxe-shadow-paper);
}

.page-home :is(.command-hero, .showcase, .constellation, .home-vector-ribbon, .paths, .cta-band) {
  border-radius: var(--luxe-shell-radius);
  padding: 1.18rem;
}

.page-home :is(.showcase-card, .constellation-card, .home-vector-card, .path-card) {
  border-radius: var(--luxe-card-radius);
}

.page-home :is(.showcase-card, .constellation-card, .home-vector-card, .path-card):hover {
  transform: translateY(-3px);
}

/* Hero hierarchy */
.page-home .command-hero {
  min-height: clamp(580px, 40vw, 760px);
  border-color: rgba(192, 237, 255, 0.52);
  background:
    radial-gradient(1260px 660px at -8% -22%, rgba(70, 210, 242, 0.32), transparent 72%),
    radial-gradient(820px 420px at 106% -14%, rgba(222, 183, 96, 0.2), transparent 76%),
    linear-gradient(164deg, rgba(2, 18, 30, 0.998), rgba(6, 40, 60, 0.992));
}

.page-home .command-hero::before {
  opacity: 0.56;
}

.page-home .command-hero::after {
  opacity: 0.62;
}

.page-home .command-hero .hero-gfx {
  opacity: 0.32;
  mix-blend-mode: screen;
  filter: saturate(1.2) contrast(1.09);
}

.page-home .command-hero-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: clamp(0.98rem, 1.26vw, 1.44rem);
}

.page-home .command-hero-primary,
.page-home .command-hero-visual {
  border-radius: 22px;
  border-color: rgba(194, 238, 255, 0.48);
}

.page-home .command-hero-primary {
  padding: 1.04rem 1.06rem 0.98rem;
  background:
    radial-gradient(620px 280px at -8% -12%, rgba(86, 222, 251, 0.22), transparent 74%),
    linear-gradient(168deg, rgba(6, 46, 68, 0.88), rgba(8, 61, 88, 0.82));
}

.page-home .command-hero h1 {
  max-width: 9.4ch;
  font-size: clamp(2.34rem, 3.5vw, 4.16rem);
  line-height: 0.94;
}

.page-home .command-hero .lead {
  max-width: 54ch;
  font-size: clamp(1rem, 1.06vw, 1.18rem);
  line-height: 1.52;
}

.page-home .command-hero-manifesto {
  gap: 0.64rem;
}

.page-home .command-hero-manifesto-item {
  border-left-width: 2px;
  box-shadow: none;
}

.page-home .command-hero-proofline {
  border-color: rgba(187, 235, 253, 0.38);
  background:
    radial-gradient(320px 160px at 0% 0%, rgba(77, 216, 248, 0.08), transparent 74%),
    rgba(7, 53, 77, 0.42);
}

.page-home .command-hero-controls {
  border-color: rgba(188, 236, 254, 0.36);
  background: rgba(7, 54, 78, 0.58);
}

.page-home .command-hero-visual {
  padding: 0.9rem;
  background:
    radial-gradient(640px 280px at 0% 0%, rgba(80, 219, 249, 0.18), transparent 74%),
    linear-gradient(168deg, rgba(8, 55, 80, 0.8), rgba(10, 64, 92, 0.74));
}

.page-home .command-hero-visual-frame {
  min-height: 320px;
}

.page-home .command-hero-visual-frame::before {
  opacity: 0.86;
}

.page-home .command-hero-visual-frame::after {
  background:
    linear-gradient(126deg, rgba(4, 25, 39, 0.52), rgba(4, 25, 39, 0.2) 48%, rgba(4, 25, 39, 0.6)),
    linear-gradient(180deg, rgba(4, 25, 39, 0.04), rgba(4, 25, 39, 0.56));
}

.page-home .command-hero-visual-scene {
  filter: saturate(1.16) contrast(1.12) brightness(1.02);
}

.page-home .command-hero-visual-content {
  padding: 0.9rem;
  background:
    linear-gradient(180deg, rgba(3, 22, 35, 0.18), rgba(3, 22, 35, 0.7)),
    radial-gradient(480px 200px at 0% 0%, rgba(82, 221, 251, 0.1), transparent 74%);
}

.page-home .command-hero-visual-metrics {
  gap: 0.52rem;
}

.page-home .command-hero-visual-signal {
  gap: 0.52rem;
}

/* Dark middle narrative: consistency + less visual noise */
.page-home .constellation,
.page-home .cta-band {
  border-color: rgba(183, 235, 253, 0.46);
  background:
    radial-gradient(900px 400px at -4% -16%, rgba(68, 210, 243, 0.22), transparent 70%),
    radial-gradient(760px 320px at 106% -14%, rgba(219, 182, 96, 0.16), transparent 74%),
    linear-gradient(166deg, rgba(5, 33, 50, 0.992), rgba(9, 53, 75, 0.974));
}

.page-home .constellation-copy {
  border-color: rgba(184, 236, 254, 0.38);
  box-shadow: inset 0 1px 0 rgba(220, 247, 255, 0.14);
}

.page-home .constellation-card {
  border-color: rgba(180, 234, 253, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(216, 245, 255, 0.16),
    0 16px 36px rgba(2, 11, 20, 0.28);
}

.page-home .cta-band-inner {
  border-radius: 22px;
  border: 1px solid rgba(191, 236, 254, 0.4);
  background:
    radial-gradient(740px 300px at 0% 0%, rgba(79, 218, 249, 0.16), transparent 74%),
    linear-gradient(166deg, rgba(8, 54, 78, 0.78), rgba(9, 61, 88, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(220, 246, 255, 0.16),
    0 24px 52px rgba(2, 11, 20, 0.32);
  padding: 1.12rem 1.14rem;
}

/* Light strategy sections */
.page-home .home-vector-ribbon,
.page-home .paths,
.page-home .showcase {
  border-color: rgba(157, 220, 245, 0.48);
  background:
    radial-gradient(980px 430px at -8% -22%, rgba(77, 209, 241, 0.12), transparent 74%),
    radial-gradient(720px 320px at 106% -14%, rgba(220, 181, 96, 0.1), transparent 76%),
    linear-gradient(184deg, rgba(255, 255, 255, 0.998), rgba(245, 251, 255, 0.994));
}

.page-home .home-vector-ribbon-head,
.page-home .paths-head,
.page-home .showcase-head {
  border-left: 4px solid rgba(49, 194, 231, 0.56);
  border-color: rgba(188, 237, 255, 0.5);
  background:
    radial-gradient(460px 200px at 0% 0%, rgba(74, 211, 245, 0.1), transparent 72%),
    linear-gradient(182deg, rgba(255, 255, 255, 0.998), rgba(247, 252, 255, 0.994));
  padding: 0.9rem 0.98rem;
}

.page-home .home-vector-card,
.page-home .path-card,
.page-home .showcase-card {
  border-color: rgba(179, 232, 251, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(5, 23, 36, 0.13);
}

.page-home .home-vector-card:nth-child(4) {
  border-color: rgba(164, 227, 249, 0.56);
  background:
    radial-gradient(760px 300px at 0% -22%, rgba(68, 210, 245, 0.14), transparent 70%),
    radial-gradient(620px 220px at 100% 0%, rgba(220, 183, 97, 0.14), transparent 74%),
    linear-gradient(184deg, rgba(255, 255, 255, 0.999), rgba(244, 251, 255, 0.996));
}

.page-home .path-card:nth-child(4),
.page-home .path-card:nth-child(5) {
  border-color: rgba(166, 227, 249, 0.54);
  background:
    radial-gradient(640px 260px at -8% -22%, rgba(69, 208, 243, 0.13), transparent 70%),
    radial-gradient(480px 220px at 108% 0%, rgba(220, 183, 97, 0.12), transparent 74%),
    linear-gradient(184deg, rgba(255, 255, 255, 0.999), rgba(246, 252, 255, 0.996));
}

.page-home .home-vector-card::before,
.page-home .path-card::before {
  width: 5px;
}

.page-home .section-ecosystem .card,
.page-home .section-stats .card,
.page-home .section-timeline .card {
  border-radius: 24px;
  border-color: rgba(150, 213, 240, 0.44);
  background:
    radial-gradient(760px 300px at 0% -22%, rgba(42, 177, 218, 0.14), transparent 70%),
    radial-gradient(620px 260px at 100% 0%, rgba(214, 173, 85, 0.12), transparent 74%),
    linear-gradient(184deg, rgba(255, 255, 255, 0.992), rgba(246, 252, 255, 0.974));
}

.page-home .section-stats .stat,
.page-home .section-timeline .timeline-step,
.page-home .section-ecosystem .logo-pill {
  border-color: rgba(145, 208, 234, 0.42);
  background:
    radial-gradient(440px 180px at 0% -20%, rgba(45, 179, 219, 0.12), transparent 72%),
    rgba(255, 255, 255, 0.995);
}

.page-home :is(.constellation, .command-hero, .cta-band) .cta-secondary {
  background: rgba(8, 60, 86, 0.82);
  border-color: rgba(188, 236, 254, 0.46);
  color: rgba(238, 250, 255, 0.998);
}

.page-home :is(.home-vector-ribbon, .paths, .showcase, .spotlight, .section-ecosystem, .section-stats, .section-timeline) .cta-secondary {
  background: rgba(244, 251, 255, 0.98);
  border-color: rgba(122, 198, 228, 0.44);
  color: rgba(6, 61, 87, 0.998);
}

@media (max-width: 1360px) {
  .page-home .command-hero-manifesto,
  .page-home .command-hero-proofline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1220px) {
  .page-home .command-hero {
    min-height: auto;
  }

  .page-home .command-hero-shell {
    grid-template-columns: 1fr;
  }

  .page-home .command-hero-visual-frame {
    min-height: 320px;
  }

  .page-home .showcase-grid,
  .page-home .paths-grid,
  .page-home .spotlight-grid,
  .page-home .constellation-cards,
  .page-home .home-vector-ribbon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(1520px, 95vw);
  }

  main {
    padding-top: 1.24rem;
  }

  .page-home {
    gap: 0.9rem;
  }

  .page-home :is(.command-hero, .showcase, .constellation, .home-vector-ribbon, .paths, .cta-band) {
    padding: 0.88rem;
  }

  .page-home .command-hero h1 {
    max-width: 10.2ch;
    font-size: clamp(2.06rem, 8.1vw, 3.4rem);
  }

  .page-home .command-hero-manifesto,
  .page-home .command-hero-proofline,
  .page-home .command-hero-visual-metrics,
  .page-home .command-hero-visual-signal,
  .page-home .home-vector-ribbon-grid,
  .page-home .showcase-grid,
  .page-home .paths-grid,
  .page-home .spotlight-grid,
  .page-home .constellation-cards {
    grid-template-columns: 1fr;
  }

  .page-home :is(.cta-primary, .cta-secondary) {
    width: 100%;
  }
}
