:root {
  color-scheme: dark;
  --space: #08111f;
  --space-2: #12051f;
  --violet: #4b2e83;
  --purple: #6a3fb5;
  --gold: #d4af37;
  --gold-2: #f2c14e;
  --moon: #f5f5f2;
  --muted: #c8bfd5;
  --glass: rgba(13, 18, 34, 0.74);
  --line: rgba(212, 175, 55, 0.26);
  --soft-line: rgba(245, 245, 242, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(106, 63, 181, 0.28), transparent 28rem),
    radial-gradient(circle at 80% 16%, rgba(212, 175, 55, 0.12), transparent 26rem),
    linear-gradient(180deg, #050914 0%, #08111f 44%, #12051f 100%);
  color: var(--moon);
  font-family: "Segoe UI", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(245, 245, 242, 0.8) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(212, 175, 55, 0.6) 0 1px, transparent 1.3px);
  background-size: 96px 96px, 142px 142px;
  background-position: 12px 18px, 54px 74px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  color: var(--moon);
  font-size: clamp(4.4rem, 12vw, 9rem);
  line-height: 0.88;
  text-transform: uppercase;
}

h2 {
  color: var(--moon);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

h3 {
  color: var(--moon);
  font-size: 1.28rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--soft-line);
  background: rgba(5, 9, 20, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 13rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  color: #ddd3e7;
  font-size: 0.92rem;
}

.top-nav a {
  padding: 0.5rem 0;
}

.top-nav a:hover {
  color: var(--gold-2);
}

.header-cta,
.gold-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border-radius: 8px;
  padding: 0 1.08rem;
  font-weight: 800;
  line-height: 1;
}

.header-cta,
.gold-button {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #160b21;
}

.ghost-button {
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(245, 245, 242, 0.06);
  color: var(--gold-2);
}

main {
  position: relative;
  z-index: 1;
}

.hero-section {
  min-height: calc(100vh - 4.6rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(19rem, 0.58fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
}

.hero-media {
  position: absolute;
  inset: 4.8rem 0 auto auto;
  width: min(48vw, 45rem);
  height: min(72vh, 45rem);
  overflow: hidden;
  opacity: 0.54;
  mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 80%, transparent 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 58rem;
}

.eyebrow {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.82rem;
  text-transform: uppercase;
}

.hero-lead {
  width: min(100%, 45rem);
  margin-top: 1.1rem;
  color: #ebe5f1;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-status {
  align-self: end;
  display: grid;
  gap: 0.72rem;
  position: relative;
  z-index: 2;
}

.hero-status span {
  display: block;
  border: 1px solid var(--soft-line);
  border-left-color: var(--gold);
  border-radius: 8px;
  padding: 1rem 1.05rem;
  background: rgba(8, 17, 31, 0.68);
  color: #efe9f5;
  box-shadow: var(--shadow);
}

.intro-band,
.audience-section,
.section-grid,
.day-card-section,
.practice-section,
.steps-section,
.academy-section,
.research-section,
.products-section,
.app-gateway-section,
.final-cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.6rem, 4vw, 3rem) 0;
}

.intro-band p {
  width: min(900px, 100%);
  color: var(--moon);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.25;
}

.section-grid,
.audience-section,
.day-card-section,
.practice-section,
.academy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-copy {
  align-self: start;
  position: sticky;
  top: 6rem;
}

.section-copy h2,
.day-card-copy h2,
.practice-panel h2,
.steps-section h2,
.app-gateway-section h2,
.research-section h2,
.products-section h2,
.final-cta h2 {
  margin-bottom: 1.1rem;
}

.feature-list,
.audience-grid,
.steps-grid,
.gateway-grid,
.research-grid,
.product-row {
  display: grid;
  gap: 1rem;
}

.feature-list article,
.audience-grid article,
.practice-panel,
.rhythm-card,
.orbis-day-card,
.steps-grid article,
.gateway-grid article,
.research-grid article,
.product-row article,
.final-cta {
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(245, 245, 242, 0.09), rgba(245, 245, 242, 0.035));
  box-shadow: var(--shadow);
}

.feature-list article {
  min-height: 11rem;
  padding: 1.35rem;
}

.audience-section {
  border-bottom: 1px solid var(--soft-line);
}

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

.audience-grid article {
  min-height: 13rem;
  padding: 1.25rem;
}

.audience-grid article:nth-child(1),
.audience-grid article:nth-child(4) {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.13), rgba(245, 245, 242, 0.04));
}

.audience-grid h3 {
  margin-bottom: 0.65rem;
}

.feature-list span {
  display: block;
  margin-bottom: 2rem;
  color: var(--gold-2);
  font-weight: 900;
}

.feature-list h3,
.audience-grid h3,
.steps-grid h3,
.gateway-grid h3,
.research-grid h3,
.product-row h3 {
  margin-bottom: 0.6rem;
}

.day-card-section {
  align-items: center;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.day-card-copy {
  max-width: 34rem;
}

.orbis-day-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.2), transparent 15rem),
    linear-gradient(145deg, rgba(75, 46, 131, 0.46), rgba(8, 17, 31, 0.92));
}

.orbis-day-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  pointer-events: none;
}

