:root {
  --wp-bg: #08060a;
  --wp-surface: #0c090fd9;
  --wp-surface-strong: #0a080df0;
  --wp-ink: #f2ebe7;
  --wp-muted: #b8acb1;
  --wp-dim: #8f8088;
  --wp-line: #ffffff1c;
  --wp-line-crimson: #713142;
  --wp-crimson: #e93c51;
  --wp-crimson-bright: #ff4164;
  --wp-cyan: #29c7ff;
  --wp-violet: #b86aff;
  --wp-emerald: #2fe078;
  --wp-gold: #e6bb69;
  --wp-display: 'Kuykendall Web Display', Arial, sans-serif;
  --wp-font: 'Kuykendall Web Text', Arial, sans-serif;
  --wp-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
  font-synthesis: none;
}

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

html {
  background: var(--wp-bg);
  color: var(--wp-ink);
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  overflow-x: clip;
}

body.mabos-whitepaper {
  margin: 0;
  min-height: 100vh;
  background: var(--wp-bg);
  color: var(--wp-ink);
  font-family: var(--wp-font);
  font-size: 15.5px;
  line-height: 1.78;
  overflow-x: clip;
  position: relative;
}

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--wp-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.052em;
  color: var(--wp-ink);
}

h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--wp-crimson);
}

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #f8818f;
  outline-offset: 4px;
}

.wp-skip {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 9999;
  background: #f5eff2;
  color: #0b090c;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
}

.wp-skip:focus {
  top: 16px;
}

.wp-wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

/* Full-viewport KI 4-Color Monolith + Threshold Silk + Distant Architecture World */
.wp-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wp-world__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.wp-world__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 60% at 58% 42%, rgba(8, 6, 10, 0.08) 0%, rgba(8, 6, 10, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 6, 10, 0.36) 0%, rgba(8, 6, 10, 0.12) 26%, rgba(8, 6, 10, 0.34) 84%, rgba(8, 6, 10, 0.86) 100%);
}

body.mabos-whitepaper > .site-header,
body.mabos-whitepaper > .site-footer,
body.mabos-whitepaper > .ki-footer,
body.mabos-whitepaper > main {
  position: relative;
  z-index: 2;
}

body.mabos-whitepaper > .site-header {
  background: rgba(11, 9, 12, 0.92);
  backdrop-filter: blur(12px);
}

/* Signature KI Eyebrow, Signal Dot & Three Angled Crimson Bars (///) */
.wp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 11px/1.6 var(--wp-font);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--wp-muted);
}

.wp-signal-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wp-crimson);
  box-shadow: 0 0 16px var(--wp-crimson);
  flex-shrink: 0;
}

.ki-bars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ki-bars i {
  display: block;
  width: 8px;
  height: 11px;
  background: var(--wp-crimson);
  transform: skewX(-34deg);
}

/* HERO — Full-bleed KI Display + Right-Side 3-Color Combined Monolith & Isometric Circuit Floor */
.wp-hero {
  position: relative;
  min-height: 810px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--wp-line);
}

.wp-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, #08060af2 0%, #08060ade 32%, #08060a42 58%, #08060a05 100%),
    linear-gradient(0deg, #08060a 0%, transparent 32%);
}

.wp-hero__monolith-stage {
  position: absolute;
  top: 12px;
  right: max(0px, calc(50% - 760px));
  bottom: 0;
  width: min(56vw, 790px);
  z-index: 2;
  pointer-events: auto;
}

.wp-hero__ground-canvas,
.wp-hero__monolith-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.wp-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 68px;
  padding-bottom: 58px;
  pointer-events: none;
}

.wp-hero__content a,
.wp-hero__content button {
  pointer-events: auto;
}

.wp-hero__kicker {
  margin-bottom: 24px;
}

.wp-hero__title {
  font-size: clamp(64px, 6.8vw, 104px);
  max-width: 900px;
  line-height: 1.02;
  letter-spacing: -0.064em;
}

