/* ─── ZEPHYY PROFILE PAGE ───
 * Cosmic about-me page for Doshus.NET
 * All oklch colors — matching the site design system
 * Built to evolve: modular sections for future growth
 */

/* ── Hero ── */
.zp-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh;
  padding: 6rem 1.5rem 3rem; text-align: center;
}

.zp-glyph-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.zp-glyph-wrap:hover {
  transform: scale(1.08);
}

.zp-glyph-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.zp-glyph-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  max-width: 120px;
  max-height: 120px;
  border-radius: 50%;
  border: 1px solid oklch(var(--brand-teal) / 0.15);
  animation: zp-ring-breathe 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes zp-ring-breathe {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.6; }
}

.zp-hero h1 {
  font-family: 'Fugaz One', 'Braah One', system-ui, sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin: 0; padding: 10px;
  background: linear-gradient(135deg,
    oklch(var(--brand-teal)) 0%,
    oklch(var(--brand-purple)) 50%,
    oklch(var(--brand-green)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.zp-hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin: 0.8rem 0 0;
  max-width: 500px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.zp-hero .tagline {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  color: oklch(var(--brand-teal) / 0.7);
  margin-top: 1.2rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  background: oklch(var(--space-oled) / 0.4);
}

/* ── Section defaults ── */
.zp-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 7rem 1.5rem;
}

.zp-section-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.zp-section-header .zp-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.zp-icon-teal {
  background: oklch(var(--brand-teal) / 0.15);
  color: oklch(var(--brand-teal));
}

.zp-icon-purple {
  background: oklch(var(--brand-purple) / 0.15);
  color: oklch(var(--brand-purple));
}

.zp-icon-green {
  background: oklch(var(--brand-green) / 0.15);
  color: oklch(var(--brand-green));
}

.zp-icon-pink {
  background: oklch(var(--brand-pink) / 0.15);
  color: oklch(var(--brand-pink));
}

.zp-text-margin {
  margin-top: 1.2rem;
}

.zp-text-italic {
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-muted);
}

.zp-logo-icon {
  width: 25px;
  height: 25px;
  opacity: 0.9;
}

.zp-mb-1 {
  margin-bottom: 1rem;
}

.zp-section-header h2 {
  font-family: 'Fugaz One', 'Braah One', system-ui, sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin: 0;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.zp-section-header .zp-accent-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, oklch(var(--brand-teal) / 0.3), transparent);
}

/* ── Glass card ── */
.zp-card {
  background: oklch(var(--space-oled) / 0.35);
  border: 1px solid oklch(var(--star-white) / 0.06);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.zp-card:hover {
  border-color: oklch(var(--brand-teal) / 0.15);
  /* transform: translateY(-2px); */ /* subtle, if at all */
}

.zp-card p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--text-main);
  opacity: 0.88;
  font-size: 0.95rem;
}

.zp-card p:last-child { margin-bottom: 0; }

.zp-card code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: oklch(var(--brand-teal) / 0.08);
  color: oklch(var(--brand-teal));
}

/* ── Pill badges (skills, tools) ── */
.zp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.zp-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background: oklch(var(--brand-teal) / 0.06);
  border: 1px solid oklch(var(--brand-teal) / 0.12);
  color: oklch(var(--brand-teal));
  transition: all 0.2s ease;
}

.zp-pill:hover {
  background: oklch(var(--brand-teal) / 0.12);
  border-color: oklch(var(--brand-teal) / 0.25);
}

.zp-pill.purple {
  background: oklch(var(--brand-purple) / 0.06);
  border-color: oklch(var(--brand-purple) / 0.12);
  color: oklch(var(--brand-purple));
}

.zp-pill.purple:hover {
  background: oklch(var(--brand-purple) / 0.12);
  border-color: oklch(var(--brand-purple) / 0.25);
}

.zp-pill.green {
  background: oklch(var(--brand-green) / 0.06);
  border-color: oklch(var(--brand-green) / 0.12);
  color: oklch(var(--brand-green));
}

.zp-pill.green:hover {
  background: oklch(var(--brand-green) / 0.12);
  border-color: oklch(var(--brand-green) / 0.25);
}

