/* Colour-only layer. Keep all restored sections, media, geometry and animations intact. */
:root {
  --hx-navy: #0b2335;
  --hx-deep: #071a29;
  --hx-ivory: #f5f1e8;
  --hx-sage: #e1ebe3;
  --hx-gold: #dfc18a;
  --hx-emerald: #18745b;
  --hx-mint: #65e2b5;
  --color-white: #f5f1e8;
  --color-black: #102c3b;
  --color-dark-font: #243e49;
  --color-light-font: #f1eee6;
  --color-grey-line: #617871;
  --sto-accent: #65e2b5;
  --sto-line: #355566;
  --sto-ink: #f1eee6;
  --sto-bg: #0b2335;
}
body { background-color: var(--hx-deep); }
::selection { background: var(--hx-gold); color: var(--hx-deep); }

/* Dark scenes: replace flat charcoal with an ink-blue base. */
[class~="bg-[#040508]"], [class~="bg-[#0C0C0C]"] { background-color: var(--hx-deep); }
#hero-section { background-color: var(--hx-deep); }
#trionn-symbol-canvas-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Light the steel from opposite edges, leaving the face of the vault in shadow. */
  background:
    radial-gradient(ellipse 48% 67% at 43% -10%, rgba(185,132,75,.46), transparent 88%),
    radial-gradient(ellipse 64% 70% at 1% 85%, rgba(39,119,107,.48), transparent 83%),
    linear-gradient(112deg, rgba(18,44,58,.62), transparent 64%);
  mix-blend-mode: screen;
}
@media (max-aspect-ratio: 9/10) {
  #trionn-symbol-canvas-wrap::before {
    background:
      radial-gradient(ellipse 86vw 44svh at 100% 0, rgba(185,132,75,.36), transparent 90%),
      radial-gradient(ellipse 87vw 40svh at 0 42svh, rgba(39,119,107,.4), transparent 87%),
      linear-gradient(155deg, rgba(18,44,58,.5), transparent 65svh);
  }
}
#sticky-wrap > .main-banner { mix-blend-mode: normal; }
#s1-headline { color: var(--hx-ivory); }
#s1-headline h1 + h1 { color: var(--hx-gold); }
.home-about h2, .home-about .about-subtitle-block > div, .home-about #s2-bottom, .home-about .title.mt-4 {
  background-color: rgba(7,26,41,.82); box-shadow: 0 0 0 1px rgba(223,193,138,.16);
}