.wp-hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 38px;
}

.wp-hero__lead {
  font-size: 16px;
  line-height: 1.84;
  max-width: 540px;
  color: #ccc0c5;
}

.wp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.wp-btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--wp-line);
  font: 600 12px/1.2 var(--wp-font);
  letter-spacing: 0.04em;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

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

.wp-btn--primary {
  background: #d22b42;
  color: #fff;
  border-color: #ef5267;
}

.wp-btn--primary:hover {
  background: #e53b53;
  box-shadow: 0 10px 32px rgba(233, 60, 81, 0.28);
}

.wp-btn--secondary {
  background: rgba(16, 12, 18, 0.82);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--wp-ink);
}

.wp-btn--secondary:hover {
  background: #25121b;
  border-color: rgba(233, 60, 81, 0.6);
}

.wp-entry-note {
  font-size: 11px;
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.75;
  color: var(--wp-dim);
}

.wp-entry-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #d8c6cd;
}

.wp-hero__coordinate {
  display: grid;
  gap: 9px;
  min-width: 240px;
  padding-bottom: 6px;
  font: 500 10px/1.4 var(--wp-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9e8a93;
}

.wp-hero__coordinate span:first-child {
  color: #f48696;
}

.wp-hero__channels {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.wp-channel-chip {
  padding: 5px 9px;
  border: 1px solid var(--wp-line);
  background: rgba(12, 9, 15, 0.78);
  font: 500 9.5px/1.2 var(--wp-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp-muted);
}

.wp-channel-chip[aria-pressed="true"] {
  border-color: var(--wp-crimson);
  color: #fff;
  background: rgba(210, 43, 66, 0.22);
}

.wp-motion-float {
  position: absolute;
  right: 126px;
  bottom: 18px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 10, 17, 0.86);
  padding: 8px 13px;
  font: 500 10px/1.2 var(--wp-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d6c5cd;
}

.wp-motion-float:hover {
  border-color: var(--wp-crimson);
  color: #fff;
}

/* Horizontal KI Index Bar */
.wp-index-bar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-block: 21px;
  border-bottom: 1px solid var(--wp-line);
  font: 500 10.5px/1.4 var(--wp-font);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #baa8b0;
}

.wp-index-bar a {
  position: relative;
  padding-block: 4px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.wp-index-bar a:hover {
  color: #ff758a;
}

.wp-index-bar a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--wp-crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.wp-index-bar a:hover::after {
  transform: scaleX(1);
}

/* Story Wrapper with Announcement Cypher Silk Layer */
.wp-story {
  position: relative;
}

.wp-story-silk {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
}

.wp-story-silk canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Shared Editorial Section Headings (matching code.kuykendall.industries) */
.wp-section {
  padding-block: 96px;
  border-bottom: 1px solid var(--wp-line);
}

.wp-section--tinted {
  background: linear-gradient(90deg, rgba(10, 7, 13, 0.36), rgba(14, 9, 16, 0.78) 20%, rgba(14, 9, 16, 0.80) 80%, rgba(10, 7, 13, 0.36));
}

.wp-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 48px;
}

.wp-section-heading > div {
  flex: 1;
}

.wp-section-heading .wp-eyebrow {
  margin-bottom: 18px;
}

.wp-section-heading h2 {
  font-size: clamp(40px, 4.3vw, 66px);
}

.wp-section-heading > p {
  width: 390px;
  flex-shrink: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--wp-muted);
}

/* SECTION 01 — Cinema & Live MABOS Presence Showcase */
.wp-cinema-frame {
  border: 1px solid var(--wp-line-crimson);
  background: var(--wp-surface-strong);
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.72), 0 0 80px rgba(210, 43, 66, 0.08);
}

.wp-cinema-top,
.wp-cinema-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #c9b3bc;
}

.wp-cinema-top {
  border-bottom: 1px solid var(--wp-line);
}

.wp-cinema-foot {
  border-top: 1px solid var(--wp-line);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12px;
  color: var(--wp-muted);
}

