/* Quantum Dragon 1.24: one quiet client entrance, progressive work surfaces. */
#nexus-home.pd-client-home { --pdc-surface:rgba(255,255,255,.72); --pdc-border:rgba(126,103,168,.2); --pdc-input:#fff; --pdc-header-height:88px; overflow:clip; }
html[data-wbs-theme="dark"] #nexus-home.pd-client-home { --pdc-surface:rgba(26,22,41,.64); --pdc-border:rgba(196,170,240,.2); --pdc-input:#211c30; }
/* Clip decorative overflow without creating the scroll container that would disable sticky. */
#nexus-home.pd-client-home .nexus-header { position:sticky; top:0; z-index:20; height:var(--pdc-header-height); padding:0 clamp(20px,4vw,72px); background:var(--pdc-surface); backdrop-filter:blur(20px); }
#nexus-home.pd-client-home .nexus-header-nav { gap:22px; }
#nexus-home.pd-client-home .nexus-header .nexus-nav-link { display:inline-flex; align-items:center; text-decoration:none; font-size:14px!important; color:var(--pd-muted); padding:8px 0; white-space:nowrap; }
#nexus-home.pd-client-home .nexus-header .nexus-nav-link[aria-current="page"] { color:var(--pd-violet); box-shadow:0 1px var(--pd-violet); }
#nexus-home.pd-client-home .nexus-hero { min-height:calc(100svh - 88px); padding-bottom:20px; }
#nexus-home.pd-client-home .nexus-orb-stage { margin-top:0; height:clamp(300px,43svh,490px); }
#nexus-home.pd-client-home .nexus-hero-intro { max-width:850px; margin:0 auto; }
#nexus-home.pd-client-home .nexus-hero h1 { font-size:clamp(32px,3.9vw,55px); line-height:1.13; font-weight:400; letter-spacing:-.045em; }
#nexus-home.pd-client-home .nexus-hero-intro .nexus-eyebrow { font-size:11px!important; letter-spacing:.18em; margin-bottom:13px!important; }
#nexus-home.pd-client-home .nexus-hero-description { max-width:700px; font-size:16px; line-height:1.6; margin:12px auto 0; }
#nexus-home.pd-client-home .nexus-conversation { width:min(740px,100%); margin:22px 0 0; border:0; background:transparent; box-shadow:none; padding:0; }
#nexus-home.pd-client-home .nexus-message-form { background:var(--pdc-surface); border:1px solid var(--pdc-border); border-radius:18px; box-shadow:0 8px 40px -24px var(--pd-violet); backdrop-filter:blur(18px); }
#nexus-home.pd-client-home .nexus-message-form input { color:var(--pd-ink); }
#nexus-home.pd-client-home .nexus-send-button { background:var(--pd-violet); color:var(--pd-paper); }
#nexus-home.pd-client-home .nexus-send-button:hover { background:var(--pd-violet-hover); }
#nexus-home.pd-client-home .nexus-chat-privacy { text-align:center; font-size:12px; line-height:1.5; margin:12px auto 0; max-width:620px; color:var(--pd-muted); }
#nexus-home.pd-client-home .nexus-quick-choices { display:flex; justify-content:center; padding:0; }
#nexus-home.pd-client-home .pd-text-link { font-size:14px; color:var(--pd-violet); text-underline-offset:5px; text-decoration-color:var(--pdc-border); }
#nexus-home.pd-client-home .pd-context-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
#nexus-home.pd-client-home .pd-context-actions:empty { display:none; }
#nexus-home.pd-client-home.nexus-has-history .nexus-dialogue { background:var(--pdc-surface); border-color:var(--pdc-border); max-height:300px; padding:18px; }
#nexus-home.pd-client-home .nexus-message p { color:var(--pd-ink); }
#nexus-home.pd-client-home .nexus-message-user>div { background:var(--pd-soft); }
#nexus-home.pd-client-home .nexus-hero-bottom { margin-top:20px; min-height:36px; width:min(1120px,100%); padding:8px 0; }
#nexus-home.pd-client-home .nexus-hero-bottom span { font-size:10px; letter-spacing:.12em; color:var(--pd-muted); }
#nexus-home.pd-client-home .nexus-footer { background:transparent; border-color:var(--pdc-border); max-width:1250px; margin:auto; font-size:13px; padding:26px 30px; }
#nexus-home.pd-client-home .nexus-footer a { color:var(--pd-muted); text-underline-offset:4px; }
#nexus-home.pd-client-home .nexus-footer .pd-operator-link { margin-left:auto; }
#nexus-home.pd-client-home .pd-mission { padding:34px 24px 42px; text-align:center; max-width:750px; margin:auto; color:var(--pd-muted); }
.pd-mission>span { font-size:10px; letter-spacing:.2em; color:var(--pd-violet); }
.pd-mission>p { font-size:15px; line-height:1.7; margin:12px 0 0; }
#nexus-home.pd-client-home.pd-client-engaged .nexus-hero { min-height:0; padding:0; }
#nexus-home.pd-client-home.pd-client-engaged .nexus-orb-stage { height:170px; min-height:0; opacity:.65; }
#nexus-home.pd-client-home.pd-client-engaged :is(.nexus-hero-intro,.nexus-conversation,.nexus-hero-bottom,.nexus-orb-caption,.nexus-scene-controls,.pd-scene-tools,.pd-scene-status) { display:none; }
.pd-client-panel { max-width:1120px; padding:0 30px 40px; margin:-8px auto 0; position:relative; z-index:4; color:var(--pd-ink); outline:none; scroll-margin-top:calc(var(--pdc-header-height,88px) + 16px); }
#nexus-home.pd-client-home .pd-client-panel :is(a,button,input,textarea,select,summary,[tabindex]) { scroll-margin-top:calc(var(--pdc-header-height) + 16px); }
.pd-client-panel[hidden] { display:none!important; }
.pdc-top { display:flex; gap:16px; align-items:center; justify-content:space-between; margin-bottom:28px; }
.pdc-top a,.pdc-back { color:var(--pd-muted); font-size:14px; text-decoration:none; background:none; border:0; padding:10px 0; }
.pdc-back:before { content:'‹'; font-size:21px; display:inline-block; margin-right:9px; vertical-align:-1px; }
.pdc-top a:hover { color:var(--pd-violet); }
.pdc-eyebrow { color:var(--pd-violet); font-size:11px; letter-spacing:.16em; text-transform:uppercase; margin:0 0 12px; }
#nexus-home .pdc-heading { font-size:clamp(29px,3.2vw,44px); line-height:1.17; font-weight:450; letter-spacing:-.035em; margin:0 0 14px; color:var(--pd-ink); }
.pdc-lead { color:var(--pd-muted); font-size:16px; line-height:1.7; max-width:750px; margin:0 0 28px; }
.pdc-surface { background:var(--pdc-surface); border:1px solid var(--pdc-border); border-radius:22px; padding:28px; backdrop-filter:blur(20px); box-shadow:0 16px 50px -38px var(--pd-violet); }
.pdc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
#nexus-home button.pdc-card { color:var(--pd-ink); display:flex; flex-direction:column; text-align:left; min-height:156px; border:1px solid var(--pdc-border); padding:24px; border-radius:18px; background:var(--pdc-surface); transition:transform .2s,border-color .2s; }
#nexus-home button.pdc-card:hover { border-color:var(--pd-violet); transform:translateY(-2px); }
.pdc-card .pdc-index { font-size:11px; letter-spacing:.12em; color:var(--pd-violet); margin-bottom:22px; }
.pdc-card strong { font-size:19px; font-weight:550; line-height:1.4; }
.pdc-card small { font-size:14px; color:var(--pd-muted); line-height:1.6; margin-top:7px; }
.pdc-row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.pdc-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; align-items:center; }
#nexus-home :is(.pdc-button,.pdc-primary,.pdc-secondary) { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:12px 18px; font-size:14px; line-height:1.35; border-radius:12px; text-decoration:none; border:1px solid var(--pdc-border); background:var(--pdc-surface); color:var(--pd-ink); }
#nexus-home .pdc-primary { background:var(--pd-violet); border-color:var(--pd-violet); color:var(--pd-paper); }
#nexus-home .pdc-primary:hover { background:var(--pd-violet-hover); border-color:var(--pd-violet-hover); }
#nexus-home .pdc-secondary:hover { border-color:var(--pd-line-active); background:var(--pd-soft); }
.pdc-fold { border-bottom:1px solid var(--pdc-border); margin:20px 0 0; padding:2px 0 17px; }
.pdc-fold>summary { padding:14px 0; font-size:16px; font-weight:500; cursor:pointer; color:var(--pd-ink); list-style-position:inside; }
.pdc-fold>summary span { color:var(--pd-muted); font-size:13px; font-weight:400; margin-left:8px; }
.pdc-fold>div { padding:12px 0 8px; }
.pdc-specialties { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
#nexus-home .pdc-specialty { border:1px solid var(--pdc-border); border-radius:12px; padding:16px; background:var(--pdc-surface); color:var(--pd-ink); text-align:left; min-height:90px; }
.pdc-specialty b { display:block; font-size:15px; font-weight:500; line-height:1.45; }
.pdc-specialty small { display:block; color:var(--pd-muted); font-size:13px; line-height:1.5; margin-top:5px; }
#nexus-home .pdc-specialty:hover { border-color:var(--pd-violet); }
.pdc-note { color:var(--pd-muted); font-size:14px; line-height:1.65; margin:15px 0; }
.pdc-note a { color:var(--pd-violet)!important; }
.pdc-status { font-size:14px; line-height:1.55; color:var(--pd-muted); margin:14px 0; min-height:0; }
.pdc-status:empty { display:none; }
.pdc-status.is-error,#nexus-home .nexus-home-status.is-error { color:#b43c51; }
html[data-wbs-theme="dark"] .pdc-status.is-error,html[data-wbs-theme="dark"] #nexus-home .nexus-home-status.is-error { color:#ffacb9; }
.pdc-form { max-width:780px; }
.pdc-field { display:block; font-size:14px; color:var(--pd-ink); margin:18px 0; }
.pdc-field>span { display:block; margin-bottom:9px; font-weight:500; }
#nexus-home .pdc-field :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { width:100%; display:block; font:inherit; font-size:16px; line-height:1.5; color:var(--pd-ink); background:var(--pdc-input); padding:13px 14px; border:1px solid var(--pdc-border); border-radius:10px; box-shadow:none; }
.pdc-field textarea { resize:vertical; min-height:104px; }
.pdc-field small { display:block; color:var(--pd-muted); font-size:13px; margin-top:7px; line-height:1.6; }
.pdc-fields-two { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.pdc-fields-two .pdc-field { margin:0; }
.pdc-choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:18px 0; }
.pdc-choice { display:flex; gap:11px; align-items:flex-start; color:var(--pd-ink); padding:16px; background:var(--pdc-surface); border:1px solid var(--pdc-border); border-radius:12px; font-size:15px; cursor:pointer; line-height:1.5; }
.pdc-choice:has(input:checked) { border-color:var(--pd-line-active); background:var(--pd-soft); }
.pdc-choice input { accent-color:var(--pd-violet); width:17px; height:17px; flex:0 0 auto; margin-top:3px; }
.pdc-tags { display:flex; flex-wrap:wrap; gap:7px; margin:18px 0; }
.pdc-tag { font-size:12px; padding:6px 10px; border:1px solid var(--pdc-border); border-radius:99px; color:var(--pd-muted); }
.pdc-project-list { display:grid; gap:12px; }
.pdc-project-row { border:1px solid var(--pdc-border); background:var(--pdc-surface); border-radius:16px; padding:22px; display:flex; gap:20px; align-items:center; justify-content:space-between; }
.pdc-project-row h3 { margin:0 0 8px; font-size:18px; font-weight:550; }
.pdc-project-row p { color:var(--pd-muted); margin:0; font-size:14px; line-height:1.6; }
.pdc-project-row small { display:block; color:var(--pd-muted); margin-top:7px; font-size:12px; }
.pdc-empty { border:1px dashed var(--pd-line-active); border-radius:20px; padding:40px; text-align:center; }
.pdc-progress { display:flex; gap:12px; align-items:center; font-size:13px; color:var(--pd-muted); margin:20px 0; }
.pdc-progress progress { width:160px; height:6px; accent-color:var(--pd-violet); border:0; }
.pdc-question { max-width:820px; margin:auto; }
#nexus-home .pdc-question h2 { font-size:clamp(24px,2.4vw,32px); line-height:1.4; font-weight:450; color:var(--pd-ink); letter-spacing:-.02em; margin:0 0 12px; }
.pdc-question .pdc-options { display:grid; gap:8px; margin:22px 0; }
.pdc-question .pdc-choice { max-width:730px; }
.pdc-split { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:24px; }
.pdc-package { padding:28px 22px; border:1px solid var(--pdc-border); border-radius:18px; }
.pdc-package h3 { font-size:23px; margin:0 0 13px; font-weight:500; }
.pdc-price { font-size:21px; color:var(--pd-violet); margin:8px 0; }
.pdc-package ul { font-size:14px; color:var(--pd-muted); padding-left:19px; line-height:1.8; }
.pdc-report-frame { padding:28px; background:var(--pd-paper); border:1px solid var(--pdc-border); border-radius:18px; overflow-wrap:anywhere; }
.pdc-report-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:20px; }
.pdc-report-tools select { max-width:100%; border:1px solid var(--pdc-border); background:var(--pdc-input); color:var(--pd-ink); padding:12px; font-size:14px; border-radius:10px; }
.pdc-source-list { line-height:1.8; font-size:14px; padding-left:18px; }
.pdc-source-list a { color:var(--pd-violet)!important; }
.pdc-audit-check { display:grid; grid-template-columns:110px minmax(0,1fr); gap:16px; padding:16px 0; border-top:1px solid var(--pdc-border); }
.pdc-audit-check b { font-size:14px; }.pdc-audit-check p { margin:4px 0; font-size:14px; color:var(--pd-muted); line-height:1.6; }
.pdc-feedback { border-left:2px solid var(--pd-violet); padding:2px 0 2px 18px; color:var(--pd-muted); font-size:14px; line-height:1.7; margin:24px 0; }
.pdc-loading { padding:32px 0; color:var(--pd-muted); font-size:16px; }
body.pd-operator-gated .sidebar,body.pd-operator-gated .topbar { display:none!important; }
@media(max-width:800px) { .pdc-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.pdc-specialties { grid-template-columns:repeat(2,minmax(0,1fr)); }.pdc-split { grid-template-columns:1fr; }#nexus-home.pd-client-home .nexus-header-nav { gap:14px; }#nexus-home.pd-client-home .pd-help-link { display:none!important; } }
@media(max-width:600px) {
  #nexus-home.pd-client-home { --pdc-header-height:104px; }
  #nexus-home.pd-client-home .nexus-header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; height:104px; padding:10px 16px; gap:3px 12px; }
  #nexus-home.pd-client-home .nexus-header-nav { display:contents; }
  #nexus-home.pd-client-home .nexus-header .nexus-brand { grid-column:1 / 3; grid-row:1; }
  #nexus-home.pd-client-home .nexus-header .nexus-brand strong { font-size:11px; }
  #nexus-home.pd-client-home .nexus-header .nexus-nav-link { grid-row:2; justify-self:start; font-size:14px!important; padding:4px 0; min-height:40px; }
  #nexus-home.pd-client-home .nexus-header a[href="#services"] { grid-column:1; }
  #nexus-home.pd-client-home .nexus-header a[href="#projects"] { grid-column:2; max-width:none; }
  #nexus-home.pd-client-home .nexus-language { grid-column:3; grid-row:2; justify-self:end; }
  #nexus-home.pd-client-home .pd-theme-switch { grid-column:3; grid-row:1; }
  #nexus-home.pd-client-home .pd-theme-switch button { min-width:34px; padding:6px; }
  #nexus-home.pd-client-home .pd-theme-switch span { display:none; }
  #nexus-home.pd-client-home .nexus-hero { min-height:calc(100svh - 104px); padding-inline:18px; }
  #nexus-home.pd-client-home .nexus-orb-stage { height:290px; margin-top:0; }
  #nexus-home.pd-client-home .nexus-hero-description { font-size:15px; max-width:330px; }
  #nexus-home.pd-client-home .nexus-hero-intro .nexus-eyebrow { font-size:10px!important; }
  #nexus-home.pd-client-home .nexus-conversation { margin-top:20px; }
  #nexus-home.pd-client-home .nexus-hero h1 { font-size:34px; }
  #nexus-home.pd-client-home .nexus-chat-privacy { font-size:11px; }
  #nexus-home.pd-client-home.pd-client-engaged .nexus-orb-stage { height:110px; }
  .pd-client-panel { padding:0 18px 30px; }
  .pdc-top { margin-bottom:18px; gap:8px; }
  .pdc-top a { font-size:13px; }
  .pdc-grid,.pdc-fields-two,.pdc-choice-grid { grid-template-columns:1fr; }
  .pdc-specialties { grid-template-columns:1fr; }
  #nexus-home button.pdc-card { min-height:130px; padding:21px; }
  .pdc-card .pdc-index { margin-bottom:14px; }
  .pdc-surface,.pdc-report-frame { padding:22px 17px; }
  .pdc-project-row { align-items:flex-start; flex-direction:column; gap:15px; }
  .pdc-actions>button,.pdc-actions>a { flex:1 1 auto; }
  .pdc-audit-check { grid-template-columns:1fr; gap:3px; }
  #nexus-home.pd-client-home .nexus-footer .pd-operator-link { margin-left:0; }
}
@media(prefers-reduced-motion:reduce) { #nexus-home button.pdc-card:hover { transform:none; } }
@media print { .pdc-top,.pdc-report-tools,.pdc-actions,.pd-mission,.nexus-footer,.nexus-header,.nexus-hero { display:none!important; }.pd-client-panel { max-width:none;padding:0;margin:0; }.pdc-report-frame { border:0; padding:0; }.pdc-report-frame details { display:block; } }

/* The microphone is the single entrance; live controls appear only when needed. */
#nexus-home .nx-live-strip:has([data-nx-indicator][data-state="idle"]) { display:none; }
#nexus-home .nx-live-strip { margin-top:12px; border-color:var(--pdc-border); background:var(--pdc-surface); }

/* Optional reporting controls stay discoverable without dominating the entrance. */
#nexus-home.pd-client-home .nx-privacy-options { width:100%; max-width:620px; margin:4px auto 0; color:var(--pd-muted); text-align:left; }
#nexus-home.pd-client-home .nx-privacy-options>summary { width:max-content; max-width:100%; min-height:40px; margin:0 auto; padding:9px 12px; border-radius:10px; font-size:13px; line-height:1.6; list-style-position:inside; cursor:pointer; }
#nexus-home.pd-client-home .nx-privacy-options>summary:hover { color:var(--pd-violet); background:var(--pdc-surface); }
#nexus-home.pd-client-home .nx-privacy-options>summary:focus-visible { outline:3px solid var(--pd-focus); outline-offset:3px; }
#nexus-home.pd-client-home .nx-privacy-content { padding:18px; border:1px solid var(--pdc-border); border-radius:14px; background:var(--pdc-surface); overflow-wrap:anywhere; }
#nexus-home.pd-client-home .nx-privacy-options :is(.nx-report-panel,.nx-visit-note) { margin:0; font-size:13px; line-height:1.6; opacity:1; }
#nexus-home.pd-client-home .nx-privacy-options .nx-report-panel small { font-size:12px; line-height:1.6; }
#nexus-home.pd-client-home .nx-privacy-options .nx-visit-note { margin-top:15px; padding-top:15px; border-top:1px solid var(--pdc-border); }
#nexus-home.pd-client-home .nx-privacy-options button { min-height:36px; font-size:12px; }
@media print { #nexus-home .nx-privacy-options { display:none!important; } }

#nexus-home.pd-client-engaged:not(.pd-guiding) .nexus-hero,
#nexus-home.pd-guiding .pd-mission,
#nexus-home.pd-exploring .nexus-quick-choices,
#nexus-home.pd-exploring .nexus-hero-description,
#nexus-home.pd-exploring .pd-mission {display:none;}
#nexus-home.pd-client-engaged:not(.pd-guiding) .pd-client-panel {margin:0 auto;padding-top:32px;}
#nexus-home.pd-guiding .nexus-orb-stage {height:clamp(155px,24vh,260px);opacity:1;}
#nexus-home.pd-guiding .pd-client-panel {max-width:850px;margin:0 auto;padding:0 24px 40px;}
.pd-guiding .pdc-heading {font-size:clamp(27px,3.4vw,43px);text-wrap:balance;margin:8px 0 22px;}
.guide-trail {font-size:.86rem;color:var(--pd-muted);margin:8px 0 14px;line-height:1.65;}
.guide-choices {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:10px;}
.guide-choice,.wall-feature {background:var(--pdc-surface);border:1px solid var(--pdc-border);border-radius:15px;}
.guide-choice {display:flex;gap:16px;align-items:center;justify-content:space-between;padding:15px 18px;min-height:56px;text-decoration:none;color:var(--pd-ink);}
.guide-choice small {display:block;color:var(--pd-muted);line-height:1.45;margin-top:4px;}
.guide-choice:hover,.guide-choice:focus-visible {border-color:var(--pd-violet);}
.guide-choice[hidden],.guide-followup[hidden] {display:none;}
.guide-resume,.wall-head,.wall-feature {margin:20px 0;}
.guide-filter {margin:0 0 14px;}
.wall-head {display:flex;gap:12px;flex-wrap:wrap;}
.wall-feature {padding:24px;}
.wall-feature>strong {font-size:1.3rem;}
.wall-login,.guide-form {max-width:640px;}
#nexus-home .nexus-quick-choices.guide-entry-links {display:flex;gap:10px;flex-wrap:wrap;justify-content:center;}
#nexus-home .guide-entry-links a {font-size:14px;min-height:42px;align-content:center;padding:5px 12px;}
#nexus-home.pd-exploring .nexus-quick-choices.guide-entry-links {display:none;}
@media(max-width:600px){
  #nexus-home.pd-guiding .pd-client-panel {padding-inline:18px;}
  .guide-choices {grid-template-columns:1fr;}
}

/* The header uses a still from the same plasma renderer as the interactive orb. */
#nexus-home .nexus-brand.pd-brand .pd-orb-logo {
  display:block;width:56px;height:56px;flex:none;object-fit:contain;
}
#nexus-home.pd-frontpage .nexus-brand.pd-brand .pd-orb-logo {
  width:clamp(60px,5.8vw,78px);height:auto;aspect-ratio:1;
}
#nexus-home .nexus-brand.pd-brand {min-width:56px;min-height:44px;}
#nexus-home.pd-client-home .nexus-hero .nexus-hero-description {max-width:520px;text-wrap:balance;}
#nexus-home .nexus-footer {margin-top:0;}
#nexus-home.pd-client-home.pd-services .nexus-hero {
  display:flex;align-items:center;min-height:0;padding:0 22px;gap:0;
}
#nexus-home.pd-client-home.pd-services .nexus-orb-stage {
  display:block;opacity:1;height:clamp(155px,22svh,225px);min-height:0;width:100%;
}
#nexus-home.pd-services .nexus-hero-intro,
#nexus-home.pd-services .guide-entry-links,
#nexus-home.pd-services .pd-scene-status,
#nexus-home.pd-services .pd-scene-tools {display:none!important;}
#nexus-home.pd-client-home.pd-services .nexus-conversation {
  display:block;width:min(100%,640px);margin:0 auto;padding:0;opacity:1;transform:none;
}
#nexus-home.pd-services .nexus-scene-controls {display:flex;}
#nexus-home.pd-services .nexus-chat-privacy {margin:8px auto 0;}
#nexus-home.pd-services .nexus-home-status:empty {display:none;}
#nexus-home.pd-client-home.pd-services .pd-client-panel {
  width:min(100%,900px);max-width:900px;margin:0 auto;padding:26px 28px 50px;
}
#nexus-home.pd-services .pdc-heading {font-size:clamp(25px,3.4vw,38px);letter-spacing:-.035em;margin:0 0 17px;line-height:1.18;}
#nexus-home.pd-services .pdc-top {margin-bottom:9px;}
#nexus-home.pd-services .guide-form {max-width:100%;}
.service-directory {display:grid;gap:10px;}
.service-section {
  --service-tint:#f4effa;--service-stroke:#d7c9e9;--service-accent:#634091;
  border:1px solid var(--service-stroke);border-radius:17px;background:var(--service-tint);color:var(--pd-ink);
}
.service-needs {--service-tint:#edf6f3;--service-stroke:#c7e0d9;--service-accent:#28695a;}
.service-digital {--service-tint:#eef3fb;--service-stroke:#c8d8ed;--service-accent:#385f8c;}
.service-manuals {--service-tint:#fbf3e9;--service-stroke:#e8d5bd;--service-accent:#865a2e;}
html[data-wbs-theme="dark"] .service-sectors {--service-tint:#292336;--service-stroke:#554362;--service-accent:#cfb4f6;}
html[data-wbs-theme="dark"] .service-needs {--service-tint:#192e2b;--service-stroke:#34514b;--service-accent:#92cfbb;}
html[data-wbs-theme="dark"] .service-digital {--service-tint:#202c3b;--service-stroke:#3e516a;--service-accent:#afcaf1;}
html[data-wbs-theme="dark"] .service-manuals {--service-tint:#322921;--service-stroke:#5a4938;--service-accent:#e7be90;}
.service-section>summary {
  list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;min-height:59px;padding:12px 18px;
  font-size:clamp(15px,2vw,18px);font-weight:600;line-height:1.3;border-radius:16px;
}
.service-section>summary::-webkit-details-marker {display:none;}
.service-section>summary:focus-visible,.procedure-example summary:focus-visible {outline:3px solid var(--service-accent,var(--pd-violet));outline-offset:2px;}
.service-icon {width:32px;height:32px;flex:none;display:grid;place-items:center;color:var(--service-accent);}
.service-icon svg {width:24px;height:24px;}
.service-plus {display:grid;place-items:center;width:24px;height:24px;margin-inline-start:auto;color:var(--service-accent);flex:none;}
.service-plus::before,.service-plus::after {content:"";grid-area:1 / 1;width:14px;height:2px;background:currentColor;border-radius:2px;}
.service-plus::after {transform:rotate(90deg);}
.service-section[open] .service-plus::after {transform:rotate(0);}
.service-section-body {padding:0 18px 18px;}
.service-section-body .guide-choices {grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:7px;}
.service-section-body .guide-choice {min-height:45px;padding:10px 13px;background:var(--pdc-surface);border-color:var(--service-stroke);border-radius:10px;}
.service-section .guide-choice:hover {border-color:var(--service-accent);}
.service-plans {margin:15px 0 0;}
.procedure-detail {max-width:72ch;line-height:1.55;}
.procedure-detail>p {margin-top:0;}
.manual-deliverables {padding-inline-start:22px;margin:12px 0 18px;}
.procedure-example {border-block:1px solid var(--service-stroke,var(--pdc-border));margin:12px 0 18px;}
.procedure-example>summary {padding:14px 0;cursor:pointer;font-weight:600;}
.procedure-example ol {padding-inline-start:27px;}
.procedure-example li {padding:0 0 9px 3px;}
.procedure-example li::marker {color:var(--service-accent,var(--pd-violet));font-weight:700;}
.procedure-example li p {margin:3px 0 6px;color:var(--pd-muted);}
@media(max-width:600px){
  #nexus-home.pd-client-home.pd-services .nexus-orb-stage {height:148px;}
  #nexus-home.pd-client-home.pd-services .pd-client-panel {padding:23px 16px 35px;}
  .service-section>summary {min-height:54px;padding:10px 12px;gap:9px;}
  .service-section-body {padding:0 12px 13px;}
}
#nexus-home .service-chat-toggle {display:none;}
#nexus-home.pd-services .service-chat-toggle:not([hidden]) {
  display:block;margin:0 auto 6px;padding:3px 12px;min-height:30px;border:0;background:transparent;color:var(--pd-violet);
  text-decoration:underline;text-underline-offset:3px;font-size:13px;
}
#nexus-home.pd-services:not(.pd-chat-expanded) #nexus-dialogue {display:none;}
#nexus-home.pd-services.pd-chat-expanded #nexus-dialogue {max-height:175px;}
#nexus-home.pd-client-home.pd-services .nexus-orb-stage {width:100vw;max-width:none;}
#nexus-home.pd-client-home .pd-scene-status {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);}
#nexus-home .pd-scene-tools [data-pd-scene="replay"] {font-size:0;width:37px;height:37px;padding:0;}
#nexus-home .pd-scene-tools [data-pd-scene="replay"]::after {content:'↻';font-size:19px;}

#nexus-home .pd-frontpage-credit { display:none; }
#nexus-home.pd-frontpage .pd-footer-brand,
#nexus-home.pd-frontpage .nexus-chat-privacy,
#nexus-home.pd-frontpage .nx-privacy-options { display:none; }
#nexus-home.pd-frontpage .pd-frontpage-credit { display:grid; gap:4px; text-transform:none; letter-spacing:normal; }
#nexus-home.pd-frontpage .pd-frontpage-credit strong { font-size:14px; font-weight:600; color:var(--pd-ink); }
#nexus-home.pd-frontpage .pd-frontpage-credit small { font-size:12px; color:var(--pd-muted); }
@media (max-width:600px) {
  #nexus-home.pd-frontpage .nexus-header { height:114px; --pdc-header-height:114px; grid-template-rows:55px 42px; }
}

/* Voice is an action of the orb itself. The typed conversation remains a separate entry. */
#nexus-home .pd-orb-call, #nexus-home .pd-voice-privacy { display:none; }
#nexus-home.pd-frontpage .pd-orb-call {
  position:relative; z-index:5; margin:15px auto 0;
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  width:max-content; max-width:100%; min-height:44px; padding:10px 21px;
  border:1px solid #9b75ac; border-radius:99px; color:#452351; background:#fcf9ff;
  box-shadow:0 2px 9px #3e214415,inset 0 1px #fff; font-size:.89rem; line-height:1.25;
  font-weight:600; cursor:pointer; pointer-events:auto;
}
#nexus-home.pd-frontpage .pd-orb-call svg { color:#793c91; width:19px; height:19px; flex:none; }
#nexus-home.pd-frontpage .pd-orb-call:hover { border-color:#734885; background:#f1e5f6; }
html[data-wbs-theme=dark] #nexus-home.pd-frontpage .pd-orb-call {
  border-color:#785588; background:#24172c; box-shadow:0 3px 15px #09050d61,inset 0 1px #ffffff10; color:#f5e9fd;
}
html[data-wbs-theme=dark] #nexus-home.pd-frontpage .pd-orb-call svg { color:#dda9f5; }
#nexus-home.pd-frontpage .pd-orb-call:focus-visible,#nexus-home .pd-voice-privacy summary:focus-visible {
  outline:3px solid var(--pd-focus); outline-offset:3px;
}
#nexus-home.pd-frontpage .pd-voice-privacy {display:block;margin:12px auto 0;width:min(440px,100%);text-align:center;}
#nexus-home .pd-voice-privacy summary {display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:4px 10px;color:var(--pd-muted);cursor:pointer;list-style:none;font-size:.875rem;}
#nexus-home .pd-voice-privacy summary::-webkit-details-marker {display:none;}
#nexus-home .pd-voice-privacy summary::after {content:'';width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg);}
#nexus-home .pd-voice-privacy[open] summary::after {transform:translateY(2px) rotate(225deg);}
#nexus-home .pd-voice-privacy p {margin:0 0 8px;padding:14px 17px;border-radius:12px;border:1px solid var(--pdc-border);background:var(--pdc-surface);color:var(--pd-ink);text-align:start;font-size:.875rem;line-height:1.55;}
#nexus-home.pd-frontpage .nx-live-strip [data-nx-disclosure] {display:none;}
@media(max-width:600px){
  #nexus-home.pd-frontpage .pd-orb-call {margin-top:12px;font-size:.9rem;padding:9px 19px;gap:8px;}
}
/* A compact set of routes keeps the conversation as the primary action. */
#nexus-home.pd-frontpage .guide-entry-links {
  width:fit-content; max-width:100%; margin:15px auto 0; border:1px solid var(--pdc-border);
  background:var(--pdc-surface); border-radius:13px; display:flex; gap:0; padding:4px;
}
#nexus-home.pd-frontpage .guide-entry-links .pd-text-link {
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
  min-height:40px; border-radius:9px; padding:6px 16px; line-height:1.25; text-decoration:none;
  font-weight:500; color:var(--pd-ink); font-size:.875rem;
}
#nexus-home.pd-frontpage .guide-entry-links a:hover,#nexus-home.pd-frontpage .guide-entry-links a:focus-visible { background:var(--pd-soft); color:var(--pd-violet); }
#nexus-home.pd-frontpage.pd-exploring .guide-entry-links {display:none;}
@media(max-width:600px){
  #nexus-home.pd-frontpage .guide-entry-links {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;}
  #nexus-home.pd-frontpage .guide-entry-links .pd-text-link {min-height:48px;padding:5px 6px;font-size:.81rem;}
  #nexus-home.pd-frontpage.pd-exploring .guide-entry-links {display:none;}
}
@media(max-width:370px){
  #nexus-home.pd-frontpage .nexus-hero h1 {font-size:1.78rem;letter-spacing:-.045em;}
  #nexus-home.pd-frontpage .nexus-hero-description {font-size:.9rem;}
}


#nexus-home .pd-welcome {margin:0 0 9px; color:var(--pd-muted); font-size:clamp(.94rem,1.2vw,1.1rem); font-weight:500; line-height:1.4;}
#nexus-home.pd-frontpage #nexus-home-title {max-width:25ch; margin-inline:auto; text-wrap:balance;}
#nexus-home.pd-frontpage .nexus-message-form .nexus-voice-button {display:none;}
#nexus-home.pd-frontpage .nexus-conversation {margin-top:17px;}

#pd-request-consultation:not([hidden]) {display:inline-flex;margin-top:12px;}
#pd-request-consultation[hidden],.pd-consult form[hidden] {display:none;}
.pd-consult {color:var(--pd-ink);background:var(--pdc-surface);border:1px solid var(--pdc-border);border-radius:18px;padding:clamp(18px,4vw,30px);width:min(440px,calc(100% - 32px));max-height:86dvh;overflow:auto;text-align:start;}
.pd-consult::backdrop {background:rgba(14,10,26,.6);}
.pd-consult h2 {font-size:1.4rem;margin:0 0 18px;}
.pd-consult form,.pd-consult label {display:grid;gap:6px;}
.pd-consult form {gap:13px;}
.pd-consult label span,.pd-consult p {font-size:.9rem;line-height:1.45;}
.pd-consult :is(input,select):not([hidden]) {color:inherit;background:var(--pdc-surface);border:1px solid var(--pdc-border);border-radius:8px;min-height:42px;padding:8px 10px;font:inherit;width:100%;}
.pd-consult p {margin:0;color:var(--pd-muted);}
.pd-consult .pd-consult-status:not(:empty) {margin:12px 0;}
.pd-consult [data-consult-close] {margin-top:10px;}

/* The masthead identifies the brand on the public landing page. */
#nexus-home .nexus-brand .pd-wordmark {display:none;}
#nexus-home.pd-frontpage .nexus-brand .pd-wordmark {display:flex;flex-direction:column;align-items:flex-start;gap:0;line-height:1.12;text-align:left;}
#nexus-home.pd-frontpage .nexus-header .nexus-brand .pd-wordmark strong {font-size:clamp(21px,1.95vw,28px);font-weight:650;letter-spacing:-.035em;line-height:1.05;text-transform:none;white-space:nowrap;}
#nexus-home.pd-frontpage .pd-brand-discipline {margin-top:4px;color:var(--pd-ink);font-size:10px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;line-height:1.1;}
@media (min-width:601px) and (max-width:900px) {
  #nexus-home.pd-frontpage .nexus-header {padding-inline:18px;gap:12px;}
  #nexus-home.pd-frontpage .nexus-header-nav {gap:10px;}
}
@media (max-width:600px) {
  #nexus-home.pd-frontpage .nexus-header {grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-rows:58px 40px;gap:2px 10px;}
  #nexus-home.pd-frontpage .nexus-header .nexus-brand {grid-column:1 / -1;grid-row:1;justify-self:start;gap:9px;}
  #nexus-home.pd-frontpage .nexus-header .nexus-language {grid-column:3;grid-row:2;}
  #nexus-home.pd-frontpage .nexus-header .pd-theme-switch {grid-column:4;grid-row:2;}
  #nexus-home.pd-frontpage .nexus-header .nexus-brand .pd-wordmark strong {font-size:22px;}
  #nexus-home.pd-frontpage .pd-brand-discipline {font-size:9px;margin-top:2px;letter-spacing:.09em;}
}

@media(max-width:370px) {
  #nexus-home.pd-frontpage .nexus-header {padding-inline:10px;column-gap:5px;}
  #nexus-home.pd-frontpage .nexus-header .nexus-nav-link {font-size:12.5px!important;}
  #nexus-home.pd-frontpage .nexus-header .pd-theme-switch button {min-width:32px;padding-inline:5px;}
}
@media(min-width:601px) and (max-width:1024px) {
  #nexus-home.pd-frontpage .nexus-header {display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-rows:64px 44px;height:122px;padding:6px 24px;gap:2px 18px;}
  #nexus-home.pd-frontpage .nexus-header .nexus-brand {grid-column:1 / 4;grid-row:1;justify-self:start;}
  #nexus-home.pd-frontpage .nexus-header-nav {display:contents;}
  #nexus-home.pd-frontpage .nexus-header .nexus-nav-link {grid-row:2;justify-self:start;}
  #nexus-home.pd-frontpage .nexus-header a[href="#services"] {grid-column:1;}
  #nexus-home.pd-frontpage .nexus-header a[href="#projects"] {grid-column:2;}
  #nexus-home.pd-frontpage .nexus-header a[href="#help"] {grid-column:3;}
  #nexus-home.pd-frontpage .nexus-header .nexus-language {grid-column:4;grid-row:2;justify-self:end;}
  #nexus-home.pd-frontpage .nexus-header .pd-theme-switch {grid-column:4;grid-row:1;justify-self:end;}
}

/* Space above the fixed brand mark belongs to the header, including on two-row layouts. */
@media(min-width:1025px){
  #nexus-home.pd-frontpage .nexus-header {--pdc-header-height:108px;height:var(--pdc-header-height);padding-top:20px;}
}
@media(min-width:601px) and (max-width:1024px){
  #nexus-home.pd-frontpage .nexus-header {--pdc-header-height:136px;height:var(--pdc-header-height);padding-top:20px;}
}
/* A single, static, violet-tinted wordmark. */
#nexus-home .nexus-header .pd-wordmark {position:relative;display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;color:var(--pd-ink);}
#nexus-home .nexus-header .pd-wordmark strong {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#nexus-home .pd-name {display:block;width:116px;height:auto;overflow:visible;}
#nexus-home.pd-frontpage .pd-name {width:clamp(187px,16vw,244px);}
#nexus-home .pd-letter-body {stroke:#49464f;}
html[data-wbs-theme=dark] #nexus-home .pd-letter-body {stroke:#d6d2db;}
#nexus-home .pd-brand-discipline {display:none;}
#nexus-home.pd-frontpage .pd-brand-discipline {display:block;margin-top:6px;font-size:10px;font-weight:500;line-height:1.35;letter-spacing:.055em;text-transform:none;color:var(--pd-muted);}
#nexus-home .pd-brand-discipline span {display:inline-block;white-space:nowrap;}
#nexus-home .nexus-brand.pd-brand .pd-orb-logo {position:relative;display:block;aspect-ratio:1;height:auto;background:transparent;border:0;padding:0;overflow:visible;cursor:pointer;touch-action:none;}
#nexus-home .pd-orb-logo :is(img,canvas,svg) {display:block;position:absolute;inset:0;width:100%;height:100%;}
#nexus-home .pd-orb-logo canvas {touch-action:none;}
#nexus-home .pd-orb-logo[data-orb-ready=true] img {visibility:hidden;}
#nexus-home .pd-orb-contact {pointer-events:none;overflow:visible;}
#nexus-home .pd-orb-contact path {fill:none;stroke:#c099fa;stroke-width:1.2;stroke-linecap:round;filter:drop-shadow(0 0 2px #6740d0);}
#nexus-home .pd-orb-logo:focus-visible,#nexus-home .pd-wordmark:focus-visible {outline:2px solid var(--pd-focus);outline-offset:2px;border-radius:5px;}
#nexus-home .pd-orb-logo:focus-visible {border-radius:50%;}
@media(max-width:600px){
  #nexus-home.pd-frontpage .nexus-header {height:130px;--pdc-header-height:130px;padding-top:22px;grid-template-rows:60px 40px;}
  #nexus-home.pd-frontpage .pd-name {width:clamp(171px,50vw,210px);}
  #nexus-home.pd-frontpage .pd-brand-discipline {max-width:100%;margin-top:5px;font-size:10.5px;letter-spacing:.02em;}
  #nexus-home:not(.pd-frontpage) .pd-name {width:82px;}
  #nexus-home:not(.pd-frontpage) .nexus-brand.pd-brand .pd-orb-logo {width:40px;}
}
@media(forced-colors:active) {
  #nexus-home .pd-letter-body {stroke:LinkText;}
}

.pd-paired-ray {position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:1000;overflow:hidden;}
.pd-paired-ray path {fill:none;stroke-linecap:round;stroke-linejoin:round;}
.pd-paired-ray path:first-child {stroke:#8c60ed;stroke-width:5;opacity:.36;}
.pd-paired-ray path:last-child {stroke:#ddcbff;stroke-width:1.55;filter:drop-shadow(0 0 2px #a571ff);}
.pd-paired-ray[hidden] {display:none;}

#nexus-home .pd-handoff {margin:12px auto 8px;max-width:540px;text-align:center;}
#nexus-home .pd-handoff[hidden] {display:none;}
#nexus-home .pd-handoff p {margin:5px auto;line-height:1.45;}
#nexus-home .pd-contact-links {display:flex;justify-content:center;flex-wrap:wrap;gap:6px 18px;}
#nexus-home .pd-contact-links a {color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;}

#nexus-home .pd-topic-chat {color:var(--pd-ink);background:var(--pdc-surface);border:1px solid var(--pdc-border);border-radius:18px;padding:clamp(14px,3vw,24px);width:min(600px,calc(100% - 24px));max-height:82dvh;overflow-y:auto;}
#nexus-home .pd-topic-chat::backdrop {background:rgba(14,10,26,.6);}
#nexus-home .pd-topic-chat header {display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:12px;}
#nexus-home .pd-topic-chat h2 {margin:0;font-size:1.05rem;}
#nexus-home.pd-client-home .pd-topic-chat .nexus-conversation {display:block;position:static;opacity:1;transform:none;width:100%;margin:0;}
#nexus-home.pd-client-home .pd-topic-chat #nexus-message-form {display:flex;align-items:center;}
#nexus-home.pd-client-home.nexus-has-history .pd-topic-chat #nexus-dialogue {display:block;max-height:40dvh;overflow:auto;}
#nexus-home .pd-topic-chat :is(.nexus-quick-choices,.pd-voice-privacy) {display:none;}
#nexus-home .pdc-top button[data-pd-topic-open] {background:transparent;border:0;font:inherit;cursor:pointer;}

#nexus-home[data-orb-reception]:not(.nexus-arrived) :is(.nexus-header,.nexus-hero-intro,.nexus-conversation) {visibility:visible;opacity:1;pointer-events:auto;}
#nexus-home[data-orb-reception]:not(.nexus-arrived) .nexus-hero {height:auto;overflow:visible;}

#nexus-home .pd-solution-filters,#nexus-home .pd-satellites,#nexus-home .pd-solution-hint {display:none;}
#nexus-home[data-orb-reception].nexus-arrived .pd-solution-filters:not([hidden]) {
  position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:clamp(3px,1.2vw,16px);
  max-width:100%;margin:4px auto 0;order:0;
}
#nexus-home .pd-solution-filters button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 clamp(6px,1.1vw,14px);border:0;border-radius:0;border-bottom:1px solid transparent;background:transparent;color:var(--pd-muted);font:inherit;font-weight:500;font-size:clamp(.73rem,1.12vw,.89rem);cursor:pointer;white-space:nowrap;}
#nexus-home .pd-solution-filters button[aria-pressed=true] {color:var(--pd-ink);border-bottom-color:#9882b0;}
#nexus-home .pd-solution-filters button:focus-visible,#nexus-home .pd-solution-result :is(a,button):focus-visible {outline:2px solid var(--pd-focus);outline-offset:2px;border-radius:3px;}
#nexus-home[data-orb-reception].nexus-arrived .nexus-orb-stage[data-solution-count] {margin-bottom:0;}
#nexus-home[data-orb-reception].nexus-arrived .pd-satellites {display:block;}
#nexus-home .pd-satellites {position:absolute;inset:0;z-index:2;pointer-events:none;}
#nexus-home .pd-satellite {position:absolute;left:0;top:0;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;pointer-events:auto;touch-action:none;user-select:none;cursor:grab;-webkit-tap-highlight-color:transparent;}
#nexus-home .pd-satellite[hidden],#nexus-home .pd-solution-result[hidden],#nexus-home .pd-solution-caption[hidden] {display:none;}
#nexus-home .pd-satellite canvas {display:block;position:static;width:var(--pd-moon-size);height:var(--pd-moon-size);border-radius:50%;pointer-events:none;}
#nexus-home .pd-satellite canvas {filter:grayscale(1) sepia(1) saturate(4) hue-rotate(178deg);}
#nexus-home .pd-satellite:focus-visible {outline:2px solid var(--pd-focus);outline-offset:1px;}
#nexus-home .pd-satellite[data-phase=dragging] {z-index:3;cursor:grabbing;}
#nexus-home .pd-satellite-name {position:absolute;top:calc(50% + var(--pd-moon-size)/2 + 3px);left:50%;transform:translateX(-50%);width:max-content;max-width:var(--pd-label-width,142px);color:#25283b;font:600 clamp(.69rem,.92vw,.85rem)/1.16 system-ui,sans-serif;text-align:center;text-wrap:balance;text-shadow:0 1px 4px #fff;pointer-events:auto;cursor:pointer;}
html[data-wbs-theme=dark] #nexus-home .pd-satellite-name {color:#e2e7f6;text-shadow:0 1px 4px #0b0b18;}
#nexus-home .pd-satellite[data-phase=dragging] .pd-satellite-name {opacity:0;pointer-events:none;}
#nexus-home .pd-satellite[data-label-side=right] .pd-satellite-name {left:calc(50% + var(--pd-moon-size)/2 + 7px);top:50%;transform:translateY(-50%);text-align:left;}
#nexus-home .pd-satellite[data-label-side=left] .pd-satellite-name {left:auto;right:calc(50% + var(--pd-moon-size)/2 + 7px);top:50%;transform:translateY(-50%);text-align:right;}
#nexus-home .pd-satellite[data-label-side=above] .pd-satellite-name {top:auto;bottom:calc(50% + var(--pd-moon-size)/2 + 4px);}
#nexus-home .pd-satellite[data-current]::before {content:"";position:absolute;left:50%;top:50%;width:calc(var(--pd-moon-size) + 7px);aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid var(--pd-ray-current);border-radius:50%;opacity:.75;pointer-events:none;}
#nexus-home .pd-satellites {--pd-ray:#705ab4;--pd-ray-current:#5b40a2;}
html[data-wbs-theme=dark] #nexus-home .pd-satellites {--pd-ray:#a693e7;--pd-ray-current:#d0bbff;}
#nexus-home .pd-service-rays {position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
#nexus-home .pd-service-rays path {display:none;fill:none;stroke:var(--pd-ray);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;opacity:.45;vector-effect:non-scaling-stroke;}
#nexus-home .pd-service-rays path.is-connected {display:block;}
#nexus-home .pd-service-rays path.is-focused {stroke:var(--pd-ray-current);stroke-width:1.65;opacity:1;filter:drop-shadow(0 0 2px #9270ec);}
@keyframes pd-connect-ray {from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:no-preference){
  #nexus-home .pd-service-rays path.is-connected.is-focused {stroke-dasharray:1;animation:pd-connect-ray .18s ease-out;}
}
#nexus-home[data-orb-reception].nexus-arrived .pd-solution-hint {display:block;position:absolute;bottom:2%;left:50%;transform:translateX(-50%);z-index:2;pointer-events:none;width:max-content;max-width:calc(100% - 105px);margin:0;color:var(--pd-muted);font-size:.78rem;line-height:1.25;text-align:center;}
#nexus-home[data-orb-engaged] .pd-welcome {display:none;}
#nexus-home .pd-solution-caption {margin:0 auto 7px;color:var(--pd-muted);font-size:.83rem;font-weight:550;}
#nexus-home[data-orb-engaged] #nexus-home-title {max-width:33ch;font-size:clamp(1.55rem,3vw,2.55rem);line-height:1.12;}
#nexus-home .pd-solution-result {pointer-events:auto;margin:9px auto 0;width:min(100%,54ch);color:var(--pd-ink);}
#nexus-home .pd-solution-result p {margin:0 auto 5px;font-size:clamp(.92rem,1.1vw,1.04rem);line-height:1.45;color:var(--pd-muted);text-wrap:pretty;}
#nexus-home #pd-solution-delivery {font-size:.9rem;color:var(--pd-ink);}
#nexus-home .pd-solution-actions,#nexus-home .pd-solution-contact {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2px 14px;}
#nexus-home .pd-solution-actions {margin:10px auto 1px;}
#nexus-home .pd-solution-actions :is(a,button),#nexus-home .pd-solution-contact a,#nexus-home .pd-solution-reset {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 0;color:var(--pd-ink);font:inherit;font-size:.9rem;line-height:1.25;cursor:pointer;}
#nexus-home .pd-solution-actions .pd-solution-more {border:1px solid #95869e;border-radius:24px;padding-inline:15px;text-decoration:none;font-weight:600;}
#nexus-home .pd-solution-actions button,#nexus-home .pd-solution-reset {background:none;border:0;}
#nexus-home .pd-solution-contact a {font-size:.86rem;text-underline-offset:3px;}
#nexus-home .pd-solution-reset {min-height:35px;color:var(--pd-muted);font-size:.79rem;text-decoration:underline;text-underline-offset:2px;}
#nexus-home[data-orb-reception] .nexus-orb-stage {height:clamp(379px,49svh,495px);}
@media(max-width:739px){
  #nexus-home[data-orb-reception] .nexus-orb-stage {height:clamp(338px,45svh,395px);}
  #nexus-home .pd-satellite-name {text-shadow:none;}
  html[data-wbs-theme=dark] #nexus-home .pd-satellite-name {text-shadow:none;}
}

#nexus-home[data-orb-reception] .nexus-orb-stage[data-orb-renderer=static-fallback] .nexus-orb-fallback {
  display:block;z-index:0;top:var(--pd-static-y,44%);width:var(--pd-static-size,72px);height:auto;
  transform:translate(-50%,-50%);box-shadow:none;
  background:transparent url("assets/purple-dragon/orb-logo.webp") center/contain no-repeat;pointer-events:none;
}
#nexus-home[data-orb-reception] .nexus-orb-stage[data-orb-renderer=static-fallback] #nexus-orb-canvas {display:block;pointer-events:auto;background:transparent;}
#nexus-home .nexus-orb-stage[data-orb-renderer=static-fallback] .pd-satellite canvas {background:transparent url("assets/purple-dragon/orb-logo.webp") center/contain no-repeat;}

/* The sector directory and the orb families share the strip above the chamber. */
#nexus-home .pd-home-discovery {display:none;}
#nexus-home[data-orb-reception] .pd-home-discovery {
  position:relative;z-index:3;display:grid;grid-template-columns:1fr auto auto 1fr;
  align-items:center;column-gap:clamp(4px,1.5vw,20px);width:min(920px,calc(100% - 24px));margin:3px auto 0;
}
#nexus-home .pd-specialties-toggle {
  grid-column:2;grid-row:1;display:inline-flex;justify-self:center;align-items:center;justify-content:center;gap:10px;
  min-height:44px;padding:4px 12px;border:0;background:transparent;color:var(--pd-ink);
  font-family:inherit;font-size:.88rem;font-weight:600;line-height:1.25;cursor:pointer;
}
#nexus-home .pd-specialties-toggle::after {
  content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);color:var(--pd-violet);
}
#nexus-home .pd-specialties-toggle[aria-expanded=true]::after {transform:translateY(2px) rotate(225deg);}
#nexus-home[data-orb-reception].nexus-arrived .pd-home-discovery .pd-solution-filters:not([hidden]) {
  grid-column:3;grid-row:1;justify-self:start;margin:0;padding-left:clamp(10px,1.6vw,23px);border-left:1px solid var(--pdc-border);
}
#nexus-home .pd-home-sectors {
  grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;
  width:min(100%,760px);justify-self:center;margin:1px 0 10px;padding:2px 0 5px;border-top:1px solid var(--pdc-border);
}
#nexus-home .pd-home-sectors a {
  display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:44px;padding:8px 9px;
  border-bottom:1px solid var(--pdc-border);color:var(--pd-ink);text-decoration:none;font-family:inherit;font-size:.9rem;
  line-height:1.3;text-align:start;overflow-wrap:break-word;
}
#nexus-home .pd-home-sectors a::after {
  content:"";flex:0 0 6px;width:6px;height:6px;border-top:1px solid currentColor;border-right:1px solid currentColor;
  transform:rotate(45deg);color:var(--pd-muted);
}
#nexus-home .pd-home-sectors a:hover,#nexus-home .pd-specialties-toggle:hover {color:var(--pd-violet);}
#nexus-home .pd-home-sectors a:focus-visible,#nexus-home .pd-specialties-toggle:focus-visible {outline:2px solid var(--pd-focus);outline-offset:-2px;border-radius:4px;}
#nexus-home .pd-home-sectors[hidden],#nexus-home .pd-specialties-toggle[hidden] {display:none;}
@media(max-width:625px){
  #nexus-home[data-orb-reception] .pd-home-discovery {grid-template-columns:minmax(0,1fr);row-gap:0;column-gap:0;}
  #nexus-home .pd-specialties-toggle {grid-column:1;grid-row:1;}
  #nexus-home .pd-home-sectors {column-gap:12px;margin:1px 0 5px;}
  #nexus-home .pd-home-sectors a {font-size:.835rem;padding:8px 5px;}
  #nexus-home[data-orb-reception].nexus-arrived .pd-home-discovery .pd-solution-filters:not([hidden]) {
    grid-column:1;grid-row:3;justify-self:center;padding:0;border:0;
  }
}