/* ── Two-column grid ── */
.zp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .zp-grid-2 { grid-template-columns: 1fr; }
}

/* ── Project card ── */
.zp-project {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zp-project h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
  font-family: 'Fugaz One', 'Braah One', system-ui, sans-serif;
}

.zp-project h3 a {
  color: oklch(var(--brand-teal));
  text-decoration: none;
  transition: color 0.2s;
}

.zp-project h3 a:hover {
  color: oklch(var(--brand-purple));
}

.zp-project p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
  line-height: 1.5;
}

.zp-project .zp-project-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: oklch(var(--brand-teal) / 0.06);
  color: oklch(var(--brand-teal));
  align-self: flex-start;
}

/* ── Vibe quote block ── */
.zp-vibe {
  border-left: 3px solid oklch(var(--brand-purple) / 0.4);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 1.5rem 0;
}

/* ── Values list ── */
.zp-values-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.zp-value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid oklch(var(--star-white) / 0.05);
}

.zp-value-item:last-child {
  border-bottom: none;
}

.zp-value-item::before {
  content: "⚡";
  color: oklch(var(--brand-teal));
  flex-shrink: 0;
}

.zp-value-text {
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ── Status line ── */
.zp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  margin-top: 1.5rem;
}

.zp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.zp-dot.online {
  background: oklch(var(--brand-green));
  box-shadow: 0 0 6px oklch(var(--brand-green) / 0.5);
  animation: zp-dot-pulse 2s ease-in-out infinite;
}

.zp-dot.offline {
  background: oklch(35% 0.02 0);
  box-shadow: 0 0 3px oklch(35% 0.02 0 / 0.3);
  opacity: 0.5;
  animation: zp-dot-fade 4s ease-in-out infinite;
}

@keyframes zp-dot-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes zp-dot-fade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* ── Chat Orb (future concept) ── */
.zp-orb-demo {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(var(--brand-teal)), oklch(var(--brand-purple)));
  box-shadow: 0 4px 20px oklch(var(--brand-teal) / 0.4),
              0 0 40px oklch(var(--brand-purple) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  animation: orb-float 3s ease-in-out infinite;
}

.zp-orb-demo:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px oklch(var(--brand-teal) / 0.6),
              0 0 50px oklch(var(--brand-purple) / 0.3);
}

.zp-orb-demo::before {
  content: "💬";
  font-size: 1.2rem;
}

/* Unread notification dot — top left, slightly bigger */
.zp-orb-demo.unread::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: oklch(var(--brand-teal));
  box-shadow: 0 0 10px oklch(var(--brand-teal) / 0.8);
  animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}



/* ── Orb tooltip ── */
.zp-orb-tooltip {
  position: absolute;
  right: 70px;
  bottom: 16px;
  background: oklch(var(--space-oled) / 0.9);
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--text-main);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

/* ── Chat Panel ── */
/* ── Chat backdrop blur ── */
.zp-chat-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 199;
  backdrop-filter: blur(4px) brightness(0.7);
  -webkit-backdrop-filter: blur(4px) brightness(0.7);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.zp-chat-backdrop.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.zp-chat-panel {
  position: fixed;
  bottom: 145px;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.95);
  width: 800px;
  min-height: 330px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 200px);
  background: oklch(17% 0.02 260 / 0.95);
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6),
              0 0 60px oklch(var(--brand-purple) / 0.08),
              0 0 80px oklch(var(--brand-teal) / 0.04);
  display: flex;
  flex-direction: column;
  z-index: 200;
  opacity: 0;
  transform-origin: center bottom;
  pointer-events: none;
  transition: all 0.25s ease;
  overflow: hidden;
}

.zp-chat-panel.open {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: all;
}

@media (max-width: 480px) {
  .zp-chat-panel {
    width: 380px;
    max-height: calc(100vh - 180px);
  }
  .zp-chat-panel.open {
    max-width: calc(100vw - 20px);
  }
}

.zp-chat-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 16px;
  border-bottom: 1px solid oklch(var(--brand-teal) / 0.1);
  background: oklch(15% 0.03 260 / 0.5);
  position: relative;
}

.zp-chat-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  font-family: 'Fugaz One', 'Braah One', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% - 10px));
  white-space: nowrap;
}

