/* NEXORA / Obsidian. One cool, dark system across every page. */
body.mentor-theme {
  --bg: #0d1724;
  --panel: #192a3b;
  --line: #31495f;
  --mint: #85bff0;
  --text: #e3edf5;
  --muted: #a8bbc9;
  --gold: #85bff0;
  --gold-soft: #b2d4ef;
  --gold-ink: #0d2233;
  --chrome: #0c1623;
  --inset: #102133;
  --panel-gradient: linear-gradient(145deg, #1b2d40, #172739);
  --mentor-teal: #85bff0;
  --mentor-lavender: #b2d4ef;
  --mentor-border: #31495f;
  color: var(--text);
  color-scheme: dark;
  background: #0d1724;
  background-attachment: scroll;
}
body.mentor-theme ::selection { color: #091b2a; background: #93c9f4; }
.mentor-theme header,
.mentor-theme footer { color: #a8bbc9; background: #0c1623; border-color: #293e52; }
.mentor-theme header { box-shadow: none; }
.mentor-theme .brand { color: #dce9f3; letter-spacing: .16em; }
.mentor-theme .mark {
  color: #0c2030;
  background: #8ac2ef;
  border-radius: 7px;
  box-shadow: none;
}
.mentor-theme nav a { color: #a6b8c7; }
.mentor-theme nav a:is(:hover, .active) { color: #8bc6f4; }
.mentor-theme select {
  color: #dceaf4;
  background: #142638;
  border-color: #38536a;
  border-radius: 7px;
}
.mentor-theme .eyebrow,
.mentor-theme .section-title > span,
.mentor-theme .page-hero .eyebrow,
.mentor-theme .mentor-kicker { color: #85bff0; text-shadow: none; }
.mentor-theme .mentor-kicker:before {
  width: 2px;
  height: 14px;
  flex-basis: 2px;
  border-radius: 0;
  background: #85bff0;
  box-shadow: none;
}
.mentor-theme .mentor-hero h1,
.mentor-theme .page-hero h1 {
  color: #e3edf5;
  background: linear-gradient(110deg, #e5eef5 12%, #c4d8e8 62%, #90bee4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-weight: 730;
  letter-spacing: -.055em;
}
.mentor-theme .section-title h2,
.mentor-theme .mentor-section-head h2,
.mentor-theme .mentor-intro .mentor-copy h2 { color: #d4e3ee; }
.mentor-theme .lead,
.mentor-theme .mentor-hero .lead,
.mentor-theme .page-hero > p,
.mentor-theme .mentor-section-head > p,
.mentor-theme .mentor-intro .mentor-copy > p { color: #aabeca; }
.mentor-theme .btn { border-radius: 7px; }
.mentor-theme .primary,
.mentor-theme .primary:hover {
  color: #0d2334;
  background: #8ac2ef;
  border-color: #8ac2ef;
  box-shadow: 0 8px 22px #030b1559;
}
.mentor-theme .primary:hover { background: #a6d2f4; border-color: #a6d2f4; box-shadow: 0 11px 26px #030b156e; }
.mentor-theme .ghost,
.mentor-theme .quiz-controls .ghost {
  color: #bdd8ea;
  background: #17283a;
  border-color: #496982;
}
.mentor-theme .ghost:hover,
.mentor-theme .quiz-controls .ghost:hover { color: #e1f3ff; background: #20374c; border-color: #80b8e1; }
.mentor-theme :is(a, button, select, input, summary):focus-visible { outline-color: #96cdf4; }

/* A precise research console: blue-steel surfaces, one accent, no colored plates. */
.mentor-theme .mentor-hero { padding-top: 92px; padding-bottom: 88px; }
.mentor-theme .mentor-summary.proof,
.mentor-theme .mentor-summary .proof,
.mentor-theme .mentor-summary.proof > div:not(:last-child),
.mentor-theme .mentor-summary .proof > div:not(:last-child) { border-color: #3c5367; }
.mentor-theme .mentor-summary b { color: #91c6ee; }
.mentor-theme .mentor-summary span { color: #9fb3c3; }
.mentor-theme .intel-stage {
  background: #192b3d;
  border-color: #3b566c;
  border-radius: 15px;
  box-shadow: 0 26px 54px #030b176b, inset 0 1px 0 #b2d7f214;
}
.mentor-theme .intel-stage:before { animation: none; box-shadow: none; }
.mentor-theme .intel-profile { border-color: #385066; }
.mentor-theme .mentor-emblem {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #c6dfef;
  background: linear-gradient(145deg, #24415a, #142b3d);
  border: 1px solid #567994;
  border-radius: 11px;
}
.mentor-theme .mentor-emblem svg { display: none; }
.mentor-theme .mentor-emblem::before {
  content: "A";
  position: relative;
  z-index: 1;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.08em;
}
.mentor-theme .mentor-emblem::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid #8cb8d93b;
  border-radius: 50%;
  transform: rotate(-27deg) scaleX(.76);
}
.mentor-theme .mentor-id-card .mentor-emblem::before { font-size: 112px; }
.mentor-theme .mentor-id-card .mentor-emblem svg circle:first-child,
.mentor-theme .intel-stage .mentor-emblem svg circle:first-child { fill: #1a3249; stroke: #6b9cc0; }
.mentor-theme .mentor-id-card .mentor-emblem svg circle:nth-child(2),
.mentor-theme .intel-stage .mentor-emblem svg circle:nth-child(2) { stroke: #7bb1d9; }
.mentor-theme .intel-person h2 { color: #d1e5f3; }
.mentor-theme .intel-person p { color: #a7bdcb; }
.mentor-theme .intel-heading small,
.mentor-theme .brief-number { color: #94aabd; }
.mentor-theme .intel-stage .chart,
.mentor-theme .chart { background: #102437; border-color: #35516a; }
.mentor-theme .grid {
  background-image: linear-gradient(#6387a326 1px, transparent 1px), linear-gradient(90deg, #6387a326 1px, transparent 1px);
  opacity: 1;
}
.mentor-theme .intel-stage .chart:after { background: linear-gradient(180deg, transparent 77%, #91c9ee12); }
.mentor-theme .chart svg,
.mentor-theme .intel-stage .chart svg { filter: drop-shadow(0 0 5px #85bff080); }
.mentor-theme .chart stop { stop-color: #77b7e8; }
.mentor-theme .line { stroke: #8ac8f6; }
@keyframes chartGlow {
  0%, 100% { stroke: #8ac8f6; filter: drop-shadow(0 0 3px #77b7e85c); }
  50% { stroke: #b6e0fb; filter: drop-shadow(0 0 7px #85bff085); }
}
.mentor-theme .intel-topic h3 { color: #d7e8f2; }
.mentor-theme .intel-annotation { border-color: #77b9e9; }
.mentor-theme .intel-annotation small { color: #90c8ef; }
.mentor-theme .intel-annotation p { color: #a9c0ce; }
.mentor-theme .intel-seal,
.mentor-theme .demo-chip { color: #a5d1ee; background: #1a3449; border-color: #527996; }
.mentor-theme .intel-tags span,
.mentor-theme .intel-tags span:nth-child(2),
.mentor-theme .intel-tags span:nth-child(3),
.mentor-theme .mentor-id-card .intel-tags span,
.mentor-theme .mentor-id-card .intel-tags span:nth-child(2),
.mentor-theme .mentor-id-card .intel-tags span:nth-child(3) {
  color: #acc9dc;
  background: #1d3448;
  border-color: #3f617b;
}
.mentor-theme .intel-tags a { color: #acd5f2; border-color: #496781; }
.mentor-theme .intel-tags a:hover { color: #d9edfa; background: #203a50; border-color: #7fb7e1; }

/* Home stories and profile share the same dark material. */
.mentor-theme .brief-card,
.mentor-theme .brief-card:nth-child(2),
.mentor-theme .brief-card:nth-child(3),
.mentor-theme .mentor-id-card {
  color: #d7e5ef;
  background: #192a3b;
  border: 1px solid #344d63;
  border-radius: 13px;
  box-shadow: 0 16px 36px #030b1740;
}
.mentor-theme .brief-card:hover { border-color: #82bce7; box-shadow: 0 20px 42px #030b1766; }
.mentor-theme .brief-card h3,
.mentor-theme .brief-card:nth-child(2) h3,
.mentor-theme .brief-card:nth-child(3) h3 { color: #dcebf4; }
.mentor-theme .brief-card p,
.mentor-theme .brief-card:nth-child(2) p,
.mentor-theme .brief-card:nth-child(3) p { color: #a8bdcb; }
.mentor-theme .brief-symbol,
.mentor-theme .brief-card:nth-child(2) .brief-symbol,
.mentor-theme .brief-card:nth-child(3) .brief-symbol {
  color: #a9d4f1;
  background: #20394e;
  border-color: #527a98;
}
.mentor-theme .brief-card .text-link,
.mentor-theme .brief-card:nth-child(2) .text-link,
.mentor-theme .brief-card:nth-child(3) .text-link { color: #a1d0f1; }
.mentor-theme .mentor-intro { border-color: #2f4558; }
.mentor-theme .mentor-id-card .eyebrow { color: #86c3ed; }
.mentor-theme .mentor-id-card h2 { color: #c5dff0; }
.mentor-theme .mentor-id-card p { color: #a9bdcb; }
.mentor-theme .mentor-id-card .mentor-emblem { box-shadow: 0 0 0 12px #769bbe12, 0 0 0 13px #52708a52; }
.mentor-theme .mentor-intro .mentor-note,
.mentor-theme .section.compact > .mentor-note {
  color: #bcd1df;
  background: #172b3d;
  border-color: #6ba9d5;
  border-radius: 0 8px 8px 0;
}
.mentor-theme .mentor-intro .mentor-note p,
.mentor-theme .section.compact > .mentor-note p { color: #b7cbd9; }
.mentor-theme .mentor-note > span { color: #93c7ec; }

/* Learning route and FAQ remain dark; hierarchy comes from spacing and rules. */
.mentor-theme .mentor-path { color: #dce9f3; background: #121f2e; border-color: #2e4559; }
.mentor-theme .mentor-path .section-title > span,
.mentor-theme .faq .section-title > span { color: #86c3ed; }
.mentor-theme .mentor-path .section-title h2,
.mentor-theme .faq .section-title h2 { color: #d2e3ee; }
.mentor-theme .mentor-path .section-title p { color: #a9becc; }
.mentor-theme .mentor-path .path-step,
.mentor-theme .academy-guide .path-step {
  background: #1a2c3d;
  border-color: #38536a;
  border-radius: 11px;
  box-shadow: none;
}
.mentor-theme .mentor-path .path-step > b,
.mentor-theme .academy-guide .path-step > b { color: #8fc8ed; }
.mentor-theme .mentor-path .path-step h3,
.mentor-theme .academy-guide .path-step h3 { color: #d7e8f2; }
.mentor-theme .mentor-path .path-step p,
.mentor-theme .academy-guide .path-step p { color: #a6bac9; }
.mentor-theme .mentor-join {
  background: #1a2d40;
  border-color: #43617a;
  border-radius: 13px;
  box-shadow: 0 16px 38px #030b174d;
}
.mentor-theme .mentor-join h2 { color: #d7e7f2; }
.mentor-theme .mentor-join p { color: #acc0ce; }
.mentor-theme .faq {
  background: transparent;
  border: 0;
  border-top: 1px solid #30475b;
  border-radius: 0;
  margin: 24px auto 72px;
  padding: 62px 24px 0;
}
.mentor-theme .faq-grid,
.mentor-theme .faq-grid details { border-color: #31495d; }
.mentor-theme .faq summary { color: #c9dce9; }
.mentor-theme .faq summary:after { color: #8bc7ee; }
.mentor-theme .faq-grid details p { color: #aabecb; }

/* Insight dossiers and academy modules use one surface scale. */
.mentor-theme .brief-dossier > article,
.mentor-theme .brief-dossier > article:nth-child(1),
.mentor-theme .brief-dossier > article:nth-child(2),
.mentor-theme .brief-dossier > article:nth-child(3) {
  color: #d6e5ef;
  background: #192a3b;
  border-color: #354e63;
  border-radius: 13px;
  box-shadow: 0 16px 36px #030b1740;
}
.mentor-theme .brief-dossier > article h2,
.mentor-theme .brief-dossier > article .dossier-piece h3 { color: #d8e7f1; }
.mentor-theme .brief-dossier > article .dossier-piece p { color: #a8bfce; }
.mentor-theme .brief-dossier .dossier-piece > small,
.mentor-theme .brief-dossier .brief-number,
.mentor-theme .brief-dossier summary,
.mentor-theme .brief-dossier summary:after { color: #8fc5eb; }
.mentor-theme .brief-dossier .demo-chip { color: #a6cfe9; background: #20394f; border-color: #4b7591; }
.mentor-theme .brief-dossier :is(.dossier-heading, details.dossier-detail, .dossier-piece:not(:first-child)) { border-color: #3a5367; }
.mentor-theme .academy-guide {
  background: #142437;
  border: 1px solid #334c62;
  border-radius: 13px;
  margin-block: 14px 52px;
  padding: 28px;
}
.mentor-theme .curriculum article:nth-child(n) { background: #192a3b; border-color: #354e63; }
.mentor-theme .curriculum article:nth-child(n) h3 { color: #d7e8f2; }
.mentor-theme .curriculum article:nth-child(n) b { color: #8fc6ec; }
.mentor-theme .curriculum article p { color: #a9bdcc; }

/* Question flow: dark throughout, with a clear selected state and dark native controls. */
.mentor-theme .quiz-topline p { color: #96c8eb; }
.mentor-theme .quiz-count { color: #b9d9ee; }
.mentor-theme .step-track i { background: #2f455b; }
.mentor-theme .step-track .done { background: #639ecb; }
.mentor-theme .step-track .current { background: #a2d1f1; box-shadow: 0 0 11px #7db7e280; }
.mentor-theme .question-card,
.mentor-theme .quiz-cta-panel {
  color: #d6e5ef;
  color-scheme: dark;
  background: #192b3d;
  border-color: #39556d;
  border-radius: 13px;
  box-shadow: 0 22px 48px #030b1766;
}
.mentor-theme .question-card h1 { color: #dbeaf4; }
.mentor-theme .question-card .quiz-intro { color: #a7bed0; }
.mentor-theme .quiz-option { color: #d3e2ed; background: #132537; border-color: #39536a; border-radius: 8px; }
.mentor-theme .quiz-option:hover { background: #1c3348; border-color: #76b2df; }
.mentor-theme .quiz-option:has(input:checked) { background: #25435b; border-color: #8cc5ed; box-shadow: inset 3px 0 0 #8cc5ed; }
.mentor-theme .quiz-option span { color: #d4e6f1; }
.mentor-theme .quiz-option input { accent-color: #8dc6ee; }
.mentor-theme .material-form label { color: #b3cad9; }
.mentor-theme .material-form input,
.mentor-theme .material-form select { color: #dcebf5; background: #102234; border-color: #46647d; }
.mentor-theme .material-form input:focus,
.mentor-theme .material-form select:focus { border-color: #8cc5ed; outline-color: #8cc5ed; box-shadow: 0 0 0 3px #86bee52b; }
.mentor-theme .privacy-note { color: #a3b9c7; }
.mentor-theme .quiz-error { color: #f0a6a2; }
.mentor-theme .quiz-return { color: #a4cef0; }
.mentor-theme .completion-symbol { color: #0b2131; background: #8cc5ed; }
.mentor-theme .download-panel { background: #182e42; border-color: #476a86; }

@media (min-width: 601px) and (max-width: 1228px) {
  .mentor-theme .academy-guide { width: calc(100% - 48px); margin-inline: auto; }
}
@media (max-width: 600px) {
  body.mentor-theme { background: #0d1724; background-attachment: scroll; }
  .mentor-theme .mentor-hero { padding-top: 48px; padding-bottom: 54px; }
  .mentor-theme .faq { margin: 18px 18px 46px; padding: 44px 0 0; }
  .mentor-theme .academy-guide { margin: 10px 18px 42px; padding: 22px 18px; }
  .mentor-theme .question-card { padding: 24px 18px; }
}

/* V3 / Nocturne: saturated sapphire-to-violet depth, never light panels. */
body.mentor-theme {
  --bg: #0b1430;
  --panel: #1b2a51;
  --line: #42568b;
  --text: #e4edfb;
  --muted: #adbedb;
  --gold: #96c8ff;
  --gold-soft: #b9d8ff;
  --gold-ink: #0a1734;
  --chrome: #0b1430;
  --inset: #142347;
  --panel-gradient: linear-gradient(145deg, #22325b, #192747);
  background: linear-gradient(137deg, #091126 0%, #15234c 48%, #251b4c 100%);
  background-attachment: fixed;
}
.mentor-theme header,
.mentor-theme footer { background: #0b1430; border-color: #3b4b77; }
.mentor-theme header { box-shadow: 0 12px 32px #050a1d6b; }
.mentor-theme .mark { background: linear-gradient(135deg, #86ddff, #9d91ff); color: #0d1735; }
.mentor-theme nav a:is(:hover, .active),
.mentor-theme .eyebrow,
.mentor-theme .section-title > span,
.mentor-theme .page-hero .eyebrow,
.mentor-theme .mentor-kicker { color: #9fd5ff; }
.mentor-theme .mentor-kicker:before { background: #9fd5ff; }
.mentor-theme .mentor-hero h1,
.mentor-theme .page-hero h1,
.mentor-theme .mentor-intro .mentor-copy h2 {
  color: #e8f2ff;
  background: linear-gradient(103deg, #f1f7ff 4%, #9ac7ff 43%, #aa9bff 78%, #d09cff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.mentor-theme .mentor-hero h1 { font-size: clamp(48px, 5.1vw, 70px); line-height: 1.08; }
.mentor-theme .section-title h2,
.mentor-theme .mentor-section-head h2 { color: #dce9ff; }
.mentor-theme .mentor-hero .lead,
.mentor-theme .page-hero > p,
.mentor-theme .mentor-section-head > p,
.mentor-theme .mentor-intro .mentor-copy > p { color: #b8c8e2; }
.mentor-theme .primary,
.mentor-theme .primary:hover {
  color: #0a1734;
  background: linear-gradient(110deg, #8cdbff, #9ca7ff 70%, #b69fff);
  border-color: #b3d7ff;
  box-shadow: 0 12px 28px #060b2380, 0 0 24px #7d8fff30;
}
.mentor-theme .primary:hover { filter: brightness(1.1); box-shadow: 0 15px 32px #060b2399, 0 0 28px #8b98ff55; }
.mentor-theme .ghost,
.mentor-theme .quiz-controls .ghost { color: #d5e4ff; background: #1e2d56; border-color: #6077ad; }
.mentor-theme .ghost:hover,
.mentor-theme .quiz-controls .ghost:hover { color: #f0f7ff; background: #2a3b6b; border-color: #a0caff; }
.mentor-theme .mentor-summary b { color: #9dcaff; }
.mentor-theme .intel-stage {
  background: linear-gradient(155deg, #25345f, #182748 67%, #202348);
  border-color: #627bb3;
  box-shadow: 0 30px 66px #060b218c, inset 0 1px 0 #d5e7ff21;
}
.mentor-theme .intel-stage .chart,
.mentor-theme .chart { background: #142343; border-color: #4a638c; }
.mentor-theme .grid { background-image: linear-gradient(#8196c32c 1px, transparent 1px), linear-gradient(90deg, #8196c32c 1px, transparent 1px); }
.mentor-theme .intel-stage .chart:after { background: linear-gradient(180deg, transparent 77%, #98cfff22); }
.mentor-theme .chart stop { stop-color: #91c9ff; }
.mentor-theme .line { stroke: #9dd8ff; }
@keyframes chartGlow {
  0%, 100% { stroke: #9dd8ff; filter: drop-shadow(0 0 4px #82caff8c); }
  50% { stroke: #caeaff; filter: drop-shadow(0 0 9px #97b5ffb3); }
}
.mentor-theme .intel-person h2,
.mentor-theme .mentor-id-card h2 { color: #d8e7ff; }
.mentor-theme .intel-annotation { border-color: #91bfff; }
.mentor-theme .intel-annotation small,
.mentor-theme .brief-card .text-link,
.mentor-theme .brief-card:nth-child(2) .text-link,
.mentor-theme .brief-card:nth-child(3) .text-link { color: #a9d7ff; }
.mentor-theme .mentor-emblem { background: linear-gradient(145deg, #2a4173, #1b2c53); border-color: #7796cc; }
.mentor-theme .brief-card,
.mentor-theme .brief-card:nth-child(2),
.mentor-theme .brief-card:nth-child(3),
.mentor-theme .mentor-id-card,
.mentor-theme .brief-dossier > article,
.mentor-theme .brief-dossier > article:nth-child(1),
.mentor-theme .brief-dossier > article:nth-child(2),
.mentor-theme .brief-dossier > article:nth-child(3),
.mentor-theme .curriculum article:nth-child(n) {
  background: linear-gradient(150deg, #223158, #192646);
  border-color: #435b8d;
  box-shadow: 0 18px 42px #060b225e, inset 0 1px 0 #bfd6ff12;
}
.mentor-theme .brief-card:hover { border-color: #a4c9ff; }
.mentor-theme .mentor-path { background: linear-gradient(125deg, #142245, #1b2149); border-color: #425587; }
.mentor-theme .mentor-path .path-step,
.mentor-theme .academy-guide .path-step { background: #202e53; border-color: #4b6193; }
.mentor-theme .mentor-path .path-step > b,
.mentor-theme .academy-guide .path-step > b,
.mentor-theme .curriculum article:nth-child(n) b { color: #a5d0ff; }
.mentor-theme .mentor-join { background: linear-gradient(115deg, #253763, #262752); border-color: #6574ae; }
.mentor-theme .academy-guide { background: linear-gradient(125deg, #1b2b51, #202449); border-color: #4b5f91; }
.mentor-theme .faq { border-top-color: #445786; }
.mentor-theme .question-card,
.mentor-theme .quiz-cta-panel { background: linear-gradient(145deg, #23335e, #1a284b); border-color: #536a9e; }
.mentor-theme .quiz-option { background: #192848; border-color: #4d6394; }
.mentor-theme .quiz-option:hover { background: #263963; border-color: #97c8ff; }
.mentor-theme .quiz-option:has(input:checked) { background: #2b4070; border-color: #a9d2ff; box-shadow: inset 3px 0 0 #9bcaff; }
.mentor-theme .quiz-option input { accent-color: #9bcaff; }
.mentor-theme .material-form input,
.mentor-theme .material-form select { background: #162446; border-color: #6073a1; }
.mentor-theme .completion-symbol { background: linear-gradient(135deg, #9bdcff, #a495ff); }

/* Mentor dossier: skills and the explicitly fictional clue network. */
.mentor-theme .mentor-intro { align-items: start; gap: 58px; }
.mentor-theme .mentor-id-card { position: sticky; top: 26px; }
.mentor-theme .mentor-capabilities { margin-top: 30px; border-top: 1px solid #536a9c; }
.mentor-theme .mentor-capabilities article {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #536a9c;
}
.mentor-theme .mentor-capabilities b { color: #a5d4ff; font: 700 12px/1.65 ui-monospace, SFMono-Regular, monospace; }
.mentor-theme .mentor-capabilities h3 { color: #e1ebff; margin: 0 0 5px; font-size: 16px; line-height: 1.45; }
.mentor-theme .mentor-capabilities p { color: #b5c5e1; margin: 0; font-size: 13px; line-height: 1.72; }
.mentor-theme .mentor-network {
  margin-top: 25px;
  padding: 20px 22px;
  background: linear-gradient(110deg, #243864, #22294f);
  border: 1px solid #5d77b2;
  border-left: 3px solid #a6c5ff;
  border-radius: 9px;
}
.mentor-theme .mentor-network span { color: #afd5ff; font-size: 11px; font-weight: 750; letter-spacing: .06em; }
.mentor-theme .mentor-network p { color: #c0cce4; font-size: 13px; line-height: 1.75; margin: 8px 0 0; }
.mentor-theme .mentor-intro .mentor-note { margin-top: 20px; border-color: #829de2; background: #202d54; }

/* Fixed contact links use the same glassy sapphire material. */
.contact-dock { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #dcf2ff;
  background: linear-gradient(145deg, #2c4575, #293064);
  border: 1px solid #88a8e4;
  border-radius: 15px;
  box-shadow: 0 13px 30px #060a217d, inset 0 1px 0 #e3edff31;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-link:hover { color: #fff; transform: translateY(-3px); border-color: #bcdcff; box-shadow: 0 17px 34px #060a21a3, 0 0 22px #809bff6e; }
.contact-link:focus-visible { outline: 2px solid #a8d9ff; outline-offset: 3px; }
.contact-link.is-pending { opacity: .65; cursor: default; }
.contact-link svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-telegram svg { fill: currentColor; stroke: none; }
@media (max-width: 800px) {
  .mentor-theme .mentor-id-card { position: static; }
  .mentor-theme .mentor-intro { gap: 36px; }
}
@media (max-width: 600px) {
  body.mentor-theme { background: linear-gradient(155deg, #0a122b, #172650 55%, #241b4a); background-attachment: scroll; }
  .mentor-theme .mentor-hero h1 { font-size: clamp(37px, 10vw, 44px); }
  .mentor-theme .mentor-capabilities { margin-top: 22px; }
  .mentor-theme .questionnaire .quiz-controls { padding-right: 62px; }
  .contact-dock { right: 12px; bottom: 14px; gap: 8px; }
  .contact-link { width: 48px; height: 48px; border-radius: 13px; }
  .contact-link svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-link { transition: none; }
}

/* V4: the live illustration takes the hero's right side; the research dossier
   becomes a wide, scannable strip below both hero columns. */
.mentor-theme .mentor-hero {
  column-gap: 54px;
  row-gap: 42px;
  padding-bottom: 38px;
}
.mentor-theme .mentor-hero + .section { padding-top: 46px; }
.mentor-theme .mentor-hero .hero-copy { grid-column: 1; grid-row: 1; }
.mentor-theme .mentor-hero .mentor-visual { grid-column: 2; grid-row: 1; }
.mentor-theme .mentor-hero .intel-stage {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(175px, .68fr) minmax(0, 1.55fr) minmax(220px, .95fr);
  grid-template-rows: auto minmax(120px, 1fr) auto;
  gap: 9px 28px;
  align-items: start;
  width: 100%;
  max-width: none;
  padding: 28px;
  border-radius: 17px;
  background: linear-gradient(120deg, #1b2c53, #18294d 52%, #25254f);
}
.mentor-theme .mentor-hero .intel-profile {
  grid-column: 1;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  align-self: stretch;
  padding: 0 25px 0 0;
  border: 0;
  border-right: 1px solid #52699a;
}
.mentor-theme .mentor-hero .intel-profile .mentor-emblem { width: 72px; height: 72px; flex: 0 0 72px; }
.mentor-theme .mentor-hero .intel-profile .mentor-emblem::before { font-size: 43px; }
.mentor-theme .mentor-hero .intel-person h2 { font-size: 27px; }
.mentor-theme .mentor-hero .intel-seal { margin-top: auto; }
.mentor-theme .mentor-hero .intel-heading { grid-column: 2; grid-row: 1; padding: 0; }
.mentor-theme .mentor-hero .chart { grid-column: 2; grid-row: 2 / 4; height: 185px; margin: 8px 0 0; }
.mentor-theme .mentor-hero .intel-topic { grid-column: 3; grid-row: 1; }
.mentor-theme .mentor-hero .intel-topic h3 { font-size: 19px; margin: 0 0 12px; }
.mentor-theme .mentor-hero .intel-annotation { grid-column: 3; grid-row: 2; align-self: center; }
.mentor-theme .mentor-hero .intel-tags { grid-column: 3; grid-row: 3; align-self: end; margin-top: 8px; }

@media (max-width: 1000px) {
  .mentor-theme .mentor-hero { row-gap: 32px; }
  .mentor-theme .mentor-hero .hero-copy { grid-column: 1; grid-row: 1; }
  .mentor-theme .mentor-hero .mentor-visual { grid-column: 1; grid-row: 2; }
  .mentor-theme .mentor-hero .intel-stage {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr);
    grid-template-rows: auto auto auto auto auto;
    max-width: none;
  }
  .mentor-theme .mentor-hero .intel-profile { grid-column: 1; grid-row: 1 / 6; }
  .mentor-theme .mentor-hero .intel-heading { grid-column: 2; grid-row: 1; }
  .mentor-theme .mentor-hero .chart { grid-column: 2; grid-row: 2; }
  .mentor-theme .mentor-hero .intel-topic { grid-column: 2; grid-row: 3; }
  .mentor-theme .mentor-hero .intel-annotation { grid-column: 2; grid-row: 4; align-self: start; }
  .mentor-theme .mentor-hero .intel-tags { grid-column: 2; grid-row: 5; align-self: start; }
}
@media (max-width: 700px) {
  .mentor-theme .mentor-hero .intel-stage { display: flex; flex-direction: column; gap: 18px; padding: 22px; }
  .mentor-theme .mentor-hero .intel-profile {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px 14px;
    width: 100%;
    padding: 0 0 17px;
    border-right: 0;
    border-bottom: 1px solid #52699a;
  }
  .mentor-theme .mentor-hero .intel-profile .mentor-emblem { grid-row: 1 / 3; width: 64px; height: 64px; }
  .mentor-theme .mentor-hero .intel-person { grid-column: 2; align-self: center; }
  .mentor-theme .mentor-hero .intel-person h2 { font-size: 23px; }
  .mentor-theme .mentor-hero .intel-seal { grid-column: 2; grid-row: 2; margin: 0; }
  .mentor-theme .mentor-hero .intel-heading { width: 100%; }
  .mentor-theme .mentor-hero .chart { width: 100%; height: 165px; margin: 0; }
  .mentor-theme .mentor-hero .intel-topic h3 { font-size: 19px; }
  .mentor-theme .mentor-hero .intel-tags { margin-top: 0; }
}

/* V5: make the mentor's expertise and fictional research relationships tangible. */
.mentor-theme .mentor-intro { padding-bottom: 64px; }
.mentor-theme .mentor-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.mentor-theme .mentor-capabilities article { align-content: start; }
.mentor-theme .mentor-network-lab {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 68px 24px 90px;
  border-top: 1px solid #465b8c;
}
.mentor-theme .network-heading > .eyebrow { color: #a7caff; }
.mentor-theme .network-heading h2 {
  max-width: 850px;
  margin: 16px 0 18px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.15;
  letter-spacing: -.035em;
  background: linear-gradient(100deg, #eff7ff, #a7ccff 51%, #bda9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mentor-theme .network-heading > p { max-width: 930px; margin: 0; color: #b9c9e4; font-size: 15px; line-height: 1.85; }
.mentor-theme .network-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; margin-top: 38px; }
.mentor-theme .network-hub {
  position: relative;
  isolation: isolate;
  align-self: start;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #6078b5;
  border-radius: 17px;
  background: radial-gradient(circle at 50% 47%, #375d9d77 0, #1e315b 36%, #17244a 75%);
  box-shadow: inset 0 1px 0 #c7dcff1c, 0 18px 42px #050a2266;
}
.mentor-theme .network-hub::after { content: ''; position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%; border: 1px solid #9bc5ff4f; box-shadow: 0 0 0 26px #96b6ff0e, 0 0 0 56px #96b6ff08; }
.mentor-theme .network-hub strong { color: #ebf5ff; font-size: 38px; line-height: 1; letter-spacing: .18em; text-indent: .18em; text-shadow: 0 0 24px #8cc5ff9a; }
.mentor-theme .network-hub > span { max-width: 190px; margin-top: 14px; color: #bed5f3; font-size: 12px; line-height: 1.5; text-align: center; }
.mentor-theme .network-orbit { position: absolute; z-index: -1; width: 230px; height: 230px; border: 1px dashed #acd3ff59; border-radius: 50%; animation: network-turn 36s linear infinite; }
.mentor-theme .network-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #a3ddff; box-shadow: 0 0 12px #8dd9ff; }
.mentor-theme .network-orbit i:nth-child(1) { top: -4px; left: calc(50% - 4px); }
.mentor-theme .network-orbit i:nth-child(2) { top: calc(50% - 4px); right: -4px; background: #b6a9ff; }
.mentor-theme .network-orbit i:nth-child(3) { bottom: -4px; left: calc(50% - 4px); }
.mentor-theme .network-orbit i:nth-child(4) { top: calc(50% - 4px); left: -4px; background: #b6a9ff; }
.mentor-theme .network-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mentor-theme .network-sources article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 25px;
  border: 1px solid #475e91;
  border-radius: 14px;
  background: linear-gradient(145deg, #223159, #1a294b);
  box-shadow: inset 0 1px 0 #c7dcff14;
}
.mentor-theme .network-sources b { color: #9acbff; font: 700 11px/1.5 ui-monospace, SFMono-Regular, monospace; letter-spacing: .1em; }
.mentor-theme .network-sources h3 { margin: 20px 0 10px; color: #e5efff; font-size: 22px; line-height: 1.35; }
.mentor-theme .network-sources p { margin: 0; color: #b7c8e3; font-size: 14px; line-height: 1.77; }
.mentor-theme .network-relation { margin-top: auto; padding-top: 17px; }
.mentor-theme .network-relation::before { content: ''; display: block; height: 1px; margin-bottom: 15px; background: linear-gradient(90deg, #8dbbff73, transparent); }
.mentor-theme .network-relation > span { display: block; margin-bottom: 6px; color: #9ecbff; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.mentor-theme .network-relation p { color: #d4e3f8; }
.mentor-theme .network-case { margin-top: 78px; padding-top: 42px; border-top: 1px solid #465b8c; }
.mentor-theme .network-case-heading { max-width: 900px; }
.mentor-theme .network-case-heading > .eyebrow { color: #a7caff; }
.mentor-theme .network-case-heading h3 { margin: 15px 0 16px; color: #e6f2ff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -.025em; }
.mentor-theme .network-case-heading p { margin: 0; color: #b9c9e4; font-size: 15px; line-height: 1.8; }
.mentor-theme .network-case-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 46px; margin-top: 34px; }
.mentor-theme .network-case-steps article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; min-width: 0; padding: 22px 0 27px; border-top: 1px solid #516795; }
.mentor-theme .network-case-steps b { color: #9ecbff; font: 700 12px/1.6 ui-monospace, SFMono-Regular, monospace; letter-spacing: .08em; }
.mentor-theme .network-case-steps h4 { margin: 0 0 10px; color: #e5efff; font-size: 19px; line-height: 1.4; }
.mentor-theme .network-case-steps p { margin: 0; color: #b9c9e4; font-size: 14px; line-height: 1.8; }
.mentor-theme .network-case-outcome { max-width: 950px; margin: 8px 0 0; padding: 4px 0 4px 18px; border-left: 2px solid #95c5ff; color: #d9eaff; font-size: 14px; line-height: 1.8; }
.mentor-theme .network-disclaimer { margin: 20px 0 0; padding: 13px 17px; border-left: 2px solid #a7caff; background: #1e2c53; color: #c6d6ef; font-size: 12px; line-height: 1.7; }
@keyframes network-turn { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .mentor-theme .network-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .mentor-theme .network-sources article { padding: 19px; }
}
@media (max-width: 800px) {
  .mentor-theme .network-layout { grid-template-columns: 1fr; }
  .mentor-theme .network-hub { min-height: 240px; }
  .mentor-theme .network-sources article { padding: 23px; }
}
@media (max-width: 700px) {
  .mentor-theme .network-case-steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mentor-theme .mentor-intro { padding-bottom: 46px; }
  .mentor-theme .mentor-capabilities { grid-template-columns: 1fr; }
  .mentor-theme .mentor-network-lab { padding: 48px 18px 66px; }
  .mentor-theme .network-heading h2 { font-size: clamp(30px, 8vw, 38px); }
  .mentor-theme .network-heading > p { font-size: 14px; }
  .mentor-theme .network-layout { gap: 16px; margin-top: 27px; }
  .mentor-theme .network-sources { grid-template-columns: 1fr; }
  .mentor-theme .network-sources article { padding: 21px; }
  .mentor-theme .network-case { margin-top: 57px; padding-top: 33px; }
  .mentor-theme .network-case-heading h3 { font-size: clamp(28px, 7vw, 36px); }
  .mentor-theme .network-case-heading p { font-size: 14px; }
  .mentor-theme .network-case-steps { margin-top: 26px; }
  .mentor-theme .network-case-steps article { padding: 19px 0 23px; }
  .mentor-theme .network-case-outcome { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .mentor-theme .network-orbit { animation: none; }
}