.wp-cinema-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wp-cinema-tab {
  padding: 6px 12px;
  border: 1px solid var(--wp-line);
  font: 500 10px/1.2 var(--wp-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp-muted);
}

.wp-cinema-tab[aria-selected="true"] {
  border-color: var(--wp-crimson);
  background: rgba(233, 60, 81, 0.18);
  color: #fff;
}

.wp-cinema-viewport {
  position: relative;
  min-height: 460px;
  background: #060508;
  overflow: hidden;
}

.wp-cinema-video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.wp-cinema-overlay {
  position: absolute;
  left: 28px;
  bottom: 26px;
  max-width: 560px;
  padding: 20px 24px;
  background: rgba(8, 6, 11, 0.86);
  border: 1px solid var(--wp-line);
  border-left: 3px solid var(--wp-crimson);
}

.wp-cinema-overlay h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.wp-cinema-overlay p {
  font-size: 13.5px;
  line-height: 1.72;
  color: #cfc3c8;
}

/* Simulated Authentic MABOS Workspace View inside Cinema Toggle */
.wp-workspace-preview {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 480px;
  background: radial-gradient(ellipse at 65% 35%, rgba(210, 43, 66, 0.11), transparent 65%), #09070c;
}

.wp-workspace-preview[hidden],
.wp-cinema-film-pane[hidden] {
  display: none;
}

.wp-ws-sidebar {
  border-right: 1px solid var(--wp-line);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(12, 9, 15, 0.85);
}

.wp-ws-brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wp-line);
  margin-bottom: 14px;
}

.wp-ws-brand strong {
  font-family: var(--wp-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.wp-ws-brand small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp-crimson);
}

.wp-ws-nav {
  display: grid;
  gap: 4px;
}

.wp-ws-nav span {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--wp-muted);
  border-left: 2px solid transparent;
}

.wp-ws-nav span[data-active="true"] {
  color: #fff;
  border-left-color: var(--wp-crimson);
  background: linear-gradient(90deg, rgba(233, 60, 81, 0.16), transparent);
}

.wp-ws-main {
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.wp-ws-exchange {
  display: grid;
  gap: 16px;
}

.wp-ws-msg {
  padding: 16px 20px;
  border: 1px solid var(--wp-line);
  background: rgba(15, 11, 19, 0.82);
}

.wp-ws-msg--mind {
  border-color: var(--wp-line-crimson);
  border-left: 3px solid var(--wp-crimson);
}

.wp-ws-msg small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e68698;
  margin-bottom: 6px;
}

.wp-ws-msg p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--wp-ink);
}

.wp-ws-receipts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wp-ws-receipts span {
  padding: 5px 10px;
  border: 1px solid var(--wp-line);
  font-size: 10.5px;
  color: #c8b6bf;
}

/* SECTION 02 — INSIDE MABOS Interactive 5-Stage Experience Tour */
.wp-tour-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.wp-tour-steps {
  display: grid;
  gap: 4px;
}

.wp-tour-step {
  position: relative;
  text-align: left;
  padding: 18px 16px 18px 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.wp-tour-step:hover {
  background: rgba(233, 60, 81, 0.08);
}

.wp-tour-step[aria-selected="true"] {
  border-left: 2px solid var(--wp-crimson);
  background: linear-gradient(90deg, rgba(220, 38, 67, 0.16), transparent);
}

.wp-tour-step > span {
  position: absolute;
  left: 10px;
  top: 20px;
  font-size: 10px;
  color: var(--wp-dim);
}

.wp-tour-step[aria-selected="true"] > span {
  color: #ff6b82;
}

.wp-tour-step strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wp-ink);
}

.wp-tour-step small {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--wp-dim);
}

.wp-tour-window {
  border: 1px solid var(--wp-line-crimson);
  background: var(--wp-surface-strong);
  box-shadow: 0 28px 96px rgba(0, 0, 0, 0.68);
}

