:root {
  --bg: #050506;
  --bg-2: #0b0b0d;
  --panel: #101014;
  --panel-2: #15151a;
  --line: rgba(238, 238, 238, 0.13);
  --line-strong: rgba(255, 108, 20, 0.62);
  --text: #f0f0ee;
  --muted: #b4b4b0;
  --soft: #777873;
  --accent: #ff6c14;
  --accent-2: #a855ff;
  --accent-dark: rgba(255, 108, 20, 0.12);
  --purple-dark: rgba(168, 85, 255, 0.12);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
  --shell-width: 1180px;
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Arial, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 108, 20, 0.07) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(168, 85, 255, 0.07) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #050506 0%, #0a0a0d 48%, #050506 100%);
  background-size: 72px 72px, 72px 72px, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 108, 20, 0.16), transparent 24%),
    linear-gradient(295deg, rgba(168, 85, 255, 0.15), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.12;
  animation: gm-static-shift 800ms steps(2, end) infinite;
}

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

button,
input {
  font: inherit;
}

.page-shell,
.shell {
  position: relative;
  z-index: 1;
  width: min(var(--shell-width), calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 52px;
}

.gm-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050506;
}

.gm-atmosphere__grid,
.gm-atmosphere__signal,
.gm-atmosphere__scan {
  position: absolute;
  inset: -18%;
}

.gm-atmosphere__grid {
  background-image:
    linear-gradient(90deg, rgba(255, 108, 20, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(168, 85, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.58;
  transform: translate3d(0, 0, 0);
  animation: gm-grid-drift 32s linear infinite;
}

.gm-atmosphere__signal {
  background:
    linear-gradient(115deg, rgba(255, 108, 20, 0.18), transparent 30%),
    linear-gradient(295deg, rgba(168, 85, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%);
  opacity: 0.54;
  animation: gm-signal-breathe 15s ease-in-out infinite alternate;
}

.gm-atmosphere__scan {
  inset: -30% 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 108, 20, 0.10) 49%, rgba(168, 85, 255, 0.08) 51%, transparent 100%);
  opacity: 0.42;
  animation: gm-scan-pass 10s ease-in-out infinite;
}

.site-header,
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(18px);
}

.brand-mark,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-mark::before,
.brand::before {
  content: none;
}

.site-logo {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-kicker {
  display: none;
}

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

.header-actions,
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: #0d0d10;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.nav-button {
  appearance: none;
}

.nav-button-accent,
.pill-register {
  border-color: rgba(168, 85, 255, 0.66);
  color: var(--text);
  background: var(--purple-dark);
}

.nav-link:hover,
.pill:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 108, 20, 0.09);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 10vw, 126px) 0 clamp(52px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-graphic {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(420px, 36vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  opacity: 0.8;
  pointer-events: none;
}

.hero-graphic::before,
.hero-graphic::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 108, 20, 0.38);
}

.hero-graphic::after {
  inset: 31%;
  border-color: rgba(168, 85, 255, 0.42);
  transform: rotate(45deg);
}

.hero-graphic span {
  position: absolute;
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-graphic span:nth-child(1) {
  left: 0;
  top: 22%;
  width: 62%;
  height: 2px;
}

.hero-graphic span:nth-child(2) {
  right: 0;
  top: 58%;
  width: 54%;
  height: 2px;
}

.hero-graphic span:nth-child(3) {
  left: 34%;
  top: 0;
  width: 2px;
  height: 72%;
}

.hero-graphic span:nth-child(4) {
  right: 18%;
  bottom: 0;
  width: 2px;
  height: 44%;
}

.hero-rule {
  width: min(360px, 64vw);
  height: 4px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
  background-size: 180% 100%;
  animation: gm-rule-pulse 4.6s ease-in-out infinite;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.8rem, 11vw, 9.8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-subheadline {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.45;
}

.core-line {
  max-width: 880px;
  margin: 26px 0 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  text-transform: uppercase;
}

.hero-copy,
.section-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.72;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}

.hero-signals span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 6, 0.62);
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
}

.hero-signals span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 9px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 108, 20, 0.9);
  animation: gm-signal-dot 2.6s ease-in-out infinite;
}

.hero-signals span:nth-child(2)::before {
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(168, 85, 255, 0.9);
  animation-delay: 600ms;
}

