:root {
  --theme-accent: #d65cff;
  --theme-accent-2: #4eb7ff;
  --theme-muted: rgba(242, 233, 248, 0.66);
  --theme-border: rgba(255, 255, 255, 0.13);
  --theme-panel: rgba(255, 255, 255, 0.035);
  --theme-radius: 1.5rem;
  --theme-heading: Georgia, "Times New Roman", serif;
}

html[data-theme="control"] {
  --theme-accent: #ff3c36;
  --theme-accent-2: #ff8a3d;
  --theme-muted: rgba(226, 229, 226, 0.63);
  --theme-border: rgba(255, 255, 255, 0.17);
  --theme-panel: rgba(255, 255, 255, 0.028);
  --theme-radius: 0.2rem;
  --theme-heading: Inter, ui-sans-serif, system-ui, sans-serif;
}

html[data-theme="devotion"] .theme-control,
html[data-theme="control"] .theme-devotion {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.dual-home {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 7%, rgba(68, 40, 165, 0.25), transparent 32rem),
    radial-gradient(circle at 20% 36%, rgba(151, 29, 161, 0.11), transparent 34rem),
    #050407;
  transition: background-color 500ms ease;
}

#world {
  scroll-margin-top: 6rem;
}

html[data-theme="control"] body.dual-home {
  background:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    radial-gradient(circle at 68% 12%, rgba(170, 23, 18, 0.16), transparent 34rem),
    #08090b;
  background-size: 4rem 4rem, 4rem 4rem, auto, auto;
}

.dual-header {
  position: fixed;
  z-index: 90;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: clamp(0.8rem, 2vw, 2rem);
  border-bottom: 1px solid transparent;
  transition:
    background 350ms ease,
    border-color 350ms ease;
}

.dual-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 4, 7, 0.9), rgba(5, 4, 7, 0));
  content: "";
  pointer-events: none;
}

.dual-header .brand,
.legal-header .brand {
  gap: 0.45rem;
}

html[data-theme="control"] .dual-header {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 11, 0.88);
  backdrop-filter: blur(1rem);
}

html[data-theme="control"] .dual-header::before {
  display: none;
}

.dual-header .brand-mark,
.legal-header .brand-mark {
  width: 2.8rem;
  height: 2.66rem;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background-image: url("../images/brand-heart.webp?v=20260905-1");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  filter: drop-shadow(0 0 0.7rem rgba(177, 61, 255, 0.26));
  transition:
    border-radius 350ms ease,
    filter 350ms ease,
    box-shadow 350ms ease;
}

.dual-header .brand-mark::before,
.legal-header .brand-mark::before {
  content: "";
}

/* The optimized wordmark retains the exact reconstructed banner lettering.
   Its source canvas includes generous transparent top and bottom padding, so
   the background scale exposes only the visible 848 × 100 px letter bounds. */
.dual-home .brand-wordmark {
  display: block;
  overflow: hidden;
  background-image: url("../images/brand-wordmark.webp?v=20260905-1");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 106.14% 210%;
  color: transparent;
  white-space: nowrap;
}

.dual-header .brand-wordmark,
.legal-header .brand-wordmark {
  width: clamp(9rem, 11vw, 10.5rem);
  aspect-ratio: 8.48;
  filter: drop-shadow(0 0 0.55rem rgba(177, 61, 255, 0.22));
  transition: filter 350ms ease;
}

.dual-home .footer-brand .brand-wordmark {
  width: clamp(12rem, 22vw, 17rem);
  aspect-ratio: 8.48;
  filter: drop-shadow(0 0 0.8rem rgba(177, 61, 255, 0.2));
}

html[data-theme="control"] .dual-header .brand-mark {
  filter:
    grayscale(1)
    contrast(1.35)
    sepia(0.55)
    hue-rotate(320deg)
    saturate(5)
    drop-shadow(0 0 0.65rem rgba(255, 60, 54, 0.28));
  box-shadow: none;
}

html[data-theme="control"] .dual-header .brand-wordmark {
  filter:
    grayscale(1)
    contrast(1.4)
    sepia(0.5)
    hue-rotate(320deg)
    saturate(4.5)
    drop-shadow(0 0 0.5rem rgba(255, 60, 54, 0.24));
}

.dual-header .header-actions {
  justify-self: end;
}

.theme-switch {
  position: relative;
  display: grid;
  width: 13.2rem;
  min-height: 2.85rem;
  padding: 0.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 15%, rgba(255, 255, 255, 0.13), transparent 28%),
    rgba(7, 6, 10, 0.82);
  box-shadow:
    inset 0 0.1rem 0.4rem rgba(255, 255, 255, 0.05),
    inset 0 -0.25rem 0.7rem rgba(0, 0, 0, 0.5),
    0 0.9rem 2.4rem rgba(0, 0, 0, 0.34);
  grid-template-columns: 1fr 1fr;
  backdrop-filter: blur(1rem);
  transition:
    border-radius 420ms var(--ease),
    border-color 420ms ease,
    box-shadow 420ms ease;
}