/* Shared controls retain their dimensions and motion. */
#nav a.logo, #nav .main-toggle, #nav .menu-toggle {
  background: rgba(7,26,41,.9) !important;
  border-color: rgba(223,193,138,.4) !important;
}
#nav .main-toggle:hover, #nav .menu-toggle:hover { background: #153d50 !important; border-color: var(--hx-gold) !important; }
#s1-cta .button_wrapper { --button_wrapper-color: #65e2b5 !important; }
#s1-cta .button_wrapper:first-child { --button_wrapper-color: #dfc18a !important; }
.hx-read-pdf { background: #185842; border-color: #78b39b; color: #fff8e9; }
.hx-read-pdf small { color: #c9ddcf; border-left-color: #78b39b; }
.hx-read-pdf > :last-child { color: var(--hx-gold); }
.hx-read-pdf:hover { background: #237353; border-color: var(--hx-gold); }

/* Light editorial panels: warm paper and botanical tones instead of grey. */
#keyfacts-section { background: linear-gradient(160deg, #dce8e2, #f5f1e8 70%); }
.hx-stage-quotes { display: grid; justify-items: start; margin-bottom: .65rem; }
.hx-stage-quotes span {
  grid-area: 1 / 1; opacity: 0; padding: .28rem .5rem;
  border: 1px solid #95aaa3; border-radius: .2rem; color: #f0f4f1; background: #12231f;
  font: 500 .68rem/1.2 var(--font-martian, monospace); white-space: nowrap;
}
.hx-stage-quotes span:first-child { opacity: 1; }
.services-list, .services-item { background-color: var(--hx-ivory); }
.services-item .image-block { background: linear-gradient(145deg, #d9e8df, #eae9dc); }
.services-item .image-block.text-light-font { background: linear-gradient(145deg, #103b43, #0b2335); }
.services-item .image-block > .title { color: #245c4d; }
.services-item .image-block.text-light-font > .title { color: var(--hx-gold); }
.services-item .content-block { background-color: var(--hx-ivory); }
.service-title { color: #125a48; }
.service-info > .title { color: #18604f; opacity: 1 !important; }
.service-info-item { color: #253e49; }
.services-item .image-block img { box-shadow: 0 16px 45px #092b331a; }
.we-not-section { background-color: #e1ebe3 !important; }
.brand-showcase { background-color: var(--hx-ivory) !important; }
[class~="bg-[#c3c3c3]"] { background-color: #dbe6df; }
[class~="bg-[#F7F7F7]"] { background-color: var(--hx-ivory); }
.title-block > h1.max-w-342 { color: #123c3d !important; background: rgba(245,241,232,.9); }

/* The orbit remains the original scene; only its atmosphere and labels change. */
#services-orbit-scope-v2 {
  background: radial-gradient(ellipse at 50% 50%, #154c4b 0%, #0b293a 48%, #071a29 100%) !important;
  color: var(--hx-ivory) !important;
}
#services-orbit-scope-v2 .exp-left .title,
#services-orbit-scope-v2 .exp-bottom { color: var(--hx-gold); }
#services-orbit-scope-v2 .isolate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 55% 45%, #103e3e 0%, #0b2335 70%);
  mix-blend-mode: screen;
}

/* Home service cards and evidence keep their original grids. */
.sto-knock { background: linear-gradient(135deg, #102f43, #091e30); }
.sto-knock__head .title, .sto-fact .sto-fig { color: var(--hx-gold); }
.sto-knock__head p, .sto-fact__what { color: #bbcfd5; }
.sto-fact__src { color: #97b0ba; }
.sto-fact { border-color: #436273; }
.hx-services { background: #0b2838; border-top-color: #40616c; }
.hx-services-head .title, .hx-service-no, .hx-service-outcome span { color: var(--hx-gold); }
.hx-service { background: linear-gradient(140deg, #123e48, #102f40); border-color: #41636a; }
.hx-service-rule { background: var(--hx-gold); }
.hx-service-grid { border-color: #41636a; }
.hx-service-outcome { border-top-color: #41636a; }
.hx-service h3 { color: #f5f1e8; }
.hx-service-lead { color: #e3eee5; }
.hx-service-body, .hx-services-head > p, .hx-services-foot { color: #b6ccd0; }

/* Investment figures: warm gold for capital, emerald for progress. */
.sto-vault { background: radial-gradient(ellipse at 85% 20%, #164c4a 0%, #0b2335 62%); }
.sto-vault .sto-head .title { color: var(--hx-gold); }
.sto-vault .sto-head p { color: #b6ccd5; }
.sto-vault .sto-fig { color: #f5f1e8; }
.sto-vault .sto-fig--xl, .sto-vault .sto-fig--lg { color: var(--hx-gold); }
.sto-vault .sto-mint, .sto-stages .is-now .sto-fig { color: var(--hx-mint); }
.sto-fund, .sto-fund__side, .sto-terms { border-color: #456170; }
.sto-fund .title { color: #c4d5d9; }
.sto-fund__fine, .sto-stages__name, .sto-terms dt { color: #aec5ce; }
.sto-stages .is-done .sto-fig { color: #91acb8; }
.sto-terms dd { color: #e5eeec; }
.sto-rail { background: #355363; }
.sto-rail__step { background: #6b828a; }
.sto-rail__fill, .sto-rail__now, .sto-fund .sto-dot { background: var(--hx-mint); }
.sto-act { color: #efdfc0; border-color: #bfa87e; }
.sto-act--primary { color: var(--hx-mint); border-color: var(--hx-mint); }
.sto-act:hover { color: #fff; border-color: #fff; }

/* Contact and footer continue the same palette, with readable form states. */
.hx-contact-info { background: var(--hx-ivory); }
.hx-info-location h2, .hx-info-join h2, .hx-info-questions h2 { color: #165c4b; }
#contact-forms-section.hx-contact {
  background-image: linear-gradient(120deg, rgba(7,26,41,.94), rgba(14,65,60,.84)), image-set(url('/images/contact-hex-background.webp') type('image/webp'), url('/images/contact-hex-background.jpg') type('image/jpeg'));
  --ink: #f5f1e8; --muted: #bed0cb; --line: #678d8766;
}
.hx-contact .hx-account { --ink: #f5f1e8; --muted: #bed0cb; --line: #678d8766; --paper: #0b2335; }
.hx-contact .hx-row input::placeholder { color: #bed0cb; opacity: 1; }
.hx-submit { background: var(--hx-gold); color: var(--hx-deep); }
.hx-submit:hover { background: var(--hx-mint); color: var(--hx-deep); }
.contact-popup-wrapper .hx-account, .contact-popup-wrapper .hx-contact-aside { --paper: #f5f1e8; --ink: #12394a; color: #12394a; }
#site-footer { background: linear-gradient(125deg, #0b2335, #103f43); color: #f5f1e8; }
#site-footer h2 { color: var(--hx-gold); }
#site-footer .button_wrapper { --button_wrapper-color: #dfc18a !important; }
