/* incubation — The Garden. The Cocoon. Elias alone with his masterpiece.
   Matches the canonical Mar00n Garden palette: cold neon-green surveillance.
   Garden location styles live here (gitignored) — shared CSS is untouched.
*/

body[data-chapter="INCUBATION"] {
  --chapter-primary: #00ff88;
  --chapter-secondary: #00aa55;
  --chapter-accent: #00e6ff;
}

/* Nav arrows */
.glitch-arrow,
.chapter-nav a {
  color: var(--chapter-secondary);
}

.glitch-arrow:hover,
.chapter-nav a:hover {
  color: var(--chapter-primary);
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.35);
}

/* ===== LOCATION: THE-GARDEN — Elias's private digital sanctuary ===== */
/* Matches Mar00n the-garden: cold green surveillance, near-black void. */

body[data-location="the-garden"] {
  --chapter-primary: #00ff88;
  --chapter-secondary: #00aa55;
  --chapter-accent: #00e6ff;
  background: #020a06;
}

body[data-location="the-garden"] main {
  background: radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.08) 0%, transparent 70%);
}

body[data-location="the-garden"] .scene {
  border-left-color: #00ff88;
  background: rgba(0,255,136,0.02);
}

body[data-location="the-garden"] .char-architect {
  color: #33bbff;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(51, 187, 255, 0.4);
}

/* Stage-direction beat — "Dry." / "The Cocoon." */
body[data-location="the-garden"] .garden-beat {
  text-align: center;
  letter-spacing: 0.2em;
  font-size: 1.05rem;
  color: #00ff88;
  text-shadow: 0 0 18px rgba(0, 255, 136, 0.4);
  margin: 2rem 0;
  opacity: 0.9;
}

/* Inline hex color label — #00B7FF rendered as styled code */
body[data-location="the-garden"] .garden-hex {
  font-family: 'Courier New', Courier, monospace;
  color: #00b7ff;
  text-shadow: 0 0 8px rgba(0, 183, 255, 0.5);
  font-size: 0.92em;
}

/* The echo of "Mr. Reiss" — fading, corrupted, smaller */
body[data-location="the-garden"] .garden-echo {
  text-align: center;
  opacity: 0.45;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  margin: 0.4rem 0 1.6rem;
  text-shadow: 0 0 10px rgba(0, 230, 255, 0.15);
}

/* The flash of Sarah beneath the chrome — ethereal, cold cyan */
body[data-location="the-garden"] .cocoon-surface {
  color: #00e6ff;
  font-style: italic;
  opacity: 0.75;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(0, 230, 255, 0.25);
  margin: 0.6rem 0;
  text-shadow: 0 0 6px rgba(0, 230, 255, 0.2);
}

/* The traced initials — monospace, centered, green burn */
body[data-location="the-garden"] .cocoon-initials {
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  font-size: 1.4rem;
  color: #00ff88;
  text-shadow: 0 0 16px rgba(0, 255, 136, 0.6);
  letter-spacing: 0.3em;
  margin: 1.4rem auto;
}

/* System command — match Garden green palette */
body[data-location="the-garden"] .system-command {
  text-align: center;
}
body[data-location="the-garden"] .system-command code {
  color: #00ff88;
  font-family: 'Courier New', Courier, monospace;
  padding: 0.3em 1em;
  border: 1px solid rgba(0, 255, 136, 0.25);
  background: rgba(0, 255, 136, 0.04);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* ── Cocoon ASCII: fixed left column, fade into text ── */
body[data-location="the-garden"]::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 100vh;
  background-image: url('../assets/cocoon_ascii.PNG');
  background-size: auto 110%;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.22;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 55%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 700px) {
  body[data-location="the-garden"]::before { display: none; }
}