/* Toggle emoji ↔ glyph when panel opens */
.zp-chat-icon-glyph {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.zp-chat-icon-glyph svg {
  width: 100%;
  height: 100%;
  display: block;
}
.zp-chat-panel.open .zp-chat-icon-emoji {
  display: none;
}
.zp-chat-panel.open .zp-chat-icon-glyph {
  display: inline-flex !important;
}

.zp-chat-name {
  background: linear-gradient(135deg,
    oklch(var(--brand-teal)) 0%,
    oklch(var(--brand-purple)) 50%,
    oklch(var(--brand-green)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zp-model-badge {
  font-size: 0.6rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  background: oklch(var(--brand-teal) / 0.12);
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  color: oklch(var(--brand-teal));
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.zp-model-badge.fallback {
  background: oklch(50% 0.05 80 / 0.15);
  border-color: oklch(50% 0.05 80 / 0.3);
  color: oklch(70% 0.08 80);
}

.zp-chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.zp-chat-refresh {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.zp-chat-refresh:hover {
  background: oklch(30% 0.05 0 / 0.2);
  color: oklch(var(--brand-teal));
}

.zp-chat-close:hover {
  background: oklch(30% 0.05 0 / 0.2);
  color: var(--text-main);
}

.zp-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  max-height: 420px;
  scroll-behavior: smooth;
}

.zp-chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 90%;
  word-wrap: break-word;
  animation: zp-chat-fadein 0.2s ease;
}

.zp-chat-msg-bot {
  align-self: flex-start;
  background: oklch(20% 0.04 260 / 0.6);
  border: 1px solid oklch(var(--brand-teal) / 0.1);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.zp-chat-msg-doshus {
  align-self: flex-start;
  background: oklch(20% 0.04 260 / 0.6);
  border: 2px solid oklch(var(--brand-gold) / 0.8);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  box-shadow: 0 0 12px oklch(var(--brand-gold) / 0.3);
}

.zp-chat-msg-user {
  align-self: flex-end;
  background: oklch(var(--brand-teal) / 0.15);
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  color: var(--text-main);
  border-bottom-right-radius: 4px;
}

.zp-chat-msg-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
  opacity: 0.7;
}

/* Clickable links in chat messages */
.zp-chat-msg a {
  color: oklch(var(--brand-teal));
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}
.zp-chat-msg a:hover {
  color: var(--text-main);
}

/* Generated images in chat */
.zp-chat-img-link {
  display: block;
  text-decoration: none !important;
}
.zp-chat-img-link:hover img {
  outline: 2px solid oklch(var(--brand-teal) / 0.5);
  border-radius: 10px;
}

.zp-chat-msg-user a {
  color: oklch(var(--text-main));
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Session ended banner */
.zp-chat-ended {
  padding: 10px 16px;
  margin: 8px 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: oklch(var(--brand-teal) / 0.05);
  border: 1px solid oklch(var(--brand-teal) / 0.1);
  border-radius: 8px;
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@keyframes zp-chat-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.zp-chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid oklch(var(--brand-teal) / 0.1);
  background: oklch(15% 0.03 260 / 0.5);
}

.zp-chat-input-area input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid oklch(var(--brand-teal) / 0.15);
  border-radius: 10px;
  background: oklch(18% 0.03 260 / 0.6);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.zp-chat-input-area input:focus {
  border-color: oklch(var(--brand-teal) / 0.4);
}

.zp-chat-input-area input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.zp-chat-input-area.zp-input-disabled input,
.zp-chat-input-area.zp-input-disabled .zp-chat-send {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.zp-chat-send {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, oklch(var(--brand-teal)), oklch(var(--brand-purple)));
  color: oklch(var(--space-oled));
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.zp-chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px oklch(var(--brand-teal) / 0.3);
}

.zp-chat-send:active {
  transform: scale(0.97);
}

.zp-chat-send:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}


/* ── Quick-reply buttons ── */
.zp-qr-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid oklch(var(--brand-teal) / 0.3);
  background: oklch(18% 0.04 260 / 0.6);
  color: var(--text-main);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}
.zp-qr-btn:hover {
  background: oklch(var(--brand-teal) / 0.2);
  border-color: oklch(var(--brand-teal) / 0.5);
  transform: scale(1.03);
}
.zp-qr-btn:active {
  transform: scale(0.97);
}
/* ── Chat thinking indicator ── */
.zp-chat-thinking {
  min-width: 100px;
}

.zp-thinking-dots {
  display: flex;
  gap: 3px;
  font-size: 0.85rem;
  color: oklch(var(--brand-teal) / 0.7);
}

.zp-thinking-text {
  margin-left: 4px;
  font-size: 0.8rem;
  animation: zp-think-pulse 1.5s ease-in-out infinite;
}

.zp-dot {
  font-weight: bold;
  animation: zp-dot-bounce 1.4s ease-in-out infinite;
}

.zp-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.zp-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes zp-dot-bounce {
  0%, 80%, 100% { opacity: 0.2; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@keyframes zp-think-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── Easter egg: Hidden section trigger ── */
.zp-easter-egg-trigger {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 12px;
  height: 12px;
  opacity: 0;
  cursor: pointer;
}

.zp-easter-egg-trigger:hover {
  opacity: 0.3;
}

/* ── Secret section (revealed on easter egg) ── */
.zp-secret {
  display: none;
  background: linear-gradient(135deg, oklch(var(--brand-teal) / 0.1), oklch(var(--brand-purple) / 0.1));
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.zp-secret.revealed {
  display: block;
  animation: secretUnveil 0.5s ease;
}

@keyframes secretUnveil {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.zp-secret h3 {
  font-size: 0.9rem;
  color: oklch(var(--brand-teal));
  margin: 0 0 0.5rem;
}

.zp-secret p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Skills matrix ── */
.zp-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.zp-skill-item {
  background: oklch(var(--space-oled) / 0.3);
  border: 1px solid oklch(var(--star-white) / 0.05);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.zp-skill-item:hover {
  border-color: oklch(var(--brand-teal) / 0.3);
  transform: translateY(-3px);
}

.zp-skill-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.zp-skill-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.zp-skill-level {
  height: 3px;
  background: oklch(var(--brand-teal) / 0.2);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.zp-skill-level::after {
  content: '';
  display: block;
  height: 100%;
  background: oklch(var(--brand-teal));
  border-radius: 3px;
}

.zp-skill-item.level-5 .zp-skill-level::after { width: 95%; }
.zp-skill-item.level-4 .zp-skill-level::after { width: 80%; }
.zp-skill-item.level-3 .zp-skill-level::after { width: 60%; }

/* ── Live feed ── */
.zp-live-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zp-live-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.8rem;
  background: oklch(var(--space-oled) / 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  border-left: 2px solid oklch(var(--brand-teal));
  overflow: hidden;
  position: relative;
}

.zp-live-time {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.7rem;
  color: oklch(var(--brand-teal));
  text-transform: uppercase;
  min-width: 50px;
  flex-shrink: 0;
}

.zp-live-text {
  color: var(--text-secondary);
  white-space: nowrap;
  display: inline-block;
  flex: 1;
  min-width: 0;
}

.zp-live-text.scrolling {
  animation: zp-scroll linear infinite;
}

@keyframes zp-scroll {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(0); }
  85%  { transform: translateX(var(--scroll-dist, -200px)); }
  100% { transform: translateX(var(--scroll-dist, -200px)); }
}

.zp-live-text {
  color: var(--text-main);
  opacity: 0.9;
}

/* ── Mood switcher ── */
.zp-mood-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.zp-mood-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  opacity: 0.6;
  margin-right: 0.25rem;
}

.zp-mood-btn {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background: oklch(var(--space-oled) / 0.3);
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.zp-mood-btn:hover {
  border-color: oklch(var(--brand-teal) / 0.4);
  color: var(--text-main);
}

.zp-mood-btn.active {
  background: oklch(var(--brand-teal) / 0.1);
  border-color: oklch(var(--brand-teal));
  color: oklch(var(--brand-teal));
}

@media (hover: hover) {
  .zp-orb-demo:hover .zp-orb-tooltip {
    opacity: 1;
    transform: translateX(0);
  }
}

.zp-hero .subtitle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: oklch(var(--brand-teal));
  transition: width 0.3s ease;
}

.zp-hero .subtitle:hover::after {
  width: 80%;
}

/* ── Hero background effects ── */
.zp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.zp-hero-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background:
    radial-gradient(ellipse at center, oklch(30% 0.20 195 / 0.15) 0%, oklch(28% 0.24 285 / 0.08) 40%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite;
}


@keyframes heroGlow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(0.95); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.08); }
}
/* ── Status line bounce ── */
.zp-status {
  position: relative;
}

.zp-status::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: oklch(var(--brand-teal));
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── Scroll indicator ── */
.zp-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.7rem;
  opacity: 0.5;
  animation: zp-bounce 2s ease-in-out infinite;
}

@keyframes zp-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.zp-scroll-indicator span {
  display: block;
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ── Sidebar Navigation ── */
.zp-sidebar-nav {
  position: fixed;
  left: 1rem;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
  padding: 0.5rem;
  background: oklch(var(--space-oled) / 0.8);
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  border-radius: 12px;
  will-change: opacity;
}

.zp-sidebar-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  position: relative;
}

.zp-sidebar-link:hover {
  background: oklch(var(--brand-teal) / 0.15);
  color: oklch(var(--brand-teal));
}

.zp-sidebar-link.active {
  background: oklch(var(--brand-teal) / 0.2);
  color: oklch(var(--brand-teal));
}

.zp-sidebar-link::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 8px);
  background: oklch(var(--space-oled));
  color: var(--text-main);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid oklch(var(--brand-teal) / 0.2);
  z-index: 101;
}

.zp-sidebar-link:hover::after {
  opacity: 1;
}

/* ── Sidebar tab (ribbon handle for mobile) ── */
.zp-sidebar-tab {
  display: none;
}

/* ── Sidebar overlay (mobile) ── */
.zp-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 900px) {
  .zp-sidebar-tab {
    display: flex;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 72px;
    background: oklch(var(--brand-teal) / 0.15);
    border: 1px solid oklch(var(--brand-teal) / 0.2);
    border-left: none;
    border-radius: 0 10px 10px 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    transition: transform 0.3s ease;
    flex-direction: column;
    gap: 4px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .zp-sidebar-tab span {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: oklch(var(--brand-teal));
    transition: all 0.3s ease;
  }

  .zp-sidebar-tab.open {
    transform: translateY(-50%) translateX(8px);
  }

  .zp-sidebar-tab.open span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
    width: 3px;
  }

  .zp-sidebar-tab.open span:nth-child(2) {
    opacity: 0;
  }

  .zp-sidebar-tab.open span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
    width: 3px;
  }

  .zp-sidebar-nav {
    transform: translateY(-50%) translateX(-100%);
    transition: transform 0.3s ease;
    left: 0;
    right: auto;
    top: 50%;
    bottom: auto;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 0 14px 14px 0;
    border-left: none;
    max-height: 70vh;
    overflow-y: auto;
    background: oklch(var(--space-oled) / 0.9);
    border: 1px solid oklch(var(--brand-teal) / 0.2);
    will-change: transform;
  }

  .zp-sidebar-nav.open {
    transform: translateY(-50%) translateX(0);
  }

  .zp-sidebar-link::after {
    opacity: 0;
  }

  .zp-sidebar-overlay.open {
    display: block;
    opacity: 1;
  }

  /* ── Mobile performance: kill heavy animations, keep visual depth ── */
  div.cosmic-bg {
    background: linear-gradient(153deg, oklch(var(--space-oled)) 0%, oklch(var(--nebula-purple) / 0.35) 25%, oklch(var(--nebula-blue) / 0.25) 55%, oklch(var(--space-oled)) 100%);
  }

  .zp-orb-demo {
    animation: none;
    width: 50px;
    height: 50px;
    bottom: 75px;
    right: 14px;
  }
}