.theme-switch::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(105deg, transparent 0 5px, rgba(255, 255, 255, 0.018) 6px 7px);
  content: "";
  pointer-events: none;
}

.theme-switch-indicator {
  position: absolute;
  inset: 0.25rem auto 0.25rem 0.25rem;
  width: calc(50% - 0.25rem);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247, 210, 255, 0.95), rgba(198, 79, 255, 0.82) 52%, rgba(68, 168, 255, 0.88));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.6),
    0 0.35rem 1.2rem rgba(198, 79, 255, 0.28);
  transition:
    transform 460ms var(--ease),
    border-radius 420ms var(--ease),
    background 420ms ease,
    box-shadow 420ms ease;
}

.theme-switch button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    box-shadow 220ms ease;
}

.theme-switch button[aria-pressed="true"] {
  color: #100713;
}

.theme-switch-icon {
  font-size: 0.82rem;
}

.theme-switch-signal {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0.7rem currentColor;
}

html[data-theme="control"] .theme-switch {
  border-color: rgba(255, 78, 69, 0.46);
  border-radius: 0.3rem;
  background: #0d0f11;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 1.8rem rgba(255, 48, 40, 0.11);
}

html[data-theme="control"] .theme-switch::before {
  position: absolute;
  inset: 0.5rem auto 0.5rem 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

html[data-theme="control"] .theme-switch-indicator {
  transform: translateX(100%);
  border-color: rgba(255, 116, 93, 0.8);
  border-radius: 0.12rem;
  background: linear-gradient(135deg, #ff7b4b, #f22c27 70%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.42),
    0 0 1.35rem rgba(255, 53, 45, 0.35);
}

html[data-theme="control"] .theme-switch button[aria-pressed="true"] {
  color: #100101;
}

html[data-theme="control"] .theme-switch button {
  border-radius: 0.15rem;
}

@media (hover: hover) and (pointer: fine) {
  .theme-switch button:hover {
    color: #fff;
    box-shadow:
      inset 0 0 0 1px var(--header-accent),
      0 0 1rem rgba(var(--header-accent-rgb), 0.24);
  }

  .theme-switch button[aria-pressed="true"]:hover {
    color: #100713;
  }

  html[data-theme="control"] .theme-switch button[aria-pressed="true"]:hover {
    color: #100101;
  }
}

.dual-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 9% 22%, rgba(210, 62, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 80% 80%, rgba(33, 148, 255, 0.14), transparent 32rem);
  transition: background 500ms ease;
}

html[data-theme="control"] .hero-atmosphere {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.08) 50%, transparent 50.1%),
    radial-gradient(circle at 74% 34%, rgba(206, 39, 33, 0.19), transparent 28rem);
}