.card-topline,
.question-box,
.practice-line {
  position: relative;
  z-index: 1;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.card-topline strong {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.card-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(17rem, 76vw);
  aspect-ratio: 1;
  margin: 1.5rem auto;
  border: 1px solid rgba(212, 175, 55, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 193, 78, 0.3) 0 3%, transparent 4%),
    repeating-conic-gradient(from 0deg, rgba(212, 175, 55, 0.22) 0deg 2deg, transparent 2deg 30deg);
}

.card-symbol::before,
.card-symbol::after,
.card-symbol span {
  content: "";
  position: absolute;
  border: 1px solid rgba(245, 245, 242, 0.18);
  border-radius: 50%;
}

.card-symbol::before {
  inset: 18%;
}

.card-symbol::after {
  inset: 34%;
}

.card-symbol span {
  width: 35%;
  height: 35%;
  border-color: rgba(242, 193, 78, 0.5);
  box-shadow: 0 0 48px rgba(242, 193, 78, 0.38);
}

.orbis-day-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.orbis-day-card > p {
  position: relative;
  z-index: 1;
}

.question-box,
.practice-line {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  border: 1px solid rgba(245, 245, 242, 0.12);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(5, 9, 20, 0.42);
}

.question-box span,
.practice-line span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.question-box strong {
  color: var(--moon);
  font-size: 1.12rem;
}

.practice-section {
  align-items: stretch;
}

.practice-panel,
.rhythm-card {
  min-height: 31rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.practice-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.16), rgba(8, 17, 31, 0.72)),
    url("./assets/giza_pyramid_preview.jpg") center / cover;
}

.practice-panel p {
  color: #eee7f4;
}

.practice-panel .gold-button {
  width: fit-content;
}

.rhythm-card {
  display: grid;
  align-content: center;
  gap: 1.5rem;
}

.orbit-map {
  position: relative;
  width: min(100%, 25rem);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(212, 175, 55, 0.12) 0 18%, transparent 19%),
    repeating-conic-gradient(from 0deg, rgba(212, 175, 55, 0.2) 0deg 1deg, transparent 1deg 30deg);
}

.orbit-map::before,
.orbit-map::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(245, 245, 242, 0.16);
  border-radius: 50%;
}

.orbit-map::after {
  inset: 31%;
}

.orbit-node,
.orbit-core {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.orbit-node {
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--gold);
  background: rgba(8, 17, 31, 0.9);
  color: var(--gold-2);
  font-size: 1.5rem;
  cursor: pointer;
}

.orbit-node.is-active {
  background: var(--gold);
  color: #160b21;
}

.orbit-node[data-layer="time"] {
  right: 9%;
  bottom: 16%;
}

.orbit-node[data-layer="resonance"] {
  left: 9%;
  bottom: 16%;
}

.orbit-node[data-layer="symbol"] {
  left: calc(50% - 2rem);
  top: 6%;
}

.orbit-core {
  inset: calc(50% - 2.45rem);
  border: 1px solid rgba(212, 175, 55, 0.48);
  color: var(--moon);
  font-size: 1.5rem;
}

.academy-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}

.steps-section {
  border-top: 1px solid var(--soft-line);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.steps-grid article {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.academy-track div {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(245, 245, 242, 0.06);
}

.academy-track strong {
  color: var(--gold-2);
}

.academy-track span {
  color: var(--moon);
  font-weight: 800;
}

.research-section,
.products-section,
.final-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.research-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  border-top: 1px solid var(--soft-line);
}

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

.research-grid article,
.product-row article {
  min-height: 14rem;
  padding: 1.25rem;
}

.products-section {
  border-top: 1px solid var(--soft-line);
}

.product-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.app-gateway-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(18rem, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
  border-top: 1px solid var(--soft-line);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

.gateway-grid article {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.35rem;
}

.gateway-grid article:first-child {
  background:
    radial-gradient(circle at 86% 12%, rgba(242, 193, 78, 0.16), transparent 10rem),
    linear-gradient(145deg, rgba(245, 245, 242, 0.09), rgba(245, 245, 242, 0.035));
}

.final-cta {
  display: grid;
  justify-items: start;
  gap: 1rem;
  margin-bottom: 4rem;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.final-cta p {
  max-width: 48rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .top-nav {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .hero-section,
  .section-grid,
  .audience-section,
  .day-card-section,
  .practice-section,
  .academy-section,
  .app-gateway-section,
  .research-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 3.4rem;
  }

  .hero-media {
    position: relative;
    inset: auto;
    grid-row: 1;
    width: 100%;
    height: 20rem;
    border-radius: 8px;
    opacity: 0.82;
    mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 100%);
  }

  .hero-content {
    grid-row: 2;
  }

  .hero-status {
    grid-row: 3;
  }

  .section-copy {
    position: static;
  }

  .academy-track,
  .steps-grid,
  .gateway-grid,
  .product-row {
    grid-template-columns: 1fr;
  }

  .academy-track div {
    min-height: 7rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.75rem 0.85rem;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 2.55rem;
    padding: 0 0.8rem;
  }

  .hero-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: clamp(3rem, 15.5vw, 3.8rem);
  }

  .hero-actions {
    display: grid;
  }

  .gold-button,
  .ghost-button {
    width: 100%;
  }

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

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

  .practice-panel,
  .rhythm-card {
    min-height: 25rem;
  }

  .orbit-node {
    width: 3.35rem;
    height: 3.35rem;
  }

  .orbit-node[data-layer="symbol"] {
    left: calc(50% - 1.675rem);
  }
}