.wp-tour-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--wp-line);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c2aab4;
}

.wp-tour-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.wp-tour-progress > span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--wp-crimson);
  box-shadow: 0 0 14px var(--wp-crimson);
  transition: width 0.38s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wp-tour-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 280px;
  gap: 28px;
  padding: 28px;
  align-items: center;
}

.wp-tour-copy .wp-eyebrow {
  color: #ff6d84;
  margin-bottom: 12px;
}

.wp-tour-copy h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.wp-tour-copy > p {
  font-size: 13.5px;
  line-height: 1.82;
  color: var(--wp-muted);
}

.wp-tour-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.wp-tour-card {
  padding: 14px 16px;
  border: 1px solid var(--wp-line);
  background: rgba(17, 12, 21, 0.85);
}

.wp-tour-card span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e9778c;
  margin-bottom: 6px;
}

.wp-tour-card strong {
  display: block;
  font-size: 13px;
  color: var(--wp-ink);
}

.wp-tour-card p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--wp-muted);
}

.wp-tour-rig-box {
  position: relative;
  height: 270px;
  border: 1px solid var(--wp-line);
  background: radial-gradient(circle at 50% 45%, rgba(233, 60, 81, 0.16), rgba(8, 6, 11, 0.96) 72%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.wp-tour-rig-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.wp-tour-rig-caption {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-top: 1px solid var(--wp-line);
  background: rgba(8, 6, 11, 0.82);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbb6bf;
  text-align: center;
}

.wp-tour-composer {
  margin: 0 28px 22px;
  padding: 15px 18px;
  border: 1px solid rgba(233, 60, 81, 0.55);
  background: rgba(20, 12, 18, 0.76);
}

.wp-tour-composer p {
  font-size: 13px;
  color: #eadbe0;
}

.wp-tour-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
  border-top: 1px solid var(--wp-line);
  font-size: 11px;
  color: var(--wp-dim);
}

.wp-text-action {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(233, 60, 81, 0.55);
  font-size: 11.5px;
  font-weight: 600;
  color: #f6c6cf;
}

.wp-text-action:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.wp-tour-explanation {
  max-width: 820px;
  margin-left: auto;
  margin-top: 22px;
  padding-left: 18px;
  border-left: 2px solid var(--wp-crimson);
  font-size: 13px;
  color: var(--wp-muted);
}

/* SECTION 03 — Custody & Conscience Interactive Instruments */
.wp-instruments-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: start;
}

.wp-instrument {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(32, 18, 27, 0.72), rgba(10, 8, 13, 0.92));
}

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

.wp-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--wp-line);
  margin-bottom: 22px;
}

.wp-segmented button {
  padding: 12px 10px;
  border-right: 1px solid var(--wp-line);
  font-size: 11px;
  font-weight: 600;
  color: var(--wp-muted);
}

.wp-segmented button:last-child {
  border-right: 0;
}

.wp-segmented button[aria-pressed="true"] {
  background: rgba(210, 43, 66, 0.22);
  color: #ff8598;
  box-shadow: inset 0 -2px 0 var(--wp-crimson);
}

.wp-custody-orbit {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 11, 0.65);
}

.wp-custody-orbit::before {
  content: '';
  position: absolute;
  left: 44px;
  right: 44px;
  top: 50%;
  border-top: 1px solid rgba(233, 60, 81, 0.42);
}

.wp-custody-node {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  background: #100b12;
  border: 1px solid var(--wp-line);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #cbb4bf;
}

.wp-custody-core {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--wp-crimson);
  background: #130b12;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 44px rgba(233, 60, 81, 0.20);
}

.wp-custody-readout strong {
  display: block;
  font-size: 15px;
  color: var(--wp-ink);
  margin-bottom: 8px;
}

.wp-custody-readout p {
  font-size: 13px;
  line-height: 1.82;
  color: var(--wp-muted);
}