.hero-grid {
  display: grid;
  min-height: max(100svh, 55rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.08fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: stretch;
  padding: 10rem 0 7rem var(--page-pad);
}

.hero-copy .eyebrow {
  color: #e6b8ff;
}

.hero-copy h1 {
  max-width: 8.8ch;
  margin: 0;
  font-family: var(--theme-heading);
  font-size: clamp(4rem, 8.8vw, 9rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.77;
}

.hero-heading-content,
.hero-heading-content > span {
  display: block;
}

.hero-outline {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.hero-lede {
  max-width: 35rem;
  margin: 2.25rem 0 0;
  color: var(--theme-muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.dual-home .button-primary {
  background: linear-gradient(115deg, #f4c8ff, #d963ff 48%, #4ab2ff);
  box-shadow: 0 0.75rem 3rem rgba(191, 58, 255, 0.22);
  color: #100613;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 100svh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 650ms ease,
    transform 1s var(--ease),
    filter 650ms ease;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-devotion img {
  object-position: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}

html[data-theme="devotion"] .hero-image-devotion,
html[data-theme="control"] .hero-image-control {
  opacity: 1;
  transform: scale(1);
}

.hero-image-control {
  transform: scale(1.04);
  filter: contrast(1.08) saturate(0.78);
}

.hero-image-control img {
  object-position: 45% center;
}

.hero-frame {
  position: absolute;
  inset: 10% 8% 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 48% 48% 2rem 2rem;
  pointer-events: none;
  transition:
    inset 500ms var(--ease),
    border-radius 500ms var(--ease),
    border-color 500ms ease;
}

.hero-readout {
  position: absolute;
  right: 7%;
  bottom: 7%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 4, 7, 0.62);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(1rem);
}

.readout-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ff4cb7;
  box-shadow: 0 0 1.2rem #ff4cb7;
}

html[data-theme="control"] .hero-copy {
  padding-right: 3rem;
}

html[data-theme="control"] .hero-copy .eyebrow {
  color: #ff746a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="control"] .hero-copy h1 {
  max-width: 8ch;
  font-size: clamp(3.7rem, 5.8vw, 7.3rem);
  font-style: normal;
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero-signal {
  color: #ff4a43;
  text-shadow: 0.04em 0 rgba(255, 132, 71, 0.38);
}

html[data-theme="control"] .hero-lede {
  max-width: 39rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.86rem, 1.1vw, 1rem);
}

html[data-theme="control"] .hero-lede > .lang-en,
html[data-theme="control"] .hero-lede > .lang-de {
  align-self: start;
  padding-left: 1rem;
  border-left: 2px solid #f34a43;
}

html[data-theme="control"] .dual-home .button {
  border-radius: 0.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-theme="control"] .dual-home .button-primary {
  background: linear-gradient(125deg, #ff8151, #f03530 70%);
  box-shadow: 0 0.75rem 2.5rem rgba(238, 51, 45, 0.19);
  color: #110201;
}

html[data-theme="control"] .hero-frame {
  inset: 8.3rem 2rem 4.5rem 0;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 0;
  box-shadow: inset 0 0 0 0.45rem rgba(8, 9, 11, 0.25);
}

.control-readout {
  right: 2.75rem;
  bottom: 5.2rem;
  left: 0.75rem;
  justify-content: space-between;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(8, 9, 11, 0.84);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.control-readout strong {
  color: #ff514a;
}

.hero-status {
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  display: grid;
  padding: 0.75rem var(--page-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: #0c0e10;
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  grid-template-columns: repeat(4, 1fr);
  text-transform: uppercase;
}

.hero-status strong {
  color: #fff;
}

.signal-ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 82, 72, 0.42);
  background: #f03c35;
  color: #0b0101;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.signal-ticker > div {
  display: flex;
  width: max-content;
  animation: ticker-move 28s linear infinite;
}

.signal-ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding-inline: 2rem;
}

.signal-ticker span::after {
  margin-left: 4rem;
  content: "◆";
  font-size: 0.55rem;
}

@keyframes ticker-move {
  to { transform: translateX(-50%); }
}

.manifesto {
  position: relative;
  padding-top: clamp(6rem, 13vw, 12rem);
  padding-bottom: clamp(6rem, 13vw, 12rem);
}

.manifesto::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 60rem;
  height: 26rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(119, 32, 178, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.manifesto blockquote {
  position: relative;
  max-width: 16ch;
  margin: 0 auto;
  font-family: var(--theme-heading);
  font-size: clamp(2.7rem, 6.5vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-align: center;
}

.manifesto blockquote em {
  background: linear-gradient(90deg, #f1a9ff, #8ecbff);
  background-clip: text;
  color: transparent;
  font-weight: 400;
}

.section-code {
  margin: 0 0 2rem;
  color: #ff5f56;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

html[data-theme="control"] .manifesto {
  margin-top: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) var(--page-pad);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0.4rem solid #ed3c36;
  background: rgba(255, 255, 255, 0.018);
}

html[data-theme="control"] .manifesto::before {
  display: none;
}

html[data-theme="control"] .manifesto blockquote {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 5.6rem);
  font-weight: 950;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

html[data-theme="control"] .manifesto blockquote em {
  background: none;
  color: #ff4e47;
  font-style: normal;
}

.world-section {
  padding: 2rem 0 clamp(6rem, 12vw, 11rem);
}

.world-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.world-portrait {
  position: sticky;
  top: 7rem;
  margin: 0;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  border-radius: 48% 48% 1.5rem 1.5rem;
  background: #0b0910;
  transition: border-radius 500ms var(--ease);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.world-portrait figcaption {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.world-copy h2,
.session-copy h2,
.access-header h2 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--theme-heading);
  font-size: clamp(3.1rem, 6.5vw, 6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.world-intro,
.session-copy > p {
  max-width: 43rem;
  color: var(--theme-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.world-intro {
  margin-top: 2rem;
}

.pillar-list {
  display: grid;
  margin-top: 4rem;
  border-top: 1px solid var(--theme-border);
}

.pillar {
  display: grid;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--theme-border);
  grid-template-columns: 4rem 10rem 1fr;
  gap: 1rem;
  align-items: start;
}

.pillar-index {
  color: var(--theme-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.pillar strong {
  font-size: 1.1rem;
}

.pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

html[data-theme="control"] .portrait-frame {
  border-radius: 0;
  filter: contrast(1.08) saturate(0.75);
}

.portrait-reticle {
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(255, 67, 59, 0.6);
  background:
    linear-gradient(#ff433b, #ff433b) left top / 2rem 2px no-repeat,
    linear-gradient(#ff433b, #ff433b) left top / 2px 2rem no-repeat,
    linear-gradient(#ff433b, #ff433b) right bottom / 2rem 2px no-repeat,
    linear-gradient(#ff433b, #ff433b) right bottom / 2px 2rem no-repeat;
}

html[data-theme="control"] .world-copy .eyebrow,
html[data-theme="control"] .session-copy .eyebrow {
  color: #ff5c54;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="control"] .world-copy h2,
html[data-theme="control"] .session-copy h2,
html[data-theme="control"] .access-header h2 {
  font-style: normal;
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

html[data-theme="control"] .pillar {
  padding: 0;
  border: 1px solid var(--theme-border);
  border-top: 0;
  grid-template-columns: 4rem 10rem 1fr;
}

html[data-theme="control"] .pillar > * {
  min-height: 5.5rem;
  padding: 1.3rem 1rem;
  border-right: 1px solid var(--theme-border);
}

html[data-theme="control"] .pillar > *:last-child {
  border-right: 0;
}

.session-section {
  position: relative;
  padding: clamp(6rem, 12vw, 11rem) 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(108, 29, 143, 0.14), transparent 42%),
    #08070a;
  transition: background 500ms ease;
}

.section-anchor {
  scroll-margin-top: 6.25rem;
}

.session-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.session-copy h2 {
  max-width: 9ch;
}

.session-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.session-stats span {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: border-radius 420ms var(--ease);
}

.session-device {
  position: relative;
  display: grid;
  min-height: 31rem;
  place-items: center;
}

.device-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.device-stage::before {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 168, 255, 0.25), rgba(198, 53, 255, 0.1) 44%, transparent 70%);
  content: "";
  filter: blur(1.2rem);
}

.device-cutout {
  position: relative;
  width: min(100%, 32rem);
  filter: drop-shadow(0 2rem 3rem rgba(0, 0, 0, 0.5));
}

.device-cutout img {
  display: block;
  width: 100%;
  height: auto;
}

html[data-theme="control"] .session-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #0b0d0f;
  background-size: 100% 4rem, auto;
}

html[data-theme="control"] .session-grid {
  padding-block: 1rem;
  border: 1px solid var(--theme-border);
}

html[data-theme="control"] .session-copy {
  padding: clamp(1.5rem, 4vw, 4rem);
}

html[data-theme="control"] .session-stats span {
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="control"] .device-stage {
  min-height: 28rem;
  border-left: 1px solid var(--theme-border);
}

html[data-theme="control"] .device-stage::before {
  border-radius: 0;
  background: radial-gradient(circle, rgba(255, 64, 56, 0.21), transparent 68%);
}

.device-scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.device-scan::after {
  position: absolute;
  inset: -3px 0 auto;
  height: 3px;
  background: #ff4c44;
  box-shadow: 0 0 1rem #ff4c44;
  content: "";
  animation: device-scan 4s linear infinite;
}

@keyframes device-scan {
  50% { transform: translateY(28rem); }
  100% { transform: translateY(0); }
}

.device-telemetry {
  display: grid;
  width: 100%;
  border: 1px solid var(--theme-border);
  border-top: 0;
  grid-template-columns: repeat(3, 1fr);
}

.device-telemetry span {
  display: grid;
  padding: 0.8rem;
  border-right: 1px solid var(--theme-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.device-telemetry span:last-child {
  border-right: 0;
}

.device-telemetry small {
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}

.access-section {
  padding: clamp(6rem, 11vw, 10rem) 0;
}

.access-header {
  display: grid;
  margin-bottom: 3rem;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.access-header p:last-child {
  max-width: 32rem;
  margin: 0;
  color: var(--theme-muted);
}

.dual-home .platform-card-primary {
  border-color: rgba(208, 87, 255, 0.35);
  background:
    linear-gradient(140deg, rgba(175, 50, 218, 0.16), rgba(39, 135, 221, 0.07)),
    rgba(255, 255, 255, 0.035);
}

html[data-theme="control"] .platform-grid {
  gap: 0;
  border: 1px solid var(--theme-border);
}

html[data-theme="control"] .platform-card {
  border: 0;
  border-right: 1px solid var(--theme-border);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.018);
}

html[data-theme="control"] .platform-card:last-child {
  border-right: 0;
}

html[data-theme="control"] .platform-card-primary {
  border-left: 0.28rem solid #f4423c;
  background: linear-gradient(135deg, rgba(230, 45, 39, 0.12), transparent);
}

html[data-theme="control"] .platform-kicker,
html[data-theme="control"] .social-row a {
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* The selected motion-lab pair shares one semantic layer: Living Morph in
   Devotion, E-Stim Organism in Control. The artwork never receives input. */
.dual-home .platform-card {
  --platform-signal: #ff5f4f;
  --platform-signal-deep: #68101c;
  isolation: isolate;
}

.dual-home .platform-card:nth-child(2) {
  --platform-signal: #ff9f43;
  --platform-signal-deep: #64250b;
}

.dual-home .platform-card:nth-child(3) {
  --platform-signal: #9d7aff;
  --platform-signal-deep: #25135f;
}

.dual-home .platform-card > :not(.platform-art) {
  position: relative;
  z-index: 3;
}

.dual-home .platform-card > p {
  transition:
    opacity 240ms ease,
    transform 420ms var(--ease);
}

.dual-home .platform-card::after {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -0.3rem;
  bottom: 0;
  width: 0.3rem;
  height: auto;
  border-radius: 0;
  background: #ff5a4c;
  box-shadow:
    0 0 1.35rem rgba(255, 54, 47, 0.92),
    -0.65rem 0 2rem rgba(255, 54, 47, 0.4);
  content: "";
  pointer-events: none;
  transition: right 580ms var(--ease);
}

.platform-art {
  position: absolute;
  z-index: 1;
  color: #fff8f4;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(108%);
  transition:
    transform 580ms var(--ease),
    opacity 180ms ease;
}

.platform-art-mark {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.75;
}

.platform-art-caption {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-theme="devotion"] .platform-art {
  inset: 0 0 0 46%;
  display: grid;
  padding: 1.25rem;
  place-items: center;
}

html[data-theme="devotion"] .platform-morph {
  position: relative;
  display: grid;
  width: min(10.25rem, 78%);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--platform-signal) 78%, transparent);
  border-radius: 58% 42% 66% 34% / 43% 62% 38% 57%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.34), transparent 12%),
    radial-gradient(circle at 55% 48%, color-mix(in srgb, var(--platform-signal) 96%, transparent), var(--platform-signal-deep) 48%, rgba(8, 9, 12, 0.3) 72%);
  box-shadow:
    0 0 2.6rem color-mix(in srgb, var(--platform-signal) 46%, transparent),
    inset 0 0 2rem rgba(255, 255, 255, 0.1);
  filter: saturate(1.15);
  place-items: center;
  transform: scale(0.42) rotate(-18deg);
  transition: transform 620ms var(--ease) 100ms;
}

html[data-theme="devotion"] .platform-card:nth-child(n + 2) .platform-morph {
  width: min(10.25rem, 87%);
}

html[data-theme="devotion"] .platform-morph::before {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  content: "";
  opacity: 0.5;
}

html[data-theme="devotion"] .platform-art-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  text-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.75);
  transform: translate(-50%, -50%);
}

html[data-theme="devotion"] .platform-art-caption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.85rem;
  text-shadow: 0 0 0.85rem #000;
}

html[data-theme="devotion"] .platform-stim-electrode,
html[data-theme="devotion"] .platform-stim-membrane {
  display: none;
}

html[data-theme="control"] .platform-art {
  inset: 0 0 0 43%;
  display: block;
  padding: 0;
  border-left: 1px solid color-mix(in srgb, var(--platform-signal) 72%, transparent);
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.26), rgba(7, 8, 10, 0.72)),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(255, 255, 255, 0.05) 11px 12px),
    radial-gradient(ellipse at 58% 50%, color-mix(in srgb, var(--platform-signal) 58%, transparent), var(--platform-signal-deep) 36%, #08090c 76%);
}

html[data-theme="control"] .platform-morph {
  display: none;
}

html[data-theme="control"] .platform-stim-membrane {
  position: absolute;
  z-index: 1;
  inset: 19% 4% 15%;
  background: repeating-linear-gradient(90deg, transparent 0 7px, color-mix(in srgb, var(--platform-signal) 94%, transparent) 7px 11px, transparent 11px 17px);
  clip-path: polygon(0 50%, 8% 44%, 16% 57%, 24% 20%, 32% 78%, 40% 36%, 48% 62%, 56% 30%, 64% 72%, 72% 18%, 80% 75%, 88% 39%, 100% 50%, 100% 56%, 88% 48%, 80% 84%, 72% 27%, 64% 82%, 56% 38%, 48% 71%, 40% 45%, 32% 88%, 24% 28%, 16% 66%, 8% 52%, 0 58%);
  filter:
    drop-shadow(0 0 0.45rem var(--platform-signal))
    drop-shadow(0 0 1.15rem color-mix(in srgb, var(--platform-signal) 52%, transparent));
  opacity: 0.76;
  transform: scaleY(0.18);
  transform-origin: center;
}

html[data-theme="control"] .platform-stim-electrode {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 5%;
  width: 2.55rem;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--platform-signal) 86%, white 14%);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 8%, var(--platform-signal) 9% 17%, #110609 18% 33%, color-mix(in srgb, var(--platform-signal) 66%, transparent) 34% 38%, rgba(4, 5, 7, 0.82) 39%);
  box-shadow:
    0 0 0.7rem var(--platform-signal),
    0 0 1.7rem color-mix(in srgb, var(--platform-signal) 48%, transparent),
    inset 0 0 0.65rem rgba(255, 255, 255, 0.2);
  opacity: 0.84;
  transform: translateY(-50%) scale(0.45);
  transition: transform 520ms var(--ease) 180ms;
}

html[data-theme="control"] .platform-stim-electrode + .platform-stim-electrode {
  right: 5%;
  left: auto;
}

html[data-theme="control"] .platform-art-mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 15%;
  font-size: clamp(3.5rem, 6vw, 5.4rem);
  opacity: 0.9;
  text-shadow: 0 0 1.5rem color-mix(in srgb, var(--platform-signal) 72%, transparent);
  transform: translateY(-50%);
}

html[data-theme="control"] .platform-art-caption {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 0.85rem;
  text-shadow: 0 0 0.85rem #000;
}

@keyframes platform-living-morph {
  0% {
    border-radius: 58% 42% 66% 34% / 43% 62% 38% 57%;
    transform: scale(0.96) rotate(0deg);
  }
  45% {
    border-radius: 36% 64% 41% 59% / 61% 35% 65% 39%;
    transform: scale(1.04) rotate(8deg);
  }
  100% {
    border-radius: 63% 37% 52% 48% / 34% 58% 42% 66%;
    transform: scale(0.94) rotate(-7deg);
  }
}

@keyframes platform-estim-morph {
  0% {
    clip-path: polygon(0 50%, 8% 44%, 16% 57%, 24% 20%, 32% 78%, 40% 36%, 48% 62%, 56% 30%, 64% 72%, 72% 18%, 80% 75%, 88% 39%, 100% 50%, 100% 56%, 88% 48%, 80% 84%, 72% 27%, 64% 82%, 56% 38%, 48% 71%, 40% 45%, 32% 88%, 24% 28%, 16% 66%, 8% 52%, 0 58%);
    transform: scaleY(0.72) skewX(-2deg);
  }
  46% {
    clip-path: polygon(0 47%, 8% 32%, 16% 67%, 24% 38%, 32% 62%, 40% 14%, 48% 83%, 56% 41%, 64% 58%, 72% 31%, 80% 65%, 88% 22%, 100% 48%, 100% 58%, 88% 34%, 80% 78%, 72% 42%, 64% 69%, 56% 52%, 48% 94%, 40% 25%, 32% 73%, 24% 49%, 16% 78%, 8% 43%, 0 59%);
    transform: scaleY(1.08) skewX(2deg);
  }
  100% {
    clip-path: polygon(0 51%, 8% 39%, 16% 61%, 24% 11%, 32% 88%, 40% 45%, 48% 55%, 56% 18%, 64% 81%, 72% 42%, 80% 58%, 88% 29%, 100% 49%, 100% 57%, 88% 40%, 80% 71%, 72% 53%, 64% 92%, 56% 29%, 48% 67%, 40% 56%, 32% 97%, 24% 21%, 16% 72%, 8% 49%, 0 60%);
    transform: scaleY(0.9) skewX(-1deg);
  }
}

@keyframes platform-estim-contact {
  0%,
  100% {
    filter: brightness(0.9);
    transform: translateY(-50%) scale(0.92);
  }
  48% {
    filter: brightness(1.5);
    transform: translateY(-50%) scale(1.08);
  }
  56% {
    filter: brightness(1);
    transform: translateY(-50%) scale(0.98);
  }
}

html[data-theme="devotion"] .platform-card:focus-visible .platform-art,
html[data-theme="control"] .platform-card:focus-visible .platform-art {
  opacity: 1;
  transform: translateX(0);
}

html[data-theme="devotion"] .platform-card:focus-visible .platform-morph {
  animation: platform-living-morph 3.2s ease-in-out infinite alternate both;
  transform: scale(1);
}

html[data-theme="devotion"] .platform-card:focus-visible::after {
  right: 54%;
}

html[data-theme="devotion"] .platform-card:focus-visible > p,
html[data-theme="control"] .platform-card:focus-visible > p {
  opacity: 0.15;
  transform: translateX(-0.25rem);
}

html[data-theme="control"] .platform-card:focus-visible .platform-stim-membrane {
  animation: platform-estim-morph 2.65s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate both;
  transform: scaleY(1);
}

html[data-theme="control"] .platform-card:focus-visible .platform-stim-electrode {
  animation: platform-estim-contact 1.36s ease-in-out infinite both;
  transform: translateY(-50%) scale(1);
}

html[data-theme="control"] .platform-card:focus-visible::after {
  right: 57%;
}

@media (hover: hover) and (pointer: fine) {
  .dual-home .platform-card:hover {
    transform: none;
  }

  html[data-theme="devotion"] .platform-card:hover .platform-art,
  html[data-theme="control"] .platform-card:hover .platform-art {
    opacity: 1;
    transform: translateX(0);
  }

  html[data-theme="devotion"] .platform-card:hover .platform-morph {
    animation: platform-living-morph 3.2s ease-in-out infinite alternate both;
    transform: scale(1);
  }

  html[data-theme="devotion"] .platform-card:hover::after {
    right: 54%;
  }

  html[data-theme="devotion"] .platform-card:hover > p,
  html[data-theme="control"] .platform-card:hover > p {
    opacity: 0.15;
    transform: translateX(-0.25rem);
  }

  html[data-theme="control"] .platform-card:hover .platform-stim-membrane {
    animation: platform-estim-morph 2.65s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate both;
    transform: scaleY(1);
  }

  html[data-theme="control"] .platform-card:hover .platform-stim-electrode {
    animation: platform-estim-contact 1.36s ease-in-out infinite both;
    transform: translateY(-50%) scale(1);
  }

  html[data-theme="control"] .platform-card:hover::after {
    right: 57%;
  }
}

.consent-section {
  padding: 1.5rem 0 7rem;
}

.consent-card {
  position: relative;
  display: grid;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background:
    radial-gradient(circle at 88% 20%, rgba(82, 160, 255, 0.13), transparent 20rem),
    var(--theme-panel);
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  transition: border-radius 420ms var(--ease);
}

.consent-icon {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  color: var(--theme-accent);
  font-size: 1.35rem;
}

.consent-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.consent-card p {
  max-width: 55rem;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

html[data-theme="control"] .consent-card {
  grid-template-columns: auto 1fr;
  border-left: 0.28rem solid #f4423c;
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="control"] .consent-icon {
  display: none;
}

.consent-code {
  color: #ff5b53;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

html[data-theme="control"] .site-footer {
  border-top-color: rgba(255, 67, 59, 0.35);
  background: #07080a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="control"] .age-gate {
  border-color: rgba(255, 70, 63, 0.45);
  border-radius: 0;
  background: #0b0d0f;
}

html[data-theme="control"] .age-number,
html[data-theme="control"] .age-actions button {
  border-radius: 0;
}

html[data-theme="control"] .age-gate-inner::before {
  background: radial-gradient(circle, rgba(255, 55, 48, 0.28), transparent 66%);
}

html[data-theme="devotion"] .age-gate h2 {
  font-family: var(--theme-heading);
  font-style: italic;
  font-weight: 400;
}

html[data-theme="control"] .age-gate h2 {
  font-family: var(--theme-heading);
  font-weight: 950;
  text-transform: uppercase;
}

.legal-page,
.error-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 18%, rgba(202, 61, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 80% 78%, rgba(48, 146, 255, 0.1), transparent 32rem),
    #060508;
}

.legal-header {
  display: flex;
  width: min(100%, var(--content));
  min-height: 6rem;
  margin-inline: auto;
  padding: 1.2rem var(--page-pad);
  align-items: center;
  justify-content: space-between;
}

.legal-home-link {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-home-link:hover {
  color: #fff;
}

.legal-main {
  min-height: calc(100svh - 13rem);
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.legal-main > .eyebrow {
  color: #daa3f8;
}

.legal-main h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.legal-intro {
  max-width: 46rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.legal-disclosure {
  max-width: 62rem;
  margin-top: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(187, 58, 232, 0.09), rgba(43, 132, 221, 0.04)),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.28);
}

.legal-disclosure summary {
  display: flex;
  min-height: 5rem;
  padding: 1.2rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  list-style: none;
  text-transform: uppercase;
}

.legal-disclosure summary::-webkit-details-marker {
  display: none;
}

.legal-disclosure summary span:last-child {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #df8cff;
  font-size: 1.3rem;
  transition: transform 300ms var(--ease);
}

.legal-disclosure[open] summary span:last-child {
  transform: rotate(45deg);
}

.legal-disclosure-content {
  display: grid;
  padding: 0 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.legal-disclosure-content section,
.legal-policy section {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.16);
}

.legal-disclosure h2 {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-disclosure address,
.legal-disclosure p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
}

.legal-disclosure a {
  color: #e8b4ff;
}

.legal-policy {
  display: grid;
  padding: 0 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
}

.legal-policy section:first-child {
  margin-top: 1.5rem;
}

.legal-policy p + p {
  margin-top: 1rem;
}

.legal-note,
.legal-updated {
  max-width: 60rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
}

.error-page {
  display: grid;
  place-items: center;
}

.error-main {
  width: min(calc(100% - 2rem), 58rem);
  padding: clamp(2rem, 8vw, 6rem);
  border: 1px solid rgba(255, 78, 69, 0.42);
  border-left: 0.35rem solid #f4433c;
  background: rgba(8, 9, 11, 0.88);
}

.error-main h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.86;
  text-transform: uppercase;
}

.error-main > p:not(.section-code) {
  color: var(--theme-muted);
}

.error-main .button {
  margin-top: 1rem;
  border-radius: 0;
  background: linear-gradient(125deg, #ff8151, #f03530 70%);
  color: #110201;
}

@media (max-width: 70rem) {
  .dual-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

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

  .hero-copy {
    min-height: 72svh;
    padding: 9rem var(--page-pad) 4rem;
  }

  .hero-visual {
    min-height: 54rem;
    margin-top: -14rem;
    z-index: -1;
  }

  .hero-image-devotion img {
    mask-image: linear-gradient(180deg, transparent, #000 25%, #000 100%);
  }

  html[data-theme="control"] .hero-copy {
    min-height: 62svh;
    padding-right: var(--page-pad);
  }

  html[data-theme="control"] .hero-visual {
    z-index: 0;
    min-height: 46rem;
    margin-top: -3rem;
  }

  html[data-theme="control"] .hero-frame {
    inset: 2rem var(--page-pad) 4.5rem;
  }

  .control-readout {
    right: calc(var(--page-pad) + 0.75rem);
    left: calc(var(--page-pad) + 0.75rem);
  }

  .hero-status {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
  }

  .world-grid,
  .session-grid {
    grid-template-columns: 1fr;
  }

  .world-portrait {
    position: relative;
    top: auto;
    width: min(100%, 32rem);
    margin-inline: auto;
  }

  html[data-theme="control"] .session-grid {
    padding-block: 0;
  }

  html[data-theme="control"] .device-stage {
    border-top: 1px solid var(--theme-border);
    border-left: 0;
  }
}

@media (max-width: 48rem) {
  .dual-header {
    display: flex;
  }

  html[data-theme="control"] .dual-header {
    backdrop-filter: none;
  }

  .theme-switch {
    position: fixed;
    right: 50%;
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    z-index: 110;
    transform: translateX(50%);
  }

  .manifesto blockquote {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }

  .access-header {
    grid-template-columns: 1fr;
  }

  html[data-theme="control"] .platform-grid {
    border-bottom: 0;
  }

  html[data-theme="control"] .platform-card,
  html[data-theme="control"] .platform-card:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--theme-border);
  }
}

@media (max-width: 40rem) {
  .dual-header .brand-mark,
  .legal-header .brand-mark {
    width: 2.25rem;
    height: 2.14rem;
  }

  .dual-header .brand-wordmark,
  .legal-header .brand-wordmark {
    width: clamp(6.9rem, 31vw, 8rem);
  }

  .section-anchor {
    scroll-margin-top: 5.25rem;
  }

  .hero-copy,
  html[data-theme="control"] .hero-copy {
    min-height: 47rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.55rem, 18vw, 5.8rem);
  }

  html[data-theme="control"] .hero-copy h1 {
    font-size: clamp(3.25rem, 15vw, 5.1rem);
  }

  html[data-theme="control"] .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, calc(1.6rem + 5.25vw), 3.7rem);
  }

  .hero-visual {
    min-height: 41rem;
    margin-top: -8rem;
  }

  html[data-theme="control"] .hero-visual {
    min-height: 35rem;
  }

  .control-readout span:last-child {
    display: none;
  }

  .pillar {
    grid-template-columns: 3rem 1fr;
  }

  .pillar p {
    grid-column: 2;
  }

  html[data-theme="control"] .pillar {
    grid-template-columns: 3rem 1fr;
  }

  html[data-theme="control"] .pillar > * {
    min-height: 0;
    border-right: 0;
  }

  html[data-theme="control"] .pillar p {
    padding-top: 0;
  }

  .device-telemetry {
    grid-template-columns: 1fr;
  }

  .device-telemetry span,
  .device-telemetry span:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--theme-border);
  }

  .consent-card,
  html[data-theme="control"] .consent-card {
    grid-template-columns: 1fr;
  }

  .legal-disclosure-content {
    grid-template-columns: 1fr;
  }
}

@media (forced-colors: active) {
  .dual-header .brand-mark,
  .legal-header .brand-mark {
    filter: none;
  }

  .dual-home .brand-wordmark {
    display: inline-block;
    width: auto;
    aspect-ratio: auto;
    background: none;
    color: CanvasText;
    filter: none;
    font-family: "DejaVu Serif", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.06em;
  }

  .dual-home .footer-brand .brand-wordmark {
    font-size: clamp(1.65rem, 3vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-ticker > div,
  .device-scan::after,
  .platform-morph,
  .platform-stim-membrane,
  .platform-stim-electrode {
    animation: none !important;
  }
}

.universe-section {
  padding: 1.5rem 0 4.5rem;
}

.universe-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(148, 108, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 100%, rgba(82, 160, 255, 0.12), transparent 20rem),
    var(--theme-panel);
}

.universe-glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 60%, rgba(148, 108, 255, 0.1), transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(82, 160, 255, 0.08), transparent 38%);
  pointer-events: none;
}

.universe-copywrap {
  position: relative;
  max-width: 46rem;
}

.universe-copywrap h2 {
  margin: 0.4rem 0 1rem;
}

.universe-copy {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.78);
}

.universe-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

html[data-theme="control"] .universe-card {
  border-left: 0.28rem solid #f4423c;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 66, 60, 0.12), transparent 22rem),
    rgba(255, 255, 255, 0.02);
}

.universe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(148, 108, 255, 0.08) 50%, transparent 70%);
  pointer-events: none;
  animation: universe-drift 9s ease-in-out infinite alternate;
}

@keyframes universe-drift {
  from { transform: translateX(-6%); opacity: 0.6; }
  to { transform: translateX(6%); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .universe-card::after {
    animation: none;
  }
}

html[data-theme="control"] .universe-card::after {
  background: linear-gradient(115deg, transparent 30%, rgba(244, 66, 60, 0.06) 50%, transparent 70%);
}

.universe-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.universe-note::before {
  content: "◆";
  color: rgba(148, 108, 255, 0.8);
  font-size: 0.7rem;
}