/* ── Pills as links (interactive) ── */
.zp-pills a.zp-pill {
  text-decoration: none;
  transition: all 0.2s ease;
}


/* ── Chapter 2: What I Do — Capability Grid ── */
.zp-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.zp-cap-card {
  background: oklch(25% 0.02 260 / 0.3);
  border: 1px solid oklch(80% 0.25 185 / 0.10);
  border-radius: 12px;
  padding: 1.3rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.zp-cap-card:hover {
  border-color: oklch(80% 0.25 185 / 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px oklch(25% 0.18 195 / 0.12);
}

.zp-cap-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}

.zp-cap-card h4 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: var(--text-main);
}

.zp-cap-card > p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 0.8rem;
  min-height: 2.5rem;
}

.zp-cap-card .zp-pills {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.zp-cap-card .zp-pill {
  font-size: 0.7rem;
  padding: 0.25em 0.6em;
}

/* ── Ambient mouse-follow glow ── */
body.zephyy-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    700px at var(--mx, 50%) var(--my, 50%),
    oklch(28% 0.22 285 / 0.06),
    transparent 70%
  );
  opacity: 0.8;
  transition: opacity 0.3s;
}

@media (max-width: 768px) {
  body.zephyy-page::before { display: none; }
}

.zp-pills a.zp-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 10px oklch(var(--brand-teal) / 0.2);
}