.hero-signals span:nth-child(3)::before {
  animation-delay: 1.2s;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: #0d0d10;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.action-button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #090807;
}

.action-button-secondary {
  border-color: rgba(168, 85, 255, 0.72);
  background: var(--purple-dark);
}

.action-button-tertiary {
  border-color: rgba(255, 255, 255, 0.24);
}

.action-button:hover {
  border-color: var(--text);
  background: #17171c;
  color: var(--text);
  box-shadow: 0 0 26px rgba(255, 108, 20, 0.16);
}

.clarity-section,
.reality-section,
.tenets-section,
.real-life-section,
.portal-section,
.guide-intro,
.start-section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.guide-intro {
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
  margin-top: 34px;
}

.guide-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.56);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-nav a:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 108, 20, 0.09);
}

.section-graphic {
  position: absolute;
  inset: 34px 0 auto auto;
  width: min(260px, 28vw);
  aspect-ratio: 1.35;
  pointer-events: none;
  opacity: 0.72;
}

.section-graphic span {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.section-graphic-clarity span:nth-child(1) {
  inset: 12% 48% 12% 6%;
  border-color: rgba(255, 108, 20, 0.38);
}

.section-graphic-clarity span:nth-child(2) {
  inset: 22% 26% 22% 28%;
  border-color: rgba(168, 85, 255, 0.38);
}

.section-graphic-clarity span:nth-child(3) {
  inset: 32% 6% 32% 54%;
  border-color: rgba(255, 255, 255, 0.18);
}

.section-graphic-decline {
  width: min(320px, 32vw);
}

.section-graphic-decline span {
  width: 18%;
  bottom: 12%;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 108, 20, 0.76), rgba(168, 85, 255, 0.18));
}

.section-graphic-decline span:nth-child(1) {
  left: 4%;
  height: 76%;
}

.section-graphic-decline span:nth-child(2) {
  left: 29%;
  height: 58%;
}

.section-graphic-decline span:nth-child(3) {
  left: 54%;
  height: 38%;
}

.section-graphic-decline span:nth-child(4) {
  left: 79%;
  height: 20%;
}

.section-graphic-decisions {
  width: min(360px, 36vw);
  aspect-ratio: 2.4;
}

.section-graphic-decisions span {
  top: 48%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%) rotate(45deg);
  border-color: rgba(255, 108, 20, 0.34);
}

.section-graphic-decisions span:nth-child(1) { left: 0; }
.section-graphic-decisions span:nth-child(2) { left: 20%; border-color: rgba(168, 85, 255, 0.36); }
.section-graphic-decisions span:nth-child(3) { left: 40%; }
.section-graphic-decisions span:nth-child(4) { left: 60%; border-color: rgba(168, 85, 255, 0.36); }
.section-graphic-decisions span:nth-child(5) { left: 80%; }

.section-graphic-decisions::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 4%;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.clarity-section {
  text-align: center;
}

.clarity-section h2,
.clarity-section .section-copy,
.clarity-section .statement-line {
  margin-left: auto;
  margin-right: auto;
}

.clarity-stack {
  display: grid;
  gap: 12px;
  margin: 34px auto 0;
  max-width: 520px;
  color: var(--soft);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  text-transform: uppercase;
}

.statement-line {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--text);
  font-size: clamp(1.3rem, 2.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.short-divider,
.long-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
}

.short-divider {
  width: min(340px, 70vw);
  margin: 44px auto 0;
}

.long-divider {
  width: 100%;
  margin: 42px 0 0;
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.fade-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.fade-list span,
.decision-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  font-weight: 800;
  text-transform: uppercase;
}

