/* Page title (About) — matches the Experience/Projects section titles: plain white */
.page-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 28px;
  color: var(--text);
}

/*
 * Prism divider beneath each section kicker — mostly white with muted
 * red / green / blue tints, echoing the cursor-tracking diamond.
 */
.prism-divider {
  height: 1px;
  border: 0;
  margin: 0 0 30px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 80, 110, 0.32) 14%,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(80, 220, 150, 0.32) 50%,
    rgba(255, 255, 255, 0.55) 68%,
    rgba(90, 130, 255, 0.32) 84%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

/*
 * Prism diamond that trails the cursor (JS-positioned).
 * Three stacked serifed diamonds — red / green / blue — blended
 * with `screen` so they read white when aligned and fan into
 * rainbow fringes as they separate with pointer velocity.
 */
.cursor-diamond {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}

.cursor-diamond.is-active {
  opacity: 1;
}

.cursor-diamond svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  transition: transform 0.12s ease-out;
}

.cursor-diamond svg:nth-child(1) path { fill: #ff1e56; }
.cursor-diamond svg:nth-child(2) path { fill: #23d18b; }
.cursor-diamond svg:nth-child(3) path { fill: #4d7bff; }

@media (prefers-reduced-motion: reduce) {
  .cursor-diamond svg { transition: none; }
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 16px;
  margin-bottom: 0;
}

.page-subtitle .sep {
  color: var(--text-dim);
  margin: 0 8px;
}

/* About copy */
.about-copy {
  margin-top: 40px;
}

.about-copy p {
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 65ch;
  margin: 0 0 1.2em;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.about-copy a:hover {
  color: #ffffff;
}

/* Experience & Education entries share one style */
.xp-entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.xp-role {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.xp-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.xp-subhead {
  margin-top: 40px;
  margin-bottom: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.xp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.xp-list li {
  padding: 10px 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.xp-list li::before {
  content: "—";
  color: var(--text-dim);
  position: absolute;
  left: 0;
}
