/* =========================================================
   THE LIVING INSTRUMENT
   Stage 1 — Awareness: Discovering the Instrument
   Dreamweaver-friendly, readable CSS
   ========================================================= */

:root {
  --li-bg: #09070f;
  --li-panel: rgba(12, 10, 20, 0.72);
  --li-panel-soft: rgba(16, 13, 27, 0.52);
  --li-text: #f8f3e8;
  --li-muted: #c8c0d3;
  --li-gold: #e7c67a;
  --li-blue: #9fbfff;
  --li-violet: #c4a7ff;
  --li-line: rgba(255, 244, 214, 0.22);
  --li-glow: rgba(230, 202, 135, 0.42);
  --li-max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--li-bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--li-bg);
  color: var(--li-text);
  font-family: Georgia, "Times New Roman", serif;
}

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

button {
  -webkit-tap-highlight-color: transparent;
}

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

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

/* =========================================================
   ENVIRONMENT
   ========================================================= */

.living-instrument {
  min-height: 100%;
  overflow-x: hidden;
}

.environment {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(101, 91, 151, 0.18), transparent 42%),
    linear-gradient(180deg, #0d0a14 0%, #08070d 100%);
}

.environment__background {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.environment__veil {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(4, 3, 8, 0.22), rgba(4, 3, 8, 0.48)),
    radial-gradient(circle at center, transparent 12%, rgba(4, 3, 8, 0.30) 76%);
  pointer-events: none;
}

/* =========================================================
   PROJECT HEADER
   ========================================================= */

.project-header {
  width: min(92%, 1180px);
  margin: 0 auto;
  padding: 28px 18px 2px;
}

.project-header__identity {
  width: min(100%, 980px);
  margin: 0 auto;
  filter: drop-shadow(0 0 18px rgba(237, 209, 151, 0.14));
}

/* =========================================================
   STAGE INTRODUCTION
   ========================================================= */

.awareness-stage {
  width: min(94%, var(--li-max));
  margin: 0 auto;
  padding: 8px 20px 54px;
}

.stage-introduction {
  width: min(760px, 100%);
  margin: 0 auto 20px;
  text-align: center;
}

.stage-kicker,
.observation-panel__label {
  margin: 0 0 7px;
  color: var(--li-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-introduction h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.stage-introduction p {
  margin: 0 auto;
  color: var(--li-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
}

/* =========================================================
   CENTRAL INSTRUMENT FIELD
   ========================================================= */

.instrument-field {
  position: relative;
  width: min(1120px, 100%);
  min-height: 710px;
  margin: 12px auto 8px;
}

.human-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(33vw, 385px);
  min-width: 245px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.human-stage__figure {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 18px rgba(226, 203, 164, 0.22))
    drop-shadow(0 0 38px rgba(153, 175, 255, 0.10));
  transition:
    filter 700ms ease,
    opacity 700ms ease,
    transform 700ms ease;
}

.human-stage__axis {
  position: absolute;
  left: 50%;
  top: 7%;
  z-index: 5;
  width: 2px;
  height: 82%;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 237, 190, 0.26) 15%,
    rgba(255, 237, 190, 0.52) 50%,
    rgba(255, 237, 190, 0.20) 84%,
    transparent
  );
  opacity: 0;
  transition: opacity 700ms ease;
}

.resonance {
  position: absolute;
  left: 50%;
  top: 47%;
  border: 1px solid rgba(225, 211, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.84);
  opacity: 0;
  transition:
    opacity 650ms ease,
    transform 900ms ease,
    border-color 650ms ease,
    box-shadow 650ms ease;
}

.resonance--inner {
  width: 58%;
  aspect-ratio: 1;
}

.resonance--middle {
  width: 88%;
  aspect-ratio: 1;
}

.resonance--outer {
  width: 122%;
  aspect-ratio: 1;
}

