/* =========================================================
   SECTION INTRO — sticky sidebar heading
========================================================= */
.section-sidebar {
  top: 120px;
  padding-top: 4px;
  z-index: 2;
  position: sticky !important;
}

.section-eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family:
    "DM Mono", "DM Mono Fallback", ui-monospace, SFMono-Regular, Menlo,
    monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: sticky;
}

.section-title {
  margin: 0;
  width: 75%;
  font-family:
    "DM Sans", "DM Sans Fallback", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-subtitle {
  width: 30ch;
  margin: 14px 0 0;
  font-family:
    "DM Mono", "DM Mono Fallback", ui-monospace, SFMono-Regular, Menlo,
    monospace;
  font-size: 0.74rem;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   LIGHT THEME
========================================================= */
.section-sidebar--light .section-eyebrow {
  color: #f47c20;
}

.section-sidebar--light .section-title {
  color: #0d1b3e;
}

.section-sidebar--light .section-subtitle {
  color: #8a8a99;
}

/* =========================================================
   DARK THEME
========================================================= */
.section-sidebar--dark .section-eyebrow {
  color: #f47c20;
}

.section-sidebar--dark .section-title {
  color: #ffffff;
}

.section-sidebar--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-subtitle p {
  margin: 0;
}

/* =========================================================
   HIGHLIGHT
========================================================= */
.section-sidebar--light .section-title-highlight,
.section-sidebar--dark .section-title-highlight {
  color: #f47c20 !important;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
  .section-sidebar {
    position: static;
    top: auto;
    padding-bottom: 20px;
  }

  .section-subtitle {
    width: 100%;
  }
  .section-title {
    width: 100%;
  }
}