#nexus-home .pd-solution-result #pd-solution-output-title {margin:11px 0 5px;color:var(--pd-ink);font-size:1rem;font-weight:650;}
#nexus-home .pd-solution-result #pd-solution-delivery {display:inline-block;margin:0 auto 8px;padding-left:1.25em;text-align:start;line-height:1.5;}
#nexus-home .pd-solution-result .pd-card-example {padding:9px 12px;border-left:2px solid var(--pd-violet);text-align:start;}
#nexus-home .pd-offer-page {max-width:65ch;margin:0 auto 22px;color:var(--pd-ink);font-size:1rem;line-height:1.55;}
#nexus-home .pd-offer-page h2,#nexus-home .pd-offer-group h2 {margin:18px 0 6px;color:var(--pd-ink);font-size:1.07rem;}
#nexus-home .pd-offer-page ul {padding-inline-start:1.3em;margin:6px 0 15px;}
#nexus-home .pd-offer-page li {margin:.22em 0;}
#nexus-home .pd-offer-lead {margin:10px 0 14px;font-size:clamp(1rem,1.7vw,1.16rem);}
#nexus-home .pd-offer-example {border-inline-start:2px solid var(--pd-violet);padding-inline-start:14px;}
#nexus-home .pd-offer-contact {display:flex;align-items:center;gap:4px 15px;flex-wrap:wrap;margin-top:18px;}
#nexus-home .pd-offer-contact a,#nexus-home .pd-offer-sources a {display:inline-flex;align-items:center;min-height:44px;color:var(--pd-ink);text-underline-offset:3px;}
#nexus-home .pd-offer-sources {line-height:1.4;font-size:.84rem;}
#nexus-home .pd-offer-group {margin-bottom:22px;}
#nexus-home .pd-offer-page .procedure-example {margin:15px 0;}
#nexus-home .pd-offer-page .procedure-example summary {cursor:pointer;}
#nexus-home .guide-entry-links {flex-wrap:wrap;}