.environment.is-active .resonance {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.environment.is-sound .resonance {
  border-color: rgba(162, 196, 255, 0.46);
  box-shadow: 0 0 28px rgba(130, 171, 255, 0.10);
}

.environment.is-light .resonance {
  border-color: rgba(255, 225, 158, 0.50);
  box-shadow: 0 0 34px rgba(255, 215, 140, 0.12);
}

.environment.is-vibration .resonance {
  border-color: rgba(198, 166, 255, 0.48);
  box-shadow: 0 0 32px rgba(186, 150, 255, 0.12);
}

.environment.is-active .human-stage__figure {
  transform: scale(1.01);
}

.environment.is-sound .human-stage__figure {
  filter:
    drop-shadow(0 0 22px rgba(143, 186, 255, 0.34))
    drop-shadow(0 0 52px rgba(133, 174, 255, 0.16));
}

.environment.is-light .human-stage__figure {
  filter:
    drop-shadow(0 0 24px rgba(255, 224, 153, 0.35))
    drop-shadow(0 0 58px rgba(255, 220, 144, 0.16));
}

.environment.is-vibration .human-stage__figure {
  filter:
    drop-shadow(0 0 24px rgba(196, 160, 255, 0.32))
    drop-shadow(0 0 58px rgba(170, 137, 242, 0.17));
}

.environment.is-vibration .human-stage__axis {
  opacity: 1;
}

/* =========================================================
   FIELD SELECTORS
   ========================================================= */

.field-selector {
  position: absolute;
  z-index: 6;
  width: clamp(150px, 18vw, 235px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.78;
  transition:
    opacity 260ms ease,
    transform 320ms ease,
    filter 320ms ease;
}

.field-selector img {
  width: 100%;
  pointer-events: none;
}

.field-selector--sound {
  left: 3%;
  top: 38%;
}

.field-selector--light {
  right: 3%;
  top: 38%;
}

.field-selector--vibration {
  left: 50%;
  bottom: -3%;
  transform: translateX(-50%);
}

.field-selector:hover,
.field-selector:focus-visible,
.field-selector[aria-pressed="true"] {
  opacity: 1;
  filter: drop-shadow(0 0 18px var(--li-glow));
  outline: none;
}

.field-selector--sound:hover,
.field-selector--sound:focus-visible,
.field-selector--sound[aria-pressed="true"] {
  transform: scale(1.035);
}

.field-selector--light:hover,
.field-selector--light:focus-visible,
.field-selector--light[aria-pressed="true"] {
  transform: scale(1.035);
}

.field-selector--vibration:hover,
.field-selector--vibration:focus-visible,
.field-selector--vibration[aria-pressed="true"] {
  transform: translateX(-50%) scale(1.035);
}

/* =========================================================
   OBSERVATION PANEL
   ========================================================= */

.observation-panel {
  width: min(780px, 100%);
  margin: 26px auto 0;
  padding: 24px 28px 26px;
  border: 1px solid var(--li-line);
  background: var(--li-panel);
  backdrop-filter: blur(10px);
  text-align: center;
}

.observation-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
}

.observation-panel > p:not(.observation-panel__label) {
  margin: 0 auto;
  max-width: 670px;
  color: var(--li-muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.observation-panel__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.quiet-button {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(237, 212, 155, 0.36);
  border-radius: 999px;
  background: rgba(236, 207, 141, 0.10);
  color: var(--li-text);
  cursor: pointer;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.quiet-button:hover,
.quiet-button:focus-visible {
  background: rgba(236, 207, 141, 0.17);
  border-color: rgba(237, 212, 155, 0.62);
  outline: none;
  transform: translateY(-1px);
}

.quiet-button--secondary {
  border-color: rgba(197, 182, 221, 0.28);
  background: rgba(157, 136, 191, 0.08);
}

/* =========================================================
   FOOTER
   ========================================================= */

.stage-footer {
  width: min(760px, 90%);
  margin: 0 auto;
  padding: 0 16px 34px;
  text-align: center;
}

.stage-footer p {
  margin: 0;
  color: rgba(246, 238, 220, 0.72);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}

/* =========================================================
   STILLNESS STATE
   ========================================================= */

.environment.is-still .environment__background {
  opacity: 0.40;
}

.environment.is-still .field-selector {
  opacity: 0.40;
}

.environment.is-still .human-stage__figure {
  filter:
    drop-shadow(0 0 14px rgba(229, 217, 191, 0.16));
}

.environment.is-still .resonance,
.environment.is-still .human-stage__axis {
  opacity: 0;
}

/* =========================================================
   RESPONSIVE LAYOUT
   ========================================================= */

@media (max-width: 900px) {
  .instrument-field {
    min-height: 780px;
  }

  .human-stage {
    top: 44%;
    width: min(46vw, 340px);
  }

  .field-selector {
    width: clamp(132px, 23vw, 190px);
  }

  .field-selector--sound {
    left: 0;
    top: 35%;
  }

  .field-selector--light {
    right: 0;
    top: 35%;
  }

  .field-selector--vibration {
    bottom: 0;
  }
}

@media (max-width: 640px) {
  .project-header {
    padding-top: 18px;
  }

  .awareness-stage {
    padding-left: 14px;
    padding-right: 14px;
  }

  .instrument-field {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    min-height: 0;
    padding-top: 8px;
  }

  .human-stage {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(64vw, 315px);
    min-width: 0;
    margin: 0 auto;
    transform: none;
  }

  .field-selector {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(43vw, 180px);
    margin: 0 auto;
  }

  .field-selector--sound {
    grid-column: 1;
    grid-row: 2;
  }

  .field-selector--light {
    grid-column: 2;
    grid-row: 2;
  }

  .field-selector--vibration {
    grid-column: 1 / -1;
    grid-row: 3;
    transform: none;
  }

  .field-selector--vibration:hover,
  .field-selector--vibration:focus-visible,
  .field-selector--vibration[aria-pressed="true"] {
    transform: scale(1.035);
  }

  .observation-panel {
    padding: 22px 18px;
  }

  .observation-panel__actions {
    flex-direction: column;
  }

  .quiet-button {
    width: 100%;
  }
}

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


/* =========================================================
   EXPERIMENT → EXPERIENCE → EXPRESSION → RETURN
   ========================================================= */

.cycle-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cycle-step {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(225, 211, 255, 0.16);
  border-radius: 999px;
  color: rgba(240, 234, 246, 0.46);
  background: rgba(255, 255, 255, 0.025);
  transition:
    color 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease;
}

.cycle-step.is-current {
  color: var(--li-text);
  border-color: rgba(231, 198, 122, 0.55);
  background: rgba(231, 198, 122, 0.08);
  box-shadow: 0 0 18px rgba(231, 198, 122, 0.08);
}

.cycle-step.is-complete {
  color: rgba(240, 234, 246, 0.74);
  border-color: rgba(159, 191, 255, 0.34);
  background: rgba(159, 191, 255, 0.045);
}

.cycle-connector {
  color: rgba(231, 198, 122, 0.34);
}

.cycle-prompt {
  width: min(660px, 100%);
  margin: 20px auto 0;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 244, 214, 0.13);
  border-bottom: 1px solid rgba(255, 244, 214, 0.13);
  background: rgba(255, 255, 255, 0.018);
}

.cycle-prompt__heading {
  margin: 0 0 8px;
  color: var(--li-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cycle-prompt__text {
  margin: 0 !important;
  color: var(--li-text) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

#advanceCycle:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.environment.is-cycle-return .resonance,
.environment.is-cycle-return .human-stage__axis {
  opacity: 0;
}

.environment.is-cycle-return .field-selector {
  opacity: 0.46;
}

@media (max-width: 640px) {
  .cycle-progress {
    gap: 6px;
  }

  .cycle-connector {
    display: none;
  }

  .cycle-step {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }
}


/* =========================================================
   STAGE 1C — 111 Hz FOUNDATIONAL LISTENING TONE
   ========================================================= */

.tone-lab {
  width: min(680px, 100%);
  margin: 22px auto 0;
  padding: 20px;
  border: 1px solid rgba(159, 191, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(159, 191, 255, 0.045), rgba(255,255,255,0.015));
}

.tone-lab__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 12px;
}

.tone-lab__eyebrow {
  margin: 0 0 4px;
  color: var(--li-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tone-lab h4 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
}

.tone-lab__status {
  min-width: 74px;
  padding: 7px 10px;
  border: 1px solid rgba(231, 198, 122, 0.25);
  border-radius: 999px;
  color: var(--li-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  text-align: center;
}

.tone-lab__guidance,
.tone-lab__note {
  color: var(--li-muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.tone-lab__guidance {
  margin: 0 0 18px;
}

.tone-lab__note {
  margin: 14px 0 0;
  font-size: 0.86rem;
}

.tone-lab__controls {
  display: grid;
  grid-template-columns: auto auto minmax(190px, 1fr);
  gap: 12px;
  align-items: center;
}

.tone-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(159, 191, 255, 0.42);
  border-radius: 999px;
  background: rgba(159, 191, 255, 0.09);
  color: var(--li-text);
  cursor: pointer;
}

.tone-button:hover,
.tone-button:focus-visible {
  border-color: rgba(159, 191, 255, 0.72);
  background: rgba(159, 191, 255, 0.15);
  outline: none;
}

.tone-button--secondary {
  border-color: rgba(231, 198, 122, 0.28);
  background: rgba(231, 198, 122, 0.06);
}

.tone-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.tone-volume {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--li-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
}

.tone-volume input[type="range"] {
  width: 100%;
  accent-color: var(--li-gold);
}

.tone-lab__timer {
  margin-top: 14px;
  color: rgba(248, 243, 232, 0.78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  text-align: center;
}

.environment.is-tone-playing .resonance--inner {
  opacity: 1;
  border-color: rgba(159, 191, 255, 0.66);
  box-shadow: 0 0 34px rgba(159, 191, 255, 0.18);
}

.environment.is-tone-playing .human-stage__figure {
  filter:
    drop-shadow(0 0 24px rgba(143, 186, 255, 0.38))
    drop-shadow(0 0 62px rgba(143, 186, 255, 0.18));
}

@media (max-width: 720px) {
  .tone-lab__controls {
    grid-template-columns: 1fr 1fr;
  }

  .tone-volume {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .tone-lab__header {
    flex-direction: column;
    align-items: stretch;
  }

  .tone-lab__status {
    align-self: flex-start;
  }

  .tone-lab__controls {
    grid-template-columns: 1fr;
  }

  .tone-volume {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .tone-button {
    width: 100%;
  }
}


/* =========================================================
   STAGE 1D — LIGHT, VIBRATION, AND SYNTHESIS
   ========================================================= */

.light-lab,
.vibration-lab,
.synthesis-panel {
  width: min(680px, 100%);
  margin: 22px auto 0;
  padding: 20px;
  border: 1px solid rgba(255, 244, 214, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
}

.light-lab__header,
.vibration-lab__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 12px;
}

.light-lab__eyebrow,
.vibration-lab__eyebrow,
.synthesis-panel__eyebrow {
  margin: 0 0 4px;
  color: var(--li-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.light-lab h4,
.vibration-lab h4 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
}

.light-lab__status,
.vibration-lab__status {
  min-width: 74px;
  padding: 7px 10px;
  border: 1px solid rgba(231, 198, 122, 0.25);
  border-radius: 999px;
  color: var(--li-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  text-align: center;
}

.light-lab__guidance,
.vibration-lab__guidance,
.synthesis-panel p {
  color: var(--li-muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.light-options,
.vibration-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 14px;
}

.light-choice,
.vibration-choice {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 244, 214, 0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: var(--li-text);
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.light-choice:hover,
.light-choice:focus-visible,
.light-choice.is-selected,
.vibration-choice:hover,
.vibration-choice:focus-visible,
.vibration-choice.is-selected {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(231, 198, 122, 0.58);
  background: rgba(231, 198, 122, 0.08);
  box-shadow: 0 0 16px rgba(231, 198, 122, 0.08);
}

.lab-reset {
  margin-top: 2px;
}

.environment.light-gold .human-stage__figure {
  filter:
    drop-shadow(0 0 28px rgba(255, 218, 145, 0.42))
    drop-shadow(0 0 68px rgba(255, 202, 112, 0.16));
}

.environment.light-blue .human-stage__figure {
  filter:
    drop-shadow(0 0 28px rgba(155, 205, 255, 0.42))
    drop-shadow(0 0 68px rgba(125, 175, 255, 0.16));
}

.environment.light-violet .human-stage__figure {
  filter:
    drop-shadow(0 0 28px rgba(201, 168, 255, 0.42))
    drop-shadow(0 0 68px rgba(180, 145, 255, 0.16));
}

.environment.vibration-slow .resonance {
  animation: liPulseSlow 4.8s ease-in-out infinite;
}

.environment.vibration-moderate .resonance {
  animation: liPulseModerate 2.7s ease-in-out infinite;
}

.environment.vibration-steady .resonance {
  animation: liPulseSteady 1.8s ease-in-out infinite;
}

@keyframes liPulseSlow {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.45; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.95; }
}

@keyframes liPulseModerate {
  0%, 100% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.50; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.90; }
}

@keyframes liPulseSteady {
  0%, 100% { transform: translate(-50%, -50%) scale(0.97); opacity: 0.58; }
  50% { transform: translate(-50%, -50%) scale(1.025); opacity: 0.86; }
}

.synthesis-panel {
  text-align: center;
  border-color: rgba(231, 198, 122, 0.30);
  background:
    radial-gradient(circle at 50% 10%, rgba(231,198,122,0.07), transparent 38%),
    rgba(12, 10, 20, 0.60);
}

.synthesis-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
}

.environment.is-synthesis .field-selector {
  opacity: 0.72;
}

.environment.is-synthesis .field-selector--sound {
  transform: translate(28%, -8%) scale(0.92);
}

.environment.is-synthesis .field-selector--light {
  transform: translate(-28%, -8%) scale(0.92);
}

.environment.is-synthesis .field-selector--vibration {
  transform: translateX(-50%) translateY(-26%) scale(0.92);
}

.environment.is-synthesis .human-stage__figure {
  filter:
    drop-shadow(0 0 26px rgba(255, 220, 150, 0.28))
    drop-shadow(0 0 55px rgba(154, 194, 255, 0.18))
    drop-shadow(0 0 84px rgba(195, 160, 255, 0.15));
}

.environment.is-synthesis .resonance--inner {
  border-color: rgba(255, 221, 148, 0.62);
  animation: liSynthInner 3.4s ease-in-out infinite;
}

.environment.is-synthesis .resonance--middle {
  border-color: rgba(151, 195, 255, 0.55);
  animation: liSynthMiddle 4.2s ease-in-out infinite;
}

.environment.is-synthesis .resonance--outer {
  border-color: rgba(195, 160, 255, 0.50);
  animation: liSynthOuter 5.0s ease-in-out infinite;
}

@keyframes liSynthInner {
  0%,100% { transform: translate(-50%, -50%) scale(0.90); opacity: 0.48; }
  50% { transform: translate(-50%, -50%) scale(1.02); opacity: 1; }
}

@keyframes liSynthMiddle {
  0%,100% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.40; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.88; }
}

@keyframes liSynthOuter {
  0%,100% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.34; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.76; }
}

@media (max-width: 640px) {
  .light-lab__header,
  .vibration-lab__header {
    flex-direction: column;
    align-items: stretch;
  }

  .light-options,
  .vibration-options {
    grid-template-columns: 1fr;
  }

  .environment.is-synthesis .field-selector--sound,
  .environment.is-synthesis .field-selector--light,
  .environment.is-synthesis .field-selector--vibration {
    transform: none;
  }
}


/* =========================================================
   STAGE 1E — ATTENTIONAL CUE
   ========================================================= */

.attention-cue {
  width: min(700px, 100%);
  margin: 16px auto 0;
  padding: 14px 18px;
  border-left: 2px solid rgba(231, 198, 122, 0.46);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
}

.attention-cue__label {
  margin: 0 0 4px;
  color: var(--li-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.attention-cue__text {
  margin: 0;
  color: rgba(248, 243, 232, 0.90);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

.environment.is-sound .attention-cue {
  border-left-color: rgba(159, 191, 255, 0.55);
}

.environment.is-light .attention-cue {
  border-left-color: rgba(255, 220, 150, 0.58);
}

.environment.is-vibration .attention-cue {
  border-left-color: rgba(196, 160, 255, 0.55);
}

@media (max-width: 640px) {
  .attention-cue {
    text-align: center;
    border-left: 0;
    border-top: 1px solid rgba(231, 198, 122, 0.34);
  }
}