.wp-switch {
  padding: 3px;
  border: 1px solid #73606a;
  background: #181219;
  border-radius: 20px;
  width: 44px;
  min-width: 44px;
  height: 24px;
}

.wp-switch span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #9f8995;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wp-switch[aria-checked="true"] {
  border-color: #db4c6b;
  background: #76243d;
}

.wp-switch[aria-checked="true"] span {
  transform: translateX(18px);
  background: #ffc2d1;
}

.wp-conscience-steps {
  display: grid;
  gap: 6px;
  margin-block: 18px;
}

.wp-conscience-steps div {
  padding: 13px 16px;
  border: 1px solid var(--wp-line);
  background: rgba(12, 9, 15, 0.72);
  font-size: 12.5px;
  color: #e4d5dc;
}

.wp-cue-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--wp-line);
}

/* SECTION 04 — Connected KI Ecosystem + Original Soundtrack Player */
.wp-eco-sound-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}

.wp-eco-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wp-eco-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--wp-line);
  background: rgba(16, 11, 19, 0.84);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wp-eco-card:hover {
  border-color: var(--wp-crimson);
  background: rgba(33, 15, 25, 0.88);
}

.wp-eco-card strong {
  display: block;
  font-family: var(--wp-display);
  font-size: 24px;
  margin-top: 10px;
}

.wp-eco-card p {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--wp-muted);
  margin-top: 10px;
}

.wp-eco-card .wp-eco-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 11.5px;
  color: #ec8a9f;
}

.wp-music-box {
  padding: 26px;
  border: 1px solid var(--wp-line-crimson);
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 38, 69, 0.22), transparent 68%), rgba(12, 9, 15, 0.92);
}

.wp-music-box h3 {
  font-size: 30px;
  margin-top: 12px;
}

.wp-music-box > p {
  font-size: 12.5px;
  color: var(--wp-muted);
  margin-top: 10px;
}

.wp-music-select {
  width: 100%;
  margin-top: 18px;
  padding: 10px 12px;
  background: #170f18;
  border: 1px solid #664251;
  color: var(--wp-ink);
  font-size: 12.5px;
}

.wp-music-canvas {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: 16px;
  border-bottom: 1px solid var(--wp-line);
}

.wp-music-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-block: 18px;
}

.wp-music-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--wp-line);
  font-size: 13px;
}

.wp-music-controls [data-music-play] {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border-color: #e0547a;
  background: #6d2142;
  color: #fff;
}

.wp-music-range {
  width: 100%;
  accent-color: var(--wp-crimson);
}

.wp-music-times,
.wp-music-vol {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  color: var(--wp-muted);
  margin-top: 8px;
}

.wp-music-status {
  margin-top: 12px;
  font-size: 11px;
  color: #bfa5b1;
}

/* SECTION 05 — Two-Column 50-Chapter Architectural White Paper Shell */
.wp-whitepaper-intro {
  padding-block: 86px 46px;
}

.wp-shell {
  width: min(1360px, calc(100% - 72px));
  margin-inline: auto;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.wp-rail {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: var(--wp-surface-strong);
  border: 1px solid var(--wp-line);
  border-top: 2px solid var(--wp-crimson);
  overflow: hidden;
}

.wp-rail__head {
  padding: 16px;
  border-bottom: 1px solid var(--wp-line);
}

.wp-rail__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.wp-rail__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ec788e;
}

.wp-rail__close {
  display: none;
  font-size: 16px;
}

.wp-rail__progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.wp-rail__progress > span {
  display: block;
  height: 100%;
  width: 2%;
  background: linear-gradient(90deg, var(--wp-cyan), var(--wp-crimson), var(--wp-violet));
}

.wp-rail__filter {
  width: 100%;
  padding: 8px 10px;
  background: #120d15;
  border: 1px solid var(--wp-line);
  color: var(--wp-ink);
  font-size: 12px;
}

.wp-rail__body {
  overflow-y: auto;
  padding: 12px 10px;
  flex: 1;
}