#nexus-home.pd-frontpage .nexus-brand .pd-wordmark {align-items:center;text-align:center;}
#nexus-home .pd-current-base-blue {stop-color:#307dd1;}
#nexus-home .pd-current-wave {display:none;}
#nexus-home[data-brand-motion=running] .pd-current-wave {display:block;animation:qd-current 3.6s linear infinite;}
@keyframes qd-current {from {transform:translateX(0);} to {transform:translateX(576px);}}
@supports (background-clip:text) {
  #nexus-home.pd-frontpage[data-brand-motion=running] .pd-brand-discipline {
    --pd-glint:#7391a9;--pd-glint-core:#5a748b;
    background-image:linear-gradient(104deg,var(--pd-muted) 40%,var(--pd-glint) 47%,var(--pd-glint-core) 50%,var(--pd-glint) 53%,var(--pd-muted) 60%);
    background-size:300% 100%;background-position:100% 50%;background-clip:text;color:transparent;
    animation:pd-descriptor-light 12s linear infinite;
  }
  html[data-wbs-theme=dark] #nexus-home.pd-frontpage .pd-brand-discipline {--pd-glint:#b8d1e6;--pd-glint-core:#ebf5ff;}
}
@keyframes pd-descriptor-light {0%,65% {background-position:100% 50%;}87%,100% {background-position:0% 50%;}}