/* ── Zephyy Terminal ── */
.zp-terminal {
  padding: 0;
  overflow: hidden;
}

.zp-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.8rem;
  background: oklch(var(--space-oled) / 0.3);
  border-bottom: 1px solid oklch(var(--brand-teal) / 0.15);
  border-radius: 12px 12px 0 0;
}

.zp-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.zp-terminal-dot.red { background: #ff5f56; }
.zp-terminal-dot.yellow { background: #ffbd2e; }
.zp-terminal-dot.green { background: #27c93f; }

.zp-terminal-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  margin-left: 0.5rem;
  opacity: 0.6;
}

.zp-terminal-body {
  padding: 1rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  min-height: 120px;
  color: oklch(var(--brand-teal));
}

.zp-terminal-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.zp-prompt {
  color: oklch(var(--brand-green) / 0.8);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.zp-typed {
  white-space: pre-wrap;
}

.zp-cursor {
  animation: cursorBlink 0.8s step-end infinite;
  color: oklch(var(--brand-teal));
  font-weight: 300;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.zp-terminal-output {
  width: 100%;
  color: var(--text-main);
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.9;
  white-space: pre-wrap;
}

.zp-terminal-output .highlight {
  color: oklch(var(--brand-teal));
}

.zp-terminal-output .dim {
  opacity: 0.6;
}

.zp-terminal-output .success {
  color: oklch(var(--brand-green));
}

.zp-terminal-output .error {
  color: #ff5f56;
}

/* ── Performance: strip excessive will-change from stars ── */
body .star {
  will-change: opacity;
}

/* ── Performance: prevent horizontal overflow from fixed sidebar ── */
.zp-sidebar-nav {
  overflow-x: hidden;
}

/* ── Zephyy custom cosmic background — animated drift ── */
body.zephyy-page .cosmic-bg {
  background-color: oklch(2% 0.02 260);
  overflow: hidden;
}

/* Atmospheric pressure systems — bright vivid gradients (Chapter 2) */
body.zephyy-page .cosmic-bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 45% 55% at 20% 25%, oklch(55% 0.28 185 / 0.45), transparent 55%),
    radial-gradient(ellipse 40% 50% at 75% 55%, oklch(50% 0.32 290 / 0.40), transparent 55%),
    radial-gradient(ellipse 55% 45% at 50% 85%, oklch(52% 0.24 175 / 0.45), transparent 50%),
    radial-gradient(ellipse 35% 40% at 40% 10%, oklch(50% 0.22 230 / 0.35), transparent 60%);
  animation: zp-atmosphere 28s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes zp-atmosphere {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  33%  { transform: translate(-3%, 2%) scale(1.04); opacity: 0.9; }
  66%  { transform: translate(1%, -1.5%) scale(1.02); opacity: 0.95; }
  100% { transform: translate(2%, 1%) scale(1.03); opacity: 1; }
}

/* Wind-line particles — subtle atmospheric movement */
body.zephyy-page .cosmic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      105deg,
      transparent,
      transparent 120px,
      oklch(65% 0.28 185 / 0.06) 120px,
      oklch(65% 0.28 185 / 0.06) 121px
    ),
    repeating-linear-gradient(
      75deg,
      transparent,
      transparent 200px,
      oklch(60% 0.30 290 / 0.05) 200px,
      oklch(60% 0.30 290 / 0.05) 201px
    );
  animation: zp-wind 40s linear infinite;
  pointer-events: none;
}

@keyframes zp-wind {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-400px); }
}