.quiet-line {
  margin: 34px 0 0;
  color: var(--soft);
  font-size: clamp(1.25rem, 2.5vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
}

.decision-line {
  margin: 34px 0 0;
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 3.1rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.tenets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tenet-card {
  position: relative;
  min-height: 210px;
  padding: clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.card-glyph {
  position: absolute;
  right: clamp(16px, 2.6vw, 30px);
  top: clamp(16px, 2.6vw, 30px);
  width: 72px;
  height: 72px;
  opacity: 0.8;
  pointer-events: none;
}

.card-glyph span {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-glyph-axis span:nth-child(1) {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--accent);
  border: 0;
}

.card-glyph-axis span:nth-child(2) {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--accent-2);
  border: 0;
}

.card-glyph-axis span:nth-child(3) {
  inset: 22%;
  transform: rotate(45deg);
  border-color: rgba(255, 255, 255, 0.18);
}

.card-glyph-arrow span:nth-child(1) {
  left: 6px;
  top: 34px;
  width: 56px;
  height: 2px;
  background: var(--accent);
  border: 0;
}

.card-glyph-arrow span:nth-child(2),
.card-glyph-arrow span:nth-child(3) {
  right: 8px;
  top: 25px;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border: 0;
  transform: rotate(45deg);
}

.card-glyph-arrow span:nth-child(3) {
  top: 43px;
  transform: rotate(-45deg);
}

.card-glyph-break span:nth-child(1),
.card-glyph-break span:nth-child(2),
.card-glyph-break span:nth-child(3) {
  width: 46px;
  height: 12px;
  left: 13px;
  border-color: rgba(255, 108, 20, 0.42);
}

.card-glyph-break span:nth-child(1) { top: 7px; transform: skewX(-18deg); }
.card-glyph-break span:nth-child(2) { top: 30px; transform: skewX(18deg); border-color: rgba(168, 85, 255, 0.42); }
.card-glyph-break span:nth-child(3) { top: 53px; transform: skewX(-18deg); }

.card-glyph-bar span {
  bottom: 0;
  width: 12px;
  border: 0;
  background: linear-gradient(180deg, var(--accent), rgba(168, 85, 255, 0.18));
}

.card-glyph-bar span:nth-child(1) { left: 8px; height: 42px; }
.card-glyph-bar span:nth-child(2) { left: 30px; height: 64px; }
.card-glyph-bar span:nth-child(3) { left: 52px; height: 28px; }

.card-glyph-frame span:nth-child(1) {
  inset: 8px;
  border-color: rgba(255, 108, 20, 0.42);
}

.card-glyph-frame span:nth-child(2) {
  inset: 22px;
  border-color: rgba(168, 85, 255, 0.42);
}

.card-glyph-frame span:nth-child(3) {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  border: 0;
}

.card-glyph-eye span:nth-child(1) {
  inset: 17px 4px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.22);
}

.card-glyph-eye span:nth-child(2) {
  inset: 27px;
  background: var(--accent-2);
  border: 0;
}

.card-glyph-eye span:nth-child(3) {
  left: 7px;
  right: 7px;
  top: 50%;
  height: 1px;
  background: var(--accent);
  border: 0;
}

.card-glyph-flame span {
  border: 0;
  background: linear-gradient(180deg, var(--accent), rgba(168, 85, 255, 0.18));
}

.card-glyph-flame span:nth-child(1) {
  left: 30px;
  top: 5px;
  width: 12px;
  height: 62px;
}

.card-glyph-flame span:nth-child(2) {
  left: 15px;
  top: 28px;
  width: 12px;
  height: 36px;
}

.card-glyph-flame span:nth-child(3) {
  right: 15px;
  top: 20px;
  width: 12px;
  height: 44px;
}

.card-glyph-cycle span:nth-child(1),
.card-glyph-pulse span:nth-child(1) {
  inset: 8px;
  border-radius: 50%;
  border-color: rgba(255, 108, 20, 0.42);
}

.card-glyph-cycle span:nth-child(2) {
  inset: 21px;
  border-radius: 50%;
  border-color: rgba(168, 85, 255, 0.42);
}

.card-glyph-cycle span:nth-child(3) {
  right: 4px;
  top: 30px;
  width: 18px;
  height: 18px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.card-glyph-stack span {
  left: 10px;
  right: 10px;
  height: 10px;
  border-color: rgba(255, 108, 20, 0.38);
}

.card-glyph-stack span:nth-child(1) { top: 12px; }
.card-glyph-stack span:nth-child(2) { top: 31px; border-color: rgba(168, 85, 255, 0.38); }
.card-glyph-stack span:nth-child(3) { top: 50px; }

.card-glyph-pulse span:nth-child(2) {
  left: 7px;
  right: 7px;
  top: 35px;
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.card-glyph-pulse span:nth-child(3) {
  left: 31px;
  top: 8px;
  width: 10px;
  height: 56px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
}

.tenet-card::after,
.portal-card::after,
.decision-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.09) 48%, transparent 55%);
  opacity: 0;
  transform: translateX(-55%);
  transition: opacity 180ms ease, transform 520ms ease;
  pointer-events: none;
}