@media(forced-colors:active){#nexus-home .pd-electric-name{display:none} #nexus-home.pd-frontpage[data-brand-motion=running] .pd-brand-discipline{background:none;color:CanvasText;animation:none}}

@media(max-width:600px){#nexus-home.pd-frontpage .nexus-header .nexus-brand{justify-self:center;}}

/* Reserve both endpoints so the name and navigation never shift. */
#nexus-home.pd-frontpage .nexus-header .nexus-brand.pd-brand {
  --tunnel-size:clamp(60px,5.8vw,78px);
  position:relative;box-sizing:content-box;width:max-content;flex:none;
  padding-inline:calc(var(--tunnel-size) + 6px);
  min-height:var(--tunnel-size);display:flex;align-items:center;justify-content:center;
}
#nexus-home.pd-frontpage .nexus-header .pd-brand .pd-orb-logo,
#nexus-home.pd-frontpage .nexus-header .pd-brand::after {
  position:absolute;width:var(--tunnel-size);height:var(--tunnel-size);
  left:0;top:50%;transform:translateY(-50%);
}
#nexus-home.pd-frontpage .nexus-header .pd-brand::after {
  content:"";background:url("assets/purple-dragon/orb-logo.webp") center/contain no-repeat;
  pointer-events:none;opacity:0;
}
@media(max-width:600px){
  #nexus-home.pd-frontpage .nexus-header .nexus-brand.pd-brand {--tunnel-size:clamp(42px,12vw,56px);}
}
@media(prefers-reduced-motion:no-preference){
  #nexus-home.pd-frontpage[data-brand-motion=running] .pd-brand .pd-orb-logo {animation:qd-tunnel-source 32s infinite;}
  #nexus-home.pd-frontpage[data-brand-motion=running] .nexus-header .pd-brand::after {animation:qd-tunnel-echo 32s infinite;}
  #nexus-home.pd-frontpage[data-brand-motion=running] .pd-brand:is(:focus-within,:active) .pd-orb-logo,
  #nexus-home.pd-frontpage[data-brand-motion=running] .nexus-header .pd-brand:is(:focus-within,:active)::after {animation-play-state:paused;}
}
@keyframes qd-tunnel-source {
  0%,46.875% {left:0;opacity:1;}
  49.99% {animation-timing-function:steps(1,end);left:0;opacity:0;}
  50%,96.875% {left:calc(100% - var(--tunnel-size));opacity:1;}
  99.99% {animation-timing-function:steps(1,end);left:calc(100% - var(--tunnel-size));opacity:0;}
  100% {left:0;opacity:1;}
}
@keyframes qd-tunnel-echo {
  0%,46.875% {left:calc(100% - var(--tunnel-size));opacity:0;}
  49.99% {animation-timing-function:steps(1,end);left:calc(100% - var(--tunnel-size));opacity:1;}
  50%,96.875% {left:0;opacity:0;}
  99.99% {animation-timing-function:steps(1,end);left:0;opacity:1;}
  100% {left:calc(100% - var(--tunnel-size));opacity:0;}
}