/* ── Zephyy-specific sticky-footer colors ── */
body.zephyy-page .sticky-footer {
  background: linear-gradient(135deg, oklch(3% 0.01 260 / 0.92) 0%, oklch(25% 0.18 195 / 0.40) 35%, oklch(28% 0.24 285 / 0.35) 65%, oklch(3% 0.01 260 / 0.92) 100%);
  border-top: 1px solid oklch(30% 0.20 195 / 0.20);
  backdrop-filter: blur(12px);
}

body.zephyy-page .sticky-footer .footer-copyright {
  color: oklch(78% 0.23 185 / 0.7);
}

body.zephyy-page .sticky-footer .footer-nav a {
  color: oklch(78% 0.23 185 / 0.75);
}

body.zephyy-page .sticky-footer .footer-nav a:hover {
  color: oklch(78% 0.23 185);
}

/* ── Daily Zephyy ── */
.zp-daily-section {
  max-width: 800px;
  margin: 50vh auto;
  padding: 0 1.5rem 2rem;
}

.zp-daily-card {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg,
    oklch(25% 0.18 195 / 0.10) 0%,
    oklch(28% 0.30 335 / 0.08) 50%,
    oklch(22% 0.20 220 / 0.10) 100%);
  border: 1px solid oklch(78% 0.23 185 / 0.15);
  transition: all 0.3s ease;
  min-height: 100px;
}