.tenet-card:hover,
.portal-card:hover,
.decision-item:hover {
  border-color: rgba(255, 108, 20, 0.56);
  transform: translateY(-2px);
}

.tenet-card:hover::after,
.portal-card:hover::after,
.decision-item:hover::after {
  opacity: 1;
  transform: translateX(55%);
}

.tenet-card:nth-child(4n + 1),
.tenet-card:nth-child(4n) {
  background:
    linear-gradient(180deg, rgba(255, 108, 20, 0.08), rgba(255, 255, 255, 0.012));
}

.tenet-card:nth-child(4n + 2),
.tenet-card:nth-child(4n + 3) {
  background:
    linear-gradient(180deg, rgba(168, 85, 255, 0.08), rgba(255, 255, 255, 0.012));
}

.tenet-number {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.tenet-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.decision-item {
  position: relative;
  min-height: 168px;
  display: grid;
  align-content: end;
  gap: 34px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 1rem;
  line-height: 1.35;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.decision-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 108, 20, 0.46);
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.portal-card {
  position: relative;
  min-height: 244px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(168, 85, 255, 0.08), rgba(255, 108, 20, 0.035)),
    rgba(255, 255, 255, 0.018);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.portal-diagram {
  position: relative;
  width: 100%;
  height: 96px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.portal-diagram span {
  position: absolute;
  display: block;
}

.portal-diagram span:nth-child(1),
.portal-diagram span:nth-child(2),
.portal-diagram span:nth-child(3) {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 108, 20, 0.44);
}

.portal-diagram span:nth-child(1) { left: 0; top: 10px; }
.portal-diagram span:nth-child(2) { left: 44%; top: 34px; border-color: rgba(168, 85, 255, 0.46); }
.portal-diagram span:nth-child(3) { right: 0; top: 10px; }

.portal-diagram span:nth-child(4) {
  left: 15px;
  right: 15px;
  top: 49px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
}

.portal-diagram-route-physical span:nth-child(1),
.portal-diagram-route-physical span:nth-child(2),
.portal-diagram-route-physical span:nth-child(3) {
  transform: rotate(45deg);
}

.portal-diagram-route-concept span:nth-child(1),
.portal-diagram-route-concept span:nth-child(2),
.portal-diagram-route-concept span:nth-child(3) {
  border-radius: 50%;
}

.portal-diagram-route-system span:nth-child(1),
.portal-diagram-route-system span:nth-child(2),
.portal-diagram-route-system span:nth-child(3) {
  height: 18px;
}

.portal-card h3 {
  color: var(--text);
}

.portal-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.is-revealable {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.is-revealable.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.start-section {
  background:
    linear-gradient(90deg, rgba(255, 108, 20, 0.12), transparent 48%),
    linear-gradient(270deg, rgba(168, 85, 255, 0.12), transparent 44%);
}

.site-footer,
.footer {
  display: grid;
  gap: 8px;
  padding: 30px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer strong,
.footer strong {
  color: var(--text);
}

.site-footer small {
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright-notice {
  justify-self: start;
  margin-top: 18px;
  color: var(--soft);
  text-align: left;
}

.copyright-notice a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visitor-stats {
  width: min(100%, 720px);
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-transform: none;
  letter-spacing: 0;
}

.visitor-stats__summary {
  display: grid;
  gap: 4px;
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.visitor-stats__recent {
  display: grid;
  gap: 0;
  max-height: 170px;
  margin-top: 10px;
  overflow-y: auto;
  border: 1px solid rgba(238, 238, 238, 0.1);
  background: rgba(5, 5, 6, 0.42);
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.08);
}

.visitor-stats__row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(150px, 1.3fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(238, 238, 238, 0.08);
  color: var(--muted);
  font-size: 0.76rem;
}

.visitor-stats__row:last-child {
  border-bottom: 0;
}

.visitor-stats__row span:first-child {
  color: var(--text);
  font-weight: 800;
}

.visitor-stats__row span:last-child {
  color: var(--accent);
  font-weight: 800;
  text-align: right;
}

@media (max-width: 640px) {
  .visitor-stats__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .visitor-stats__row span:last-child {
    text-align: left;
  }
}

.legal-page {
  min-height: calc(100vh - 74px);
  padding: clamp(58px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}

.legal-page article {
  max-width: 860px;
}

.legal-page h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.legal-page h2 {
  margin-top: 42px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-page ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: min(420px, calc(100vw - 28px));
  border: 1px solid var(--line-strong);
  background: #0d0d10;
  box-shadow: var(--shadow);
  padding: 24px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--text);
  text-transform: uppercase;
}

.modal-close {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #111116;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--text);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-group input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 108, 20, 0.18);
}

.policy-acknowledgement {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.policy-acknowledgement p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.policy-acknowledgement a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.auth-submit {
  min-height: 48px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #090807;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-submit:hover {
  border-color: var(--text);
  background: #17171c;
  color: var(--text);
}

.modal-footer-text {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-footer-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1040px) {
  .split-block,
  .tenets-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

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

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

  .is-revealable {
    opacity: 1;
    transform: none;
  }
}

@keyframes gm-grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(72px, 72px, 0);
  }
}

@keyframes gm-signal-breathe {
  from {
    opacity: 0.42;
    transform: scale(1);
  }

  to {
    opacity: 0.72;
    transform: scale(1.04);
  }
}

@keyframes gm-scan-pass {
  0% {
    transform: translateY(-54%);
    opacity: 0.04;
  }

  46% {
    opacity: 0.44;
  }

  54% {
    opacity: 0.34;
  }

  100% {
    transform: translateY(54%);
    opacity: 0.04;
  }
}

@keyframes gm-rule-pulse {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.76;
  }

  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes gm-signal-dot {
  0%,
  100% {
    opacity: 0.38;
  }

  50% {
    opacity: 1;
  }
}

@keyframes gm-static-shift {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(1px);
  }
}

@media (max-width: 720px) {
  .page-shell,
  .shell {
    width: min(var(--shell-width), calc(100vw - 22px));
    padding-top: 0;
  }

  .site-header,
  .topbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions,
  .nav-pills {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link,
  .pill,
  .action-button,
  .guide-nav a {
    width: 100%;
  }

  .hero-section,
  .guide-intro {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-graphic,
  .section-graphic {
    opacity: 0.24;
    width: 180px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5.5rem);
  }

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

  .decision-item {
    min-height: 110px;
  }
}

/* Graphic visibility pass: these marks should read as graphics, not background texture. */
.hero-graphic {
  border-width: 2px;
  border-color: rgba(255, 108, 20, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 108, 20, 0.12), transparent 44%),
    linear-gradient(315deg, rgba(168, 85, 255, 0.14), transparent 46%);
  box-shadow:
    0 0 44px rgba(255, 108, 20, 0.22),
    inset 0 0 72px rgba(168, 85, 255, 0.14);
}

.hero-graphic::before {
  border-width: 2px;
  border-color: rgba(255, 108, 20, 0.58);
}

.hero-graphic::after {
  border-width: 2px;
  border-color: rgba(168, 85, 255, 0.62);
}

.hero-graphic span:nth-child(1),
.hero-graphic span:nth-child(2) {
  height: 4px;
}

.hero-graphic span:nth-child(3),
.hero-graphic span:nth-child(4) {
  width: 4px;
}

.section-graphic {
  opacity: 0.98;
  border-color: rgba(168, 85, 255, 0.62);
  background:
    repeating-linear-gradient(135deg, rgba(255, 108, 20, 0.20) 0 8px, transparent 8px 18px),
    rgba(16, 16, 20, 0.64);
  box-shadow:
    0 0 36px rgba(168, 85, 255, 0.18),
    inset 0 0 40px rgba(255, 108, 20, 0.10);
}

.tenet-card,
.portal-card,
.decision-item {
  position: relative;
  overflow: hidden;
}

.tenet-card::after,
.portal-card::after,
.decision-item::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(168, 85, 255, 0.28);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 108, 20, 0.24) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(180deg, transparent calc(50% - 1px), rgba(168, 85, 255, 0.24) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  transform: rotate(45deg);
}

.card-glyph {
  width: 82px;
  height: 82px;
  border-color: rgba(255, 108, 20, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 108, 20, 0.12), transparent 58%),
    rgba(5, 5, 6, 0.58);
  box-shadow: 0 0 24px rgba(255, 108, 20, 0.16);
  opacity: 1;
}