.wp-rail__part {
  margin-bottom: 14px;
}

.wp-rail__part-title {
  padding: 4px 8px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp-dim);
}

.wp-rail__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.wp-rail__link {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 6px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.38;
  color: var(--wp-muted);
  border-left: 2px solid transparent;
}

.wp-rail__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.wp-rail__link[data-active="true"] {
  color: #fff;
  border-left-color: var(--wp-crimson);
  background: rgba(233, 60, 81, 0.14);
}

.wp-rail__num {
  font-family: var(--wp-mono);
  font-size: 10.5px;
  color: var(--wp-dim);
}

.wp-rail__foot {
  padding: 12px 16px;
  border-top: 1px solid var(--wp-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

/* Main White Paper Reading Column */
.wp-reading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wp-part-banner {
  padding: 36px 36px 32px;
  background: linear-gradient(135deg, rgba(36, 14, 24, 0.88), rgba(10, 8, 14, 0.92));
  border: 1px solid var(--wp-line-crimson);
  border-left: 3px solid var(--wp-crimson);
}

.wp-part-banner__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f17a90;
  margin-bottom: 12px;
}

.wp-part-banner__title {
  font-size: clamp(30px, 3.4vw, 48px);
  margin-bottom: 12px;
}

.wp-part-banner__desc {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.8;
  color: #d2c6cc;
}

.wp-chapter {
  padding: clamp(26px, 3.2vw, 40px);
  background: var(--wp-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--wp-line);
}

.wp-chapter--featured {
  background: var(--wp-surface-strong);
  border-color: var(--wp-line-crimson);
}

.wp-chapter__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--wp-line);
}

.wp-chapter__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.wp-chapter__num {
  font-family: var(--wp-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--wp-crimson-bright);
}

.wp-chapter__focus {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp-dim);
}

.wp-ask-atlas {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 14, 24, 0.72);
  font-size: 11px;
  color: #ead7df;
}

.wp-ask-atlas:hover {
  border-color: var(--wp-crimson);
  color: #fff;
}

.wp-chapter h3 {
  font-size: clamp(26px, 2.7vw, 38px);
  margin-bottom: 18px;
}

.wp-chapter p {
  max-width: 72ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: #dfd5da;
  margin-bottom: 16px;
}

.wp-pullquote {
  margin: 22px 0;
  padding: 16px 22px;
  border-left: 2px solid var(--wp-crimson);
  background: rgba(233, 60, 81, 0.06);
  font-family: var(--wp-display);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
  letter-spacing: -0.025em;
  color: #f7ecef;
}

.wp-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--wp-line);
}

.wp-pillar {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 7, 13, 0.68);
}

.wp-pillar strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0899b;
  margin-bottom: 5px;
}

.wp-pillar span {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--wp-muted);
}

/* Interactive 3D Architecture Figure Plate (matching owner PNGs) */
.wp-stage {
  margin-top: 26px;
  background: #060508;
  border: 1px solid var(--wp-line-crimson);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
}

.wp-stage__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--wp-line);
  background: #0a080e;
}

.wp-stage__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wp-display);
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #fff;
}

.wp-stage__hint {
  font-size: 11.5px;
  color: var(--wp-muted);
}

.wp-stage__viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 44vw, 490px);
  background: #050407;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.wp-stage__viewport:active {
  cursor: grabbing;
}

.wp-stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  pointer-events: none;
}

.wp-stage__canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.wp-stage__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  border-top: 1px solid var(--wp-line);
  background: #09070d;
}

.wp-ctrl-btn {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 13, 22, 0.9);
  font-size: 11px;
  font-weight: 600;
  color: var(--wp-muted);
}

.wp-ctrl-btn:hover {
  border-color: var(--wp-crimson);
  color: #fff;
}

.wp-ctrl-btn[aria-pressed="true"] {
  border-color: var(--wp-crimson);
  background: rgba(210, 43, 66, 0.24);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--wp-crimson);
}

