body[data-theme="apex-parent"] {
  --bg: #f3f0e8;
  --surface: #fffdf7;
  --surface-2: #e3e8e1;
  --ink: #0b231d;
  --muted: #566a63;
  --accent: #087d76;
  --accent-ink: #ffffff;
  --line: rgba(11, 35, 29, 0.17);
  --line-strong: rgba(11, 35, 29, 0.48);
  --shadow: 0 34px 100px rgba(11, 35, 29, 0.13);
  --radius: 24px;
  --radius-small: 10px;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  background-image:
    linear-gradient(rgba(8, 125, 118, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 125, 118, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 88% 4%, rgba(8, 125, 118, 0.12), transparent 32rem);
  background-size: 40px 40px, 40px 40px, auto;
}

body[data-theme="galactic"] {
  color-scheme: dark;
  --bg: #050814;
  --surface: #0b1125;
  --surface-2: #121b37;
  --ink: #f0f5ff;
  --muted: #a5b1ce;
  --accent: #61ddff;
  --accent-ink: #04101a;
  --line: rgba(97, 221, 255, 0.18);
  --line-strong: rgba(97, 221, 255, 0.56);
  --shadow: 0 36px 110px rgba(0, 0, 0, 0.48);
  --radius: 30px;
  --radius-small: 14px;
  --font-display: "Helvetica Neue", Arial, sans-serif;
  background-image:
    radial-gradient(circle at 78% 4%, rgba(103, 72, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 5% 48%, rgba(97, 221, 255, 0.1), transparent 30rem),
    linear-gradient(150deg, #050814 10%, #080c1d 55%, #060914 100%);
}

body[data-theme="holdings"] {
  color-scheme: dark;
  --bg: #0d0e10;
  --surface: #15171a;
  --surface-2: #202329;
  --ink: #f4efe4;
  --muted: #b7afa1;
  --accent: #d8b06a;
  --accent-ink: #181209;
  --line: rgba(216, 176, 106, 0.18);
  --line-strong: rgba(216, 176, 106, 0.52);
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
  --radius: 2px;
  --radius-small: 0;
  --font-display: Georgia, "Times New Roman", serif;
  background-image:
    linear-gradient(90deg, transparent 49.9%, rgba(216, 176, 106, 0.035) 50%, transparent 50.1%),
    radial-gradient(circle at 88% 2%, rgba(216, 176, 106, 0.09), transparent 30rem);
}

body[data-theme="apex-parent"] .hero h1 {
  font-size: clamp(4rem, 7vw, 7.8rem);
  letter-spacing: -0.07em;
}

body[data-theme="galactic"] .hero h1 {
  max-width: 900px;
  font-size: clamp(3.9rem, 7.2vw, 8rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

body[data-theme="holdings"] .hero h1 {
  max-width: 850px;
  font-size: clamp(3.6rem, 6.6vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

body[data-theme="apex-parent"] .brand-mark,
body[data-theme="galactic"] .brand-mark,
body[data-theme="holdings"] .brand-mark {
  background: var(--accent);
  color: var(--accent-ink);
}

body[data-theme="galactic"] .brief-grid,
body[data-theme="galactic"] .principle-grid,
body[data-theme="galactic"] .note-list {
  box-shadow: 0 0 70px rgba(97, 221, 255, 0.06);
}

body[data-theme="holdings"] .brief-card,
body[data-theme="holdings"] .principle,
body[data-theme="holdings"] .field-note {
  background-image: linear-gradient(140deg, rgba(216, 176, 106, 0.035), transparent 54%);
}

body[data-theme="holdings"] .brief-heading h2,
body[data-theme="holdings"] .section-heading h2,
body[data-theme="holdings"] .notes-heading h2,
body[data-theme="holdings"] .revenue-copy h2 {
  font-weight: 500;
  letter-spacing: -0.045em;
}

.apex-architecture {
  background:
    linear-gradient(rgba(8, 125, 118, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 125, 118, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, #fffdf7, #e8f0eb);
  background-size: 34px 34px, 34px 34px, auto;
}

.architecture-core,
.architecture-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(11, 35, 29, 0.12);
}

.architecture-core {
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  padding: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  transform: translate(-50%, -50%);
}

.architecture-core b {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.08em;
}

.architecture-core small,
.architecture-node small {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.architecture-node {
  width: 155px;
  min-height: 96px;
  padding: 20px;
  border-radius: 10px;
}

.architecture-node b {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.node-steward { top: 11%; left: 9%; }
.node-explore { top: 13%; right: 8%; }
.node-deliver { right: 13%; bottom: 9%; }

.architecture-line {
  position: absolute;
  z-index: 1;
  width: 220px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}

.line-one { top: 35%; left: 23%; transform: rotate(20deg); }
.line-two { top: 35%; left: 51%; transform: rotate(-21deg); }
.line-three { top: 57%; left: 51%; transform: rotate(35deg); }

.galactic-orbits {
  background:
    radial-gradient(circle at 50% 50%, rgba(97, 221, 255, 0.14), transparent 11rem),
    radial-gradient(circle at 68% 24%, rgba(112, 79, 255, 0.2), transparent 18rem),
    #060a18;
}

.galactic-orbits::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(240, 245, 255, 0.7) 0 1px, transparent 1.5px);
  background-size: 47px 47px;
  content: "";
  opacity: 0.28;
}

.galactic-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(97, 221, 255, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.ring-one { width: 250px; height: 250px; }
.ring-two { width: 400px; height: 310px; }
.ring-three { width: 540px; height: 420px; border-color: rgba(112, 79, 255, 0.42); }

.galactic-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(5, 8, 20, 0.88);
  box-shadow: 0 0 60px rgba(97, 221, 255, 0.25);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.galactic-core small {
  position: absolute;
  top: 88px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.galactic-node {
  position: absolute;
  z-index: 4;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 17, 37, 0.92);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.node-quantum { top: 18%; left: 14%; }
.node-intelligence { top: 16%; right: 10%; }
.node-orbital { right: 8%; bottom: 14%; }
.node-connectivity { bottom: 11%; left: 12%; }

.holdings-ledger {
  padding: 52px 48px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(216, 176, 106, 0.045) 50%, transparent 50.2%),
    linear-gradient(145deg, #15171a, #0e0f11);
}

.ledger-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ledger-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-row span,
.ledger-row small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ledger-row b {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
}

.ledger-seal {
  display: grid;
  width: 130px;
  height: 130px;
  margin: 34px 0 0 auto;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
  text-align: center;
}

@media (max-width: 720px) {
  .architecture-core {
    width: 132px;
    height: 132px;
    padding: 20px;
  }

  .architecture-core b { font-size: 1.8rem; }
  .architecture-node { width: 120px; min-height: 78px; padding: 14px; }
  .architecture-node b { font-size: 0.95rem; }
  .node-steward { top: 9%; left: 6%; }
  .node-explore { top: 10%; right: 5%; }
  .node-deliver { right: 8%; bottom: 8%; }
  .line-one { left: 18%; }
  .line-two { left: 50%; }
  .line-three { left: 50%; }

  .ring-one { width: 180px; height: 180px; }
  .ring-two { width: 280px; height: 230px; }
  .ring-three { width: 380px; height: 320px; }
  .galactic-core { width: 116px; height: 116px; font-size: 1.6rem; }
  .galactic-core small { top: 72px; font-size: 0.42rem; }

  .holdings-ledger { padding: 34px 26px; }
  .ledger-row { grid-template-columns: 30px minmax(0, 1fr); padding: 24px 0; }
  .ledger-row small { grid-column: 2; }
  .ledger-seal { width: 104px; height: 104px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .galactic-ring,
  .architecture-line {
    transform-origin: center;
  }
}