.card-glyph span {
  box-shadow: 0 0 16px rgba(255, 108, 20, 0.44);
}

.card-glyph-axis span:nth-child(1),
.card-glyph-arrow span:nth-child(1),
.card-glyph-break span:nth-child(1),
.card-glyph-frame span:nth-child(1),
.card-glyph-eye span:nth-child(1),
.card-glyph-cycle span:nth-child(1),
.card-glyph-pulse span:nth-child(1) {
  border-width: 3px;
}

.portal-diagram {
  height: 108px;
  border-color: rgba(168, 85, 255, 0.62);
  background:
    repeating-linear-gradient(135deg, rgba(168, 85, 255, 0.16) 0 7px, transparent 7px 16px),
    linear-gradient(135deg, rgba(255, 108, 20, 0.12), rgba(168, 85, 255, 0.08));
  box-shadow: inset 0 0 44px rgba(255, 108, 20, 0.10);
}

.portal-diagram span:nth-child(1),
.portal-diagram span:nth-child(2),
.portal-diagram span:nth-child(3) {
  width: 32px;
  height: 32px;
  border-width: 3px;
  box-shadow: 0 0 18px rgba(255, 108, 20, 0.28);
}

.portal-diagram span:nth-child(4) {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  box-shadow: 0 0 18px rgba(168, 85, 255, 0.36);
}

