
:root {
  --navy: #0F2F5F;
  --blue: #174A8B;
  --teal: #1F8A8A;
  --gold: #F4B400;
  --soft: #F6F8FB;
  --text: #2F3640;
  --muted: #667085;
  --border: #DDE5EE;
  --white: #FFFFFF;
  --green: #2DB55D;
  --purple: #7C3AED;
  --pink: #E91E63;
  --orange: #F08A00;
  --red: #B42318;
  --shadow-sm: 0 8px 24px rgba(15,47,95,.07);
  --shadow-lg: 0 26px 70px rgba(15,47,95,.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-sm {
  padding: 58px 0;
}

.soft {
  background: var(--soft);
}

.dark {
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(31,138,138,.27), transparent 30%),
    linear-gradient(135deg, #071f3b, var(--navy));
}

.dark h1,
.dark h2,
.dark h3,
.dark h4 {
  color: white;
}

.dark .lead {
  color: #d6e4f3;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(2.65rem, 5.2vw, 5.35rem);
}

h2 {
  font-size: clamp(2.05rem, 3.7vw, 3.55rem);
}

h3 {
  font-size: 1.37rem;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

.card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card.hover {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.card.hover:hover {
  transform: translateY(-5px);
  border-color: rgba(31,138,138,.42);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
  background:
    linear-gradient(
      135deg,
      rgba(23,74,139,.13),
      rgba(31,138,138,.13)
    );
  border-radius: 15px;
}

.btn {
  display: inline-flex;
  min-height: 49px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 850;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #2f2700;
  background: var(--gold);
  box-shadow: 0 11px 27px rgba(244,180,0,.27);
}

.btn-secondary {
  color: var(--teal);
  background: white;
  border-color: var(--teal);
}

.btn-navy {
  color: white;
  background: var(--blue);
}

.btn-ghost {
  color: var(--navy);
  background: white;
  border-color: var(--border);
}

.actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  padding: 6px 11px;
  align-items: center;
  border-radius: 999px;
  color: #116b6b;
  background: #e7f7f5;
  font-size: .77rem;
  font-weight: 850;
}

.badge.gold {
  color: #745800;
  background: #fff1bd;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: -9999px;
  z-index: 99999;
  padding: 10px 14px;
  background: white;
}

.skip-link:focus {
  left: 8px;
}

.topbar {
  padding: 7px 0;
  color: #d7e6f7;
  background: var(--navy);
  font-size: .83rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(221,229,238,.95);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 79px;
  align-items: center;
  gap: 26px;
}

.brand {
  width: 270px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 21px;
  font-size: .91rem;
  font-weight: 780;
}

.nav-links a {
  position: relative;
  padding: 28px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  gap: 9px;
}

.menu-button {
  display: none;
  margin-left: auto;
  color: var(--navy);
  background: none;
  border: 0;
  font-size: 1.8rem;
}

.hero {
  position: relative;
  padding: 92px 0 78px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -330px;
  right: -330px;
  width: 760px;
  height: 760px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(31,138,138,.18),
      rgba(23,74,139,.05) 55%,
      transparent 72%
    );
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 54px;
}

.hero h1 span {
  color: var(--teal);
}

.visual-stage {
  position: relative;
  display: grid;
  min-height: 540px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at center, #ffffff, #eff7ff 72%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: .48;
  background-image:
    linear-gradient(rgba(23,74,139,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,74,139,.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.human-core {
  position: relative;
  z-index: 5;
  display: grid;
  width: 184px;
  height: 184px;
  place-items: center;
  color: white;
  background:
    linear-gradient(145deg, var(--navy), var(--blue));
  border: 12px solid rgba(255,255,255,.75);
  border-radius: 50%;
  box-shadow:
    0 23px 55px rgba(15,47,95,.25),
    0 0 0 20px rgba(23,74,139,.06);
}

.human-core svg {
  width: 95px;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(23,74,139,.25);
  border-radius: 50%;
  animation: orbit-turn 34s linear infinite;
}

.orbit-one {
  width: 330px;
  height: 330px;
}

.orbit-two {
  width: 455px;
  height: 455px;
  animation-direction: reverse;
  animation-duration: 46s;
}

.domain-node {
  position: absolute;
  z-index: 6;
  display: grid;
  width: 88px;
  height: 88px;
  padding: 8px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 11px 25px rgba(15,47,95,.12);
  font-size: .74rem;
  font-weight: 850;
  text-align: center;
  animation: float-node 5s ease-in-out infinite;
}

.domain-node::after {
  position: absolute;
  inset: -7px;
  content: "";
  border: 2px solid rgba(31,138,138,.15);
  border-radius: 50%;
  animation: node-pulse 2.8s ease-out infinite;
}

.node-health {
  top: 38px;
  left: 215px;
}

.node-career {
  top: 187px;
  right: 25px;
  animation-delay: .7s;
}

.node-money {
  right: 98px;
  bottom: 48px;
  animation-delay: 1.4s;
}

.node-purpose {
  bottom: 44px;
  left: 93px;
  animation-delay: 2.1s;
}

.node-relations {
  top: 192px;
  left: 25px;
  animation-delay: 2.8s;
}

.energy-line {
  position: absolute;
  z-index: 3;
  width: 150px;
  height: 2px;
  overflow: hidden;
  background: rgba(23,74,139,.13);
  transform-origin: left center;
}

.energy-line::before {
  position: absolute;
  width: 38px;
  height: 100%;
  content: "";
  background:
    linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: signal 2.4s linear infinite;
}

.line-a {
  top: 225px;
  left: 167px;
  transform: rotate(-53deg);
}

.line-b {
  top: 262px;
  left: 270px;
  transform: rotate(-13deg);
}

.line-c {
  top: 310px;
  left: 272px;
  transform: rotate(38deg);
}

.line-d {
  top: 308px;
  left: 150px;
  transform: rotate(138deg);
}

.line-e {
  top: 255px;
  left: 145px;
  transform: rotate(194deg);
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float-node {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes node-pulse {
  0% {
    opacity: .65;
    transform: scale(.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes signal {
  from {
    transform: translateX(-42px);
  }

  to {
    transform: translateX(160px);
  }
}

.trust-strip {
  display: grid;
  margin-top: 58px;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.trust-item {
  padding: 22px;
  background: white;
}

.trust-item strong {
  display: block;
  color: var(--navy);
}

.loop-visual {
  position: relative;
  min-height: 430px;
  background:
    radial-gradient(circle at center, white, #eff7ff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.loop-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 900;
}

.loop-node {
  position: absolute;
  display: grid;
  width: 104px;
  min-height: 72px;
  padding: 12px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: .8rem;
  font-weight: 820;
}

.loop-node.one {
  top: 28px;
  left: calc(50% - 52px);
}

.loop-node.two {
  top: 145px;
  right: 20px;
}

.loop-node.three {
  right: 80px;
  bottom: 22px;
}

.loop-node.four {
  bottom: 22px;
  left: 80px;
}

.loop-node.five {
  top: 145px;
  left: 20px;
}

.loop-arrow {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 3px solid transparent;
  border-top-color: var(--teal);
  border-right-color: var(--teal);
  border-radius: 50%;
  animation: loop-glow 2.4s ease-in-out infinite;
}

.arrow-one {
  top: 72px;
  right: 106px;
  transform: rotate(33deg);
}

.arrow-two {
  right: 80px;
  bottom: 100px;
  transform: rotate(108deg);
}

.arrow-three {
  bottom: 46px;
  left: calc(50% - 38px);
  transform: rotate(180deg);
}

.arrow-four {
  bottom: 100px;
  left: 80px;
  transform: rotate(252deg);
}

.arrow-five {
  top: 72px;
  left: 106px;
  transform: rotate(324deg);
}

@keyframes loop-glow {
  0%,
  100% {
    opacity: .35;
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 7px rgba(31,138,138,.55));
  }
}

.method-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.method-flow::before {
  position: absolute;
  top: 48px;
  right: 7%;
  left: 7%;
  height: 3px;
  content: "";
  background:
    linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
}

.method-step {
  position: relative;
  z-index: 3;
  text-align: center;
}

.step-circle {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  place-items: center;
  color: white;
  background: var(--blue);
  border: 8px solid white;
  border-radius: 50%;
  box-shadow:
    0 9px 28px rgba(15,47,95,.18),
    0 0 0 2px rgba(23,74,139,.12);
  font-size: 1.35rem;
  font-weight: 900;
  transition:
    transform .25s ease,
    background .25s ease;
}

.method-step:hover .step-circle {
  background: var(--teal);
  transform: scale(1.08);
}

.domain-card {
  border-top: 5px solid var(--domain);
}

.domain-card .icon-box {
  color: var(--domain);
}

.domain-map {
  position: relative;
  min-height: 575px;
  overflow: hidden;
  background:
    radial-gradient(circle, #ffffff, #edf6ff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 145px;
  height: 145px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 900;
}

.map-node {
  position: absolute;
  display: grid;
  width: 120px;
  min-height: 72px;
  padding: 12px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 2px solid var(--node-color, var(--blue));
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: .78rem;
  font-weight: 850;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.map-node:hover,
.map-node.active {
  z-index: 20;
  color: white;
  background: var(--node-color, var(--blue));
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

.map-node.a {
  top: 22px;
  left: calc(50% - 60px);
}

.map-node.b {
  top: 93px;
  right: 55px;
}

.map-node.c {
  top: 240px;
  right: 18px;
}

.map-node.d {
  right: 77px;
  bottom: 55px;
}

.map-node.e {
  bottom: 20px;
  left: calc(50% - 60px);
}

.map-node.f {
  bottom: 55px;
  left: 77px;
}

.map-node.g {
  top: 240px;
  left: 18px;
}

.map-node.h {
  top: 93px;
  left: 55px;
}

.map-information {
  min-height: 140px;
  margin-top: 22px;
}

.reality-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #f8fbff, #eef7f6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.reality-column {
  position: absolute;
  top: 40px;
  bottom: 40px;
  width: 43%;
  padding: 25px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.current-column {
  left: 30px;
}

.target-column {
  right: 30px;
}

.state-title {
  margin-bottom: 22px;
  color: var(--navy);
  font-weight: 900;
}

.state-item {
  display: flex;
  margin-bottom: 14px;
  padding: 13px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.state-bar {
  width: 92px;
  height: 8px;
  overflow: hidden;
  background: #e5eaf0;
  border-radius: 999px;
}

.state-bar span {
  display: block;
  height: 100%;
  background: var(--bar-color, var(--blue));
  border-radius: 999px;
}

.transition-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: white;
  background: var(--gold);
  border: 8px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
  font-size: 2rem;
  animation: transition-pulse 2.2s ease-in-out infinite;
}

@keyframes transition-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.09);
  }
}

.programme-track {
  position: relative;
  margin: 45px 0;
}

.programme-track::before {
  position: absolute;
  top: 35px;
  right: 6%;
  left: 6%;
  height: 4px;
  content: "";
  background:
    linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
  border-radius: 999px;
}

.programme-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.programme-stage {
  position: relative;
  padding-top: 90px;
}

.programme-dot {
  position: absolute;
  top: 8px;
  left: calc(50% - 28px);
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: white;
  background: var(--blue);
  border: 7px solid white;
  border-radius: 50%;
  box-shadow: 0 7px 20px rgba(15,47,95,.2);
  font-weight: 900;
}

.progress-demo {
  display: grid;
  gap: 18px;
}

.progress-row {
  display: grid;
  grid-template-columns: 170px 1fr 55px;
  align-items: center;
  gap: 15px;
}

.progress-track {
  height: 11px;
  overflow: hidden;
  background: #e5eaf0;
  border-radius: 999px;
}

.progress-fill {
  height: 100%;
  width: var(--progress, 0%);
  background:
    linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
  transform-origin: left center;
  animation: grow-progress 1.7s ease both;
}

@keyframes grow-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.compare {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 16px;
}

.compare th,
.compare td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.compare th {
  color: white;
  background: var(--navy);
}

.compare td:nth-child(2) {
  background: #effaf8;
}

.quote {
  padding: 24px 28px;
  color: var(--navy);
  background: #fff9e6;
  border-left: 5px solid var(--gold);
  border-radius: 0 16px 16px 0;
  font-weight: 760;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--teal);
  transform: scale(1.025);
}

.price-card ul {
  padding-left: 20px;
  flex: 1;
}

.price {
  color: var(--navy);
  font-size: 3rem;
  font-weight: 900;
}

.book {
  display: flex;
  min-height: 275px;
  padding: 26px;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background: var(--book-bg);
  border-left: 9px solid rgba(255,255,255,.16);
  border-radius: 10px 24px 24px 10px;
  box-shadow: 12px 16px 33px rgba(15,47,95,.2);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.book:hover {
  transform: translateY(-7px) rotate(-.4deg);
  box-shadow: 16px 22px 42px rgba(15,47,95,.24);
}

.book h3 {
  color: white;
  font-size: 1.57rem;
}

.book small {
  color: rgba(255,255,255,.8);
}

.filter-bar {
  display: flex;
  margin: 25px 0 36px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  padding: 9px 14px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 780;
}

.filter.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.form-shell {
  max-width: 860px;
  margin-inline: auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31,138,138,.17);
  border-color: var(--teal);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.option {
  padding: 17px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 760;
  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.option:hover,
.option.selected {
  color: #116b6b;
  background: #effaf8;
  border-color: var(--teal);
  transform: translateY(-2px);
}

.assessment-step {
  display: none;
}

.assessment-step.active {
  display: block;
  animation: reveal .35s ease both;
}

.assessment-result {
  display: none;
}

.assessment-result.active {
  display: block;
  animation: reveal .45s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notice {
  padding: 16px 18px;
  background: #eef6ff;
  border: 1px solid #cfe3fa;
  border-radius: 14px;
}

.notice.warning {
  background: #fff8e5;
  border-color: #f3d782;
}

.notice.success {
  background: #ecfdf3;
  border-color: #abefc6;
}

.page-hero {
  padding: 58px 0 68px;
  background:
    radial-gradient(circle at 90% 10%, rgba(31,138,138,.12), transparent 30%),
    linear-gradient(180deg, #f4f9ff, white);
}

.breadcrumbs {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: .88rem;
}

.cta-band {
  display: flex;
  padding: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
  background:
    radial-gradient(circle at 88% 30%, rgba(31,138,138,.35), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 29px;
}

.cta-band h2 {
  margin-bottom: 8px;
  color: white;
}

.footer {
  padding: 72px 0 25px;
  color: #c9d8e9;
  background: #071f3b;
}

.footer h3,
.footer h4 {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px;
}

.footer a {
  display: block;
  margin: 9px 0;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  margin-top: 45px;
  padding-top: 21px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .84rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .menu-button {
    display: block;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-shell.open {
    padding-bottom: 17px;
    flex-wrap: wrap;
  }

  .nav-shell.open .nav-links {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .nav-shell.open .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .nav-shell.open .nav-links a::after {
    display: none;
  }

  .nav-shell.open .nav-actions {
    display: flex;
    width: 100%;
  }

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

  .method-flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 35px;
  }

  .method-flow::before {
    display: none;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 225px;
  }

  .visual-stage {
    min-height: 410px;
  }

  .human-core {
    width: 132px;
    height: 132px;
  }

  .human-core svg {
    width: 73px;
  }

  .orbit-one {
    width: 240px;
    height: 240px;
  }

  .orbit-two {
    width: 345px;
    height: 345px;
  }

  .domain-node {
    width: 68px;
    height: 68px;
    font-size: .63rem;
  }

  .node-health {
    top: 26px;
    left: calc(50% - 34px);
  }

  .node-career {
    top: 150px;
    right: 8px;
  }

  .node-money {
    right: 52px;
    bottom: 26px;
  }

  .node-purpose {
    bottom: 26px;
    left: 52px;
  }

  .node-relations {
    top: 150px;
    left: 8px;
  }

  .energy-line {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .method-flow {
    grid-template-columns: 1fr;
  }

  .loop-visual {
    min-height: 570px;
  }

  .loop-center {
    width: 108px;
    height: 108px;
  }

  .loop-node.one {
    top: 18px;
  }

  .loop-node.two {
    top: 140px;
    right: 10px;
  }

  .loop-node.three {
    right: 20px;
    bottom: 20px;
  }

  .loop-node.four {
    bottom: 20px;
    left: 20px;
  }

  .loop-node.five {
    top: 140px;
    left: 10px;
  }

  .loop-arrow {
    display: none;
  }

  .domain-map {
    min-height: auto;
    padding: 24px;
  }

  .map-center {
    position: static;
    width: auto;
    height: auto;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 16px;
    transform: none;
  }

  .map-node {
    position: static;
    width: 100%;
    min-height: auto;
    margin-bottom: 10px;
  }

  .reality-map {
    min-height: auto;
    padding: 20px;
  }

  .reality-column {
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }

  .transition-arrow {
    position: static;
    margin: 0 auto 20px;
    transform: none;
  }

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

  .programme-track::before {
    display: none;
  }

  .programme-stage {
    padding-top: 0;
  }

  .programme-dot {
    position: static;
    margin: 0 0 14px;
  }

  .progress-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .price-card.featured {
    transform: none;
  }

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

  .footer-bottom,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   HReality OS — Compact Visual Density Override
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TYPOGRAPHY — Reduce aggressive hero and page heading scale
   -------------------------------------------------------------------------- */

h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero h1 {
  max-width: 720px;
}

.page-hero h1 {
  max-width: 850px;
}

.lead {
  max-width: 720px;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.58;
}

.eyebrow {
  margin-bottom: 8px;
}

p {
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL VERTICAL SPACING — Reduce section gaps
   -------------------------------------------------------------------------- */

.section {
  padding: 46px 0;
}

.section-sm {
  padding: 30px 0;
}

.hero {
  padding: 48px 0 42px;
}

.page-hero {
  padding: 34px 0 38px;
}

.breadcrumbs {
  margin-bottom: 10px;
}

.actions {
  margin-top: 18px;
}

.trust-strip {
  margin-top: 28px;
}

.card {
  padding: 22px;
}

.grid {
  gap: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  row-gap: 18px;
}

.cta-band {
  padding: 32px;
}

.footer {
  padding: 46px 0 20px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   3. HERO AND MAJOR VISUALS — Reduce approximately 20%
   -------------------------------------------------------------------------- */

.hero-grid {
  gap: 36px;
}

.visual-stage {
  min-height: 430px;
  max-width: 520px;
  margin-inline: auto;
}

.human-core {
  width: 148px;
  height: 148px;
  border-width: 9px;
}

.human-core svg {
  width: 76px;
}

.orbit-one {
  width: 265px;
  height: 265px;
}

.orbit-two {
  width: 365px;
  height: 365px;
}

.domain-node {
  width: 70px;
  height: 70px;
  font-size: .65rem;
}

.node-health {
  top: 28px;
  left: calc(50% - 35px);
}

.node-career {
  top: 150px;
  right: 20px;
}

.node-money {
  right: 72px;
  bottom: 34px;
}

.node-purpose {
  bottom: 34px;
  left: 72px;
}

.node-relations {
  top: 150px;
  left: 20px;
}

.energy-line {
  width: 120px;
}

.line-a {
  top: 184px;
  left: 137px;
}

.line-b {
  top: 214px;
  left: 220px;
}

.line-c {
  top: 255px;
  left: 220px;
}

.line-d {
  top: 253px;
  left: 120px;
}

.line-e {
  top: 210px;
  left: 117px;
}

/* --------------------------------------------------------------------------
   4. FEEDBACK LOOP AND DOMAIN VISUALS
   -------------------------------------------------------------------------- */

.loop-visual {
  min-height: 345px;
  max-width: 520px;
  margin-inline: auto;
}

.loop-center {
  width: 104px;
  height: 104px;
  font-size: .85rem;
}

.loop-node {
  width: 88px;
  min-height: 60px;
  padding: 9px;
  font-size: .7rem;
}

.loop-node.one {
  top: 20px;
  left: calc(50% - 44px);
}

.loop-node.two {
  top: 115px;
  right: 15px;
}

.loop-node.three {
  right: 58px;
  bottom: 16px;
}

.loop-node.four {
  bottom: 16px;
  left: 58px;
}

.loop-node.five {
  top: 115px;
  left: 15px;
}

.loop-arrow {
  width: 58px;
  height: 58px;
}

.arrow-one {
  top: 56px;
  right: 84px;
}

.arrow-two {
  right: 64px;
  bottom: 78px;
}

.arrow-three {
  bottom: 34px;
  left: calc(50% - 29px);
}

.arrow-four {
  bottom: 78px;
  left: 64px;
}

.arrow-five {
  top: 56px;
  left: 84px;
}

.domain-map {
  min-height: 460px;
  max-width: 560px;
  margin-inline: auto;
}

.map-center {
  width: 116px;
  height: 116px;
  font-size: .9rem;
}

.map-node {
  width: 96px;
  min-height: 58px;
  padding: 9px;
  font-size: .68rem;
}

.map-node.a {
  top: 18px;
  left: calc(50% - 48px);
}

.map-node.b {
  top: 74px;
  right: 42px;
}

.map-node.c {
  top: 190px;
  right: 14px;
}

.map-node.d {
  right: 62px;
  bottom: 42px;
}

.map-node.e {
  bottom: 16px;
  left: calc(50% - 48px);
}

.map-node.f {
  bottom: 42px;
  left: 62px;
}

.map-node.g {
  top: 190px;
  left: 14px;
}

.map-node.h {
  top: 74px;
  left: 42px;
}

.map-information {
  min-height: 110px;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   5. REALITY MAP, PROGRAMME, PROGRESS AND METHOD VISUALS
   -------------------------------------------------------------------------- */

.reality-map {
  min-height: 415px;
  max-width: 570px;
  margin-inline: auto;
}

.reality-column {
  top: 28px;
  bottom: 28px;
  width: 42%;
  padding: 18px;
}

.current-column {
  left: 20px;
}

.target-column {
  right: 20px;
}

.state-title {
  margin-bottom: 15px;
}

.state-item {
  margin-bottom: 10px;
  padding: 10px 12px;
  font-size: .85rem;
}

.state-bar {
  width: 72px;
}

.transition-arrow {
  width: 58px;
  height: 58px;
  border-width: 6px;
  font-size: 1.5rem;
}

.method-flow {
  gap: 10px;
}

.method-flow::before {
  top: 39px;
}

.step-circle {
  width: 78px;
  height: 78px;
  margin-bottom: 12px;
  border-width: 6px;
  font-size: 1.1rem;
}

.programme-track {
  margin: 28px 0;
}

.programme-track::before {
  top: 28px;
}

.programme-stage {
  padding-top: 72px;
}

.programme-dot {
  top: 4px;
  width: 46px;
  height: 46px;
  left: calc(50% - 23px);
  border-width: 5px;
}

.progress-demo {
  gap: 13px;
}

.progress-row {
  grid-template-columns: 145px 1fr 48px;
  gap: 11px;
  font-size: .86rem;
}

/* --------------------------------------------------------------------------
   6. LIBRARY, PRICING AND FORM COMPACTION
   -------------------------------------------------------------------------- */

.book {
  min-height: 220px;
  padding: 20px;
}

.book h3 {
  font-size: 1.35rem;
}

.price {
  font-size: 2.5rem;
}

.filter-bar {
  margin: 16px 0 24px;
}

.form-shell {
  max-width: 800px;
}

.form-group {
  margin-bottom: 15px;
}

.option-grid {
  gap: 9px;
}

.option {
  padding: 14px;
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */

@media (max-width: 1050px) {
  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 42px 0 36px;
  }

  .visual-stage {
    min-height: 400px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2.15rem);
  }

  .section {
    padding: 32px 0;
  }

  .section-sm {
    padding: 24px 0;
  }

  .hero {
    padding: 34px 0 30px;
  }

  .page-hero {
    padding: 28px 0 30px;
  }

  .visual-stage {
    min-height: 330px;
    max-width: 100%;
  }

  .human-core {
    width: 108px;
    height: 108px;
  }

  .human-core svg {
    width: 60px;
  }

  .orbit-one {
    width: 195px;
    height: 195px;
  }

  .orbit-two {
    width: 278px;
    height: 278px;
  }

  .domain-node {
    width: 56px;
    height: 56px;
    font-size: .55rem;
  }

  .node-health {
    top: 20px;
    left: calc(50% - 28px);
  }

  .node-career {
    top: 118px;
    right: 6px;
  }

  .node-money {
    right: 40px;
    bottom: 20px;
  }

  .node-purpose {
    bottom: 20px;
    left: 40px;
  }

  .node-relations {
    top: 118px;
    left: 6px;
  }

  .loop-visual {
    min-height: 455px;
  }

  .domain-map,
  .reality-map {
    max-width: 100%;
  }

  .card {
    padding: 18px;
  }

  .cta-band {
    padding: 26px;
  }

  .footer {
    padding-top: 38px;
  }
}


/* ==========================================================================
   HReality OS — Hero Visual Width Correction
   ========================================================================== */

/*
   The visual contains mainly absolutely positioned children.
   Automatic horizontal margins previously caused the grid item to collapse
   toward its intrinsic width. An explicit responsive width prevents squeezing.
*/

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.visual-stage {
  width: min(100%, 520px);
  min-width: 420px;
  min-height: 430px;
  aspect-ratio: 1.18 / 1;
  margin-left: auto;
  margin-right: 0;
  justify-self: end;
  overflow: hidden;
}

/* Keep the central illustration correctly proportioned. */

.human-core {
  width: 148px;
  height: 148px;
  flex: 0 0 auto;
}

.orbit-one {
  width: 265px;
  height: 265px;
}

.orbit-two {
  width: 365px;
  height: 365px;
}

/* Re-establish balanced node positions inside the corrected visual width. */

.node-health {
  top: 27px;
  left: calc(50% - 35px);
}

.node-career {
  top: 157px;
  right: 24px;
}

.node-money {
  right: 78px;
  bottom: 31px;
}

.node-purpose {
  bottom: 31px;
  left: 78px;
}

.node-relations {
  top: 157px;
  left: 24px;
}

/* Prevent domain labels from overflowing or merging. */

.domain-node {
  width: 74px;
  height: 74px;
  padding: 7px;
  overflow: hidden;
  font-size: .63rem;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Correct energy-line positions for the restored visual proportions. */

.line-a {
  top: 179px;
  left: 140px;
}

.line-b {
  top: 214px;
  left: 224px;
}

.line-c {
  top: 257px;
  left: 224px;
}

.line-d {
  top: 255px;
  left: 121px;
}

.line-e {
  top: 211px;
  left: 119px;
}

/* Tablet layout */

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: 28px;
  }

  .visual-stage {
    width: min(100%, 460px);
    min-width: 360px;
    min-height: 390px;
    margin-inline: auto;
    justify-self: center;
  }
}

/* Mobile layout */

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .visual-stage {
    width: 100%;
    min-width: 0;
    max-width: 420px;
    min-height: 335px;
    aspect-ratio: 1.12 / 1;
    margin-inline: auto;
    justify-self: center;
  }

  .human-core {
    width: 108px;
    height: 108px;
  }

  .orbit-one {
    width: 195px;
    height: 195px;
  }

  .orbit-two {
    width: 278px;
    height: 278px;
  }

  .domain-node {
    width: 58px;
    height: 58px;
    padding: 5px;
    font-size: .52rem;
  }

  .node-health {
    top: 18px;
    left: calc(50% - 29px);
  }

  .node-career {
    top: 118px;
    right: 8px;
  }

  .node-money {
    right: 43px;
    bottom: 18px;
  }

  .node-purpose {
    bottom: 18px;
    left: 43px;
  }

  .node-relations {
    top: 118px;
    left: 8px;
  }
}


/* ==========================================================================
   HReality OS — Reduced Typography Scale
   ========================================================================== */

/* Global heading hierarchy */

h1 {
  font-size: clamp(1.85rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.45rem, 2.35vw, 2.15rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

h4 {
  font-size: .98rem;
}

/* Homepage hero */

.hero h1 {
  font-size: clamp(2rem, 3.45vw, 3.45rem);
  max-width: 650px;
}

.hero .lead {
  font-size: clamp(.96rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  max-width: 680px;
}

/* Internal page headers */

.page-hero h1 {
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  max-width: 760px;
}

.page-hero .lead {
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  line-height: 1.5;
  max-width: 700px;
}

/* Section introductions */

.section .lead,
.section-sm .lead {
  font-size: clamp(.95rem, 1.25vw, 1.07rem);
  line-height: 1.52;
}

/* Eyebrows and breadcrumbs */

.eyebrow {
  font-size: .7rem;
  letter-spacing: .12em;
  margin-bottom: 7px;
}

.breadcrumbs {
  font-size: .8rem;
}

/* Body text */

body {
  font-size: .96rem;
}

p,
li,
td,
th {
  line-height: 1.55;
}

/* Navigation */

.nav-links {
  font-size: .84rem;
  gap: 17px;
}

.nav-actions .btn {
  font-size: .88rem;
}

.brand {
  width: 245px;
}

/* Buttons */

.btn {
  min-height: 44px;
  padding: 10px 17px;
  font-size: .9rem;
}

/* Cards */

.card h3 {
  font-size: 1.06rem;
}

.card p,
.card li {
  font-size: .92rem;
}

/* Pricing */

.price {
  font-size: 2.2rem;
}

/* Books */

.book h3 {
  font-size: 1.18rem;
}

.book p {
  font-size: .88rem;
}

/* Footer */

.footer {
  font-size: .9rem;
}

.footer h4 {
  font-size: .95rem;
}

/* Tablet */

@media (max-width: 1050px) {
  .hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
  }

  .brand {
    width: 225px;
  }
}

/* Mobile */

@media (max-width: 760px) {
  body {
    font-size: .93rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  h3 {
    font-size: 1rem;
  }

  .hero .lead,
  .page-hero .lead,
  .section .lead {
    font-size: .94rem;
  }

  .brand {
    width: 205px;
  }

  .btn {
    min-height: 42px;
    padding: 9px 15px;
    font-size: .87rem;
  }
}


/* ==========================================================================
   HReality OS — Strict Minimum Vertical Section Spacing
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL SECTION BOUNDARIES
   -------------------------------------------------------------------------- */

.section {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

.section-sm {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.hero {
  padding-top: 30px !important;
  padding-bottom: 24px !important;
}

.page-hero {
  padding-top: 22px !important;
  padding-bottom: 24px !important;
}

/*
   Prevent consecutive sections from visually creating doubled spacing.
*/

.section + .section,
.section + .section-sm,
.section-sm + .section,
.section-sm + .section-sm {
  padding-top: 18px !important;
}

/* --------------------------------------------------------------------------
   2. TOP-ALIGN TEXT AND VISUAL COLUMNS
   -------------------------------------------------------------------------- */

/*
   Several page sections contain inline align-items:center declarations.
   With a tall visual, this pushes the shorter text block downward and creates
   a large empty region above it. Force all section grids to begin at the top.
*/

.section > .container.grid,
.section-sm > .container.grid,
.section .grid-2,
.section .grid-3,
.section .grid-4,
.section-sm .grid-2,
.section-sm .grid-3,
.section-sm .grid-4 {
  align-items: start !important;
}

/*
   Keep hero alignment centered because it is a dedicated introductory layout.
*/

.hero-grid {
  align-items: center !important;
}

/* --------------------------------------------------------------------------
   3. REMOVE EXCESSIVE INTERNAL MARGINS
   -------------------------------------------------------------------------- */

.section h1,
.section h2,
.section h3,
.section h4,
.section-sm h1,
.section-sm h2,
.section-sm h3,
.section-sm h4 {
  margin-top: 0 !important;
}

.section h2,
.section-sm h2 {
  margin-bottom: 9px !important;
}

.section h3,
.section-sm h3 {
  margin-bottom: 7px !important;
}

.section p,
.section-sm p {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.section ul,
.section ol,
.section-sm ul,
.section-sm ol {
  margin-top: 8px !important;
  margin-bottom: 10px !important;
}

.section .eyebrow,
.section-sm .eyebrow {
  margin-top: 0 !important;
  margin-bottom: 5px !important;
}

.section .lead,
.section-sm .lead {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* --------------------------------------------------------------------------
   4. COMPACT SECTION INTRODUCTIONS
   -------------------------------------------------------------------------- */

.section > .container.center,
.section-sm > .container.center {
  margin-bottom: 14px !important;
}

.section > .container.center + .container,
.section-sm > .container.center + .container {
  margin-top: 0 !important;
}

/*
   Override inline margins used by individual sections.
*/

.section [style*="margin-top:48px"],
.section [style*="margin-top: 48px"] {
  margin-top: 16px !important;
}

.section [style*="margin-top:45px"],
.section [style*="margin-top: 45px"] {
  margin-top: 15px !important;
}

.section [style*="margin-top:42px"],
.section [style*="margin-top: 42px"] {
  margin-top: 14px !important;
}

.section [style*="margin-top:38px"],
.section [style*="margin-top: 38px"] {
  margin-top: 13px !important;
}

.section [style*="margin-top:35px"],
.section [style*="margin-top: 35px"] {
  margin-top: 12px !important;
}

.section [style*="margin-top:34px"],
.section [style*="margin-top: 34px"] {
  margin-top: 12px !important;
}

.section [style*="margin-top:30px"],
.section [style*="margin-top: 30px"] {
  margin-top: 11px !important;
}

/* --------------------------------------------------------------------------
   5. GRID AND CARD COMPACTION
   -------------------------------------------------------------------------- */

.grid {
  gap: 14px !important;
}

.grid-2,
.grid-3,
.grid-4 {
  row-gap: 14px !important;
}

.card {
  padding: 18px !important;
}

.card > :last-child {
  margin-bottom: 0 !important;
}

.actions {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

.quote {
  margin-top: 12px !important;
  padding-top: 17px !important;
  padding-bottom: 17px !important;
}

/* --------------------------------------------------------------------------
   6. VISUAL COMPONENT MARGINS
   -------------------------------------------------------------------------- */

.method-flow {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

.programme-track {
  margin-top: 12px !important;
  margin-bottom: 4px !important;
}

.domain-map,
.reality-map,
.loop-visual,
.visual-stage,
.progress-demo {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.map-information {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.trust-strip {
  margin-top: 18px !important;
}

.filter-bar {
  margin-top: 8px !important;
  margin-bottom: 16px !important;
}

.form-group {
  margin-bottom: 12px !important;
}

/* --------------------------------------------------------------------------
   7. PAGE HEADER COMPACTION
   -------------------------------------------------------------------------- */

.breadcrumbs {
  margin-bottom: 6px !important;
}

.page-hero .eyebrow {
  margin-bottom: 5px !important;
}

.page-hero h1 {
  margin-bottom: 8px !important;
}

.page-hero .lead {
  margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   8. CTA AND FOOTER SPACING
   -------------------------------------------------------------------------- */

.cta-band {
  padding: 24px 28px !important;
}

.cta-band h2 {
  margin-bottom: 5px !important;
}

.cta-band p {
  margin-bottom: 0 !important;
}

.footer {
  padding-top: 34px !important;
  padding-bottom: 16px !important;
}

.footer-grid {
  gap: 28px !important;
}

.footer-bottom {
  margin-top: 20px !important;
  padding-top: 13px !important;
}

/* --------------------------------------------------------------------------
   9. MOBILE STRICT COMPACTION
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .section {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .section-sm {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }

  .hero {
    padding-top: 24px !important;
    padding-bottom: 20px !important;
  }

  .page-hero {
    padding-top: 18px !important;
    padding-bottom: 19px !important;
  }

  .grid {
    gap: 11px !important;
  }

  .card {
    padding: 16px !important;
  }

  .cta-band {
    padding: 20px !important;
  }

  .footer {
    padding-top: 28px !important;
  }
}


/* ==========================================================================
   HReality OS — Compact Human Reality Library Cards
   ========================================================================== */

.library-status {
  align-self: flex-start;
  color: white;
  background: rgba(255,255,255,.17);
}

/*
   More compact publication grid.
*/

.library-page-grid,
.library-page-grid.grid-4 {
  gap: 12px !important;
}

/*
   Apply compact dimensions to every Library book card.
*/

.book {
  min-height: 168px !important;
  padding: 15px 16px !important;
  border-left-width: 6px !important;
  border-radius: 8px 17px 17px 8px !important;
  box-shadow: 7px 9px 19px rgba(15,47,95,.16) !important;
}

.book:hover {
  transform: translateY(-3px) rotate(-.2deg) !important;
  box-shadow: 9px 12px 24px rgba(15,47,95,.2) !important;
}

.book small {
  display: block;
  margin-bottom: 7px !important;
  font-size: .62rem !important;
  line-height: 1.2 !important;
  letter-spacing: .07em;
}

.book h3 {
  margin-bottom: 7px !important;
  font-size: 1rem !important;
  line-height: 1.15 !important;
}

.book p {
  margin-bottom: 10px !important;
  font-size: .78rem !important;
  line-height: 1.4 !important;
}

.book .badge {
  padding: 4px 8px !important;
  font-size: .63rem !important;
}

/*
   Use five columns where the screen width permits.
*/

@media (min-width: 1180px) {
  .library-publication-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 850px) and (max-width: 1179px) {
  .library-publication-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 600px) and (max-width: 849px) {
  .library-publication-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 599px) {
  .library-publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .book {
    min-height: 155px !important;
    padding: 13px !important;
  }

  .book h3 {
    font-size: .92rem !important;
  }

  .book p {
    font-size: .74rem !important;
  }
}

@media (max-width: 390px) {
  .library-publication-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   HReality OS — Library Use-Case Page System
   ========================================================================== */

.library-summary-link {
  display: inline-flex;
  margin-top: 8px;
  align-items: center;
  color: white;
  font-size: .72rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.library-summary-link:hover {
  opacity: .82;
}

.usecase-hero {
  padding: 26px 0 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(31,138,138,.14), transparent 30%),
    linear-gradient(180deg, #f4f9ff, #ffffff);
}

.usecase-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 28px;
}

.usecase-hero h1 {
  max-width: 760px;
  margin-bottom: 9px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.usecase-hero .lead {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.usecase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.usecase-meta span {
  padding: 5px 9px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
}

.usecase-section {
  padding: 20px 0;
}

.usecase-soft {
  background: var(--soft);
}

.usecase-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 22px;
}

.usecase-section h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.usecase-section p {
  margin-bottom: 9px;
}

.usecase-callout {
  padding: 17px;
  color: var(--navy);
  background: #fff9e8;
  border-left: 5px solid var(--gold);
  border-radius: 0 14px 14px 0;
}

.usecase-callout p {
  margin-bottom: 0;
}

.usecase-table-wrap {
  overflow-x: auto;
}

.usecase-table td,
.usecase-table th {
  padding: 12px 14px;
  font-size: .86rem;
}

.usecase-decomposition {
  padding: 16px;
  background:
    linear-gradient(145deg, #f8fbff, #eef7f6);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.usecase-core {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 13px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
}

.usecase-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.usecase-domain-node {
  padding: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.usecase-domain-node strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: .8rem;
}

.usecase-domain-node span {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
}

.usecase-loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 7px;
}

.usecase-loop-node {
  position: relative;
  min-height: 92px;
  padding: 12px 8px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  text-align: center;
}

.usecase-loop-node:not(:nth-last-child(2))::after {
  position: absolute;
  top: 38%;
  right: -10px;
  z-index: 4;
  content: "→";
  color: var(--teal);
  font-weight: 900;
}

.usecase-loop-node span {
  display: grid;
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: .67rem;
}

.usecase-loop-node strong {
  font-size: .72rem;
}

.usecase-loop-caption {
  grid-column: 1 / -1;
  padding-top: 4px;
  color: var(--muted);
  font-size: .7rem;
  text-align: center;
}

.usecase-list {
  margin: 0;
  padding-left: 20px;
}

.usecase-list li {
  margin-bottom: 7px;
}

.usecase-hypothesis-graphic {
  position: relative;
  min-height: 280px;
  background:
    radial-gradient(circle, white, #eef6ff);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.hypothesis-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
}

.hypothesis-option {
  position: absolute;
  width: 110px;
  padding: 10px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 12px;
  text-align: center;
  font-size: .7rem;
  font-weight: 800;
}

.h-one {
  top: 20px;
  left: calc(50% - 55px);
}

.h-two {
  top: calc(50% - 20px);
  right: 18px;
}

.h-three {
  bottom: 20px;
  left: calc(50% - 55px);
}

.h-four {
  top: calc(50% - 20px);
  left: 18px;
}

.evidence-cloud {
  display: flex;
  margin-bottom: 9px;
  flex-wrap: wrap;
  gap: 8px;
}

.evidence-chip {
  padding: 7px 10px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 800;
}

.usecase-reality-map {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  gap: 9px;
}

.usecase-map-column {
  min-height: 220px;
  padding: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.usecase-map-column h3 {
  margin-bottom: 10px;
}

.usecase-map-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.map-chip {
  margin-bottom: 7px;
  padding: 9px;
  border-radius: 10px;
  font-size: .71rem;
  font-weight: 760;
}

.map-chip-blue {
  color: #174A8B;
  background: #eaf2ff;
}

.map-chip-red {
  color: #8a1c14;
  background: #fff0ee;
}

.map-chip-gold {
  color: #745800;
  background: #fff6d6;
}

.map-chip-teal {
  color: #116b6b;
  background: #e7f8f6;
}

.map-chip-green {
  color: #087443;
  background: #ecfdf3;
}

.intervention-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.intervention-item {
  min-height: 90px;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
}

.intervention-item span {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 7px;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-size: .66rem;
  font-weight: 900;
}

.intervention-item strong {
  color: var(--navy);
  font-size: .73rem;
}

.progress-question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.progress-question-grid div {
  padding: 9px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .73rem;
  font-weight: 760;
}

.usecase-progress-graphic {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
}

.progress-stage {
  display: grid;
  min-height: 90px;
  padding: 10px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.progress-stage span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: .67rem;
}

.progress-stage strong {
  font-size: .69rem;
}

.progress-arrow {
  color: var(--teal);
  font-weight: 900;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.chapter-item {
  display: flex;
  min-height: 58px;
  padding: 10px;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.chapter-item span {
  color: var(--teal);
  font-size: .72rem;
  font-weight: 900;
}

.chapter-item strong {
  color: var(--navy);
  font-size: .76rem;
}

.usecase-cta-section {
  padding: 22px 0;
  color: white;
  background:
    radial-gradient(circle at 90% 20%, rgba(31,138,138,.35), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--blue));
}

.usecase-cta {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 24px;
}

.usecase-cta h2 {
  margin-bottom: 7px;
  color: white;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.usecase-cta p {
  margin-bottom: 0;
  color: #d7e6f7;
}

.usecase-cta-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.usecase-hero-wireframe {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle, white, #edf6ff);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.wireframe-person {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
}

.wireframe-node {
  position: absolute;
  display: grid;
  width: 82px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 800;
}

.wireframe-one {
  top: 18px;
  left: calc(50% - 41px);
}

.wireframe-two {
  top: 105px;
  right: 18px;
}

.wireframe-three {
  right: 65px;
  bottom: 20px;
}

.wireframe-four {
  bottom: 20px;
  left: 65px;
}

.wireframe-five {
  top: 105px;
  left: 18px;
}

.wireframe-line {
  position: absolute;
  width: 90px;
  height: 2px;
  background: rgba(31,138,138,.35);
  transform-origin: left center;
}

.line-one {
  top: 111px;
  left: 47%;
  transform: rotate(-75deg);
}

.line-two {
  top: 146px;
  left: 57%;
  transform: rotate(-18deg);
}

.line-three {
  top: 183px;
  left: 56%;
  transform: rotate(40deg);
}

.line-four {
  top: 183px;
  left: 35%;
  transform: rotate(140deg);
}

.line-five {
  top: 146px;
  left: 34%;
  transform: rotate(198deg);
}

@media (max-width: 980px) {
  .usecase-hero-grid,
  .usecase-two-column,
  .usecase-cta {
    grid-template-columns: 1fr;
  }

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

  .usecase-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .usecase-section {
    padding: 16px 0;
  }

  .usecase-hero {
    padding: 19px 0;
  }

  .usecase-domain-grid,
  .progress-question-grid,
  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .usecase-loop {
    grid-template-columns: 1fr;
  }

  .usecase-loop-node {
    min-height: auto;
  }

  .usecase-loop-node::after {
    display: none;
  }

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

  .usecase-reality-map {
    grid-template-columns: 1fr;
  }

  .usecase-map-arrow {
    margin: auto;
    transform: rotate(90deg);
  }

  .usecase-progress-graphic {
    grid-template-columns: 1fr;
  }

  .progress-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .usecase-hero-wireframe {
    min-height: 260px;
  }
}


/* ==========================================================================
   HReality OS — Human Reality Atlas
   ========================================================================== */

.atlas-hero {
  padding: 24px 0 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(31,138,138,.15), transparent 31%),
    linear-gradient(180deg, #f4f9ff, white);
}

.atlas-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 28px;
}

.atlas-hero h1 {
  max-width: 730px;
  margin-bottom: 8px;
  font-size: clamp(1.85rem, 3vw, 2.9rem);
}

.atlas-hero .lead {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: .98rem;
}

.atlas-hero-actions {
  display: flex;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.atlas-stat-row {
  display: flex;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 20px;
}

.atlas-stat-row div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.atlas-stat-row strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.atlas-stat-row span {
  color: var(--muted);
  font-size: .72rem;
}

.atlas-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle, white, #edf6ff);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.atlas-map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border: 8px solid rgba(255,255,255,.85);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
  font-size: .75rem;
  font-weight: 900;
}

.atlas-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(23,74,139,.23);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: atlas-orbit-spin 36s linear infinite;
}

.orbit-inner {
  width: 205px;
  height: 205px;
}

.orbit-outer {
  width: 288px;
  height: 288px;
  animation-direction: reverse;
  animation-duration: 48s;
}

@keyframes atlas-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.atlas-map-node {
  position: absolute;
  z-index: 12;
  display: grid;
  width: 68px;
  height: 45px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(15,47,95,.11);
  font-size: .63rem;
  font-weight: 850;
  transition:
    transform .2s ease,
    color .2s ease,
    background .2s ease;
}

.atlas-map-node:hover {
  color: white;
  background: var(--teal);
  transform: scale(1.07);
}

.atlas-map-node.node-self {
  top: 18px;
  left: calc(50% - 34px);
}

.atlas-map-node.node-success {
  top: 60px;
  right: 38px;
}

.atlas-map-node.node-relations {
  top: 143px;
  right: 13px;
}

.atlas-map-node.node-health {
  right: 62px;
  bottom: 28px;
}

.atlas-map-node.node-work {
  bottom: 12px;
  left: calc(50% - 34px);
}

.atlas-map-node.node-digital {
  bottom: 28px;
  left: 62px;
}

.atlas-map-node.node-learning {
  top: 143px;
  left: 13px;
}

.atlas-map-node.node-transition {
  top: 60px;
  left: 38px;
}

.atlas-path-section,
.atlas-explorer-section,
.atlas-connection-section,
.atlas-publication-section {
  padding: 20px 0;
}

.atlas-path-section,
.atlas-publication-section {
  background: var(--soft);
}

.atlas-compact-heading {
  display: flex;
  margin-bottom: 11px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.atlas-compact-heading h2,
.atlas-explorer-header h2,
.atlas-connection-section h2,
.atlas-publication-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.atlas-compact-heading p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .84rem;
}

.atlas-path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.atlas-path-grid button {
  display: flex;
  min-height: 57px;
  padding: 10px 12px;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  font-size: .75rem;
  font-weight: 800;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.atlas-path-grid button:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.atlas-path-grid span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 9px;
}

.atlas-explorer-header {
  display: flex;
  margin-bottom: 10px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.atlas-search-status {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
}

.atlas-search-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  margin-bottom: 10px;
  padding: 4px 5px 4px 13px;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.atlas-search-shell span {
  color: var(--teal);
  font-size: 1.3rem;
}

.atlas-search-shell input {
  padding: 9px 4px;
  border: 0;
  outline: 0;
}

.atlas-search-shell input:focus {
  border: 0;
  outline: 0;
}

.atlas-search-shell button {
  padding: 8px 11px;
  color: var(--navy);
  background: var(--soft);
  border: 0;
  border-radius: 9px;
  font-size: .7rem;
  font-weight: 800;
}

.atlas-control-row,
.atlas-family-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.atlas-filter {
  padding: 6px 10px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
}

.atlas-filter.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.atlas-family-filter-panel {
  margin: 9px 0 13px;
  padding: 9px 11px;
  background: var(--soft);
  border-radius: 11px;
}

.atlas-family-filter-panel summary {
  cursor: pointer;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 850;
}

.atlas-family-filter-grid {
  margin-top: 9px;
}

.atlas-no-results {
  display: none;
  padding: 28px;
  text-align: center;
  background: var(--soft);
  border-radius: 16px;
}

.atlas-no-results.visible {
  display: block;
}

.atlas-family {
  margin-bottom: 17px;
}

.atlas-family:last-child {
  margin-bottom: 0;
}

.atlas-family.hidden {
  display: none;
}

.atlas-family-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  margin-bottom: 8px;
  padding-bottom: 8px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.atlas-family-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 10px;
  font-weight: 900;
}

.atlas-family-header h2 {
  margin-bottom: 2px;
  font-size: 1.08rem;
}

.atlas-family-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .72rem;
}

.atlas-family-count {
  color: var(--teal);
  font-size: .67rem;
  font-weight: 850;
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.atlas-card {
  display: flex;
  min-height: 186px;
  padding: 13px;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-top: 4px solid var(--atlas-accent);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(15,47,95,.055);
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.atlas-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.atlas-card.hidden {
  display: none;
}

.atlas-card-featured {
  background:
    linear-gradient(
      145deg,
      rgba(244,180,0,.08),
      white 55%
    );
  border-color: rgba(214,166,0,.45);
  border-top-color: var(--gold);
}

.atlas-card-top {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.atlas-card-family {
  color: var(--atlas-accent);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.atlas-status {
  padding: 3px 6px;
  border-radius: 999px;
  font-size: .57rem;
  font-weight: 800;
}

.atlas-status.available {
  color: #087443;
  background: #ecfdf3;
}

.atlas-status.planned {
  color: #745800;
  background: #fff4cc;
}

.atlas-card h3 {
  margin-bottom: 6px;
  font-size: .94rem;
  line-height: 1.17;
}

.atlas-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.38;
}

.atlas-domain-tags {
  display: flex;
  margin-top: auto;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 4px;
}

.atlas-domain-tags span {
  padding: 3px 6px;
  color: var(--navy);
  background: var(--soft);
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 750;
}

.atlas-card-action {
  color: var(--teal);
  font-size: .66rem;
  font-weight: 850;
}

.atlas-card-planned {
  color: var(--muted);
}

.atlas-connection-grid,
.atlas-publication-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 25px;
}

.atlas-connection-visual {
  position: relative;
  min-height: 250px;
  background:
    radial-gradient(circle, white, #eef6ff);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.connection-main {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: .72rem;
  font-weight: 900;
}

.connection-item {
  position: absolute;
  display: grid;
  width: 82px;
  min-height: 39px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 10px;
  font-size: .62rem;
  font-weight: 800;
}

.c-one {
  top: 15px;
  left: calc(50% - 41px);
}

.c-two {
  top: 62px;
  right: 26px;
}

.c-three {
  right: 43px;
  bottom: 22px;
}

.c-four {
  bottom: 15px;
  left: calc(50% - 41px);
}

.c-five {
  bottom: 22px;
  left: 43px;
}

.c-six {
  top: 62px;
  left: 26px;
}

.atlas-publication-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.atlas-publication-metrics div {
  padding: 13px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.atlas-publication-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
}

.atlas-publication-metrics span {
  color: var(--muted);
  font-size: .68rem;
}

.atlas-cta-section {
  padding: 21px 0;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(31,138,138,.36), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--blue));
}

.atlas-cta {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 20px;
}

.atlas-cta h2 {
  margin-bottom: 6px;
  color: white;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.atlas-cta p {
  margin-bottom: 0;
  color: #d7e6f7;
  font-size: .85rem;
}

.atlas-cta-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1050px) {
  .atlas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .atlas-path-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .atlas-hero-grid,
  .atlas-connection-grid,
  .atlas-publication-grid,
  .atlas-cta {
    grid-template-columns: 1fr;
  }

  .atlas-visual {
    min-height: 310px;
  }

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

  .atlas-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .atlas-hero,
  .atlas-path-section,
  .atlas-explorer-section,
  .atlas-connection-section,
  .atlas-publication-section {
    padding: 16px 0;
  }

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

  .atlas-path-grid {
    grid-template-columns: 1fr;
  }

  .atlas-compact-heading,
  .atlas-explorer-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .atlas-family-header {
    grid-template-columns: auto 1fr;
  }

  .atlas-family-count {
    grid-column: 2;
  }

  .atlas-card {
    min-height: 165px;
  }

  .atlas-visual {
    min-height: 285px;
  }

  .atlas-map-node {
    width: 60px;
    font-size: .57rem;
  }
}


/* ==========================================================================
   HReality OS — Universal Reality Page Template
   ========================================================================== */

.reality-page-hero {
  padding: 22px 0 19px;
  background:
    radial-gradient(circle at 88% 18%, rgba(31,138,138,.14), transparent 31%),
    linear-gradient(180deg, #f4f9ff, white);
}

.reality-page-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 24px;
}

.reality-page-hero h1 {
  max-width: 760px;
  margin-bottom: 7px;
  font-size: clamp(1.75rem, 2.8vw, 2.7rem);
}

.reality-page-hero .lead {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: .94rem;
}

.reality-page-meta {
  display: flex;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.reality-page-meta span {
  padding: 4px 8px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
}

.reality-page-hero-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle, white, #edf6ff);
  border: 1px solid var(--border);
  border-radius: 21px;
}

.reality-page-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 108px;
  height: 108px;
  padding: 10px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border: 8px solid rgba(255,255,255,.85);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: .66rem;
  font-weight: 900;
}

.reality-page-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(23,74,139,.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.rp-inner {
  width: 185px;
  height: 185px;
}

.rp-outer {
  width: 250px;
  height: 250px;
}

.reality-page-node {
  position: absolute;
  z-index: 6;
  display: grid;
  width: 67px;
  min-height: 39px;
  padding: 5px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 10px;
  font-size: .58rem;
  font-weight: 800;
}

.rp-one {
  top: 12px;
  left: calc(50% - 34px);
}

.rp-two {
  top: 84px;
  right: 13px;
}

.rp-three {
  right: 55px;
  bottom: 13px;
}

.rp-four {
  bottom: 13px;
  left: 55px;
}

.rp-five {
  top: 84px;
  left: 13px;
}

.reality-page-section {
  padding: 18px 0;
}

.reality-page-soft {
  background: var(--soft);
}

.reality-page-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
}

.reality-page-section h2 {
  margin-bottom: 7px;
  font-size: clamp(1.28rem, 1.9vw, 1.75rem);
}

.reality-page-section p {
  margin-bottom: 8px;
  font-size: .86rem;
}

.reality-principle-box {
  padding: 15px;
  color: var(--navy);
  background: #fff9e8;
  border-left: 5px solid var(--gold);
  border-radius: 0 13px 13px 0;
}

.reality-principle-box strong {
  display: block;
  margin-bottom: 3px;
}

.reality-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.reality-domain-card {
  min-height: 118px;
  padding: 11px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.reality-domain-card > span,
.reality-change-card > span {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: .58rem;
  font-weight: 900;
}

.reality-domain-card strong,
.reality-change-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: .74rem;
}

.reality-domain-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.4;
}

.reality-loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.reality-loop-step {
  position: relative;
  min-height: 92px;
  padding: 10px 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  text-align: center;
}

.reality-loop-step:not(:last-child)::after {
  position: absolute;
  top: 35%;
  right: -9px;
  z-index: 4;
  content: "→";
  color: var(--teal);
  font-weight: 900;
}

.reality-loop-step span {
  display: grid;
  width: 23px;
  height: 23px;
  margin: 0 auto 7px;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-size: .58rem;
}

.reality-loop-step strong {
  font-size: .64rem;
}

.reality-question-list {
  margin: 0;
  padding-left: 19px;
}

.reality-question-list li {
  margin-bottom: 5px;
  font-size: .8rem;
}

.reality-hypothesis-map {
  position: relative;
  min-height: 265px;
  background:
    radial-gradient(circle, white, #edf6ff);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.rh-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: .65rem;
  font-weight: 900;
}

.rh-item {
  position: absolute;
  display: grid;
  width: 83px;
  min-height: 37px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 9px;
  font-size: .58rem;
  font-weight: 800;
}

.rh-a {
  top: 12px;
  left: calc(50% - 42px);
}

.rh-b {
  top: 58px;
  right: 20px;
}

.rh-c {
  right: 38px;
  bottom: 18px;
}

.rh-d {
  bottom: 12px;
  left: calc(50% - 42px);
}

.rh-e {
  bottom: 18px;
  left: 38px;
}

.rh-f {
  top: 58px;
  left: 20px;
}

.reality-evidence-cloud,
.reality-related-tags {
  display: flex;
  margin-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
}

.reality-evidence-chip,
.reality-related-tags span {
  padding: 6px 9px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
}

.reality-map-wireframe {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.rmw-column {
  min-height: 190px;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.rmw-column h3 {
  margin-bottom: 8px;
  font-size: .84rem;
}

.rmw-item {
  margin-bottom: 6px;
  padding: 8px;
  color: var(--navy);
  background: var(--soft);
  border-radius: 8px;
  font-size: .65rem;
  font-weight: 700;
}

.rmw-arrow {
  color: var(--teal);
  font-weight: 900;
}

.reality-change-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.reality-change-card {
  min-height: 88px;
  padding: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.reality-feedback-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
}

.reality-feedback-flow div {
  display: grid;
  min-height: 62px;
  padding: 8px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .66rem;
  font-weight: 800;
}

.reality-feedback-flow span {
  color: var(--teal);
  font-weight: 900;
}

.reality-page-cta {
  padding: 19px 0;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(31,138,138,.35), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--blue));
}

.reality-page-cta-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 20px;
}

.reality-page-cta h2 {
  margin-bottom: 6px;
  color: white;
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
}

.reality-page-cta p {
  margin-bottom: 0;
  color: #d7e6f7;
  font-size: .82rem;
}

.reality-page-cta-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

@media (max-width: 900px) {
  .reality-page-hero-grid,
  .reality-page-two-column,
  .reality-page-cta-inner {
    grid-template-columns: 1fr;
  }

  .reality-domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reality-change-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reality-page-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .reality-page-hero,
  .reality-page-section {
    padding: 15px 0;
  }

  .reality-domain-grid,
  .reality-change-grid {
    grid-template-columns: 1fr;
  }

  .reality-loop {
    grid-template-columns: 1fr;
  }

  .reality-loop-step {
    min-height: auto;
  }

  .reality-loop-step::after {
    display: none;
  }

  .reality-map-wireframe,
  .reality-feedback-flow {
    grid-template-columns: 1fr;
  }

  .rmw-arrow,
  .reality-feedback-flow > span {
    text-align: center;
    transform: rotate(90deg);
  }

  .reality-page-hero-visual {
    min-height: 255px;
  }
}


/* ==========================================================================
   HReality OS — Clickable Atlas Cards and Family Color System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FULL-CARD INTERACTION
   -------------------------------------------------------------------------- */

.atlas-card[data-card-href] {
  position: relative;
  cursor: pointer;
  isolation: isolate;
}

.atlas-card[data-card-href]::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  border-radius: inherit;
  pointer-events: none;
}

.atlas-card[data-card-href] > * {
  position: relative;
  z-index: 2;
}

.atlas-card[data-card-href]:hover {
  transform: translateY(-5px);
  border-color: var(--atlas-accent);
  box-shadow:
    0 16px 34px rgba(15,47,95,.15),
    0 0 0 1px color-mix(
      in srgb,
      var(--atlas-accent) 30%,
      transparent
    );
}

.atlas-card[data-card-href]:focus-visible {
  outline: 3px solid color-mix(
    in srgb,
    var(--atlas-accent) 48%,
    transparent
  );
  outline-offset: 3px;
  transform: translateY(-3px);
}

.atlas-card-action {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 4px;
  color: var(--atlas-accent);
  font-weight: 900;
  text-decoration: none;
}

.atlas-card-action::after {
  content: "›";
  font-size: 1rem;
  line-height: 1;
  transition: transform .18s ease;
}

.atlas-card:hover .atlas-card-action::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   2. GENERAL CARD COLOR TREATMENT
   -------------------------------------------------------------------------- */

.atlas-card {
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      color-mix(
        in srgb,
        var(--atlas-accent) 11%,
        white
      ),
      white 58%
    );
}

.atlas-card::before {
  position: absolute;
  top: -30px;
  right: -30px;
  z-index: 0;
  width: 92px;
  height: 92px;
  content: "";
  border-radius: 50%;
  background: color-mix(
    in srgb,
    var(--atlas-accent) 11%,
    transparent
  );
  transition:
    transform .22s ease,
    opacity .22s ease;
}

.atlas-card:hover::before {
  opacity: .9;
  transform: scale(1.18);
}

.atlas-card h3 {
  color: color-mix(
    in srgb,
    var(--atlas-accent) 55%,
    var(--navy)
  );
}

.atlas-card-family {
  padding: 3px 6px;
  color: white;
  background: var(--atlas-accent);
  border-radius: 999px;
  letter-spacing: .025em;
}

.atlas-domain-tags span {
  color: color-mix(
    in srgb,
    var(--atlas-accent) 48%,
    var(--navy)
  );
  background: color-mix(
    in srgb,
    var(--atlas-accent) 10%,
    white
  );
  border: 1px solid color-mix(
    in srgb,
    var(--atlas-accent) 18%,
    transparent
  );
}

/* --------------------------------------------------------------------------
   3. FAMILY-SPECIFIC COLOR IDENTITIES
   -------------------------------------------------------------------------- */

.atlas-card[data-family-color="foundations"] {
  --atlas-family-background: #eef5ff;
}

.atlas-card[data-family-color="understand-yourself"] {
  --atlas-family-background: #f5efff;
}

.atlas-card[data-family-color="success-and-fulfilment"] {
  --atlas-family-background: #fff8df;
}

.atlas-card[data-family-color="relationships"] {
  --atlas-family-background: #fff0f6;
}

.atlas-card[data-family-color="health-and-lifestyle"] {
  --atlas-family-background: #ebfaf4;
}

.atlas-card[data-family-color="work-and-money"] {
  --atlas-family-background: #edf4ff;
}

.atlas-card[data-family-color="digital-life"] {
  --atlas-family-background: #eefbff;
}

.atlas-card[data-family-color="learning-and-capability"] {
  --atlas-family-background: #f1f5ff;
}

.atlas-card[data-family-color="life-transitions"] {
  --atlas-family-background: #f3f4f6;
}

.atlas-card[data-family-color] {
  background:
    linear-gradient(
      150deg,
      var(--atlas-family-background),
      white 67%
    );
}

/* --------------------------------------------------------------------------
   4. FAMILY HEADER COLOR VARIATION
   -------------------------------------------------------------------------- */

.atlas-family:nth-of-type(9n + 1) .atlas-family-icon {
  background: linear-gradient(145deg, #0F2F5F, #174A8B);
}

.atlas-family:nth-of-type(9n + 2) .atlas-family-icon {
  background: linear-gradient(145deg, #4C1D95, #7C3AED);
}

.atlas-family:nth-of-type(9n + 3) .atlas-family-icon {
  background: linear-gradient(145deg, #946200, #F4B400);
}

.atlas-family:nth-of-type(9n + 4) .atlas-family-icon {
  background: linear-gradient(145deg, #9D174D, #E91E63);
}

.atlas-family:nth-of-type(9n + 5) .atlas-family-icon {
  background: linear-gradient(145deg, #087443, #2DB55D);
}

.atlas-family:nth-of-type(9n + 6) .atlas-family-icon {
  background: linear-gradient(145deg, #1E3A8A, #2563EB);
}

.atlas-family:nth-of-type(9n + 7) .atlas-family-icon {
  background: linear-gradient(145deg, #0E7490, #06B6D4);
}

.atlas-family:nth-of-type(9n + 8) .atlas-family-icon {
  background: linear-gradient(145deg, #4338CA, #6366F1);
}

.atlas-family:nth-of-type(9n) .atlas-family-icon {
  background: linear-gradient(145deg, #475569, #64748B);
}

/* --------------------------------------------------------------------------
   5. AVAILABLE / DEVELOPING CONTENT DISTINCTION
   -------------------------------------------------------------------------- */

.atlas-card[data-status="available"] {
  border-bottom: 3px solid color-mix(
    in srgb,
    var(--atlas-accent) 65%,
    white
  );
}

.atlas-card[data-status="planned"] {
  border-bottom: 3px solid #E5B94D;
}

.atlas-card[data-status="planned"] .atlas-status {
  color: #6A5000;
  background: #FFF1B8;
}

.atlas-card[data-status="available"] .atlas-status {
  color: #05603A;
  background: #DDF8E9;
}

/* --------------------------------------------------------------------------
   6. FEATURED SUCCESS CARD
   -------------------------------------------------------------------------- */

.atlas-card-featured {
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(244,180,0,.21),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #fff3c5,
      white 64%
    );
  border: 1px solid rgba(214,166,0,.58);
  border-top: 5px solid var(--gold);
}

.atlas-card-featured::before {
  width: 125px;
  height: 125px;
  background: rgba(244,180,0,.12);
}

.atlas-card-featured h3 {
  color: #735600;
}

/* --------------------------------------------------------------------------
   7. MOBILE INTERACTION
   -------------------------------------------------------------------------- */

@media (max-width: 560px) {
  .atlas-card[data-card-href]:hover {
    transform: none;
  }

  .atlas-card-action {
    padding-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-card,
  .atlas-card::before,
  .atlas-card-action::after {
    transition: none !important;
  }
}


/* ==========================================================================
   HReality OS — Vivid Color and Reinforced Frame System
   ========================================================================== */

:root {
  --navy: #082B59;
  --blue: #0E58A8;
  --blue-strong: #064A96;
  --teal: #008C8C;
  --teal-strong: #007979;
  --gold: #F2B705;
  --gold-strong: #D89C00;

  --soft: #EEF4FA;
  --soft-blue: #E8F2FC;
  --soft-teal: #E6F7F5;
  --soft-gold: #FFF5D6;

  --text: #202A36;
  --muted: #536273;
  --border: #AEBFD1;
  --border-strong: #7189A3;
  --white: #FFFFFF;

  --shadow-sm:
    0 7px 18px rgba(8,43,89,.12);

  --shadow-md:
    0 12px 28px rgba(8,43,89,.16);

  --shadow-lg:
    0 22px 54px rgba(8,43,89,.22);
}

/* --------------------------------------------------------------------------
   1. GLOBAL PAGE CONTRAST
   -------------------------------------------------------------------------- */

body {
  color: var(--text) !important;
  background: #ffffff !important;
}

.soft,
.usecase-soft,
.reality-page-soft,
.atlas-path-section,
.atlas-publication-section {
  background:
    linear-gradient(
      180deg,
      #F3F7FB,
      #EAF1F8
    ) !important;
  border-top: 1px solid #C6D4E2;
  border-bottom: 1px solid #C6D4E2;
}

.dark {
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(0,140,140,.34),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #041D3A,
      #082B59
    ) !important;
}

/*
   Give every normal content section a more deliberate boundary.
*/

.section,
.section-sm,
.usecase-section,
.reality-page-section,
.atlas-explorer-section,
.atlas-connection-section {
  position: relative;
}

.section:not(.soft):not(.dark),
.section-sm:not(.soft):not(.dark),
.usecase-section:not(.usecase-soft),
.reality-page-section:not(.reality-page-soft),
.atlas-explorer-section,
.atlas-connection-section {
  background: #ffffff;
}

/* --------------------------------------------------------------------------
   2. HEADERS AND NAVIGATION
   -------------------------------------------------------------------------- */

.topbar {
  color: #F4F8FD !important;
  background:
    linear-gradient(
      90deg,
      #041D3A,
      #082B59,
      #064A96
    ) !important;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.site-header {
  background: rgba(255,255,255,.985) !important;
  border-bottom: 2px solid #B7C9DB !important;
  box-shadow:
    0 5px 16px rgba(8,43,89,.08);
}

.nav-links a {
  color: #17385E;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-strong) !important;
}

.nav-links a::after {
  height: 3px !important;
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--teal)
    ) !important;
}

/* --------------------------------------------------------------------------
   3. PAGE HEROES
   -------------------------------------------------------------------------- */

.hero,
.page-hero,
.usecase-hero,
.reality-page-hero,
.atlas-hero {
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(0,140,140,.18),
      transparent 31%
    ),
    radial-gradient(
      circle at 72% 80%,
      rgba(14,88,168,.10),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #EDF6FF,
      #FFFFFF
    ) !important;

  border-bottom: 2px solid #B8CADC;
}

.eyebrow {
  color: var(--teal-strong) !important;
  font-weight: 900 !important;
}

h1,
h2,
h3,
h4 {
  color: var(--navy) !important;
}

.lead {
  color: #43566B !important;
}

/* --------------------------------------------------------------------------
   4. UNIVERSAL CARD FRAME REINFORCEMENT
   -------------------------------------------------------------------------- */

.card,
.book,
.atlas-card,
.domain-card,
.usecase-callout,
.reality-principle-box,
.usecase-domain-node,
.reality-domain-card,
.usecase-map-column,
.rmw-column,
.intervention-item,
.reality-change-card,
.chapter-item,
.progress-stage,
.reality-loop-step,
.usecase-loop-node,
.state-item,
.atlas-publication-metrics > div,
.progress-question-grid > div {
  border-color: var(--border-strong) !important;
  border-width: 1.5px !important;
  box-shadow: var(--shadow-sm) !important;
}

.card,
.atlas-card,
.reality-domain-card,
.reality-change-card,
.usecase-domain-node,
.book {
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    background .2s ease !important;
}

.card:hover,
.atlas-card:hover,
.reality-domain-card:hover,
.reality-change-card:hover,
.usecase-domain-node:hover,
.book:hover {
  border-color: var(--teal) !important;
  box-shadow: var(--shadow-md) !important;
}

/*
   Add a stronger top frame to standard cards.
*/

.card:not(.price-card):not(.form-shell) {
  border-top: 3px solid #8EA7C0 !important;
}

.card.hover:hover {
  border-top-color: var(--teal) !important;
}

/* --------------------------------------------------------------------------
   5. ATLAS CARDS — STRONGER COLOR AND FRAME
   -------------------------------------------------------------------------- */

.atlas-card {
  border-width: 1.5px !important;
  border-top-width: 5px !important;
  border-bottom-width: 3px !important;
  box-shadow:
    0 8px 18px rgba(8,43,89,.13) !important;
}

.atlas-card:hover {
  transform: translateY(-5px) !important;
  box-shadow:
    0 17px 34px rgba(8,43,89,.20) !important;
}

.atlas-card-family {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.22),
    0 3px 7px rgba(8,43,89,.14);
}

.atlas-domain-tags span {
  border-width: 1px !important;
  font-weight: 800 !important;
}

.atlas-card-action {
  font-weight: 900 !important;
  text-decoration: none;
}

.atlas-status.available {
  color: #075B38 !important;
  background: #CFF5DF !important;
  border: 1px solid #62C993;
}

.atlas-status.planned {
  color: #674900 !important;
  background: #FFE59A !important;
  border: 1px solid #E1AF23;
}

.atlas-card-featured {
  border: 2px solid #C58C00 !important;
  border-top: 6px solid var(--gold) !important;
  box-shadow:
    0 10px 25px rgba(197,140,0,.22) !important;
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  border-width: 2px !important;
  box-shadow:
    0 6px 14px rgba(8,43,89,.12);
}

.btn-primary {
  color: #342600 !important;
  background:
    linear-gradient(
      180deg,
      #FFD43B,
      var(--gold)
    ) !important;
  border-color: #C58C00 !important;
  box-shadow:
    0 8px 19px rgba(216,156,0,.30) !important;
}

.btn-primary:hover {
  background:
    linear-gradient(
      180deg,
      #FFE36A,
      #F3B900
    ) !important;
  box-shadow:
    0 11px 24px rgba(216,156,0,.38) !important;
}

.btn-secondary {
  color: var(--teal-strong) !important;
  background: #FFFFFF !important;
  border-color: var(--teal) !important;
}

.btn-secondary:hover {
  color: white !important;
  background: var(--teal) !important;
}

.btn-navy {
  color: white !important;
  background:
    linear-gradient(
      180deg,
      var(--blue),
      var(--blue-strong)
    ) !important;
  border-color: #063E7F !important;
}

.btn-ghost {
  color: var(--navy) !important;
  background: #FFFFFF !important;
  border-color: #91A9C1 !important;
}

.btn:focus-visible,
.atlas-card:focus-visible,
.option:focus-visible,
.map-node:focus-visible {
  outline: 3px solid rgba(0,140,140,.38) !important;
  outline-offset: 3px !important;
}

/* --------------------------------------------------------------------------
   7. BADGES AND LABELS
   -------------------------------------------------------------------------- */

.badge {
  color: #005E5E !important;
  background: #D5F5F2 !important;
  border: 1px solid #68C9C3 !important;
  font-weight: 900 !important;
}

.badge.gold {
  color: #684B00 !important;
  background: #FFE9A5 !important;
  border-color: #E3B536 !important;
}

/* --------------------------------------------------------------------------
   8. VISUAL FRAMES AND DIAGRAMS
   -------------------------------------------------------------------------- */

.visual-stage,
.loop-visual,
.domain-map,
.reality-map,
.usecase-decomposition,
.usecase-loop,
.usecase-hypothesis-graphic,
.usecase-reality-map,
.usecase-progress-graphic,
.usecase-hero-wireframe,
.reality-page-hero-visual,
.reality-hypothesis-map,
.reality-map-wireframe,
.atlas-visual,
.atlas-connection-visual {
  border: 2px solid #8FA8C1 !important;
  box-shadow:
    0 10px 26px rgba(8,43,89,.15) !important;
}

.visual-stage,
.domain-map,
.reality-map,
.atlas-visual,
.reality-page-hero-visual {
  background:
    radial-gradient(
      circle at center,
      #FFFFFF,
      #E6F2FC 72%
    ) !important;
}

.human-core,
.loop-center,
.map-center,
.hypothesis-center,
.wireframe-person,
.reality-page-core,
.rh-center,
.atlas-map-center,
.connection-main {
  background:
    linear-gradient(
      145deg,
      #041F42,
      var(--blue)
    ) !important;
  border-color: #FFFFFF !important;
  box-shadow:
    0 13px 29px rgba(8,43,89,.28),
    0 0 0 2px rgba(14,88,168,.16) !important;
}

.domain-node,
.loop-node,
.map-node,
.hypothesis-option,
.wireframe-node,
.reality-page-node,
.rh-item,
.atlas-map-node,
.connection-item {
  border-width: 2px !important;
  border-color: var(--teal) !important;
  box-shadow:
    0 6px 14px rgba(8,43,89,.13) !important;
}

.domain-node:hover,
.map-node:hover,
.hypothesis-option:hover,
.atlas-map-node:hover {
  color: white !important;
  background: var(--teal) !important;
}

/* --------------------------------------------------------------------------
   9. TABLES
   -------------------------------------------------------------------------- */

.compare,
.usecase-table {
  border: 2px solid #809AB4 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare th,
.usecase-table th {
  color: white !important;
  background:
    linear-gradient(
      180deg,
      #0B3C72,
      #082B59
    ) !important;
  border-bottom: 2px solid #041D3A !important;
}

.compare td,
.usecase-table td {
  border-bottom-color: #BBCADB !important;
  border-right: 1px solid #CAD6E2;
}

.compare tr:nth-child(even) td,
.usecase-table tr:nth-child(even) td {
  background: #F3F7FB;
}

.compare td:nth-child(2) {
  background: #E6F7F5 !important;
}

/* --------------------------------------------------------------------------
   10. FORMS AND ASSESSMENT OPTIONS
   -------------------------------------------------------------------------- */

input,
select,
textarea {
  border: 2px solid #91A8BF !important;
  background: #FFFFFF !important;
  box-shadow:
    inset 0 1px 2px rgba(8,43,89,.05);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal) !important;
  box-shadow:
    0 0 0 4px rgba(0,140,140,.14) !important;
}

.option {
  border: 1.5px solid #8FA8C1 !important;
  box-shadow:
    0 4px 10px rgba(8,43,89,.08);
}

.option:hover,
.option.selected {
  color: #005E5E !important;
  background: #DFF7F4 !important;
  border-color: var(--teal) !important;
  box-shadow:
    0 7px 15px rgba(0,140,140,.14);
}

/* --------------------------------------------------------------------------
   11. CALLOUTS AND NOTICES
   -------------------------------------------------------------------------- */

.notice {
  color: #173D68 !important;
  background: #E5F1FF !important;
  border: 1.5px solid #75A8DA !important;
  box-shadow: var(--shadow-sm);
}

.notice.warning {
  color: #5D4300 !important;
  background: #FFF2BF !important;
  border-color: #D8A91D !important;
}

.notice.success {
  color: #075B38 !important;
  background: #DDF8E9 !important;
  border-color: #5FC58E !important;
}

.quote,
.usecase-callout,
.reality-principle-box {
  color: #173D68 !important;
  background:
    linear-gradient(
      90deg,
      #FFF1B8,
      #FFF8DC
    ) !important;
  border-left-color: var(--gold-strong) !important;
  border-left-width: 6px !important;
}

/* --------------------------------------------------------------------------
   12. PROGRESS AND STATE INDICATORS
   -------------------------------------------------------------------------- */

.progress-track,
.state-bar {
  background: #C9D5E1 !important;
  border: 1px solid #A6B8CA;
}

.progress-fill {
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--teal)
    ) !important;
  box-shadow:
    0 0 8px rgba(0,140,140,.25);
}

.step-circle,
.programme-dot,
.progress-stage span,
.intervention-item span,
.reality-change-card span,
.reality-domain-card > span {
  background:
    linear-gradient(
      145deg,
      var(--blue),
      var(--teal)
    ) !important;
  box-shadow:
    0 4px 10px rgba(8,43,89,.18);
}

/* --------------------------------------------------------------------------
   13. CTA SECTIONS
   -------------------------------------------------------------------------- */

.cta-band,
.usecase-cta-section,
.reality-page-cta,
.atlas-cta-section {
  border-top: 2px solid rgba(255,255,255,.16);
  border-bottom: 2px solid #031A34;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(0,170,170,.42),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #031A34,
      #083B72
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */

.footer {
  background:
    linear-gradient(
      145deg,
      #03172D,
      #05264A
    ) !important;
  border-top: 3px solid var(--teal) !important;
}

.footer a:hover {
  color: #71E0D9 !important;
}

/* --------------------------------------------------------------------------
   15. MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .card,
  .atlas-card,
  .reality-domain-card,
  .reality-change-card,
  .book {
    border-width: 1.5px !important;
  }

  .visual-stage,
  .loop-visual,
  .domain-map,
  .reality-map,
  .atlas-visual,
  .reality-page-hero-visual {
    border-width: 1.5px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .atlas-card,
  .book,
  .btn,
  .option {
    transition: none !important;
  }
}


/* ==========================================================================
   HReality OS — Dark Background Contrast Correction
   ========================================================================== */

/*
   Global heading and lead-text rules use !important. These selectors therefore
   also require !important to restore accessible contrast inside dark surfaces.
*/

/* --------------------------------------------------------------------------
   1. ALL DARK CONTENT SURFACES
   -------------------------------------------------------------------------- */

.dark,
.cta-band,
.usecase-cta-section,
.reality-page-cta,
.atlas-cta-section,
.footer {
  color: #F7FAFD !important;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,

.cta-band h1,
.cta-band h2,
.cta-band h3,
.cta-band h4,
.cta-band h5,
.cta-band h6,

.usecase-cta-section h1,
.usecase-cta-section h2,
.usecase-cta-section h3,
.usecase-cta-section h4,

.reality-page-cta h1,
.reality-page-cta h2,
.reality-page-cta h3,
.reality-page-cta h4,

.atlas-cta-section h1,
.atlas-cta-section h2,
.atlas-cta-section h3,
.atlas-cta-section h4,

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  color: #FFFFFF !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}

/* --------------------------------------------------------------------------
   2. BODY, LEAD AND SUPPORTING TEXT
   -------------------------------------------------------------------------- */

.dark p,
.dark li,
.dark .lead,
.dark .small,
.dark span:not(.badge),

.cta-band p,
.cta-band li,
.cta-band .lead,
.cta-band .small,

.usecase-cta-section p,
.usecase-cta-section li,
.usecase-cta-section .lead,
.usecase-cta-section .small,

.reality-page-cta p,
.reality-page-cta li,
.reality-page-cta .lead,
.reality-page-cta .small,

.atlas-cta-section p,
.atlas-cta-section li,
.atlas-cta-section .lead,
.atlas-cta-section .small,

.footer p,
.footer li,
.footer .lead,
.footer .small,
.footer span {
  color: #DCE8F4 !important;
}

/*
   Main explanatory paragraphs need stronger contrast than secondary metadata.
*/

.dark > .container > p,
.dark .container.center > p,
.dark .container.center .lead,
.cta-band p,
.usecase-cta p,
.reality-page-cta-inner p,
.atlas-cta p {
  color: #EAF2FA !important;
}

/* --------------------------------------------------------------------------
   3. EYEBROWS AND SECTION LABELS
   -------------------------------------------------------------------------- */

.dark .eyebrow,
.cta-band .eyebrow,
.usecase-cta-section .eyebrow,
.reality-page-cta .eyebrow,
.atlas-cta-section .eyebrow,
.footer .eyebrow {
  color: #69DDD6 !important;
  text-shadow: none;
}

/* --------------------------------------------------------------------------
   4. LINKS
   -------------------------------------------------------------------------- */

.dark a:not(.btn),
.cta-band a:not(.btn),
.usecase-cta-section a:not(.btn),
.reality-page-cta a:not(.btn),
.atlas-cta-section a:not(.btn),
.footer a {
  color: #DDECF8 !important;
}

.dark a:not(.btn):hover,
.cta-band a:not(.btn):hover,
.usecase-cta-section a:not(.btn):hover,
.reality-page-cta a:not(.btn):hover,
.atlas-cta-section a:not(.btn):hover,
.footer a:hover {
  color: #7DE7E0 !important;
}

/* --------------------------------------------------------------------------
   5. SECONDARY BUTTONS ON DARK SURFACES
   -------------------------------------------------------------------------- */

/*
   The global .btn-secondary rule uses white background and teal text.
   On CTA surfaces, use a transparent dark-context treatment.
*/

.dark .btn-secondary,
.cta-band .btn-secondary,
.usecase-cta-section .btn-secondary,
.reality-page-cta .btn-secondary,
.atlas-cta-section .btn-secondary {
  color: #FFFFFF !important;
  background: rgba(255,255,255,.06) !important;
  border-color: #67DCD5 !important;
  box-shadow:
    0 6px 15px rgba(0,0,0,.16) !important;
}

.dark .btn-secondary:hover,
.cta-band .btn-secondary:hover,
.usecase-cta-section .btn-secondary:hover,
.reality-page-cta .btn-secondary:hover,
.atlas-cta-section .btn-secondary:hover {
  color: #062B36 !important;
  background: #74E0D9 !important;
  border-color: #74E0D9 !important;
}

/* --------------------------------------------------------------------------
   6. PRIMARY BUTTONS ON DARK SURFACES
   -------------------------------------------------------------------------- */

.dark .btn-primary,
.cta-band .btn-primary,
.usecase-cta-section .btn-primary,
.reality-page-cta .btn-primary,
.atlas-cta-section .btn-primary {
  color: #302300 !important;
  background:
    linear-gradient(
      180deg,
      #FFD843,
      #F2B705
    ) !important;
  border-color: #C78E00 !important;
}

.dark .btn-primary:hover,
.cta-band .btn-primary:hover,
.usecase-cta-section .btn-primary:hover,
.reality-page-cta .btn-primary:hover,
.atlas-cta-section .btn-primary:hover {
  color: #261C00 !important;
  background:
    linear-gradient(
      180deg,
      #FFE36A,
      #FFC516
    ) !important;
}

/* --------------------------------------------------------------------------
   7. DARK SECTION BADGES AND METADATA
   -------------------------------------------------------------------------- */

.dark .badge,
.cta-band .badge,
.usecase-cta-section .badge,
.reality-page-cta .badge,
.atlas-cta-section .badge {
  color: #032E36 !important;
  background: #79E4DD !important;
  border-color: #A3F0EC !important;
}

.dark .badge.gold,
.cta-band .badge.gold,
.usecase-cta-section .badge.gold,
.reality-page-cta .badge.gold,
.atlas-cta-section .badge.gold {
  color: #463300 !important;
  background: #FFDC68 !important;
  border-color: #FFE89B !important;
}

/* --------------------------------------------------------------------------
   8. DARK CARDS OR INNER PANELS
   -------------------------------------------------------------------------- */

/*
   A dark section can contain a light card. Preserve dark text inside those
   light cards rather than inheriting white from the parent section.
*/

.dark .card,
.dark .notice,
.dark .quote,
.dark table,
.dark .atlas-card {
  color: var(--text) !important;
}

.dark .card h1,
.dark .card h2,
.dark .card h3,
.dark .card h4,
.dark .notice h1,
.dark .notice h2,
.dark .notice h3,
.dark .quote h1,
.dark .quote h2,
.dark .quote h3,
.dark table h1,
.dark table h2,
.dark table h3,
.dark .atlas-card h3 {
  color: var(--navy) !important;
  text-shadow: none;
}

.dark .card p,
.dark .card li,
.dark .card span:not(.badge),
.dark .notice p,
.dark .notice li,
.dark .quote p,
.dark .quote li,
.dark table td,
.dark .atlas-card p {
  color: var(--text) !important;
}

/* --------------------------------------------------------------------------
   9. FOOTER-SPECIFIC CORRECTIONS
   -------------------------------------------------------------------------- */

.footer h4 {
  color: #FFFFFF !important;
}

.footer p {
  color: #C9D9E9 !important;
}

.footer-bottom {
  color: #B6C9DC !important;
  border-top-color: rgba(255,255,255,.20) !important;
}

.footer-bottom span {
  color: #BFD0E1 !important;
}

/* --------------------------------------------------------------------------
   10. OPTIONAL DARK TABLE HEADER PRESERVATION
   -------------------------------------------------------------------------- */

.compare th,
.usecase-table th {
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   11. ACCESSIBILITY FOCUS ON DARK BACKGROUNDS
   -------------------------------------------------------------------------- */

.dark a:focus-visible,
.cta-band a:focus-visible,
.usecase-cta-section a:focus-visible,
.reality-page-cta a:focus-visible,
.atlas-cta-section a:focus-visible,
.footer a:focus-visible {
  outline: 3px solid #85EAE4 !important;
  outline-offset: 3px !important;
}

/* --------------------------------------------------------------------------
   12. MOBILE CONTRAST PRESERVATION
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .dark p,
  .dark .lead,
  .cta-band p,
  .usecase-cta-section p,
  .reality-page-cta p,
  .atlas-cta-section p {
    color: #E5EFF8 !important;
  }
}


/* ==========================================================================
   HReality OS — Explanatory Animation System
   ========================================================================== */

:root {
  --hros-motion-fast: 360ms;
  --hros-motion-medium: 720ms;
  --hros-motion-slow: 1800ms;
}

/* Initial state for scroll-triggered elements */

[data-hros-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--hros-motion-medium) ease,
    transform var(--hros-motion-medium) ease;
}

[data-hros-animate].hros-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero and central-system motion */

.human-core,
.atlas-map-center,
.reality-page-core,
.wireframe-person,
.loop-center,
.map-center,
.rh-center,
.connection-main {
  animation: hros-core-breathe 4.8s ease-in-out infinite;
}

@keyframes hros-core-breathe {
  0%,
  100% {
    filter: brightness(1);
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    filter: brightness(1.08);
    transform: translate(-50%, -50%) scale(1.035);
  }
}

/* Preserve non-translated cores */

.human-core {
  animation-name: hros-core-breathe-simple;
}

@keyframes hros-core-breathe-simple {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }

  50% {
    filter: brightness(1.08);
    transform: scale(1.035);
  }
}

/* Orbit movement */

.orbit,
.atlas-orbit,
.reality-page-orbit {
  animation: hros-orbit-spin 42s linear infinite;
}

.orbit-two,
.orbit-outer,
.rp-outer {
  animation-direction: reverse;
  animation-duration: 58s;
}

@keyframes hros-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Original hero orbits do not use translated positioning */

.visual-stage .orbit {
  animation-name: hros-orbit-spin-simple;
}

@keyframes hros-orbit-spin-simple {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Floating nodes */

.domain-node,
.atlas-map-node,
.reality-page-node,
.wireframe-node,
.connection-item,
.rh-item,
.hypothesis-option {
  animation: hros-node-float 5.6s ease-in-out infinite;
}

.domain-node:nth-of-type(2n),
.atlas-map-node:nth-of-type(2n),
.reality-page-node:nth-of-type(2n),
.connection-item:nth-of-type(2n) {
  animation-delay: -1.7s;
}

.domain-node:nth-of-type(3n),
.atlas-map-node:nth-of-type(3n),
.reality-page-node:nth-of-type(3n),
.connection-item:nth-of-type(3n) {
  animation-delay: -3.1s;
}

@keyframes hros-node-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

/* Connection signal animation */

.energy-line::before,
.wireframe-line::before {
  animation: hros-signal-travel 2.6s linear infinite;
}

.wireframe-line {
  overflow: hidden;
}

.wireframe-line::before {
  position: absolute;
  width: 32px;
  height: 100%;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--teal),
      transparent
    );
}

@keyframes hros-signal-travel {
  from {
    transform: translateX(-36px);
  }

  to {
    transform: translateX(130px);
  }
}

/* Sequential causal-loop activation */

.usecase-loop-node,
.reality-loop-step,
.progress-stage,
.intervention-item,
.reality-change-card,
.chapter-item,
.reality-domain-card {
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.hros-sequence-active {
  transform: translateY(-4px) scale(1.025);
  border-color: var(--teal) !important;
  background:
    linear-gradient(
      145deg,
      rgba(0,140,140,.12),
      white
    ) !important;
  box-shadow:
    0 11px 24px rgba(0,140,140,.18) !important;
}

/* Reality-map reveal sequence */

.current-column,
.target-column,
.transition-arrow,
.rmw-column,
.rmw-arrow {
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.reality-map:not(.hros-in-view) .current-column {
  opacity: 0;
  transform: translateX(-20px);
}

.reality-map:not(.hros-in-view) .target-column {
  opacity: 0;
  transform: translateX(20px);
}

.reality-map:not(.hros-in-view) .transition-arrow {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
}

.reality-map.hros-in-view .current-column {
  transition-delay: .1s;
}

.reality-map.hros-in-view .transition-arrow {
  transition-delay: .45s;
}

.reality-map.hros-in-view .target-column {
  transition-delay: .8s;
}

/* Progress bars animate only when visible */

.progress-fill {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.15s cubic-bezier(.2,.75,.25,1);
}

.hros-in-view .progress-fill,
.progress-fill.hros-in-view {
  transform: scaleX(1);
}

/* Staggered tags and cards */

.evidence-chip,
.reality-evidence-chip,
.atlas-domain-tags span,
.reality-related-tags span,
.usecase-domain-node,
.atlas-card {
  transition:
    opacity .45s ease,
    transform .45s ease,
    box-shadow .25s ease;
}

.hros-stagger-hidden {
  opacity: 0;
  transform: translateY(10px) scale(.98);
}

.hros-stagger-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Atlas interaction pulse */

.atlas-map-node.hros-pulse {
  animation: hros-map-pulse .75s ease;
}

@keyframes hros-map-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0,140,140,.5);
  }

  100% {
    box-shadow: 0 0 0 18px rgba(0,140,140,0);
  }
}

/* CTA ambient glow */

.cta-band,
.usecase-cta-section,
.reality-page-cta,
.atlas-cta-section,
.dark {
  background-size: 140% 140% !important;
  animation: hros-background-shift 12s ease-in-out infinite alternate;
}

@keyframes hros-background-shift {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

/* Clickable cards get controlled depth motion */

.atlas-card[data-card-href],
.book,
.card.hover {
  transform-style: preserve-3d;
}

.atlas-card[data-card-href]:hover,
.book:hover,
.card.hover:hover {
  transform: translateY(-5px) perspective(900px) rotateX(.7deg);
}

/* Pause ambient motion when not visible */

.hros-motion-paused,
.hros-motion-paused *,
.hros-motion-paused *::before,
.hros-motion-paused *::after {
  animation-play-state: paused !important;
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  [data-hros-animate],
  .human-core,
  .atlas-map-center,
  .reality-page-core,
  .wireframe-person,
  .loop-center,
  .map-center,
  .rh-center,
  .connection-main,
  .orbit,
  .atlas-orbit,
  .reality-page-orbit,
  .domain-node,
  .atlas-map-node,
  .reality-page-node,
  .wireframe-node,
  .connection-item,
  .rh-item,
  .hypothesis-option,
  .cta-band,
  .usecase-cta-section,
  .reality-page-cta,
  .atlas-cta-section,
  .dark {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }

  .progress-fill {
    transform: scaleX(1) !important;
  }
}


/* ==========================================================================
   HReality OS — Deterministic Motion Runtime v2
   ========================================================================== */

/*
   Animation runs only when JavaScript adds .hros-motion-on to <html>.
   This avoids dependence on IntersectionObserver and overrides earlier paused
   animation states.
*/

html.hros-motion-on .hros-motion-paused,
html.hros-motion-on .hros-motion-paused *,
html.hros-motion-on .hros-motion-paused *::before,
html.hros-motion-on .hros-motion-paused *::after {
  animation-play-state: running !important;
}

/* --------------------------------------------------------------------------
   1. CENTRAL NODE PULSE
   -------------------------------------------------------------------------- */

html.hros-motion-on .human-core,
html.hros-motion-on .atlas-map-center,
html.hros-motion-on .reality-page-core,
html.hros-motion-on .wireframe-person,
html.hros-motion-on .loop-center,
html.hros-motion-on .map-center,
html.hros-motion-on .connection-main {
  animation:
    hros-visible-core-pulse 2.8s ease-in-out infinite !important;
}

@keyframes hros-visible-core-pulse {
  0%,
  100% {
    scale: 1;
    filter: brightness(1);
    box-shadow:
      0 13px 29px rgba(8,43,89,.28),
      0 0 0 0 rgba(0,140,140,.28);
  }

  50% {
    scale: 1.055;
    filter: brightness(1.12);
    box-shadow:
      0 16px 34px rgba(8,43,89,.32),
      0 0 0 15px rgba(0,140,140,0);
  }
}

/* --------------------------------------------------------------------------
   2. ORBIT ROTATION
   -------------------------------------------------------------------------- */

html.hros-motion-on .visual-stage .orbit,
html.hros-motion-on .atlas-orbit,
html.hros-motion-on .reality-page-orbit {
  animation:
    hros-visible-orbit 18s linear infinite !important;
  animation-play-state: running !important;
}

html.hros-motion-on .visual-stage .orbit-two,
html.hros-motion-on .atlas-visual .orbit-outer,
html.hros-motion-on .reality-page-hero-visual .rp-outer {
  animation-direction: reverse !important;
  animation-duration: 25s !important;
}

@keyframes hros-visible-orbit {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

/* --------------------------------------------------------------------------
   3. FLOATING NODES
   -------------------------------------------------------------------------- */

html.hros-motion-on .domain-node,
html.hros-motion-on .atlas-map-node,
html.hros-motion-on .reality-page-node,
html.hros-motion-on .wireframe-node,
html.hros-motion-on .connection-item,
html.hros-motion-on .rh-item,
html.hros-motion-on .hypothesis-option {
  animation:
    hros-visible-node-float 3.6s ease-in-out infinite !important;
  animation-play-state: running !important;
}

html.hros-motion-on .domain-node:nth-of-type(2n),
html.hros-motion-on .atlas-map-node:nth-of-type(2n),
html.hros-motion-on .reality-page-node:nth-of-type(2n),
html.hros-motion-on .connection-item:nth-of-type(2n) {
  animation-delay: -1.2s !important;
}

html.hros-motion-on .domain-node:nth-of-type(3n),
html.hros-motion-on .atlas-map-node:nth-of-type(3n),
html.hros-motion-on .reality-page-node:nth-of-type(3n),
html.hros-motion-on .connection-item:nth-of-type(3n) {
  animation-delay: -2.4s !important;
}

@keyframes hros-visible-node-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -9px;
  }
}

/* --------------------------------------------------------------------------
   4. CONNECTOR SIGNALS
   -------------------------------------------------------------------------- */

html.hros-motion-on .energy-line {
  overflow: hidden !important;
  opacity: .85 !important;
}

html.hros-motion-on .energy-line::before {
  width: 45px !important;
  background:
    linear-gradient(
      90deg,
      transparent,
      #00CFCF,
      #FFFFFF,
      transparent
    ) !important;

  animation:
    hros-visible-signal 1.7s linear infinite !important;
}

html.hros-motion-on .wireframe-line {
  overflow: hidden !important;
}

html.hros-motion-on .wireframe-line::before {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      #00CFCF,
      transparent
    );

  animation:
    hros-visible-signal 1.8s linear infinite !important;
}

@keyframes hros-visible-signal {
  from {
    translate: -55px 0;
  }

  to {
    translate: 180px 0;
  }
}

/* --------------------------------------------------------------------------
   5. CAUSAL AND PROGRESS SEQUENCES
   -------------------------------------------------------------------------- */

html.hros-motion-on .usecase-loop-node,
html.hros-motion-on .reality-loop-step {
  animation:
    hros-visible-sequence 4s ease-in-out infinite !important;
}

html.hros-motion-on .usecase-loop-node:nth-child(2),
html.hros-motion-on .reality-loop-step:nth-child(2) {
  animation-delay: .65s !important;
}

html.hros-motion-on .usecase-loop-node:nth-child(3),
html.hros-motion-on .reality-loop-step:nth-child(3) {
  animation-delay: 1.3s !important;
}

html.hros-motion-on .usecase-loop-node:nth-child(4),
html.hros-motion-on .reality-loop-step:nth-child(4) {
  animation-delay: 1.95s !important;
}

html.hros-motion-on .usecase-loop-node:nth-child(5),
html.hros-motion-on .reality-loop-step:nth-child(5) {
  animation-delay: 2.6s !important;
}

@keyframes hros-visible-sequence {
  0%,
  17%,
  100% {
    translate: 0 0;
    border-color: var(--border-strong);
    background: white;
    box-shadow: var(--shadow-sm);
  }

  8% {
    translate: 0 -6px;
    border-color: var(--teal);
    background: #DFF8F5;
    box-shadow:
      0 12px 25px rgba(0,140,140,.24);
  }
}

/* --------------------------------------------------------------------------
   6. PROGRESS BAR MOTION
   -------------------------------------------------------------------------- */

html.hros-motion-on .progress-fill {
  transform-origin: left center !important;
  animation:
    hros-visible-progress 2.2s ease-in-out infinite alternate !important;
}

@keyframes hros-visible-progress {
  from {
    transform: scaleX(.12);
    filter: brightness(.95);
  }

  to {
    transform: scaleX(1);
    filter: brightness(1.13);
  }
}

/* --------------------------------------------------------------------------
   7. CTA BACKGROUND MOTION
   -------------------------------------------------------------------------- */

html.hros-motion-on .dark,
html.hros-motion-on .cta-band,
html.hros-motion-on .usecase-cta-section,
html.hros-motion-on .reality-page-cta,
html.hros-motion-on .atlas-cta-section {
  background-size: 170% 170% !important;
  animation:
    hros-visible-background 7s ease-in-out infinite alternate !important;
}

@keyframes hros-visible-background {
  from {
    background-position: 0% 45%;
  }

  to {
    background-position: 100% 55%;
  }
}

/* --------------------------------------------------------------------------
   8. ANIMATION CONTROL
   -------------------------------------------------------------------------- */

.hros-motion-control {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 5000;
  display: inline-flex;
  min-height: 39px;
  padding: 8px 11px;
  align-items: center;
  gap: 6px;
  color: white;
  background: rgba(4,29,58,.92);
  border: 1px solid #58D8D1;
  border-radius: 999px;
  box-shadow:
    0 8px 22px rgba(4,29,58,.28);
  font-size: .68rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.hros-motion-control:hover {
  background: #075D6A;
}

html:not(.hros-motion-on) .hros-motion-control {
  color: var(--navy);
  background: white;
  border-color: var(--border-strong);
}

/* Explicit user-controlled off state */

html.hros-motion-off *,
html.hros-motion-off *::before,
html.hros-motion-off *::after {
  animation-play-state: paused !important;
}

/*
   Accessibility is preserved through an explicit control. Users whose system
   requests reduced motion start with motion off and can enable it manually.
*/

@media (prefers-reduced-motion: reduce) {
  html:not(.hros-motion-user-enabled) *,
  html:not(.hros-motion-user-enabled) *::before,
  html:not(.hros-motion-user-enabled) *::after {
    animation: none !important;
    transition-duration: .001ms !important;
  }
}


/* ==========================================================================
   HReality OS — Advanced Assessment Experience
   ========================================================================== */

.assessment-hero {
  padding: 24px 0 21px;
  background:
    radial-gradient(circle at 88% 14%, rgba(0,140,140,.20), transparent 31%),
    linear-gradient(180deg, #eaf5ff, #ffffff);
  border-bottom: 2px solid var(--border-strong);
}

.assessment-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 28px;
}

.assessment-hero h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.assessment-value-row {
  display: flex;
  margin: 14px 0;
  flex-wrap: wrap;
  gap: 18px;
}

.assessment-value-row div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.assessment-value-row strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.assessment-value-row span {
  color: var(--muted);
  font-size: .7rem;
}

.assessment-boundary {
  max-width: 760px;
  margin: 0;
}

.assessment-hero-map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: radial-gradient(circle, #fff, #e7f3fd);
  border: 2px solid var(--border-strong);
  border-radius: 23px;
  box-shadow: var(--shadow-md);
}

.assessment-map-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border: 7px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
}

.assessment-map-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(14,88,168,.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a {
  width: 210px;
  height: 210px;
}

.orbit-b {
  width: 285px;
  height: 285px;
}

.assessment-map-node {
  position: absolute;
  z-index: 6;
  display: grid;
  width: 70px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 2px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: .6rem;
  font-weight: 850;
}

.am-identity { top: 15px; left: calc(50% - 35px); }
.am-success { top: 54px; right: 35px; }
.am-health { top: 139px; right: 8px; }
.am-relations { right: 48px; bottom: 25px; }
.am-work { bottom: 8px; left: calc(50% - 35px); }
.am-money { bottom: 25px; left: 48px; }
.am-purpose { top: 139px; left: 8px; }
.am-digital { top: 54px; left: 35px; }

html.hros-motion-on .assessment-map-core {
  animation: hros-visible-core-pulse 2.8s ease-in-out infinite;
}

html.hros-motion-on .assessment-map-node {
  animation: hros-visible-node-float 3.8s ease-in-out infinite;
}

html.hros-motion-on .assessment-map-orbit {
  animation: hros-visible-orbit 22s linear infinite;
}

html.hros-motion-on .orbit-b {
  animation-direction: reverse;
  animation-duration: 31s;
}

.assessment-shell-section {
  padding: 20px 0;
  background: var(--soft);
}

.assessment-progress-shell {
  position: sticky;
  top: 73px;
  z-index: 40;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.97);
  border: 1.5px solid var(--border-strong);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.assessment-progress-header {
  display: flex;
  margin-bottom: 6px;
  justify-content: space-between;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 850;
}

.assessment-progress-track {
  height: 9px;
  overflow: hidden;
  background: #c5d3e0;
  border-radius: 999px;
}

.assessment-progress-fill {
  width: 14%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
  border-radius: inherit;
  transition: width .45s ease;
}

.assessment-step-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 7px;
  gap: 5px;
  color: var(--muted);
  font-size: .55rem;
  text-align: center;
}

.assessment-engine {
  padding: 18px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.assessment-step {
  display: none;
}

.assessment-step.active {
  display: block;
  animation: assessment-step-enter .35s ease;
}

@keyframes assessment-step-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.assessment-step-heading {
  margin-bottom: 14px;
}

.assessment-step-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.assessment-step-heading p {
  margin-bottom: 0;
}

.assessment-objective-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.objective-card {
  position: relative;
  min-height: 108px;
  padding: 13px;
  cursor: pointer;
  background: linear-gradient(145deg, #f7fbff, white);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 5px 13px rgba(8,43,89,.08);
}

.objective-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.objective-card:has(input:checked) {
  background: linear-gradient(145deg, #d9f7f3, white);
  border: 2px solid var(--teal);
  box-shadow: 0 8px 18px rgba(0,140,140,.18);
}

.objective-card input {
  position: absolute;
  top: 10px;
  right: 10px;
}

.objective-card strong {
  display: block;
  max-width: 90%;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: .85rem;
}

.objective-card span {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.4;
}

.assessment-free-text {
  margin-top: 13px;
}

.assessment-free-text label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 850;
}

.assessment-free-text textarea {
  width: 100%;
}

.assessment-question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.assessment-question {
  min-width: 0;
  padding: 13px;
  background: #f8fbff;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
}

.assessment-question legend {
  padding: 0 5px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 850;
}

.assessment-question label {
  display: flex;
  margin: 6px 0;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
}

.likert-matrix {
  overflow-x: auto;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
}

.likert-header,
.likert-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) repeat(5, 48px);
  align-items: center;
}

.likert-header {
  color: white;
  background: var(--navy);
  font-size: .68rem;
  font-weight: 850;
  text-align: center;
}

.likert-header span {
  padding: 9px;
}

.likert-header span:first-child {
  text-align: left;
}

.likert-row {
  min-height: 55px;
  border-bottom: 1px solid var(--border);
}

.likert-row:last-child {
  border-bottom: 0;
}

.likert-row:nth-child(odd) {
  background: #f3f7fb;
}

.likert-row strong {
  padding: 10px;
  font-size: .72rem;
}

.likert-row input {
  margin: auto;
}

.assessment-system-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.assessment-system-grid label {
  display: grid;
  grid-template-columns: 180px 1fr 30px;
  padding: 12px;
  align-items: center;
  gap: 10px;
  background: #f8fbff;
  border: 1.5px solid var(--border-strong);
  border-radius: 11px;
}

.assessment-system-grid span {
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
}

.assessment-system-grid output {
  color: var(--teal);
  font-weight: 900;
}

.assessment-consent {
  display: flex;
  margin-top: 13px;
  padding: 12px;
  align-items: flex-start;
  gap: 9px;
  background: #fff3c9;
  border: 1.5px solid #d8a91d;
  border-radius: 11px;
  font-size: .74rem;
}

.assessment-validation {
  min-height: 24px;
  margin-top: 9px;
  color: #a1271c;
  font-size: .74rem;
  font-weight: 800;
}

.assessment-navigation {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.assessment-report {
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.report-cover {
  display: flex;
  padding: 21px;
  justify-content: space-between;
  gap: 20px;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(0,170,170,.4), transparent 32%),
    linear-gradient(135deg, #031a34, #083b72);
  border-radius: 16px 16px 0 0;
}

.report-cover h2 {
  color: white !important;
}

.report-cover p {
  color: #dce8f4;
}

.report-reference {
  text-align: right;
}

.report-reference span {
  display: block;
  color: #bcd3e6;
  font-size: .65rem;
}

.report-reference strong {
  color: white;
}

.report-page {
  padding: 20px;
  border-bottom: 2px solid var(--border);
}

.report-page section {
  margin-bottom: 17px;
}

.report-page section:last-child {
  margin-bottom: 0;
}

.report-page h3 {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--teal);
  font-size: 1rem;
}

.report-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.report-tag-cloud span {
  padding: 6px 9px;
  color: var(--navy);
  background: #dff7f4;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 850;
}

.report-domain-bars {
  display: grid;
  gap: 7px;
}

.report-domain-row {
  display: grid;
  grid-template-columns: 165px 1fr 135px;
  align-items: center;
  gap: 9px;
  font-size: .7rem;
}

.report-domain-row > div {
  height: 10px;
  overflow: hidden;
  background: #c9d6e2;
  border-radius: 999px;
}

.report-domain-row i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--blue));
  border-radius: inherit;
}

.report-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.report-signal-grid article {
  padding: 11px;
  background: #fff4cc;
  border: 1.5px solid #d7a61c;
  border-radius: 10px;
}

.report-signal-grid article.protective {
  background: #ddf8e9;
  border-color: #58bd86;
}

.report-signal-grid span {
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-signal-grid h4 {
  margin: 4px 0;
  font-size: .78rem;
}

.report-signal-grid p {
  margin-bottom: 0;
  font-size: .67rem;
}

.relationship-chain {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.relationship-chain span {
  padding: 7px 9px;
  color: var(--navy);
  background: #eef5ff;
  border: 1px solid var(--blue);
  border-radius: 9px;
  font-size: .65rem;
  font-weight: 800;
}

.relationship-chain b {
  color: var(--teal);
}

.report-confidence-meter > div {
  height: 13px;
  margin-bottom: 6px;
  overflow: hidden;
  background: #c8d5e1;
  border-radius: 999px;
}

.report-confidence-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.report-plan-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.report-plan-grid div {
  min-height: 85px;
  padding: 8px;
  background: #f4f8fc;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
}

.report-plan-grid strong,
.report-plan-grid span {
  display: block;
  font-size: .62rem;
}

.report-plan-grid strong {
  margin-bottom: 5px;
  color: var(--teal);
}

.report-upgrade {
  padding: 17px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(0,170,170,.4), transparent 30%),
    linear-gradient(135deg, #031a34, #083b72);
  border-radius: 14px;
}

.report-upgrade h3 {
  color: white !important;
  border-color: #65ddd6;
}

.report-upgrade p {
  color: #dce8f4;
}

.report-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 12px 0;
  gap: 7px;
}

.report-offer-grid a {
  padding: 10px;
  color: var(--navy);
  background: white;
  border: 2px solid var(--gold);
  border-radius: 10px;
  text-decoration: none;
}

.report-offer-grid strong,
.report-offer-grid span {
  display: block;
}

.report-offer-grid strong {
  color: var(--gold-strong);
  font-size: 1.2rem;
}

.report-offer-grid span {
  font-size: .64rem;
  font-weight: 800;
}

.report-actions {
  display: flex;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.assessment-commercial-cta,
.results-final-cta {
  padding: 20px 0;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(0,170,170,.4), transparent 31%),
    linear-gradient(135deg, #031a34, #083b72);
}

.assessment-commercial-cta .container,
.results-final-cta .container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 20px;
}

.assessment-commercial-cta h2,
.results-final-cta h2 {
  color: white !important;
}

.assessment-commercial-cta p,
.results-final-cta p {
  color: #dce8f4;
}

.results-offer-hero {
  padding: 26px 0;
  background:
    radial-gradient(circle at 88% 14%, rgba(0,140,140,.18), transparent 30%),
    linear-gradient(180deg, #eaf5ff, white);
  border-bottom: 2px solid var(--border-strong);
}

.results-offer-section {
  padding: 22px 0;
  background: var(--soft);
}

.offer-comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.offer-tier {
  position: relative;
  padding: 15px;
  background: white;
  border: 2px solid var(--border-strong);
  border-top: 5px solid var(--blue);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.offer-tier.featured {
  border-color: var(--gold-strong);
  border-top-color: var(--gold);
  box-shadow: 0 14px 30px rgba(216,156,0,.22);
}

.offer-badge {
  position: absolute;
  top: -14px;
  right: 12px;
  padding: 5px 8px;
  color: #3b2b00;
  background: var(--gold);
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 900;
}

.offer-tier-top {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
}

.offer-tier-top span {
  color: var(--teal);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-tier-top strong {
  color: var(--blue);
  font-size: 1.7rem;
}

.offer-tier h2 {
  font-size: 1.05rem;
}

.offer-tier p,
.offer-tier li {
  font-size: .7rem;
}

.offer-tier ul {
  min-height: 145px;
  padding-left: 18px;
}

.results-transparency {
  margin-top: 15px;
  padding: 16px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 13px;
}

.results-transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.results-transparency-grid div {
  padding: 11px;
  background: #f4f8fc;
  border: 1px solid var(--border);
  border-radius: 9px;
}

@media (max-width: 1000px) {
  .assessment-objective-grid,
  .offer-comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-plan-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  .assessment-hero-grid,
  .assessment-commercial-cta .container,
  .results-final-cta .container {
    grid-template-columns: 1fr;
  }

  .assessment-question-grid,
  .assessment-system-grid,
  .results-transparency-grid {
    grid-template-columns: 1fr;
  }

  .assessment-step-labels {
    display: none;
  }

  .assessment-progress-shell {
    top: 64px;
  }

  .assessment-system-grid label {
    grid-template-columns: 130px 1fr 28px;
  }

  .report-signal-grid,
  .report-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-domain-row {
    grid-template-columns: 120px 1fr;
  }

  .report-domain-row strong {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .assessment-objective-grid,
  .offer-comparison-grid,
  .report-signal-grid,
  .report-offer-grid,
  .report-plan-grid {
    grid-template-columns: 1fr;
  }

  .assessment-engine {
    padding: 13px;
  }

  .likert-header,
  .likert-row {
    grid-template-columns: minmax(230px, 1fr) repeat(5, 38px);
  }

  .report-cover {
    flex-direction: column;
  }

  .report-reference {
    text-align: left;
  }
}

@media print {
  .site-header,
  .topbar,
  .assessment-hero,
  .assessment-progress-shell,
  .assessment-engine,
  .assessment-commercial-cta,
  .footer,
  .report-actions,
  .hros-motion-control {
    display: none !important;
  }

  .assessment-shell-section {
    padding: 0;
    background: white;
  }

  .assessment-report {
    border: 0;
    box-shadow: none;
  }

  .report-page {
    min-height: 250mm;
    page-break-after: always;
  }

  .report-page:last-of-type {
    page-break-after: auto;
  }
}


/* ==========================================================================
   HReality OS — Human Ecosystem Page
   ========================================================================== */

.ecosystem-hero {
  padding: 24px 0 21px;
  background:
    radial-gradient(circle at 88% 15%, rgba(0,140,140,.20), transparent 31%),
    radial-gradient(circle at 70% 88%, rgba(14,88,168,.11), transparent 34%),
    linear-gradient(180deg, #eaf5ff, #ffffff);
  border-bottom: 2px solid var(--border-strong);
}

.ecosystem-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 28px;
}

.ecosystem-hero h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(1.85rem, 3vw, 2.9rem);
}

.ecosystem-hero .lead {
  max-width: 750px;
  margin-bottom: 9px;
  font-size: .98rem;
}

.ecosystem-hero-copy > p:not(.lead) {
  max-width: 760px;
  margin-bottom: 10px;
}

.ecosystem-hero-actions {
  display: flex;
  margin-top: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* Primary ecosystem map */

.ecosystem-primary-map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, #ffffff, #e2f1fc 74%);
  border: 2px solid var(--border-strong);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.ecosystem-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  display: grid;
  width: 112px;
  height: 112px;
  padding: 12px;
  place-items: center;
  color: white;
  background:
    linear-gradient(145deg, #031e3d, var(--blue));
  border: 8px solid white;
  border-radius: 50%;
  box-shadow:
    0 16px 34px rgba(8,43,89,.27);
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: .82rem;
  font-weight: 900;
}

.ecosystem-core small {
  display: block;
  color: #d6e8f7;
  font-size: .48rem;
  font-weight: 700;
}

.ecosystem-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1.5px dashed rgba(14,88,168,.30);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 230px;
  height: 230px;
}

.ring-two {
  width: 330px;
  height: 330px;
}

.ecosystem-orbit-node {
  position: absolute;
  z-index: 10;
  display: grid;
  width: 84px;
  min-height: 48px;
  padding: 7px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 2px solid var(--teal);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: .65rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform .2s ease,
    color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.ecosystem-orbit-node:hover,
.ecosystem-orbit-node:focus-visible {
  z-index: 20;
  color: white;
  background: var(--teal);
  transform: scale(1.08);
  box-shadow:
    0 13px 25px rgba(0,140,140,.25);
}

.eco-identity {
  top: 16px;
  left: calc(50% - 42px);
}

.eco-purpose {
  top: 62px;
  right: 37px;
}

.eco-health {
  top: 166px;
  right: 9px;
}

.eco-relations {
  right: 56px;
  bottom: 31px;
}

.eco-career {
  bottom: 10px;
  left: calc(50% - 42px);
}

.eco-money {
  bottom: 31px;
  left: 56px;
}

.eco-habits {
  top: 166px;
  left: 9px;
}

.eco-digital {
  top: 62px;
  left: 37px;
}

.ecosystem-connection {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 118px;
  height: 2px;
  overflow: hidden;
  background: rgba(0,140,140,.30);
  transform-origin: left center;
}

.ecosystem-connection::after {
  position: absolute;
  width: 40px;
  height: 100%;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--teal),
      white,
      transparent
    );
}

.ec-1 { transform: rotate(-90deg); }
.ec-2 { transform: rotate(-45deg); }
.ec-3 { transform: rotate(0deg); }
.ec-4 { transform: rotate(45deg); }
.ec-5 { transform: rotate(90deg); }
.ec-6 { transform: rotate(135deg); }
.ec-7 { transform: rotate(180deg); }
.ec-8 { transform: rotate(225deg); }

/* Shared page sections */

.ecosystem-section {
  padding: 19px 0;
}

.ecosystem-soft {
  background:
    linear-gradient(180deg, #f2f7fb, #e9f1f8);
  border-top: 1px solid #bdccdb;
  border-bottom: 1px solid #bdccdb;
}

.ecosystem-section-heading {
  display: flex;
  margin-bottom: 11px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.ecosystem-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.ecosystem-section-heading > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .82rem;
}

/* One concept, several roles */

.ecosystem-role-section {
  background: white;
}

.ecosystem-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.ecosystem-role-grid h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.ecosystem-role-legend {
  display: flex;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.ecosystem-role-legend span {
  padding: 5px 8px;
  color: var(--navy);
  background: #e5f6f4;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 850;
}

.ecosystem-role-visual {
  position: relative;
  min-height: 310px;
  background:
    radial-gradient(circle, white, #e9f4fc);
  border: 2px solid var(--border-strong);
  border-radius: 21px;
  box-shadow: var(--shadow-md);
}

.role-concept {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: white;
  background:
    linear-gradient(145deg, #5b1a75, #8b2bb0);
  border: 7px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: .78rem;
  font-weight: 900;
}

.role-node {
  position: absolute;
  z-index: 8;
  display: grid;
  width: 92px;
  min-height: 44px;
  padding: 7px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 2px solid #8b2bb0;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: .64rem;
  font-weight: 850;
}

.role-cause {
  top: 14px;
  left: calc(50% - 46px);
}

.role-symptom {
  top: 103px;
  right: 18px;
}

.role-amplifier {
  right: 67px;
  bottom: 16px;
}

.role-consequence {
  bottom: 16px;
  left: 67px;
}

.role-feedback {
  top: 103px;
  left: 18px;
}

.role-path {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 105px;
  height: 2px;
  overflow: hidden;
  background: rgba(139,43,176,.30);
  transform-origin: left center;
}

.role-path::after {
  position: absolute;
  width: 35px;
  height: 100%;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      #ad49d2,
      white,
      transparent
    );
}

.rp-1 { transform: rotate(-90deg); }
.rp-2 { transform: rotate(-18deg); }
.rp-3 { transform: rotate(52deg); }
.rp-4 { transform: rotate(128deg); }
.rp-5 { transform: rotate(198deg); }

/* Isolated versus ecosystem comparison */

.ecosystem-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ecosystem-comparison-card {
  padding: 16px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.ecosystem-comparison-card.limited {
  background:
    linear-gradient(145deg, #fff0ed, white);
  border-top: 5px solid #cf493a;
}

.ecosystem-comparison-card.systemic {
  background:
    linear-gradient(145deg, #e3f7f4, white);
  border-top: 5px solid var(--teal);
}

.comparison-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.limited .comparison-label {
  color: #7f1f17;
  background: #ffd9d3;
}

.systemic .comparison-label {
  color: #005c5c;
  background: #c6f1ed;
}

.ecosystem-comparison-card h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.comparison-chain {
  display: flex;
  align-items: center;
  gap: 7px;
}

.comparison-chain span {
  padding: 7px 9px;
  background: white;
  border: 1px solid #cf493a;
  border-radius: 9px;
  font-size: .68rem;
  font-weight: 800;
}

.comparison-chain b {
  color: #cf493a;
}

.system-factor-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.system-factor-cloud span {
  padding: 6px 9px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
}

.ecosystem-principle {
  margin-top: 10px;
  padding: 13px 15px;
  background:
    linear-gradient(90deg, #fff0b3, #fff8dc);
  border: 1.5px solid #d4a31a;
  border-left: 6px solid var(--gold);
  border-radius: 0 12px 12px 0;
}

.ecosystem-principle p {
  margin-bottom: 0;
}

/* Example loops */

.ecosystem-loop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ecosystem-loop-card {
  padding: 15px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.financial-loop {
  border-top: 5px solid var(--gold);
}

.health-loop {
  border-top: 5px solid #2caf69;
}

.loop-card-heading {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.loop-card-heading span {
  color: var(--teal);
  font-size: .6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.loop-card-heading h3 {
  margin: 0;
  font-size: .94rem;
}

.ecosystem-causal-chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto;
  margin-bottom: 9px;
  align-items: center;
  gap: 5px;
}

.ecosystem-causal-chain div {
  display: grid;
  min-height: 62px;
  padding: 7px;
  place-items: center;
  color: var(--navy);
  background: #f3f7fb;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  text-align: center;
  font-size: .62rem;
  font-weight: 800;
}

.ecosystem-causal-chain b {
  color: var(--teal);
}

.ecosystem-causal-chain .loop-return {
  color: var(--gold-strong);
  font-size: 1.15rem;
}

.ecosystem-loop-card > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .72rem;
}

/* Domain cards */

.ecosystem-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.ecosystem-domain-card {
  --domain-accent: var(--blue);

  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 228px;
  padding: 13px;
  gap: 10px;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--domain-accent) 12%, white),
      white 66%
    );
  border: 2px solid var(--border-strong);
  border-top: 5px solid var(--domain-accent);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.ecosystem-domain-card::after {
  position: absolute;
  top: -36px;
  right: -36px;
  width: 110px;
  height: 110px;
  content: "";
  background:
    color-mix(in srgb, var(--domain-accent) 13%, transparent);
  border-radius: 50%;
  transition: transform .25s ease;
}

.ecosystem-domain-card:hover,
.ecosystem-domain-card:focus-visible {
  z-index: 5;
  transform: translateY(-5px);
  border-color: var(--domain-accent);
  box-shadow: var(--shadow-md);
}

.ecosystem-domain-card:hover::after {
  transform: scale(1.25);
}

.domain-card-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: white;
  background: var(--domain-accent);
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(8,43,89,.16);
  font-size: .65rem;
  font-weight: 900;
}

.domain-card-content {
  position: relative;
  z-index: 2;
}

.domain-card-content > span {
  display: block;
  margin-bottom: 3px;
  color: var(--domain-accent);
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.domain-card-content h3 {
  margin-bottom: 5px;
  font-size: .94rem;
}

.domain-card-content > p {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.4;
}

.domain-card-example {
  margin-bottom: 7px;
  padding: 8px;
  color: #344b62;
  background: rgba(255,255,255,.80);
  border: 1px solid
    color-mix(in srgb, var(--domain-accent) 30%, var(--border));
  border-radius: 8px;
  font-size: .63rem;
  line-height: 1.38;
}

.domain-card-example strong {
  display: block;
  margin-bottom: 2px;
  color: var(--domain-accent);
}

.domain-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.domain-card-links span {
  padding: 3px 6px;
  color:
    color-mix(in srgb, var(--domain-accent) 65%, var(--navy));
  background:
    color-mix(in srgb, var(--domain-accent) 10%, white);
  border: 1px solid
    color-mix(in srgb, var(--domain-accent) 22%, transparent);
  border-radius: 999px;
  font-size: .54rem;
  font-weight: 800;
}

.domain-card-arrow {
  position: relative;
  z-index: 2;
  align-self: center;
  color: var(--domain-accent);
  font-size: 1rem;
  transition: transform .2s ease;
}

.ecosystem-domain-card:hover .domain-card-arrow {
  transform: translateX(4px);
}

.domain-identity { --domain-accent: #6c3cc3; }
.domain-purpose { --domain-accent: #4338ca; }
.domain-success { --domain-accent: #c58c00; }
.domain-health { --domain-accent: #188a50; }
.domain-stress { --domain-accent: #8b3db1; }
.domain-relationships { --domain-accent: #d42869; }
.domain-family { --domain-accent: #a82358; }
.domain-career { --domain-accent: #1760c3; }
.domain-money { --domain-accent: #b27a00; }
.domain-habits { --domain-accent: #de6e00; }
.domain-learning { --domain-accent: #0088b7; }
.domain-digital { --domain-accent: #0b7c91; }

/* Page methodology */

.ecosystem-page-method-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 22px;
}

.ecosystem-page-method-grid h2 {
  margin-bottom: 7px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.ecosystem-method-flow {
  display: grid;
  grid-template-columns:
    1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
}

.ecosystem-method-flow > div {
  display: grid;
  min-height: 93px;
  padding: 8px;
  place-items: center;
  background: white;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.ecosystem-method-flow span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: white;
  background:
    linear-gradient(145deg, var(--blue), var(--teal));
  border-radius: 50%;
  font-size: .56rem;
  font-weight: 900;
}

.ecosystem-method-flow strong {
  font-size: .61rem;
}

.ecosystem-method-flow > b {
  color: var(--teal);
}

/* Interactive navigator */

.ecosystem-navigator-section {
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,160,160,.35), transparent 31%),
    linear-gradient(135deg, #031a34, #083b72);
  border-top: 2px solid #0a7683;
  border-bottom: 2px solid #021528;
}

.ecosystem-navigator-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 24px;
}

.ecosystem-navigator-section h2 {
  color: white !important;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.ecosystem-navigator-section p {
  color: #dbe8f3;
}

.ecosystem-navigator-section .eyebrow {
  color: #72ded8 !important;
}

.navigator-explanation {
  margin-top: 10px;
  padding: 11px;
  color: #eaf4fb;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(114,222,216,.55);
  border-radius: 10px;
  font-size: .72rem;
}

.ecosystem-navigator {
  position: relative;
  min-height: 345px;
  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.11),
      rgba(255,255,255,.025)
    );
  border: 2px solid rgba(114,222,216,.62);
  border-radius: 21px;
  box-shadow:
    0 16px 34px rgba(0,0,0,.22);
}

.navigator-core,
.navigator-node {
  position: absolute;
  z-index: 7;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  font-weight: 900;
  transition:
    transform .2s ease,
    opacity .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.navigator-core {
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  background:
    linear-gradient(145deg, var(--gold), #c58c00);
  border: 6px solid white;
  transform: translate(-50%, -50%);
}

.navigator-node {
  width: 72px;
  height: 72px;
  padding: 7px;
  background:
    linear-gradient(145deg, var(--blue), var(--teal));
  border: 2px solid #81e7e1;
  font-size: .58rem;
}

.navigator-node:hover,
.navigator-node:focus-visible,
.navigator-node.navigator-active {
  z-index: 12;
  background:
    linear-gradient(145deg, var(--gold), #d69900);
  transform: scale(1.11);
  box-shadow:
    0 0 0 10px rgba(114,222,216,.12),
    0 12px 25px rgba(0,0,0,.25);
}

.navigator-node.navigator-muted {
  opacity: .32;
}

.nav-identity {
  top: 11px;
  left: calc(50% - 36px);
}

.nav-success {
  top: 41px;
  right: 56px;
}

.nav-health {
  top: 126px;
  right: 13px;
}

.nav-relations {
  right: 34px;
  bottom: 38px;
}

.nav-career {
  bottom: 7px;
  left: calc(50% - 36px);
}

.nav-money {
  bottom: 38px;
  left: 34px;
}

.nav-habits {
  top: 126px;
  left: 13px;
}

.nav-purpose {
  top: 41px;
  left: 56px;
}

.nav-digital {
  top: 44%;
  right: 108px;
}

.nav-learning {
  top: 44%;
  left: 108px;
}

.navigator-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(114,222,216,.38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.nav-ring-one {
  width: 205px;
  height: 205px;
}

.nav-ring-two {
  width: 300px;
  height: 300px;
}

/* Final CTA */

.ecosystem-final-cta {
  padding: 20px 0;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(0,170,170,.40), transparent 31%),
    linear-gradient(135deg, #031a34, #083b72);
  border-bottom: 2px solid #021528;
}

.ecosystem-final-cta-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 20px;
}

.ecosystem-final-cta h2 {
  margin-bottom: 6px;
  color: white !important;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.ecosystem-final-cta p {
  margin-bottom: 0;
  color: #dce8f4;
}

.ecosystem-final-cta .eyebrow {
  color: #72ded8 !important;
}

.ecosystem-final-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.ecosystem-final-actions .btn-secondary {
  color: white !important;
  background: transparent !important;
  border-color: #72ded8 !important;
}

/* Animation */

html.hros-motion-on .ecosystem-core,
html.hros-motion-on .role-concept,
html.hros-motion-on .navigator-core {
  animation:
    ecosystem-core-pulse 3.2s ease-in-out infinite;
}

@keyframes ecosystem-core-pulse {
  0%,
  100% {
    scale: 1;
    filter: brightness(1);
  }

  50% {
    scale: 1.055;
    filter: brightness(1.12);
  }
}

html.hros-motion-on .ecosystem-ring,
html.hros-motion-on .navigator-ring {
  animation:
    ecosystem-ring-rotate 26s linear infinite;
}

html.hros-motion-on .ring-two,
html.hros-motion-on .nav-ring-two {
  animation-direction: reverse;
  animation-duration: 38s;
}

@keyframes ecosystem-ring-rotate {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

html.hros-motion-on .ecosystem-connection::after,
html.hros-motion-on .role-path::after {
  animation:
    ecosystem-signal 1.8s linear infinite;
}

@keyframes ecosystem-signal {
  from {
    translate: -45px 0;
  }

  to {
    translate: 145px 0;
  }
}

html.hros-motion-on .ecosystem-causal-chain div {
  animation:
    ecosystem-chain-pulse 5s ease-in-out infinite;
}

html.hros-motion-on .ecosystem-causal-chain div:nth-of-type(2) {
  animation-delay: .8s;
}

html.hros-motion-on .ecosystem-causal-chain div:nth-of-type(3) {
  animation-delay: 1.6s;
}

html.hros-motion-on .ecosystem-causal-chain div:nth-of-type(4) {
  animation-delay: 2.4s;
}

html.hros-motion-on .ecosystem-causal-chain div:nth-of-type(5) {
  animation-delay: 3.2s;
}

@keyframes ecosystem-chain-pulse {
  0%,
  14%,
  100% {
    translate: 0 0;
    background: #f3f7fb;
    border-color: var(--border-strong);
  }

  7% {
    translate: 0 -5px;
    background: #dff7f4;
    border-color: var(--teal);
    box-shadow:
      0 9px 18px rgba(0,140,140,.18);
  }
}

@media (max-width: 1100px) {
  .ecosystem-domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .ecosystem-method-flow > b {
    display: none;
  }
}

@media (max-width: 850px) {
  .ecosystem-hero-grid,
  .ecosystem-role-grid,
  .ecosystem-page-method-grid,
  .ecosystem-navigator-grid,
  .ecosystem-final-cta-grid {
    grid-template-columns: 1fr;
  }

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

  .ecosystem-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ecosystem-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .ecosystem-hero,
  .ecosystem-section {
    padding: 15px 0;
  }

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

  .ecosystem-domain-card {
    min-height: auto;
  }

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

  .ecosystem-causal-chain b {
    text-align: center;
    transform: rotate(90deg);
  }

  .ecosystem-causal-chain .loop-return {
    transform: none;
  }

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

  .ecosystem-primary-map {
    min-height: 330px;
  }

  .ecosystem-navigator {
    min-height: 320px;
  }

  .navigator-node {
    width: 62px;
    height: 62px;
  }

  .nav-digital {
    right: 82px;
  }

  .nav-learning {
    left: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-core,
  .role-concept,
  .navigator-core,
  .ecosystem-ring,
  .navigator-ring,
  .ecosystem-connection::after,
  .role-path::after,
  .ecosystem-causal-chain div {
    animation: none !important;
  }
}


/* ==========================================================================
   HReality OS — Human Component Interaction Animation
   ========================================================================== */

.ecosystem-primary-map[data-human-ecosystem-animation] {
  min-height: 380px;
  isolation: isolate;
}

.ecosystem-network-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ecosystem-base-lines line {
  stroke: rgba(0, 112, 142, .30);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ecosystem-signal-lines line {
  stroke: url(#ecoSignalGradient);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  stroke-dashoffset: 100;
  opacity: 0;
  filter: url(#ecoSignalGlow);
  vector-effect: non-scaling-stroke;
}

.ecosystem-cross-links path {
  fill: none;
  stroke: rgba(14, 88, 168, .20);
  stroke-width: 2;
  stroke-dasharray: 5 7;
  opacity: .65;
  vector-effect: non-scaling-stroke;
  transition:
    opacity .35s ease,
    stroke .35s ease,
    stroke-width .35s ease;
}

.ecosystem-core[data-ecosystem-core] {
  z-index: 12;
  transition:
    background .35s ease,
    box-shadow .35s ease,
    scale .35s ease;
}

.ecosystem-core[data-ecosystem-core] strong {
  display: block;
  color: white;
  font-size: .82rem;
}

.ecosystem-core[data-ecosystem-core] small {
  max-width: 86px;
  line-height: 1.25;
}

.ecosystem-core.ecosystem-core-active {
  background:
    linear-gradient(
      145deg,
      var(--teal),
      var(--blue)
    );
  box-shadow:
    0 17px 38px rgba(0, 140, 140, .32),
    0 0 0 15px rgba(0, 140, 140, .09);
  scale: 1.06;
}

.ecosystem-orbit-node[data-ecosystem-component] {
  z-index: 13;
  transition:
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s ease,
    opacity .3s ease;
}

.ecosystem-orbit-node.component-active {
  color: white !important;
  background:
    linear-gradient(
      145deg,
      var(--teal),
      var(--blue)
    ) !important;
  border-color: white !important;
  box-shadow:
    0 13px 28px rgba(0, 140, 140, .30),
    0 0 0 9px rgba(0, 140, 140, .11) !important;
  transform: scale(1.11) !important;
}

.ecosystem-orbit-node.component-related {
  color: var(--navy);
  background: #dcf7f4;
  border-color: var(--teal);
  box-shadow:
    0 9px 20px rgba(0, 140, 140, .18);
  transform: scale(1.045);
}

.ecosystem-orbit-node.component-muted {
  opacity: .42;
}

.ecosystem-signal-lines line.signal-active {
  opacity: 1;
  animation:
    ecosystem-outbound-signal 1.15s linear infinite;
}

.ecosystem-signal-lines line.signal-return {
  opacity: 1;
  animation:
    ecosystem-return-signal 1.15s linear infinite;
}

@keyframes ecosystem-outbound-signal {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ecosystem-return-signal {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 100;
  }
}

.ecosystem-cross-links path.cross-active {
  stroke: var(--gold);
  stroke-width: 4;
  opacity: 1;
  animation:
    ecosystem-cross-pulse 1.45s ease-in-out infinite;
}

@keyframes ecosystem-cross-pulse {
  0%,
  100% {
    opacity: .45;
  }

  50% {
    opacity: 1;
  }
}

.ecosystem-interaction-caption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  z-index: 20;
  min-height: 44px;
  padding: 9px 12px;
  color: #173c61;
  background: rgba(255, 255, 255, .94);
  border: 1.5px solid var(--teal);
  border-radius: 11px;
  box-shadow:
    0 7px 17px rgba(8, 43, 89, .13);
  font-size: .67rem;
  font-weight: 750;
  text-align: center;
  backdrop-filter: blur(7px);
  transition:
    color .3s ease,
    background .3s ease,
    transform .3s ease;
}

.ecosystem-interaction-caption.caption-active {
  color: white;
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--teal)
    );
  transform: translateY(-2px);
}

.ecosystem-primary-map.ecosystem-user-active
  .ecosystem-ring {
  animation-play-state: paused !important;
}

/*
   Default automatic motion is enabled independently of the previous
   global animation controller.
*/

.ecosystem-primary-map[data-human-ecosystem-animation]
  .ecosystem-ring {
  animation:
    ecosystem-interaction-ring 24s linear infinite;
}

.ecosystem-primary-map[data-human-ecosystem-animation]
  .ring-two {
  animation-direction: reverse;
  animation-duration: 34s;
}

@keyframes ecosystem-interaction-ring {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

.ecosystem-primary-map[data-human-ecosystem-animation]
  .ecosystem-core {
  animation:
    ecosystem-interaction-core 3s ease-in-out infinite;
}

@keyframes ecosystem-interaction-core {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.13);
  }
}

@media (max-width: 620px) {
  .ecosystem-primary-map[data-human-ecosystem-animation] {
    min-height: 350px;
  }

  .ecosystem-interaction-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-primary-map[data-human-ecosystem-animation]
    .ecosystem-ring,
  .ecosystem-primary-map[data-human-ecosystem-animation]
    .ecosystem-core,
  .ecosystem-signal-lines line,
  .ecosystem-cross-links path {
    animation: none !important;
  }
}


/* ==========================================================================
   HReality OS — Ecosystem Caption Below Image
   ========================================================================== */

.ecosystem-hero-grid {
  align-items: start;
}

.ecosystem-primary-map {
  margin-bottom: 0 !important;
}

/*
   The caption is now a normal document-flow element beneath the visual.
*/

.ecosystem-primary-map + .ecosystem-interaction-caption {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;

  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 10px 13px;

  color: #173c61;
  background:
    linear-gradient(
      90deg,
      #edf6ff,
      #e1f8f5
    );

  border: 2px solid var(--teal);
  border-radius: 11px;
  box-shadow:
    0 7px 17px rgba(8,43,89,.12);

  font-size: .69rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;

  backdrop-filter: none;
  transform: none !important;
}

/*
   Dynamic active state remains visible but no longer moves over the graphic.
*/

.ecosystem-primary-map + .ecosystem-interaction-caption.caption-active {
  color: white;
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--teal)
    );
  border-color: #ffffff;
  transform: none !important;
}

/*
   Remove old absolute positioning in case the earlier selector still wins.
*/

.ecosystem-interaction-caption {
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

/*
   Keep the right-side hero column grouped as visual + caption.
*/

.ecosystem-hero-grid > div:has(
  .ecosystem-primary-map
) {
  display: flex;
  flex-direction: column;
}

@media (max-width: 620px) {
  .ecosystem-primary-map + .ecosystem-interaction-caption {
    margin-top: 7px;
    padding: 9px 10px;
    font-size: .65rem;
  }
}


/* ==========================================================================
   HReality OS — Ecosystem Right-Column Caption Repair
   ========================================================================== */

/*
   The hero grid must contain exactly two principal children:
   1. ecosystem-hero-copy
   2. ecosystem-visual-column
*/

.ecosystem-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr) !important;
  align-items: start !important;
}

.ecosystem-hero-copy {
  min-width: 0;
}

.ecosystem-visual-column {
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
  align-self: start;
}

.ecosystem-visual-column .ecosystem-primary-map {
  position: relative;
  width: 100%;
  margin: 0 !important;
  flex: 0 0 auto;
}

/*
   Caption is a normal-flow element directly beneath the image. It is no
   longer absolutely positioned and cannot overlay the diagram.
*/

.ecosystem-visual-column > .ecosystem-interaction-caption {
  position: relative !important;
  inset: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2 !important;

  display: flex;
  width: 100%;
  min-height: 50px;
  margin: 8px 0 0 !important;
  padding: 10px 14px;

  align-items: center;
  justify-content: center;

  color: #173c61 !important;
  background:
    linear-gradient(
      90deg,
      #edf6ff,
      #e1f8f5
    ) !important;

  border: 2px solid var(--teal) !important;
  border-radius: 11px;
  box-shadow:
    0 7px 17px rgba(8,43,89,.12);

  font-size: .69rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;

  transform: none !important;
  transition:
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease !important;
}

/*
   Animated explanation state. JavaScript changes the text as each component
   becomes active.
*/

.ecosystem-visual-column
  > .ecosystem-interaction-caption.caption-active {
  color: #ffffff !important;
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--teal)
    ) !important;

  border-color: #067b86 !important;
  box-shadow:
    0 9px 21px rgba(0,112,142,.22);
  transform: none !important;
}

/*
   Neutral state shown before or after the animated sequence.
*/

.ecosystem-visual-column
  > .ecosystem-interaction-caption.caption-neutral {
  color: #173c61 !important;
  background:
    linear-gradient(
      90deg,
      #edf6ff,
      #e1f8f5
    ) !important;
}

/*
   Disable earlier structural workaround. The :has() rule was not reliable
   after the caption became a sibling rather than a child of the map.
*/

.ecosystem-hero-grid > div:has(.ecosystem-primary-map) {
  display: initial;
}

/*
   Keep the map large enough for lower nodes now that the caption no longer
   occupies any part of the visual.
*/

.ecosystem-visual-column .ecosystem-primary-map {
  min-height: 380px;
}

/*
   Responsive layout: image and caption remain grouped when the hero changes
   from two columns to one.
*/

@media (max-width: 920px) {
  .ecosystem-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .ecosystem-visual-column {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .ecosystem-visual-column .ecosystem-primary-map {
    min-height: 350px;
  }

  .ecosystem-visual-column
    > .ecosystem-interaction-caption {
    min-height: 46px;
    margin-top: 7px !important;
    padding: 9px 10px;
    font-size: .65rem;
  }
}


/* ==========================================================================
   HReality OS — Ecosystem Right-Column Caption Repair
   ========================================================================== */

/*
   The hero grid must contain exactly two principal children:
   1. ecosystem-hero-copy
   2. ecosystem-visual-column
*/

.ecosystem-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr) !important;
  align-items: start !important;
}

.ecosystem-hero-copy {
  min-width: 0;
}

.ecosystem-visual-column {
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
  align-self: start;
}

.ecosystem-visual-column .ecosystem-primary-map {
  position: relative;
  width: 100%;
  margin: 0 !important;
  flex: 0 0 auto;
}

/*
   Caption is a normal-flow element directly beneath the image. It is no
   longer absolutely positioned and cannot overlay the diagram.
*/

.ecosystem-visual-column > .ecosystem-interaction-caption {
  position: relative !important;
  inset: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2 !important;

  display: flex;
  width: 100%;
  min-height: 50px;
  margin: 8px 0 0 !important;
  padding: 10px 14px;

  align-items: center;
  justify-content: center;

  color: #173c61 !important;
  background:
    linear-gradient(
      90deg,
      #edf6ff,
      #e1f8f5
    ) !important;

  border: 2px solid var(--teal) !important;
  border-radius: 11px;
  box-shadow:
    0 7px 17px rgba(8,43,89,.12);

  font-size: .69rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;

  transform: none !important;
  transition:
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease !important;
}

/*
   Animated explanation state. JavaScript changes the text as each component
   becomes active.
*/

.ecosystem-visual-column
  > .ecosystem-interaction-caption.caption-active {
  color: #ffffff !important;
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--teal)
    ) !important;

  border-color: #067b86 !important;
  box-shadow:
    0 9px 21px rgba(0,112,142,.22);
  transform: none !important;
}

/*
   Neutral state shown before or after the animated sequence.
*/

.ecosystem-visual-column
  > .ecosystem-interaction-caption.caption-neutral {
  color: #173c61 !important;
  background:
    linear-gradient(
      90deg,
      #edf6ff,
      #e1f8f5
    ) !important;
}

/*
   Disable earlier structural workaround. The :has() rule was not reliable
   after the caption became a sibling rather than a child of the map.
*/

.ecosystem-hero-grid > div:has(.ecosystem-primary-map) {
  display: initial;
}

/*
   Keep the map large enough for lower nodes now that the caption no longer
   occupies any part of the visual.
*/

.ecosystem-visual-column .ecosystem-primary-map {
  min-height: 380px;
}

/*
   Responsive layout: image and caption remain grouped when the hero changes
   from two columns to one.
*/

@media (max-width: 920px) {
  .ecosystem-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .ecosystem-visual-column {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .ecosystem-visual-column .ecosystem-primary-map {
    min-height: 350px;
  }

  .ecosystem-visual-column
    > .ecosystem-interaction-caption {
    min-height: 46px;
    margin-top: 7px !important;
    padding: 9px 10px;
    font-size: .65rem;
  }
}


/* ==========================================================================
   HReality OS — Scientific Method Page
   ========================================================================== */

.method-hero {
  padding: 24px 0 21px;
  background:
    radial-gradient(circle at 87% 14%, rgba(0,140,140,.20), transparent 31%),
    radial-gradient(circle at 71% 87%, rgba(14,88,168,.11), transparent 33%),
    linear-gradient(180deg, #eaf5ff, #ffffff);
  border-bottom: 2px solid var(--border-strong);
}

.method-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 28px;
}

.method-hero h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(1.85rem, 3vw, 2.9rem);
}

.method-hero .lead {
  max-width: 760px;
  margin-bottom: 9px;
  font-size: .98rem;
}

.method-hero-actions {
  display: flex;
  margin-top: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

.method-principles {
  display: flex;
  margin-top: 13px;
  flex-wrap: wrap;
  gap: 6px;
}

.method-principles span {
  padding: 5px 8px;
  color: var(--navy);
  background: #e1f6f4;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 850;
}

.method-hero-visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background:
    radial-gradient(circle, white, #e4f2fc 72%);
  border: 2px solid var(--border-strong);
  border-radius: 23px;
  box-shadow: var(--shadow-md);
}

.method-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  display: grid;
  width: 110px;
  height: 110px;
  padding: 12px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #031e3d, var(--blue));
  border: 8px solid white;
  border-radius: 50%;
  box-shadow: 0 15px 32px rgba(8,43,89,.28);
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
}

.method-core small {
  display: block;
  color: #d5e7f5;
  font-size: .48rem;
  font-weight: 700;
}

.method-node {
  position: absolute;
  z-index: 10;
  display: grid;
  width: 94px;
  min-height: 48px;
  padding: 7px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 2px solid var(--teal);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: .64rem;
  font-weight: 850;
}

.mn-decompose {
  top: 14px;
  left: calc(50% - 47px);
}

.mn-relate {
  top: 78px;
  right: 18px;
}

.mn-hypothesize {
  right: 64px;
  bottom: 20px;
}

.mn-test {
  bottom: 20px;
  left: 64px;
}

.mn-update {
  top: 78px;
  left: 18px;
}

.method-hero-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.method-hero-lines line {
  stroke: rgba(0,140,140,.42);
  stroke-width: 2;
  stroke-dasharray: 6 7;
  vector-effect: non-scaling-stroke;
}

.method-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1.5px dashed rgba(14,88,168,.27);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.method-orbit-one {
  width: 210px;
  height: 210px;
}

.method-orbit-two {
  width: 292px;
  height: 292px;
}

.method-section {
  padding: 19px 0;
}

.method-soft {
  background:
    linear-gradient(180deg, #f2f7fb, #e9f1f8);
  border-top: 1px solid #bdccdb;
  border-bottom: 1px solid #bdccdb;
}

.method-section-heading {
  display: flex;
  margin-bottom: 11px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.method-section-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.method-section-heading > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .82rem;
}

/* Visible problem */

.method-entry-grid {
  display: grid;
  grid-template-columns: .72fr auto 1.28fr;
  align-items: center;
  gap: 12px;
}

.method-visible-problem {
  padding: 16px;
  background:
    linear-gradient(145deg, #fff1cf, white);
  border: 2px solid #c89200;
  border-top: 5px solid var(--gold);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.method-visible-problem > span {
  color: #8b6500;
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-visible-problem blockquote {
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
}

.method-visible-problem p {
  margin-bottom: 0;
  font-size: .72rem;
}

.method-entry-arrow {
  color: var(--teal);
  font-size: 1.7rem;
  font-weight: 900;
}

.method-factor-map {
  display: flex;
  padding: 15px;
  flex-wrap: wrap;
  gap: 7px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.method-factor-map span {
  padding: 7px 9px;
  color: var(--navy);
  background: #e5f6f4;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
}

.method-principle-callout {
  margin-top: 10px;
  padding: 13px 15px;
  background:
    linear-gradient(90deg, #e8f4ff, #e3f7f4);
  border: 1.5px solid var(--teal);
  border-left: 6px solid var(--blue);
  border-radius: 0 12px 12px 0;
}

.method-principle-callout p {
  margin-bottom: 0;
}

/* Decomposition */

.decomposition-stack {
  display: grid;
  gap: 6px;
}

.decomposition-level {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 13px;
  align-items: start;
  gap: 12px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.decomposition-level-number {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--teal));
  border-radius: 11px;
  font-size: .68rem;
  font-weight: 900;
}

.decomposition-level span {
  color: var(--teal);
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.decomposition-level h3 {
  margin: 3px 0 4px;
  font-size: .98rem;
}

.decomposition-level p {
  margin-bottom: 0;
  font-size: .72rem;
}

.decomposition-down-arrow {
  color: var(--teal);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
}

.decomposition-tags {
  display: flex;
  margin-top: 7px;
  flex-wrap: wrap;
  gap: 6px;
}

.decomposition-tags b {
  padding: 6px 8px;
  color: var(--navy);
  background: #edf5fc;
  border: 1px solid #8ba8c4;
  border-radius: 999px;
  font-size: .62rem;
}

.decomposition-subsystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 7px;
  gap: 6px;
}

.decomposition-subsystem-grid p {
  padding: 8px;
  background: #f3f7fb;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.level-zero {
  border-top: 5px solid var(--gold);
}

.level-one {
  border-top: 5px solid #1760c3;
}

.level-two {
  border-top: 5px solid #6c3cc3;
}

.level-three {
  border-top: 5px solid #0088a8;
}

.level-four {
  border-top: 5px solid #16894f;
}

.method-stop-rule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  gap: 9px;
}

.method-stop-rule > div {
  padding: 12px;
  background: #f5f9fc;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
}

.method-stop-rule p {
  margin-bottom: 0;
  font-size: .72rem;
}

/* Relationship taxonomy */

.relationship-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.relationship-taxonomy-grid article {
  min-height: 142px;
  padding: 12px;
  background: white;
  border: 1.5px solid var(--border-strong);
  border-top: 4px solid var(--teal);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}

.relationship-taxonomy-grid article > span {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 7px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: .55rem;
  font-weight: 900;
}

.relationship-taxonomy-grid h3 {
  margin-bottom: 4px;
  font-size: .8rem;
}

.relationship-taxonomy-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .67rem;
}

/* Causal map */

.method-causal-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: 24px;
}

.method-causal-grid h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.method-causal-legend {
  display: flex;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.method-causal-legend span {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 850;
}

.legend-driver {
  color: #704f00;
  background: #ffe9a3;
}

.legend-mediator {
  color: #075c5c;
  background: #d8f5f2;
}

.legend-outcome {
  color: #7b1e53;
  background: #f9ddeb;
}

.legend-feedback {
  color: #4f2785;
  background: #eadcf8;
}

.method-causal-map {
  display: grid;
  grid-template-columns:
    1fr auto 1fr auto 1fr auto 1fr auto
    1fr auto 1fr auto 1fr auto 1fr;
  padding: 18px;
  align-items: center;
  gap: 5px;
  background:
    radial-gradient(circle, white, #e9f4fc);
  border: 2px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.causal-node {
  display: grid;
  min-height: 72px;
  padding: 8px;
  place-items: center;
  background: white;
  border: 2px solid var(--teal);
  border-radius: 10px;
  text-align: center;
  font-size: .62rem;
  font-weight: 850;
}

.cn-finance {
  border-color: var(--gold-strong);
  background: #fff4cb;
}

.cn-weight {
  border-color: #cb3979;
  background: #fde7f1;
}

.causal-arrow {
  color: var(--teal);
  font-weight: 900;
  transform: rotate(-90deg);
}

.causal-feedback {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 9px;
  color: #4d277a;
  background: #eee2f9;
  border: 2px dashed #7c43a9;
  border-radius: 10px;
  text-align: center;
  font-size: .7rem;
  font-weight: 850;
}

/* Hypotheses */

.hypothesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.hypothesis-card {
  padding: 13px;
  background: white;
  border: 2px solid var(--border-strong);
  border-top: 5px solid #6c3cc3;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.hypothesis-header {
  display: flex;
  margin-bottom: 6px;
  align-items: center;
  gap: 7px;
}

.hypothesis-header span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: white;
  background: #6c3cc3;
  border-radius: 8px;
  font-size: .58rem;
  font-weight: 900;
}

.hypothesis-header strong {
  color: var(--navy);
  font-size: .76rem;
}

.hypothesis-card p {
  font-size: .7rem;
}

.hypothesis-card > div:not(.hypothesis-header) {
  margin-top: 5px;
  padding: 6px;
  background: #f4f7fb;
  border-radius: 7px;
  font-size: .62rem;
}

/* Evidence classification */

.evidence-classification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.evidence-classification-grid article {
  padding: 13px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.evidence-classification-grid article > span {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.evidence-classification-grid blockquote {
  min-height: 58px;
  margin: 9px 0;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 850;
}

.evidence-classification-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .66rem;
}

.evidence-reported > span {
  color: #125180;
  background: #dceeff;
}

.evidence-observation > span {
  color: #08623c;
  background: #d8f5e6;
}

.evidence-interpretation > span {
  color: #774e00;
  background: #ffedb4;
}

.evidence-hypothesis > span {
  color: #5e2d8b;
  background: #eadcf8;
}

.evidence-unknown > span {
  color: #5d6873;
  background: #e9edf1;
}

.evidence-recommendation > span {
  color: #00666c;
  background: #d6f3f2;
}

/* Adaptive questioning */

.method-questioning-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: 22px;
}

.method-questioning-grid h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.method-question-rule {
  margin-top: 9px;
  padding: 10px;
  background: white;
  border: 1.5px solid var(--border-strong);
  border-radius: 9px;
}

.method-question-rule p {
  margin-bottom: 0;
  font-size: .7rem;
}

.adaptive-question-chain {
  display: grid;
  gap: 5px;
}

.adaptive-question-chain article {
  padding: 10px 12px;
  background: white;
  border: 1.5px solid var(--border-strong);
  border-left: 5px solid var(--teal);
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.adaptive-question-chain article span {
  display: block;
  color: var(--teal);
  font-size: .55rem;
  font-weight: 900;
  text-transform: uppercase;
}

.adaptive-question-chain article strong {
  color: var(--navy);
  font-size: .72rem;
}

.adaptive-question-chain > b {
  color: var(--teal);
  text-align: center;
}

.adaptive-question-chain .adaptive-model-result {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: white;
}

.adaptive-model-result span,
.adaptive-model-result strong {
  color: white !important;
}

/* Confidence */

.confidence-grid {
  display: grid;
  grid-template-columns: .8fr .8fr 1.4fr;
  gap: 9px;
}

.confidence-grid article {
  padding: 13px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.confidence-positive {
  border-top: 5px solid #16894f !important;
}

.confidence-negative {
  border-top: 5px solid #cb4939 !important;
}

.confidence-dashboard {
  border-top: 5px solid var(--blue) !important;
}

.confidence-grid h3 {
  font-size: .86rem;
}

.confidence-grid li {
  margin-bottom: 4px;
  font-size: .68rem;
}

.confidence-dashboard > div {
  display: grid;
  grid-template-columns: 150px 1fr 38px;
  margin-bottom: 8px;
  align-items: center;
  gap: 7px;
  font-size: .62rem;
}

.confidence-dashboard i {
  display: block;
  height: 10px;
  overflow: hidden;
  background: #c6d3df;
  border-radius: 999px;
}

.confidence-dashboard i::after {
  display: block;
  width: var(--confidence-width);
  height: 100%;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: inherit;
}

.confidence-dashboard p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .6rem;
}

/* Priority */

.priority-logic {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 14px;
  align-items: center;
  gap: 12px;
  background: white;
  border: 2px solid var(--border-strong);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.priority-logic > div:not(.priority-divider) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.priority-logic span {
  padding: 7px 9px;
  color: var(--navy);
  background: #e7f3fc;
  border: 1px solid #80a5c6;
  border-radius: 9px;
  font-size: .65rem;
  font-weight: 800;
}

.priority-logic b {
  align-self: center;
  color: var(--teal);
}

.priority-divider {
  color: var(--gold-strong);
  font-size: 1.45rem;
  font-weight: 900;
}

.method-formula-disclaimer {
  margin: 7px 0 10px;
  color: var(--muted);
  font-size: .65rem;
  text-align: center;
}

.method-priority-table-wrapper {
  overflow-x: auto;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.method-priority-table {
  width: 100%;
  border-collapse: collapse;
}

.method-priority-table th {
  padding: 9px;
  color: white;
  background: var(--navy);
  font-size: .66rem;
  text-align: left;
}

.method-priority-table td {
  padding: 9px;
  border-bottom: 1px solid var(--border);
  font-size: .66rem;
}

.method-priority-table tr:nth-child(even) td {
  background: #f3f7fb;
}

.method-priority-table span {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 999px;
  font-weight: 850;
}

.priority-low {
  color: #84271f;
  background: #f9d8d3;
}

.priority-high {
  color: #08623c;
  background: #d8f5e6;
}

.priority-conditional {
  color: #745400;
  background: #ffecb0;
}

/* Experiment */

.experiment-flow {
  display: grid;
  grid-template-columns:
    1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 5px;
}

.experiment-flow article {
  min-height: 150px;
  padding: 11px;
  background: white;
  border: 1.5px solid var(--border-strong);
  border-top: 4px solid var(--teal);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.experiment-flow article > span {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 7px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: .54rem;
  font-weight: 900;
}

.experiment-flow h3 {
  font-size: .76rem;
}

.experiment-flow p {
  margin-bottom: 0;
  font-size: .64rem;
}

.experiment-flow > b {
  align-self: center;
  color: var(--teal);
}

/* Feedback */

.method-feedback-section {
  color: white;
  background:
    radial-gradient(circle at 87% 18%, rgba(0,170,170,.38), transparent 31%),
    linear-gradient(135deg, #031a34, #083b72);
}

.method-feedback-section h2,
.method-feedback-section h3,
.method-feedback-section strong {
  color: white !important;
}

.method-feedback-section .eyebrow {
  color: #72ded8 !important;
}

.method-feedback-section p {
  color: #dbe8f3;
}

.feedback-cycle {
  display: grid;
  grid-template-columns:
    repeat(10, minmax(76px, 1fr) auto);
  overflow-x: auto;
  padding: 14px;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(114,222,216,.65);
  border-radius: 13px;
}

.feedback-cycle div {
  display: grid;
  min-height: 67px;
  padding: 7px;
  place-items: center;
  color: white;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 9px;
  text-align: center;
  font-size: .6rem;
  font-weight: 800;
}

.feedback-cycle span {
  color: #72ded8;
  font-weight: 900;
}

.feedback-stop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  gap: 9px;
}

.feedback-stop-grid > div {
  padding: 11px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
}

.feedback-stop-grid p {
  margin-bottom: 0;
  font-size: .68rem;
}

/* Success walkthrough */

.success-method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.success-method-grid article {
  padding: 13px;
  background: white;
  border: 2px solid var(--border-strong);
  border-top: 5px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.success-method-grid article > span {
  color: #8a6200;
  font-size: .57rem;
  font-weight: 900;
  text-transform: uppercase;
}

.success-method-grid h3 {
  margin: 5px 0;
  font-size: .92rem;
}

.success-method-grid p,
.success-method-grid li {
  font-size: .68rem;
}

.success-level-one > div {
  display: flex;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.success-level-one b {
  padding: 6px 8px;
  color: var(--navy);
  background: #fff0bc;
  border: 1px solid #d1a01a;
  border-radius: 999px;
  font-size: .62rem;
}

.success-decomposition-list p {
  margin-bottom: 5px;
  padding: 6px;
  background: #f5f8fb;
  border-radius: 7px;
}

.success-leverage {
  grid-column: 1 / -1;
  background:
    linear-gradient(145deg, #fff2c5, white) !important;
}

.success-leverage a {
  color: var(--teal);
  font-size: .68rem;
  font-weight: 900;
}

/* Boundaries */

.method-boundary-section {
  background:
    linear-gradient(180deg, #fff7dd, #fffdf5);
  border-top: 1px solid #dfbd57;
  border-bottom: 1px solid #dfbd57;
}

.method-boundary-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: start;
  gap: 22px;
}

.method-boundary-grid h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.method-boundary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.method-boundary-list > div {
  padding: 11px;
  background: white;
  border: 1.5px solid #cfac43;
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.method-boundary-list strong {
  color: var(--navy);
  font-size: .72rem;
}

.method-boundary-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .65rem;
}

/* Final CTA */

.method-final-cta {
  padding: 20px 0;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(0,170,170,.40), transparent 31%),
    linear-gradient(135deg, #031a34, #083b72);
  border-bottom: 2px solid #021528;
}

.method-final-cta-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 20px;
}

.method-final-cta h2 {
  margin-bottom: 6px;
  color: white !important;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.method-final-cta p {
  margin-bottom: 0;
  color: #dce8f4;
}

.method-final-cta .eyebrow {
  color: #72ded8 !important;
}

.method-final-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.method-final-actions .btn-secondary {
  color: white !important;
  background: transparent !important;
  border-color: #72ded8 !important;
}

/* Animation */

html.hros-motion-on .method-core {
  animation: method-core-pulse 3s ease-in-out infinite;
}

@keyframes method-core-pulse {
  0%,
  100% {
    scale: 1;
    filter: brightness(1);
  }

  50% {
    scale: 1.05;
    filter: brightness(1.12);
  }
}

html.hros-motion-on .method-orbit {
  animation: method-orbit-spin 25s linear infinite;
}

html.hros-motion-on .method-orbit-two {
  animation-direction: reverse;
  animation-duration: 37s;
}

@keyframes method-orbit-spin {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

html.hros-motion-on .method-node {
  animation: method-node-float 4s ease-in-out infinite;
}

html.hros-motion-on .method-node:nth-of-type(2n) {
  animation-delay: -1.4s;
}

html.hros-motion-on .method-node:nth-of-type(3n) {
  animation-delay: -2.7s;
}

@keyframes method-node-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

html.hros-motion-on .decomposition-level,
html.hros-motion-on .adaptive-question-chain article,
html.hros-motion-on .experiment-flow article {
  animation: method-sequence-pulse 6s ease-in-out infinite;
}

html.hros-motion-on .decomposition-level:nth-of-type(2),
html.hros-motion-on .adaptive-question-chain article:nth-of-type(2),
html.hros-motion-on .experiment-flow article:nth-of-type(2) {
  animation-delay: .7s;
}

html.hros-motion-on .decomposition-level:nth-of-type(3),
html.hros-motion-on .adaptive-question-chain article:nth-of-type(3),
html.hros-motion-on .experiment-flow article:nth-of-type(3) {
  animation-delay: 1.4s;
}

html.hros-motion-on .decomposition-level:nth-of-type(4),
html.hros-motion-on .adaptive-question-chain article:nth-of-type(4),
html.hros-motion-on .experiment-flow article:nth-of-type(4) {
  animation-delay: 2.1s;
}

html.hros-motion-on .decomposition-level:nth-of-type(5),
html.hros-motion-on .adaptive-question-chain article:nth-of-type(5),
html.hros-motion-on .experiment-flow article:nth-of-type(5) {
  animation-delay: 2.8s;
}

@keyframes method-sequence-pulse {
  0%,
  12%,
  100% {
    translate: 0 0;
  }

  6% {
    translate: 0 -4px;
    box-shadow: 0 12px 26px rgba(0,140,140,.18);
  }
}

@media (max-width: 1100px) {
  .relationship-taxonomy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .experiment-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .experiment-flow > b {
    display: none;
  }

  .method-causal-map {
    grid-template-columns: repeat(4, 1fr);
  }

  .causal-arrow {
    display: none;
  }
}

@media (max-width: 880px) {
  .method-hero-grid,
  .method-causal-grid,
  .method-questioning-grid,
  .method-boundary-grid,
  .method-final-cta-grid {
    grid-template-columns: 1fr;
  }

  .method-entry-grid {
    grid-template-columns: 1fr;
  }

  .method-entry-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .relationship-taxonomy-grid,
  .hypothesis-grid,
  .evidence-classification-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .confidence-dashboard {
    grid-column: 1 / -1;
  }

  .method-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .method-hero,
  .method-section {
    padding: 15px 0;
  }

  .method-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .relationship-taxonomy-grid,
  .hypothesis-grid,
  .evidence-classification-grid,
  .confidence-grid,
  .success-method-grid,
  .method-boundary-list,
  .method-stop-rule,
  .feedback-stop-grid {
    grid-template-columns: 1fr;
  }

  .decomposition-subsystem-grid {
    grid-template-columns: 1fr;
  }

  .priority-logic {
    grid-template-columns: 1fr;
  }

  .priority-divider {
    text-align: center;
  }

  .experiment-flow {
    grid-template-columns: 1fr;
  }

  .method-causal-map {
    grid-template-columns: 1fr;
  }

  .success-leverage {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-core,
  .method-orbit,
  .method-node,
  .decomposition-level,
  .adaptive-question-chain article,
  .experiment-flow article {
    animation: none !important;
  }
}


/* ==========================================================================
   HReality OS — Multi-Level Recursive Decomposition Visual
   ========================================================================== */

.recursive-visual-shell {
  overflow: hidden;
  background: #ffffff;
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.recursive-toolbar {
  display: flex;
  padding: 12px 14px;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(
      90deg,
      #eef6fd,
      #e4f7f4
    );
  border-bottom: 1.5px solid var(--border-strong);
}

.recursive-example-control {
  min-width: 270px;
}

.recursive-example-control label {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: .65rem;
  font-weight: 900;
}

.recursive-example-control select {
  width: 100%;
  min-height: 39px;
}

.recursive-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.recursive-status-row {
  display: grid;
  grid-template-columns: .8fr 1.4fr .8fr;
  padding: 10px 14px;
  gap: 8px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.recursive-status-row > div {
  padding: 8px 10px;
  background: #f3f7fb;
  border: 1px solid var(--border);
  border-radius: 9px;
}

.recursive-status-row span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .56rem;
  font-weight: 800;
  text-transform: uppercase;
}

.recursive-status-row strong {
  color: var(--navy);
  font-size: .68rem;
}

.recursive-stage {
  position: relative;
  padding: 10px;
  background:
    radial-gradient(
      circle at center,
      #ffffff,
      #edf6fc 65%,
      #e5eff8
    );
}

.recursive-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 560px;
}

.recursive-ring {
  fill: none;
  stroke: rgba(14,88,168,.22);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  transform-origin: 600px 360px;
}

.recursive-ring-l2,
.recursive-ring-l4 {
  stroke: rgba(0,140,140,.25);
}

.recursive-depth-labels text {
  fill: #66788b;
  font-size: 16px;
  font-weight: 800;
  text-anchor: middle;
}

.recursive-node {
  cursor: pointer;
  transition:
    opacity .35s ease,
    filter .35s ease;
}

.recursive-node rect {
  fill: #ffffff;
  stroke: #7891aa;
  stroke-width: 2;
  rx: 12;
  transition:
    fill .3s ease,
    stroke .3s ease,
    stroke-width .3s ease;
}

.recursive-node text {
  fill: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.recursive-node[data-depth="0"] rect {
  fill: #083b72;
  stroke: #ffffff;
  stroke-width: 7;
}

.recursive-node[data-depth="0"] text {
  fill: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.recursive-node.node-supported rect {
  fill: #e0f4ff;
  stroke: var(--blue);
}

.recursive-node.node-hypothesis rect {
  fill: #f6f0ff;
  stroke: #7741ad;
  stroke-dasharray: 7 5;
}

.recursive-node.node-unresolved rect {
  fill: #fff0bd;
  stroke: #bd8700;
  stroke-dasharray: 4 4;
}

.recursive-node.node-action rect {
  fill: #ddf8e9;
  stroke: #16894f;
  stroke-width: 3;
}

.recursive-node.node-professional rect {
  fill: #ffe2df;
  stroke: #bd3328;
  stroke-width: 3;
}

.recursive-node.node-active rect {
  stroke: var(--teal);
  stroke-width: 5;
  filter: url(#recursive-glow);
}

.recursive-node.node-muted {
  opacity: .18;
}

.recursive-edge {
  fill: none;
  stroke: #7994ad;
  stroke-width: 2;
  opacity: .45;
  marker-end: url(#recursive-arrow);
  transition:
    stroke .3s ease,
    opacity .3s ease,
    stroke-width .3s ease;
}

.recursive-edge.edge-active {
  stroke: var(--teal);
  stroke-width: 4;
  opacity: 1;
  filter: url(#recursive-glow);
}

.recursive-edge.edge-return {
  stroke: var(--gold-strong);
  stroke-dasharray: 12 8;
}

.recursive-edge-label {
  fill: #ffffff;
  stroke: var(--teal);
  stroke-width: 1.5;
  rx: 8;
}

.recursive-edge-label-text {
  fill: var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
}

.recursive-legend {
  display: flex;
  margin-top: 5px;
  padding: 7px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.recursive-legend span {
  padding: 4px 7px;
  border: 1.5px solid;
  border-radius: 999px;
  font-size: .57rem;
  font-weight: 850;
}

.legend-supported {
  color: #0f5784;
  background: #e0f4ff;
  border-color: var(--blue) !important;
}

.legend-hypothesis {
  color: #5b2e88;
  background: #f6f0ff;
  border-color: #7741ad !important;
}

.legend-unresolved {
  color: #735200;
  background: #fff0bd;
  border-color: #bd8700 !important;
}

.legend-action {
  color: #08613a;
  background: #ddf8e9;
  border-color: #16894f !important;
}

.legend-professional {
  color: #84261e;
  background: #ffe2df;
  border-color: #bd3328 !important;
}

.recursive-explanation {
  min-height: 64px;
  padding: 13px 16px;
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--teal)
    );
  border-top: 2px solid #067c86;
  font-size: .74rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.recursive-stopping-rule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px;
  gap: 9px;
  background: #f3f7fb;
}

.recursive-stopping-rule > div {
  padding: 10px;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-left: 5px solid var(--teal);
  border-radius: 9px;
}

.recursive-stopping-rule strong {
  color: var(--navy);
  font-size: .7rem;
}

.recursive-stopping-rule p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .66rem;
}

/* Animation */

html.hros-motion-on .recursive-ring-l1,
html.hros-motion-on .recursive-ring-l3 {
  animation: recursive-ring-spin 42s linear infinite;
}

html.hros-motion-on .recursive-ring-l2,
html.hros-motion-on .recursive-ring-l4 {
  animation: recursive-ring-spin 58s linear infinite reverse;
}

@keyframes recursive-ring-spin {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

html.hros-motion-on .recursive-edge.edge-active {
  stroke-dasharray: 16 10;
  animation: recursive-edge-signal 1.2s linear infinite;
}

html.hros-motion-on .recursive-edge.edge-return {
  animation-direction: reverse;
}

@keyframes recursive-edge-signal {
  from {
    stroke-dashoffset: 52;
  }

  to {
    stroke-dashoffset: 0;
  }
}

html.hros-motion-on .recursive-node.node-active {
  animation: recursive-node-pulse 1.6s ease-in-out infinite;
}

@keyframes recursive-node-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .72;
  }
}

@media (max-width: 900px) {
  .recursive-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .recursive-example-control {
    min-width: 0;
  }

  .recursive-toolbar-actions {
    justify-content: flex-start;
  }

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

  .recursive-svg {
    min-height: 480px;
  }
}

@media (max-width: 620px) {
  .recursive-stage {
    padding: 4px;
  }

  .recursive-svg {
    min-height: 390px;
  }

  .recursive-toolbar-actions .btn {
    flex: 1 1 44%;
  }

  .recursive-stopping-rule {
    grid-template-columns: 1fr;
  }

  .recursive-depth-labels text {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recursive-ring,
  .recursive-edge,
  .recursive-node {
    animation: none !important;
  }
}


/* ==========================================================================
   HReality OS — Recursive Level 0 Root Node Contrast
   ========================================================================== */

/*
   State classes such as .node-supported are declared after the original
   depth-zero rule and were overriding its dark background. These selectors
   deliberately have greater specificity and occur last in the stylesheet.
*/

.recursive-node[data-depth="0"] rect,
.recursive-node[data-depth="0"].node-supported rect,
.recursive-node[data-depth="0"].node-hypothesis rect,
.recursive-node[data-depth="0"].node-unresolved rect,
.recursive-node[data-depth="0"].node-action rect,
.recursive-node[data-depth="0"].node-professional rect {
  fill: #0754A1 !important;
  stroke: #FFFFFF !important;
  stroke-width: 7 !important;
  stroke-dasharray: none !important;
  filter:
    drop-shadow(0 10px 16px rgba(8,43,89,.24));
}

/*
   Preserve strong text contrast for every root-node state.
*/

.recursive-node[data-depth="0"] text,
.recursive-node[data-depth="0"].node-supported text,
.recursive-node[data-depth="0"].node-hypothesis text,
.recursive-node[data-depth="0"].node-unresolved text,
.recursive-node[data-depth="0"].node-action text,
.recursive-node[data-depth="0"].node-professional text {
  fill: #FFFFFF !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  paint-order: stroke;
  stroke: rgba(0,31,70,.28);
  stroke-width: .7px;
}

/*
   Active root node: teal-to-blue gradient appearance cannot be assigned
   directly without an SVG gradient, so use a more vivid solid teal-blue.
*/

.recursive-node[data-depth="0"].node-active rect {
  fill: #008C8C !important;
  stroke: #FFFFFF !important;
  stroke-width: 8 !important;
  filter:
    url(#recursive-glow)
    drop-shadow(0 12px 20px rgba(0,140,140,.30));
}

/*
   Keep muted-state logic from making the central reference unreadable.
   The root remains visible while peripheral branches are inspected.
*/

.recursive-node[data-depth="0"].node-muted {
  opacity: 1 !important;
}

/*
   Provide visual feedback when the root node is inspected.
*/

.recursive-node[data-depth="0"]:hover rect {
  fill: #006D80 !important;
  stroke: #FFFFFF !important;
}

/*
   Ensure all non-root supported nodes retain the intended pale-blue state.
*/

.recursive-node[data-depth]:not([data-depth="0"]).node-supported rect {
  fill: #E0F4FF;
  stroke: var(--blue);
}


/* ==========================================================================
   HReality OS — Expanded Relationship Taxonomy
   ========================================================================== */

.relationship-taxonomy-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.relationship-card {
  --relationship-accent: var(--teal);
  --relationship-soft: #e5f7f5;
  --relationship-dark: var(--navy);

  position: relative;
  display: flex;
  min-height: 330px;
  padding: 14px;
  overflow: hidden;
  flex-direction: column;

  background:
    radial-gradient(
      circle at 100% 0%,
      color-mix(
        in srgb,
        var(--relationship-accent) 18%,
        transparent
      ),
      transparent 32%
    ),
    linear-gradient(
      150deg,
      var(--relationship-soft),
      #ffffff 58%
    ) !important;

  border: 2px solid
    color-mix(
      in srgb,
      var(--relationship-accent) 66%,
      var(--border-strong)
    ) !important;

  border-top: 6px solid var(--relationship-accent) !important;
  border-radius: 14px !important;

  box-shadow:
    0 8px 19px rgba(8,43,89,.12) !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.relationship-card::after {
  position: absolute;
  top: -38px;
  right: -38px;
  width: 118px;
  height: 118px;
  content: "";
  background:
    color-mix(
      in srgb,
      var(--relationship-accent) 13%,
      transparent
    );
  border-radius: 50%;
  pointer-events: none;
  transition: transform .25s ease;
}

.relationship-card:hover {
  transform: translateY(-5px);
  border-color: var(--relationship-accent) !important;
  box-shadow:
    0 16px 32px rgba(8,43,89,.18) !important;
}

.relationship-card:hover::after {
  transform: scale(1.22);
}

.relationship-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  margin-bottom: 8px;
  align-items: center;
  gap: 9px;
}

.relationship-number {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  flex: 0 0 38px;
  place-items: center;

  color: #ffffff !important;
  background:
    linear-gradient(
      145deg,
      var(--relationship-accent),
      var(--relationship-dark)
    ) !important;

  border: 2px solid rgba(255,255,255,.80);
  border-radius: 50% !important;
  box-shadow:
    0 5px 12px
    color-mix(
      in srgb,
      var(--relationship-accent) 28%,
      transparent
    );

  font-size: .58rem !important;
  font-weight: 900 !important;
}

.relationship-card-header small {
  display: block;
  margin-bottom: 2px;
  color: var(--relationship-accent);
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.relationship-card-header h3 {
  margin: 0;
  color: var(--relationship-dark) !important;
  font-size: .91rem !important;
}

.relationship-definition {
  position: relative;
  z-index: 2;
  min-height: 59px;
  margin-bottom: 8px !important;
  color: #34495e !important;
  font-size: .69rem !important;
  line-height: 1.45;
}

.relationship-example,
.relationship-significance {
  position: relative;
  z-index: 2;
  margin-bottom: 7px;
  padding: 8px 9px;

  color: #34495e;
  background: rgba(255,255,255,.86);

  border: 1px solid
    color-mix(
      in srgb,
      var(--relationship-accent) 30%,
      var(--border)
    );

  border-radius: 8px;
  font-size: .63rem;
  line-height: 1.42;
}

.relationship-example strong,
.relationship-significance strong {
  display: block;
  margin-bottom: 2px;
  color: var(--relationship-accent);
  font-size: .57rem;
  font-weight: 900;
  text-transform: uppercase;
}

.relationship-significance {
  flex: 1 1 auto;
}

.relationship-notation {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: auto;
  padding: 8px 9px;

  background:
    color-mix(
      in srgb,
      var(--relationship-accent) 12%,
      #ffffff
    );

  border: 1.5px solid var(--relationship-accent);
  border-radius: 8px;
}

.relationship-notation span {
  margin-bottom: 2px;
  color: var(--relationship-accent);
  font-size: .51rem;
  font-weight: 900;
  text-transform: uppercase;
}

.relationship-notation b {
  color: var(--relationship-dark);
  font-size: .62rem;
}

/* --------------------------------------------------------------------------
   DISTINCT RELATIONSHIP COLORS
   -------------------------------------------------------------------------- */

.relationship-cause {
  --relationship-accent: #1769C2;
  --relationship-soft: #E5F1FF;
  --relationship-dark: #073B75;
}

.relationship-constraint {
  --relationship-accent: #D45B29;
  --relationship-soft: #FFF0E8;
  --relationship-dark: #7A2B0D;
}

.relationship-enabler {
  --relationship-accent: #159158;
  --relationship-soft: #E2F8EC;
  --relationship-dark: #075831;
}

.relationship-amplifier {
  --relationship-accent: #D19A00;
  --relationship-soft: #FFF5D5;
  --relationship-dark: #765500;
}

.relationship-mediator {
  --relationship-accent: #7A43B6;
  --relationship-soft: #F3EAFE;
  --relationship-dark: #482071;
}

.relationship-moderator {
  --relationship-accent: #087E91;
  --relationship-soft: #E0F6F8;
  --relationship-dark: #04505D;
}

.relationship-feedback {
  --relationship-accent: #C33876;
  --relationship-soft: #FCE7F1;
  --relationship-dark: #791B49;
}

.relationship-tradeoff {
  --relationship-accent: #C66B00;
  --relationship-soft: #FFF0DB;
  --relationship-dark: #743D00;
}

.relationship-dependency {
  --relationship-accent: #3949B7;
  --relationship-soft: #E9EBFF;
  --relationship-dark: #202A76;
}

.relationship-correlation {
  --relationship-accent: #547080;
  --relationship-soft: #EAF0F3;
  --relationship-dark: #2D424D;
}

.relationship-protective {
  --relationship-accent: #2E8B57;
  --relationship-soft: #E3F5EA;
  --relationship-dark: #155433;
}

.relationship-unknown {
  --relationship-accent: #B43A32;
  --relationship-soft: #FBE7E5;
  --relationship-dark: #70221D;
}

/* --------------------------------------------------------------------------
   RESPONSIVE PRESENTATION
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .relationship-taxonomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .relationship-taxonomy-grid {
    grid-template-columns: 1fr !important;
  }

  .relationship-card {
    min-height: auto;
  }

  .relationship-definition {
    min-height: 0;
  }
}


/* ==========================================================================
   HReality OS — Method Hero Ordered Sequence
   ========================================================================== */

.method-visual-column {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

.method-visual-column .method-hero-visual {
  width: 100%;
  margin: 0;
}

/* --------------------------------------------------------------------------
   DISTINCT STAGE COLORS
   -------------------------------------------------------------------------- */

.method-node {
  --method-step-color: var(--teal);
  --method-step-dark: var(--navy);
  --method-step-soft: #e3f7f4;

  appearance: none;
  cursor: pointer;
  font-family: inherit;

  transition:
    color .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    transform .28s ease,
    opacity .28s ease !important;
}

.method-node[data-method-step="decompose"] {
  --method-step-color: #1769C2;
  --method-step-dark: #073B75;
  --method-step-soft: #E2F1FF;
}

.method-node[data-method-step="relate"] {
  --method-step-color: #008C8C;
  --method-step-dark: #005A5A;
  --method-step-soft: #DDF7F4;
}

.method-node[data-method-step="hypothesize"] {
  --method-step-color: #7A43B6;
  --method-step-dark: #482071;
  --method-step-soft: #F2E8FC;
}

.method-node[data-method-step="test"] {
  --method-step-color: #D18F00;
  --method-step-dark: #745000;
  --method-step-soft: #FFF1C6;
}

.method-node[data-method-step="update"] {
  --method-step-color: #198A50;
  --method-step-dark: #07552F;
  --method-step-soft: #DDF5E7;
}

.method-node {
  color: var(--method-step-dark) !important;
  background: var(--method-step-soft) !important;
  border-color: var(--method-step-color) !important;
  border-width: 2px !important;
}

.method-node.method-step-active {
  z-index: 30;

  color: #ffffff !important;
  background:
    linear-gradient(
      145deg,
      var(--method-step-color),
      var(--method-step-dark)
    ) !important;

  border-color: #ffffff !important;
  border-width: 3px !important;

  box-shadow:
    0 13px 28px
      color-mix(
        in srgb,
        var(--method-step-color) 38%,
        transparent
      ),
    0 0 0 10px
      color-mix(
        in srgb,
        var(--method-step-color) 12%,
        transparent
      ) !important;

  transform: scale(1.12) !important;
}

.method-node.method-step-complete {
  opacity: .82;
  border-width: 2.5px !important;
  box-shadow:
    0 7px 16px
      color-mix(
        in srgb,
        var(--method-step-color) 22%,
        transparent
      ) !important;
}

.method-node.method-step-pending {
  opacity: .54;
}

/* --------------------------------------------------------------------------
   CENTRAL REALITY NODE
   -------------------------------------------------------------------------- */

.method-core[data-method-core] {
  transition:
    background .32s ease,
    box-shadow .32s ease,
    scale .32s ease,
    border-color .32s ease;
}

.method-core[data-method-core] strong {
  display: block;
  color: white;
  font-size: .8rem;
}

.method-core[data-method-core] small {
  max-width: 85px;
  line-height: 1.24;
}

.method-core.method-core-active {
  scale: 1.07;
  border-color: white;
  box-shadow:
    0 17px 36px rgba(8,43,89,.32),
    0 0 0 16px rgba(0,140,140,.09);
}

.method-core.method-core-decompose {
  background: linear-gradient(145deg, #1769C2, #073B75);
}

.method-core.method-core-relate {
  background: linear-gradient(145deg, #008C8C, #005A5A);
}

.method-core.method-core-hypothesize {
  background: linear-gradient(145deg, #7A43B6, #482071);
}

.method-core.method-core-test {
  background: linear-gradient(145deg, #D18F00, #745000);
}

.method-core.method-core-update {
  background: linear-gradient(145deg, #198A50, #07552F);
}

/* --------------------------------------------------------------------------
   CONNECTION LINES
   -------------------------------------------------------------------------- */

.method-base-connections line {
  stroke: rgba(75,111,143,.26);
  stroke-width: 2;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
}

.method-signal-connections line {
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 15 85;
  stroke-dashoffset: 100;
  opacity: 0;
  filter: url(#method-sequence-glow);
  vector-effect: non-scaling-stroke;
}

.method-signal-connections
  line[data-method-signal="decompose"] {
  stroke: #1769C2;
}

.method-signal-connections
  line[data-method-signal="relate"] {
  stroke: #008C8C;
}

.method-signal-connections
  line[data-method-signal="hypothesize"] {
  stroke: #7A43B6;
}

.method-signal-connections
  line[data-method-signal="test"] {
  stroke: #D18F00;
}

.method-signal-connections
  line[data-method-signal="update"] {
  stroke: #198A50;
}

.method-signal-connections line.method-signal-active {
  opacity: 1;
  animation:
    method-outbound-signal 1.1s linear infinite;
}

.method-signal-connections line.method-signal-return {
  opacity: 1;
  animation:
    method-return-signal 1.1s linear infinite;
}

@keyframes method-outbound-signal {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes method-return-signal {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 100;
  }
}

/* --------------------------------------------------------------------------
   OUTER SEQUENCE PATH
   -------------------------------------------------------------------------- */

.method-cycle-path {
  fill: none;
  stroke: rgba(99,130,158,.24);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  vector-effect: non-scaling-stroke;
}

.method-hero-visual.method-cycle-complete
  .method-cycle-path {
  stroke: #198A50;
  stroke-width: 4;
  stroke-dasharray: 15 10;
  animation:
    method-cycle-flow 1.45s linear infinite;
}

@keyframes method-cycle-flow {
  from {
    stroke-dashoffset: 50;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* --------------------------------------------------------------------------
   STAGE NUMBER INDICATOR
   -------------------------------------------------------------------------- */

.method-sequence-indicator {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 40;
  display: flex;
  min-width: 92px;
  padding: 6px 9px;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  background: rgba(255,255,255,.94);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(7px);
}

.method-sequence-indicator span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: .54rem;
  font-weight: 900;
}

.method-sequence-indicator b {
  font-size: .59rem;
}

/* --------------------------------------------------------------------------
   EXPLANATION BENEATH IMAGE
   -------------------------------------------------------------------------- */

.method-sequence-caption {
  display: flex;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 10px 14px;

  align-items: center;
  justify-content: center;

  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      #1769C2,
      #008C8C
    );

  border: 2px solid #087F88;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);

  font-size: .69rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;

  transition:
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.method-sequence-caption.caption-decompose {
  background: linear-gradient(90deg, #1769C2, #073B75);
  border-color: #1769C2;
}

.method-sequence-caption.caption-relate {
  background: linear-gradient(90deg, #008C8C, #005A5A);
  border-color: #008C8C;
}

.method-sequence-caption.caption-hypothesize {
  background: linear-gradient(90deg, #7A43B6, #482071);
  border-color: #7A43B6;
}

.method-sequence-caption.caption-test {
  background: linear-gradient(90deg, #D18F00, #745000);
  border-color: #D18F00;
}

.method-sequence-caption.caption-update {
  background: linear-gradient(90deg, #198A50, #07552F);
  border-color: #198A50;
}

/* --------------------------------------------------------------------------
   ACTIVE ANIMATION
   -------------------------------------------------------------------------- */

html.hros-motion-on .method-node.method-step-active {
  animation:
    method-step-breathe 1.35s ease-in-out infinite !important;
}

@keyframes method-step-breathe {
  0%,
  100% {
    scale: 1.12;
  }

  50% {
    scale: 1.17;
  }
}

@media (max-width: 620px) {
  .method-sequence-caption {
    min-height: 48px;
    padding: 9px 10px;
    font-size: .64rem;
  }

  .method-sequence-indicator {
    top: 8px;
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-node,
  .method-signal-connections line,
  .method-cycle-path {
    animation: none !important;
  }
}


/* ==========================================================================
   HReality OS — Long-Term Pricing Options
   ========================================================================== */

.long-term-pricing-card {
  grid-column: 1 / -1;
  padding: 14px !important;
  background:
    linear-gradient(
      145deg,
      #eef6fd,
      #ffffff
    ) !important;
  border: 2px solid var(--border-strong) !important;
  border-top: 6px solid var(--teal) !important;
  border-radius: 13px !important;
  box-shadow: var(--shadow-sm);
}

.long-term-pricing-heading {
  margin-bottom: 9px;
}

.long-term-pricing-heading > span {
  display: block;
  margin-bottom: 3px;
  color: var(--teal);
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.long-term-pricing-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: .92rem;
}

.long-term-pricing-card > p {
  max-width: 930px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.45;
}

.long-term-pricing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.long-term-pricing-options > div {
  display: flex;
  min-height: 205px;
  padding: 11px;
  flex-direction: column;
  background: white;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.long-term-pricing-options > div:nth-child(1) {
  border-top: 5px solid #008c8c;
}

.long-term-pricing-options > div:nth-child(2) {
  border-top: 5px solid #1769c2;
}

.long-term-pricing-options > div:nth-child(3) {
  border-top: 5px solid #6d3bb4;
}

.long-term-pricing-options span {
  color: var(--muted);
  font-size: .54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.long-term-pricing-options strong {
  display: block;
  margin: 5px 0 3px;
  color: var(--navy);
  font-size: 1.25rem;
}

.long-term-pricing-options h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: .76rem;
}

.long-term-pricing-options p {
  margin: 0;
  color: var(--muted);
  font-size: .61rem;
  line-height: 1.43;
}

.long-term-pricing-legal-note {
  margin-top: 9px;
  padding: 9px 11px;
  background: #fff2c8;
  border: 1.5px solid #c69300;
  border-left: 6px solid var(--gold);
  border-radius: 0 9px 9px 0;
}

.long-term-pricing-legal-note strong {
  color: var(--navy);
  font-size: .66rem;
}

.long-term-pricing-legal-note p {
  margin: 3px 0 0;
  color: #51472d;
  font-size: .61rem;
  line-height: 1.43;
}

@media (max-width: 850px) {
  .long-term-pricing-options {
    grid-template-columns: 1fr;
  }

  .long-term-pricing-options > div {
    min-height: auto;
  }
}


/* ==========================================================================
   HReality OS — Additional Long-Term Pricing
   ========================================================================== */

.pricing-long-term-addition {
  background:
    linear-gradient(
      180deg,
      #eef6fd,
      #ffffff
    );
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.pricing-long-term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pricing-long-term-card {
  --long-term-accent: var(--teal);
  --long-term-soft: #e0f7f4;

  display: flex;
  min-height: 430px;
  padding: 15px;
  flex-direction: column;

  background:
    radial-gradient(
      circle at 100% 0,
      color-mix(
        in srgb,
        var(--long-term-accent) 15%,
        transparent
      ),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--long-term-soft),
      #ffffff 58%
    );

  border: 2px solid var(--border-strong);
  border-top: 6px solid var(--long-term-accent);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.pricing-long-term-six-month {
  --long-term-accent: #008c8c;
  --long-term-soft: #ddf7f4;
}

.pricing-long-term-lifetime {
  --long-term-accent: #6d3bb4;
  --long-term-soft: #f1e8fc;
}

.pricing-long-term-card-head {
  display: flex;
  margin-bottom: 7px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pricing-long-term-card-head > span {
  padding: 5px 8px;
  color: var(--long-term-accent);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--long-term-accent);
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-long-term-price {
  display: flex;
  align-items: flex-start;
  color: var(--long-term-accent);
}

.pricing-long-term-price small {
  padding-top: 6px;
  font-size: .82rem;
  font-weight: 900;
}

.pricing-long-term-price strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.035em;
}

.pricing-long-term-card h3 {
  margin: 2px 0 6px;
  font-size: .95rem;
}

.pricing-long-term-card > p {
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.45;
}

.pricing-long-term-card ul {
  margin: 4px 0 10px;
  padding-left: 17px;
  flex: 1 1 auto;
}

.pricing-long-term-card li {
  margin-bottom: 5px;
  font-size: .63rem;
  line-height: 1.4;
}

.pricing-long-term-boundary {
  margin-bottom: 10px;
  padding: 8px 9px;
  color: #40556a;
  background: rgba(255,255,255,.86);
  border: 1px solid
    color-mix(
      in srgb,
      var(--long-term-accent) 35%,
      var(--border)
    );
  border-radius: 8px;
  font-size: .59rem;
  line-height: 1.42;
}

.pricing-long-term-card .btn {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.pricing-long-term-service-note {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff2c8;
  border: 1.5px solid #c69300;
  border-left: 6px solid var(--gold);
  border-radius: 0 10px 10px 0;
}

.pricing-long-term-service-note strong {
  color: var(--navy);
  font-size: .7rem;
}

.pricing-long-term-service-note p {
  margin: 3px 0 0;
  color: #51472d;
  font-size: .63rem;
  line-height: 1.43;
}

@media (max-width: 780px) {
  .pricing-long-term-grid {
    grid-template-columns: 1fr;
  }

  .pricing-long-term-card {
    min-height: auto;
  }
}


/* ==========================================================================
   HReality OS — Expanded Long-Term Pricing Beneath Existing Plans
   ========================================================================== */

.expanded-long-term-pricing {
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(109, 59, 180, .10),
      transparent 29%
    ),
    linear-gradient(
      180deg,
      #edf6fd,
      #ffffff
    );

  border-top: 2px solid var(--border-strong);
  border-bottom: 2px solid var(--border-strong);
}

.expanded-long-term-heading {
  margin-bottom: 11px;
}

.expanded-long-term-introduction {
  margin-bottom: 11px;
  padding: 11px 13px;

  background:
    linear-gradient(
      90deg,
      #e5f5ff,
      #e4f7f4
    );

  border: 1.5px solid var(--teal);
  border-left: 6px solid var(--blue);
  border-radius: 0 10px 10px 0;
}

.expanded-long-term-introduction strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: .72rem;
}

.expanded-long-term-introduction p {
  margin: 0;
  color: #40556a;
  font-size: .65rem;
  line-height: 1.46;
}

.expanded-long-term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.expanded-long-term-card {
  --long-term-accent: var(--teal);
  --long-term-dark: var(--navy);
  --long-term-soft: #e1f7f4;

  display: flex;
  min-height: 610px;
  padding: 14px;
  flex-direction: column;

  background:
    radial-gradient(
      circle at 100% 0,
      color-mix(
        in srgb,
        var(--long-term-accent) 16%,
        transparent
      ),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      var(--long-term-soft),
      #ffffff 58%
    );

  border: 2px solid
    color-mix(
      in srgb,
      var(--long-term-accent) 55%,
      var(--border-strong)
    );

  border-top: 6px solid var(--long-term-accent);
  border-radius: 14px;

  box-shadow:
    0 10px 23px rgba(8, 43, 89, .13);
}

.long-term-six-month {
  --long-term-accent: #008c8c;
  --long-term-dark: #005c5c;
  --long-term-soft: #ddf7f4;
}

.long-term-annual {
  --long-term-accent: #1769c2;
  --long-term-dark: #073b75;
  --long-term-soft: #e5f1ff;
}

.long-term-lifetime {
  --long-term-accent: #6d3bb4;
  --long-term-dark: #432174;
  --long-term-soft: #f1e8fc;
}

.expanded-long-term-topline {
  display: flex;
  margin-bottom: 7px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.expanded-long-term-topline > span {
  padding: 5px 8px;

  color: var(--long-term-dark);
  background: rgba(255,255,255,.88);

  border: 1px solid var(--long-term-accent);
  border-radius: 999px;

  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.expanded-long-term-price {
  display: flex;
  align-items: flex-start;
  color: var(--long-term-accent);
}

.expanded-long-term-price small {
  padding-top: 6px;
  font-size: .82rem;
  font-weight: 900;
}

.expanded-long-term-price strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.annual-price-pending {
  max-width: 125px;
  padding: 6px 8px;

  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      var(--long-term-accent),
      var(--long-term-dark)
    );

  border-radius: 8px;
  text-align: center;
}

.annual-price-pending strong {
  font-size: .61rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.expanded-long-term-card h3 {
  margin: 3px 0 6px;
  color: var(--navy);
  font-size: .92rem;
}

.expanded-long-term-summary {
  min-height: 82px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.46;
}

.expanded-long-term-section-label {
  margin-bottom: 5px;
  color: var(--long-term-accent);
  font-size: .54rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.expanded-long-term-card ul {
  margin: 0 0 10px;
  padding-left: 17px;
  flex: 1 1 auto;
}

.expanded-long-term-card li {
  margin-bottom: 5px;
  color: #334b61;
  font-size: .61rem;
  line-height: 1.4;
}

.expanded-long-term-use-case {
  margin-bottom: 8px;
  padding: 8px;

  background: rgba(255,255,255,.86);

  border: 1px solid
    color-mix(
      in srgb,
      var(--long-term-accent) 28%,
      var(--border)
    );

  border-radius: 8px;
}

.expanded-long-term-use-case strong {
  display: block;
  margin-bottom: 2px;
  color: var(--long-term-dark);
  font-size: .58rem;
  text-transform: uppercase;
}

.expanded-long-term-use-case p {
  margin: 0;
  color: #465a6d;
  font-size: .59rem;
  line-height: 1.42;
}

.expanded-long-term-boundary {
  margin-bottom: 10px;
  padding: 8px;

  color: #42576a;
  background: rgba(255,255,255,.88);

  border: 1px solid var(--long-term-accent);
  border-radius: 8px;

  font-size: .57rem;
  line-height: 1.42;
}

.expanded-long-term-card .btn {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.btn-disabled {
  display: flex;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 12px;

  align-items: center;
  justify-content: center;

  color: #667687;
  background: #e7edf2;
  border: 1.5px solid #9eacb9;
  border-radius: 10px;

  cursor: not-allowed;
  font-size: .66rem;
  font-weight: 850;
  text-align: center;
}

/* Human professional support */

.expanded-professional-support {
  display: grid;
  grid-template-columns: .7fr 1.6fr auto;
  margin-top: 10px;
  padding: 11px 13px;

  align-items: center;
  gap: 13px;

  background:
    linear-gradient(
      90deg,
      #fff1c4,
      #fff9e8
    );

  border: 1.5px solid #c69300;
  border-left: 6px solid var(--gold);
  border-radius: 0 11px 11px 0;
}

.expanded-professional-support span {
  display: block;
  margin-bottom: 2px;
  color: #765400;
  font-size: .52rem;
  font-weight: 900;
  text-transform: uppercase;
}

.expanded-professional-support h3 {
  margin: 0;
  color: var(--navy);
  font-size: .82rem;
}

.expanded-professional-support p {
  margin: 0;
  color: #554b31;
  font-size: .62rem;
  line-height: 1.42;
}

.expanded-professional-support a {
  padding: 7px 9px;

  color: var(--navy);
  background: #ffffff;

  border: 1px solid #c69300;
  border-radius: 8px;

  font-size: .58rem;
  font-weight: 850;
  text-decoration: none;
}

/* Conditions */

.expanded-long-term-conditions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
  gap: 8px;
}

.expanded-long-term-conditions article {
  padding: 9px;

  background: #ffffff;

  border: 1.5px solid var(--border-strong);
  border-top: 4px solid var(--teal);
  border-radius: 9px;

  box-shadow: var(--shadow-sm);
}

.expanded-long-term-conditions strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: .65rem;
}

.expanded-long-term-conditions p {
  margin: 0;
  color: var(--muted);
  font-size: .57rem;
  line-height: 1.42;
}

@media (max-width: 1050px) {
  .expanded-long-term-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .long-term-lifetime {
    grid-column: 1 / -1;
  }

  .expanded-long-term-conditions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .expanded-long-term-grid {
    grid-template-columns: 1fr;
  }

  .long-term-lifetime {
    grid-column: auto;
  }

  .expanded-long-term-card {
    min-height: auto;
  }

  .expanded-long-term-summary {
    min-height: 0;
  }

  .expanded-professional-support {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .expanded-long-term-conditions {
    grid-template-columns: 1fr;
  }
}

/* HROS HOME ECOSYSTEM ANIMATION START */

/* ==========================================================================
   HReality OS — Animated Homepage Human Reality Ecosystem
   ========================================================================== */

.hros-home-ecosystem {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(255, 255, 255, .98) 0,
      rgba(235, 246, 255, .94) 48%,
      rgba(221, 240, 248, .88) 100%
    );

  border: 2px solid #7894af;
  border-radius: 24px;

  box-shadow:
    0 18px 42px rgba(8, 43, 89, .16),
    inset 0 0 42px rgba(255, 255, 255, .70);
}

.hros-home-ecosystem::before {
  position: absolute;
  inset: 0;
  content: "";

  background-image:
    linear-gradient(
      rgba(23, 105, 194, .035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(23, 105, 194, .035) 1px,
      transparent 1px
    );

  background-size: 34px 34px;
  pointer-events: none;
}

.hros-ecosystem-svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  min-height: 455px;
}

/* --------------------------------------------------------------------------
   ORBITS
   -------------------------------------------------------------------------- */

.hros-ecosystem-orbit {
  fill: none;
  stroke: rgba(23, 105, 194, .20);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  transform-origin: 400px 280px;
}

.hros-ecosystem-orbit.orbit-secondary {
  stroke: rgba(0, 140, 140, .20);
  stroke-dasharray: 3 8;
}

/* --------------------------------------------------------------------------
   CENTRAL HUMAN NODE
   -------------------------------------------------------------------------- */

.hros-human-halo {
  fill: rgba(23, 105, 194, .11);
  stroke: rgba(23, 105, 194, .18);
  stroke-width: 2;
}

.hros-human-core {
  fill: url("#hrosHumanGradient");
  stroke: #ffffff;
  stroke-width: 10;

  filter:
    drop-shadow(0 14px 22px rgba(8, 43, 89, .28));
}

.hros-human-icon {
  fill: none;
  stroke: #ffffff;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hros-human-head {
  fill: #ffffff;
}

.hros-human-title {
  fill: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-anchor: middle;
}

.hros-human-subtitle {
  fill: #dcecff;
  font-size: 10px;
  font-weight: 750;
  text-anchor: middle;
}

/* --------------------------------------------------------------------------
   COMPONENT NODES
   -------------------------------------------------------------------------- */

.hros-reality-node {
  --node-color: #008c8c;
  --node-dark: #005b5b;
  --node-soft: #e1f8f5;

  cursor: pointer;
  opacity: .86;

  transform-box: fill-box;
  transform-origin: center;

  transition:
    opacity .3s ease,
    transform .3s ease,
    filter .3s ease;
}

.hros-reality-node .node-disc {
  fill: #ffffff;
  stroke: var(--node-color);
  stroke-width: 3;

  filter:
    drop-shadow(0 8px 12px rgba(8, 43, 89, .13));

  transition:
    fill .3s ease,
    stroke-width .3s ease,
    filter .3s ease;
}

.hros-reality-node .node-icon-disc {
  fill: var(--node-color);
}

.hros-reality-node .node-icon {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 2;
}

.hros-reality-node .node-title {
  fill: var(--node-dark);
  font-size: 14px;
  font-weight: 900;
  text-anchor: middle;
}

.hros-reality-node .node-description {
  fill: #52667a;
  font-size: 9px;
  font-weight: 650;
  text-anchor: middle;
}

.hros-reality-node.node-active {
  z-index: 20;
  opacity: 1;
  transform: scale(1.09);
}

.hros-reality-node.node-active .node-disc {
  fill: var(--node-soft);
  stroke-width: 5;

  filter:
    drop-shadow(
      0 0 14px
      color-mix(
        in srgb,
        var(--node-color) 70%,
        transparent
      )
    )
    drop-shadow(0 10px 17px rgba(8, 43, 89, .18));
}

.hros-reality-node.node-complete {
  opacity: 1;
}

.hros-reality-node.node-muted {
  opacity: .36;
}

.hros-node-health {
  --node-color: #17a13a;
  --node-dark: #075a21;
  --node-soft: #e3f9e9;
}

.hros-node-relationships {
  --node-color: #00a1a7;
  --node-dark: #005f63;
  --node-soft: #dff8f8;
}

.hros-node-career {
  --node-color: #7137c8;
  --node-dark: #421d7e;
  --node-soft: #f0e7fc;
}

.hros-node-money {
  --node-color: #1769c2;
  --node-dark: #073b75;
  --node-soft: #e2f0ff;
}

.hros-node-environment {
  --node-color: #ee5b18;
  --node-dark: #8a2f09;
  --node-soft: #fff0e8;
}

.hros-node-purpose {
  --node-color: #d89a00;
  --node-dark: #775300;
  --node-soft: #fff4cf;
}

/* --------------------------------------------------------------------------
   CONNECTIONS
   -------------------------------------------------------------------------- */

.hros-base-link {
  fill: none;
  stroke: rgba(98, 128, 156, .24);
  stroke-width: 2;
}

.hros-signal-link {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  stroke-dashoffset: 100;
  opacity: 0;

  filter: url("#hrosSignalGlow");

  transition:
    opacity .25s ease;
}

.hros-signal-link.signal-active {
  opacity: 1;
}

.hros-signal-health {
  stroke: #17a13a;
}

.hros-signal-relationships {
  stroke: #00a1a7;
}

.hros-signal-career {
  stroke: #7137c8;
}

.hros-signal-money {
  stroke: #1769c2;
}

.hros-signal-environment {
  stroke: #ee5b18;
}

.hros-signal-purpose {
  stroke: #d89a00;
}

/* Component-to-component relationships */

.hros-cross-link {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  opacity: .16;

  transition:
    opacity .3s ease,
    stroke-width .3s ease;
}

.hros-cross-link.cross-active {
  opacity: .92;
  stroke-width: 4;
}

.hros-link-health-career {
  stroke: #5b65a4;
}

.hros-link-career-money {
  stroke: #3c55c8;
}

.hros-link-money-environment {
  stroke: #6e72b2;
}

.hros-link-environment-purpose {
  stroke: #e07b0d;
}

.hros-link-purpose-relationships {
  stroke: #54a875;
}

.hros-link-relationships-health {
  stroke: #04a875;
}

/* Moving relationship particles */

.hros-flow-particle {
  opacity: 0;
  filter: url("#hrosSignalGlow");
}

.hros-flow-particle.particle-active {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   STAGE INDICATOR
   -------------------------------------------------------------------------- */

.hros-ecosystem-stage {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 30;
  display: flex;
  min-width: 132px;
  padding: 7px 10px;

  align-items: center;
  gap: 7px;

  color: var(--navy);
  background: rgba(255, 255, 255, .93);

  border: 1.5px solid #89a4bc;
  border-radius: 999px;

  box-shadow:
    0 7px 17px rgba(8, 43, 89, .13);

  backdrop-filter: blur(8px);
}

.hros-ecosystem-stage span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;

  place-items: center;

  color: #ffffff;
  background: var(--blue);

  border-radius: 50%;

  font-size: .53rem;
  font-weight: 900;
}

.hros-ecosystem-stage strong {
  font-size: .59rem;
}

/* --------------------------------------------------------------------------
   CAPTION BENEATH THE IMAGE
   -------------------------------------------------------------------------- */

.hros-ecosystem-caption {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 155px 1fr;
  min-height: 62px;
  margin: 8px 0 0;
  overflow: hidden;

  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      #073b75,
      #008c8c
    );

  border: 2px solid #087f88;
  border-radius: 12px;

  box-shadow:
    0 8px 18px rgba(8, 43, 89, .14);

  transition:
    background .35s ease,
    border-color .35s ease;
}

.hros-ecosystem-caption strong {
  display: flex;
  padding: 10px 12px;

  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: rgba(255, 255, 255, .10);

  border-right: 1px solid rgba(255, 255, 255, .24);

  font-size: .69rem;
  text-align: center;
}

.hros-ecosystem-caption p {
  display: flex;
  margin: 0;
  padding: 10px 13px;

  align-items: center;

  color: #eef7ff;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.43;
}

.hros-ecosystem-caption.caption-health {
  background: linear-gradient(90deg, #075a21, #17a13a);
  border-color: #17a13a;
}

.hros-ecosystem-caption.caption-relationships {
  background: linear-gradient(90deg, #005f63, #00a1a7);
  border-color: #00a1a7;
}

.hros-ecosystem-caption.caption-career {
  background: linear-gradient(90deg, #421d7e, #7137c8);
  border-color: #7137c8;
}

.hros-ecosystem-caption.caption-money {
  background: linear-gradient(90deg, #073b75, #1769c2);
  border-color: #1769c2;
}

.hros-ecosystem-caption.caption-environment {
  background: linear-gradient(90deg, #8a2f09, #ee5b18);
  border-color: #ee5b18;
}

.hros-ecosystem-caption.caption-purpose {
  background: linear-gradient(90deg, #775300, #d89a00);
  border-color: #d89a00;
}

.hros-ecosystem-caption.caption-system {
  background:
    linear-gradient(
      90deg,
      #17a13a,
      #00a1a7,
      #7137c8,
      #1769c2,
      #ee5b18,
      #d89a00
    );

  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   MOTION
   -------------------------------------------------------------------------- */

html.hros-motion-on .hros-human-core {
  animation:
    hros-human-core-pulse 2.8s ease-in-out infinite;
}

html.hros-motion-on .hros-human-halo {
  animation:
    hros-human-halo-pulse 2.8s ease-in-out infinite;
}

@keyframes hros-human-core-pulse {
  0%,
  100% {
    filter:
      drop-shadow(0 14px 22px rgba(8, 43, 89, .28));
  }

  50% {
    filter:
      drop-shadow(0 0 22px rgba(23, 105, 194, .70))
      drop-shadow(0 16px 26px rgba(8, 43, 89, .30));
  }
}

@keyframes hros-human-halo-pulse {
  0%,
  100% {
    opacity: .62;
    transform: scale(1);
    transform-origin: 400px 280px;
  }

  50% {
    opacity: .20;
    transform: scale(1.17);
    transform-origin: 400px 280px;
  }
}

html.hros-motion-on .hros-ecosystem-orbit {
  animation:
    hros-orbit-spin 42s linear infinite;
}

html.hros-motion-on
.hros-ecosystem-orbit.orbit-secondary {
  animation-duration: 58s;
  animation-direction: reverse;
}

@keyframes hros-orbit-spin {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

html.hros-motion-on
.hros-signal-link.signal-active {
  animation:
    hros-signal-travel 1.15s linear infinite;
}

@keyframes hros-signal-travel {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

html.hros-motion-on
.hros-cross-link.cross-active {
  animation:
    hros-cross-flow 1.4s linear infinite;
}

@keyframes hros-cross-flow {
  from {
    stroke-dashoffset: 44;
  }

  to {
    stroke-dashoffset: 0;
  }
}

html.hros-motion-on
.hros-reality-node.node-active {
  animation:
    hros-node-breathe 1.6s ease-in-out infinite;
}

@keyframes hros-node-breathe {
  0%,
  100% {
    transform: scale(1.07);
  }

  50% {
    transform: scale(1.13);
  }
}

/* Full-system phase */

.hros-home-ecosystem.system-active
.hros-reality-node {
  opacity: 1;
}

html.hros-motion-on
.hros-home-ecosystem.system-active
.hros-reality-node {
  animation:
    hros-system-node-wave 2.1s ease-in-out infinite;
}

html.hros-motion-on
.hros-home-ecosystem.system-active
.hros-reality-node:nth-of-type(2) {
  animation-delay: .15s;
}

html.hros-motion-on
.hros-home-ecosystem.system-active
.hros-reality-node:nth-of-type(3) {
  animation-delay: .30s;
}

html.hros-motion-on
.hros-home-ecosystem.system-active
.hros-reality-node:nth-of-type(4) {
  animation-delay: .45s;
}

html.hros-motion-on
.hros-home-ecosystem.system-active
.hros-reality-node:nth-of-type(5) {
  animation-delay: .60s;
}

html.hros-motion-on
.hros-home-ecosystem.system-active
.hros-reality-node:nth-of-type(6) {
  animation-delay: .75s;
}

@keyframes hros-system-node-wave {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.07);
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hros-home-ecosystem {
    min-height: 455px;
  }

  .hros-ecosystem-svg {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .hros-home-ecosystem {
    min-height: 390px;
    border-radius: 17px;
  }

  .hros-ecosystem-svg {
    min-height: 360px;
  }

  .hros-ecosystem-stage {
    top: 8px;
    left: 8px;
  }

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

  .hros-ecosystem-caption strong {
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }

  .hros-ecosystem-caption p {
    padding: 9px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hros-human-core,
  .hros-human-halo,
  .hros-ecosystem-orbit,
  .hros-signal-link,
  .hros-cross-link,
  .hros-reality-node {
    animation: none !important;
  }
}

/* HROS HOME ECOSYSTEM ANIMATION END */