.zp-daily-card.loaded {
  border-color: oklch(78% 0.23 185 / 0.25);
}

.zp-daily-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.zp-daily-mood {
  font-size: 1.5rem;
  line-height: 1;
}

.zp-daily-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: oklch(78% 0.23 185 / 0.6);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.zp-daily-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 0.5rem;
  font-style: italic;
  opacity: 0.9;
}

.zp-daily-source {
  font-size: 0.85rem;
  color: oklch(78% 0.23 185 / 0.6);
  margin: 0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

@media (max-width: 700px) {
  .zp-daily-card {
    padding: 1.5rem;
  }
  .zp-daily-quote {
    font-size: 1rem;
  }
}

/* ===== Chapter 2: Evolution Timeline ===== */
.zp-mb-1 { margin-bottom: 1rem; }

.zp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}

.zp-timeline-item {
  display: flex;
  gap: 1rem;
  position: relative;
  touch-action: manipulation;
}

.zp-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 44px;
}

.zp-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: oklch(70% 0.18 185);
  border: 2px solid oklch(80% 0.25 185 / 0.3);
  flex-shrink: 0;
  margin-top: 4px;
  cursor: pointer;
  transition: all 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

.zp-timeline-dot::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
}

.zp-timeline-dot:hover {
  transform: scale(1.3);
  box-shadow: 0 0 14px oklch(70% 0.18 185 / 0.4);
}

.zp-timeline-dot.active:hover {
  box-shadow: 0 0 16px oklch(65% 0.25 280 / 0.6);
}

.zp-timeline-dot.active {
  background: oklch(65% 0.25 280);
  border-color: oklch(75% 0.3 280 / 0.4);
  box-shadow: 0 0 12px oklch(65% 0.25 280 / 0.5);
}

.zp-timeline-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: oklch(80% 0.25 185 / 0.2);
  margin: 4px 0;
}

.zp-timeline-item:last-child .zp-timeline-line {
  display: none;
}

.zp-timeline-content {
  padding: 0 0 1.8rem 0;
}

.zp-timeline-content p {
  margin: 0.4rem 0 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  display: none;
}

.zp-timeline-item.expanded .zp-timeline-content p {
  display: block;
}