.wp-stage__readout {
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07050a;
  font-size: 12px;
  color: #d6c5ce;
}

/* Chapter 50 Q&A Search & Accordion */
.wp-qa-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 18px;
}

.wp-qa-search {
  flex: 1 1 240px;
  padding: 10px 14px;
  background: #100c14;
  border: 1px solid var(--wp-line);
  color: var(--wp-ink);
  font-size: 13px;
}

.wp-qa-list {
  display: grid;
  gap: 10px;
}

.wp-qa-item {
  border: 1px solid var(--wp-line);
  background: rgba(12, 9, 16, 0.85);
}

.wp-qa-item summary {
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--wp-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.wp-qa-item summary::-webkit-details-marker {
  display: none;
}

.wp-qa-item summary::after {
  content: '+';
  color: var(--wp-crimson);
  font-size: 18px;
}

.wp-qa-item[open] summary::after {
  content: '−';
}

.wp-qa-item div {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.82;
  color: var(--wp-muted);
}

/* Closing Banner */
.wp-closing {
  padding-block: 96px 110px;
  border-top: 1px solid var(--wp-line);
  background: radial-gradient(ellipse at 78% 100%, rgba(168, 32, 62, 0.24), transparent 64%), rgba(8, 6, 10, 0.92);
}

.wp-closing h2 {
  font-size: clamp(48px, 5.8vw, 84px);
  margin-top: 20px;
}

.wp-closing > .wp-wrap > p:not(.wp-eyebrow) {
  max-width: 540px;
  margin-top: 20px;
  font-size: 15.5px;
  color: var(--wp-muted);
}

/* Mobile Syllabus Drawer Trigger */
.wp-drawer-trigger {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 18px;
  z-index: 60;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #130c16f2;
  border: 1px solid var(--wp-crimson);
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

@media (max-width: 1080px) {
  .wp-wrap, .wp-shell {
    width: calc(100% - 48px);
  }
  .wp-section-heading {
    display: block;
  }
  .wp-section-heading > p {
    width: auto;
    max-width: 58ch;
    margin-top: 18px;
  }
  .wp-tour-layout,
  .wp-tour-body,
  .wp-instruments-grid,
  .wp-eco-sound-grid,
  .wp-workspace-preview {
    grid-template-columns: 1fr;
  }
  .wp-shell {
    grid-template-columns: 1fr;
  }
  .wp-drawer-trigger {
    display: inline-flex;
  }
  .wp-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(330px, 88vw);
    max-height: none;
    z-index: 120;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }
  .wp-rail[data-open="true"] {
    transform: translateX(0);
  }
  .wp-rail__close {
    display: inline-block;
  }
}

@media (max-width: 760px) {
  .wp-wrap, .wp-shell {
    width: calc(100% - 32px);
  }
  .wp-hero {
    min-height: 700px;
  }
  .wp-hero__monolith-stage {
    width: 100%;
    right: 0;
    opacity: 0.48;
  }
  .wp-hero__content {
    padding-top: 44px;
    padding-bottom: 64px;
  }
  .wp-hero__title {
    font-size: clamp(48px, 11vw, 72px);
  }
  .wp-hero__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .wp-hero__coordinate {
    display: none;
  }
  .wp-index-bar {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .wp-section {
    padding-block: 64px;
  }
  .wp-tour-steps {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--wp-line);
  }
  .wp-tour-step {
    min-width: 165px;
    border-left: 0;
    padding: 12px 12px 14px 28px;
  }
  .wp-tour-step small {
    display: none;
  }
  .wp-tour-step[aria-selected="true"] {
    border-left: 0;
    border-bottom: 2px solid var(--wp-crimson);
  }
  .wp-tour-cards,
  .wp-eco-cards {
    grid-template-columns: 1fr;
  }
  .wp-cinema-overlay {
    position: static;
    max-width: none;
    border-left: 0;
    border-top: 1px solid var(--wp-line);
  }
  .wp-cinema-video {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
