/* Graphite surfaces and restrained studio lighting for the content pages.
   All rules are dark-only; photography, geometry and light mode stay intact. */
html[data-theme="dark"] .content-page {
  background: var(--theme-bg);
  color: var(--theme-text);
}

html[data-theme="dark"] .content-page .eyebrow {
  color: var(--theme-accent);
}

html[data-theme="dark"] .content-page .page-hero::before {
  background:
    radial-gradient(ellipse at 85% 36%, #326dff14, transparent 52%),
    radial-gradient(ellipse at 98% 72%, #58d5f70b, transparent 40%);
}

html[data-theme="dark"] .content-page .page-heading span {
  color: #c6ddff;
}

html[data-theme="dark"] .content-page .page-lead,
html[data-theme="dark"] .content-page .content-intro p,
html[data-theme="dark"] .content-page .focus-card p,
html[data-theme="dark"] .content-page .content-cta p:not(.eyebrow),
html[data-theme="dark"] .content-page .service-detail-copy > p,
html[data-theme="dark"] .content-page .planning-grid p:not(.eyebrow) {
  color: var(--theme-muted);
}

html[data-theme="dark"] .content-page main .text-link,
html[data-theme="dark"] .content-page .source-note a {
  color: var(--theme-accent);
}

html[data-theme="dark"] .content-page main .text-link:hover,
html[data-theme="dark"] .content-page .source-note a:hover {
  color: #c6e7ff;
}

html[data-theme="dark"] .content-page main .text-link:focus-visible,
html[data-theme="dark"] .content-page .source-note a:focus-visible,
html[data-theme="dark"] .content-page .portal-details summary:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 5px;
  border-radius: 3px;
}

/* The logo keeps its original colour. Its plinth and rings follow the theme. */
html[data-theme="dark"] .content-page .brand-sculpture::before {
  background:
    radial-gradient(circle at 30% 18%, #58d5f724, transparent 45%),
    radial-gradient(circle at 72% 78%, #326dff38, transparent 57%),
    linear-gradient(140deg, #232a35, #10141c 68%);
  box-shadow:
    inset 0 0 0 1px #d8eaff26,
    18px 32px 60px #00000066,
    0 0 70px #326dff12;
}

html[data-theme="dark"] .content-page .brand-ring {
  border-color: #83bcff45;
}

html[data-theme="dark"] .content-page .brand-ring:nth-child(2) {
  border-color: #58d5f726;
}

html[data-theme="dark"] .content-page .focus-card {
  background: linear-gradient(145deg, #171c25, #10141b 76%);
  border-color: #2c3442;
  box-shadow: inset 0 1px 0 #ffffff08, 0 14px 30px #00000026;
}

html[data-theme="dark"] .content-page .focus-icon {
  color: #a3ceff;
  background: linear-gradient(135deg, #202d40, #161e2a);
  border-color: #364a65;
  box-shadow: inset 0 1px 0 #b8d9ff0a;
}

html[data-theme="dark"] .content-page .about-band {
  background: radial-gradient(ellipse at 85% 50%, #326dff0f, transparent 55%), #10151d;
  border-color: var(--theme-border);
}

html[data-theme="dark"] .content-page .about-band::before {
  background-image:
    linear-gradient(#a2b4cf16 1px, transparent 1px),
    linear-gradient(90deg, #a2b4cf16 1px, transparent 1px);
}

html[data-theme="dark"] .content-page .about-band p {
  color: #bac2cf;
}

/* Local light pools define the product stage without tinting the equipment. */
html[data-theme="dark"] .content-page .technical-stage {
  background:
    radial-gradient(ellipse at 74% 6%, #326dff24, transparent 44%),
    radial-gradient(ellipse at 14% 76%, #58d5f710, transparent 38%),
    linear-gradient(145deg, #171d27, #0b0e14 58%, #0d1119);
  border-color: #343f50;
  box-shadow: inset 0 1px 0 #e5f2ff0a, 0 28px 70px #00000066;
}

html[data-theme="dark"] .content-page .technical-stage::before {
  background-image:
    linear-gradient(#d1dbec09 1px, transparent 1px),
    linear-gradient(90deg, #d1dbec09 1px, transparent 1px);
}

html[data-theme="dark"] .content-page .technical-orbit {
  border-color: #83bcff29;
  box-shadow: 0 0 0 58px #83bcff06, 0 0 0 116px #83bcff04;
}

html[data-theme="dark"] .content-page .technical-stage .eyebrow,
html[data-theme="dark"] .content-page .technical-stage-top > span {
  color: #bbc7d7;
}

html[data-theme="dark"] .content-page .technical-stage-top > span::before {
  background: var(--theme-cyan, #58d5f7);
  box-shadow: 0 0 0 5px #58d5f710, 0 0 16px #58d5f738;
}

html[data-theme="dark"] .content-page .equipment-object::before {
  background: radial-gradient(ellipse, #83bcff2e, transparent 68%);
  border-color: #83bcff1c;
}

html[data-theme="dark"] .content-page .equipment-object p {
  color: var(--theme-text);
}

html[data-theme="dark"] .content-page .technical-stage-bottom {
  border-color: #a8b6cc26;
}

html[data-theme="dark"] .content-page .technical-stage-bottom p {
  color: #b8c1cf;
}

html[data-theme="dark"] .content-page .service-detail-section {
  background: #0d1118;
  border-color: var(--theme-border);
}

html[data-theme="dark"] .content-page .service-detail {
  border-color: var(--theme-border);
}

html[data-theme="dark"] .content-page .service-index {
  color: #98b3d8;
}

html[data-theme="dark"] .content-page .service-tags li {
  background: #1b222d;
  border-color: #333e50;
  color: #c1cbd9;
}

html[data-theme="dark"] .content-page .planning-section {
  background: linear-gradient(125deg, #131923, #10151c 70%);
}

html[data-theme="dark"] .content-page .planning-list li {
  border-color: #2d3745;
}

html[data-theme="dark"] .content-page .planning-list li::before {
  background: #152132;
  border-color: #3b526f;
  color: #a3ceff;
}

html[data-theme="dark"] .content-page .source-note {
  border-color: var(--theme-border);
  color: var(--theme-muted);
}

/* Help keeps the same clear portal route and expandable instructions. */
html[data-theme="dark"] .content-page .portal-section {
  background: radial-gradient(ellipse at 3% 40%, #326dff10, transparent 42%), #10151c;
}

html[data-theme="dark"] .content-page .portal-section .eyebrow {
  color: var(--theme-accent);
}

html[data-theme="dark"] .content-page .portal-section p:not(.eyebrow) {
  color: #b7c0cd;
}

html[data-theme="dark"] .content-page .portal-symbol {
  background: radial-gradient(circle at 32% 22%, #203b4b, #15202f 74%);
  color: #8bdafa;
  box-shadow: 0 0 0 15px #131b27, 0 0 0 16px #2c3b50, 0 0 44px #326dff12;
}

html[data-theme="dark"] .content-page .portal-details {
  color: var(--theme-accent);
}

html[data-theme="dark"] .content-page .portal-details summary:hover {
  color: #c6e7ff;
}

html[data-theme="dark"] .content-page .portal-details p {
  background: var(--theme-raised);
  border-left-color: var(--theme-accent);
  box-shadow: inset 0 1px 0 #ffffff06;
}

@media (max-width: 650px) {
  html[data-theme="dark"] .content-page .portal-symbol {
    box-shadow: 0 0 0 10px #131b27, 0 0 0 11px #2c3b50, 0 0 44px #326dff12;
  }
}
