body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #eee;
  line-height: 1.6;
}

header, section, footer {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  text-align: center;
}

.nameplate {
  font-size: 3rem;
  font-weight: 700;
  color: #f39c12; /* Ember orange */
  margin-bottom: 0.3rem;
  letter-spacing: 1.2px;
}

.subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 1rem;
}


h1, h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

p, li {
  color: #ccc;
}

ul.motif-list {
  list-style: none;
  padding: 0;
}

ul.motif-list li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.emoji {
  font-size: 1.4rem;
  margin-right: 0.5rem;
}

/* Footer */
footer {
  font-size: 0.9rem;
  color: #aaa;
}

footer a {
  color: #66ccff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.signature-footer {
  text-align: center;
  font-size: 1rem;
  color: #aaa;
  margin-top: 3rem;
}

.signature-footer strong {
  color: #f39c12;
  font-weight: bold;
}


/* Responsive */
@media (max-width: 600px) {
  header, section, footer {
    padding: 1rem;
  }
}
.motif-capsules {
  display: flex;
  justify-content: center;
  gap: 2rem; /* Space between capsules */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  margin-top: 1rem;
  padding: 0 1rem;
}

.capsule {
  flex: 0 1 120px; /* Fixed width with flexibility */
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  color: #eee;
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capsule:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Motif Borders */
.capsule.ember {
  border-color: #e67e22;
}

.capsule.signal {
  border-color: #2980b9;
}

.capsule.glyph-zone {
  border-color: #888;
}

.capsule.cortex-forge {
  background-color: #1a1a1a; /* Lavender base */
  border: 2px solid #6A5ACD; /* Slate blue border */
  border-radius: 12px;
  padding: 20px;
  max-width: 600px;
  margin: 20px auto;
  color: #2C2C2C; /* High contrast text */
  font-family: 'Segoe UI', sans-serif;
}

.capsule-header h2 {
  font-size: 1.8em;
  margin-bottom: 5px;
}

.capsule-subtitle {
  font-size: 1em;
  color: #4B0082; /* Deep indigo */
}

.capsule-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.capsule-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: 10px;
}

.capsule-tags {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.capsule-tags li {
  background-color: #1a1a1a; /* Thistle */
  padding: 6px 10px;
  margin: 5px 0;
  border-radius: 6px;
  font-weight: bold;
}

.capsule-button {
  background-color: #6A5ACD;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  margin-top: 20px;
}

.capsule-button:hover {
  background-color: #483D8B; /* Darker hover tone */
}

/* Glyph Icon */

.glyph-icon {
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.glyph-icon:hover {
  transform: scale(1.2);
}

/* Capsule Text */
.capsule h3 {
  margin: 0.3rem 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.capsule p {
  font-size: 0.9rem;
  color: #ccc;
}

.capsule-container {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  border: 2px solid var(--signal-blue);
  background-color: #111;
  box-shadow: 0 0 10px var(--signal-blue);
}