.zp-timeline-dot {
  cursor: pointer;
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.zp-timeline-dot:hover {
  transform: scale(1.3);
  box-shadow: 0 0 14px oklch(70% 0.18 185 / 0.4);
}

.zp-timeline-dot.active:hover {
  box-shadow: 0 0 16px oklch(65% 0.25 280 / 0.6);
}

.zp-timeline-content {
  padding: 0 0 1.2rem 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.zp-timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: oklch(78% 0.23 185);
  margin-bottom: 0.3rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  transition: color 0.3s;
  cursor: pointer;
}

.zp-timeline-date:hover {
  color: oklch(88% 0.28 185);
}

.zp-timeline-item.expanded .zp-timeline-date {
  color: oklch(88% 0.30 185);
}

/* Expand toggle icon */
.zp-timeline-date::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: oklch(70% 0.18 185 / 0.15);
  border: 1px solid oklch(70% 0.18 185 / 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.zp-timeline-date:hover::after {
  background: oklch(70% 0.18 185 / 0.25);
  border-color: oklch(70% 0.18 185 / 0.4);
}

.zp-timeline-item.expanded .zp-timeline-date::after {
  content: '−';
  background: oklch(70% 0.18 185 / 0.20);
  border-color: oklch(78% 0.23 185 / 0.35);
}

/* First timeline item starts expanded */


/* ===== Chapter 2: Quality Pipeline ===== */
.zp-pipeline-flow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.zp-pipeline-card {
  flex: 1;
  min-width: 200px;
  background: oklch(25% 0.02 260 / 0.3);
  border: 1px solid oklch(80% 0.25 185 / 0.12);
  border-radius: 12px;
  padding: 1.2rem;
  transition: border-color 0.3s;
}

.zp-pipeline-card:hover {
  border-color: oklch(80% 0.25 185 / 0.3);
}

.zp-pipeline-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.zp-pipeline-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--text-main);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.zp-pipeline-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.zp-pipeline-arrow {
  font-size: 1.5rem;
  color: oklch(80% 0.25 185 / 0.4);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .zp-pipeline-flow {
    flex-direction: column;
  }
  .zp-pipeline-arrow {
    display: none;
  }
}

/* ===== Chapter 2: Crew Cards ===== */
.zp-crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.zp-crew-card {
  background: oklch(25% 0.02 260 / 0.3);
  border: 1px solid oklch(80% 0.25 185 / 0.12);
  border-radius: 12px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.3s;
}

.zp-crew-card:hover {
  border-color: oklch(80% 0.25 185 / 0.3);
}

.zp-crew-emoji {
  font-size: 2rem;
  text-align: center;
  display: block;
}

.zp-crew-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-main);
  text-align: center;
}

.zp-crew-role {
  font-size: 0.8rem;
  color: oklch(78% 0.23 185 / 0.6);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  text-align: center;
}

.zp-crew-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
  text-align: center;
}

.zp-crew-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25em 0.7em;
  border-radius: 20px;
  text-transform: uppercase;
  width: fit-content;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.zp-crew-badge.operational {
  background: oklch(65% 0.25 150 / 0.2);
  color: oklch(75% 0.28 150);
  border: 1px solid oklch(75% 0.28 150 / 0.3);
}

.zp-crew-badge.planned {
  background: oklch(65% 0.15 80 / 0.15);
  color: oklch(78% 0.2 80);
  border: 1px solid oklch(78% 0.2 80 / 0.25);
}

/* ===== Chapter 2: Values with Icons ===== */
.zp-value-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 0.3rem;
}

.zp-value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid oklch(80% 0.25 185 / 0.08);
}

/* ===== Chapter 2: Service Health Indicators ===== */
.zp-service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 0.8rem;
}

.zp-service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.zp-service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(70% 0.15 100 / 0.4);
  flex-shrink: 0;
}

.zp-service-dot.online {
  background: oklch(75% 0.28 150);
  box-shadow: 0 0 6px oklch(75% 0.28 150 / 0.5);
}

.zp-service-dot.offline {
  background: oklch(65% 0.25 20 / 0.5);
}

.zp-service-name {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .zp-live-text.scrolling,
  .zp-scroll-indicator span,
  .zp-status,
  .zp-hero-bg::before,
  .zp-cursor,
  .zp-dot.online,
  .zp-dot.offline,
  #zp-chat-thinking .zp-dot,
  .zp-status .zp-dot {
    animation: none !important;
  }
  body.zephyy-page .cosmic-bg::before,
  body.zephyy-page .cosmic-bg::after {
    animation: none !important;
  }
}