@media (max-width: 720px) {
  .hero-graphic,
  .section-graphic {
    opacity: 0.34;
  }

  .card-glyph {
    width: 68px;
    height: 68px;
  }
}

/* Placement correction: keep graphics decorative and inside their zones. */
.hero-section > :not(.hero-graphic) {
  position: relative;
  z-index: 1;
}

.hero-graphic {
  right: clamp(-28px, -2vw, 0px);
  top: 48%;
  width: clamp(190px, 25vw, 320px);
  opacity: 0.58;
}

.clarity-section > :not(.section-graphic),
.reality-section > :not(.section-graphic),
.real-life-section > :not(.section-graphic) {
  position: relative;
  z-index: 1;
}

.section-graphic {
  inset: 42px 0 auto auto;
  width: clamp(110px, 15vw, 170px);
  height: auto;
  max-height: 110px;
  opacity: 0.42;
}

.section-graphic-decline {
  width: clamp(130px, 17vw, 190px);
}

.section-graphic-decisions {
  width: clamp(140px, 18vw, 220px);
}

.tenet-card {
  padding-right: clamp(96px, 12vw, 132px);
}

.card-glyph {
  right: 20px;
  top: 20px;
  width: 58px;
  height: 58px;
  opacity: 0.68;
}

.card-glyph span {
  transform-origin: center;
}

.tenet-card::after,
.portal-card::after,
.decision-item::after {
  right: -48px;
  bottom: -48px;
  width: 92px;
  height: 92px;
  opacity: 0.65;
}

.tenet-card::after {
  display: none;
}

.tenet-card:hover::after {
  display: none;
}

.portal-diagram {
  height: 72px;
  margin-bottom: 20px;
}

.portal-diagram span:nth-child(1),
.portal-diagram span:nth-child(2),
.portal-diagram span:nth-child(3) {
  top: 20px;
  width: 24px;
  height: 24px;
}

.portal-diagram span:nth-child(2) {
  left: calc(50% - 12px);
}

.portal-diagram span:nth-child(4) {
  top: 32px;
  left: 30px;
  right: 30px;
}

@media (max-width: 1040px) {
  .hero-graphic {
    right: -60px;
    opacity: 0.34;
  }

  .section-graphic {
    opacity: 0.24;
  }

  .tenet-card {
    padding-right: 108px;
  }
}

@media (max-width: 720px) {
  .hero-graphic {
    right: -54px;
    top: 34%;
    width: 150px;
    opacity: 0.18;
  }

  .section-graphic {
    right: -32px;
    top: 34px;
    width: 110px;
    max-height: 76px;
    opacity: 0.18;
  }

  .tenet-card {
    padding-right: 82px;
  }

  .card-glyph {
    right: 14px;
    top: 16px;
    width: 46px;
    height: 46px;
    opacity: 0.38;
  }

  .portal-diagram {
    height: 64px;
  }
}
