/* v1.4 — only the elektrik palette. Layout lives in the parent theme. */
html:root{
  --c-bg:#FFFFFF;
  --c-bg-alt:#F4F8FC;
  --c-surface:#FFFFFF;
  --c-text:#0B1F33;
  --c-muted:#4A5B6A;
  --c-line:#D7E3EC;
  --c-accent:#F5C400;
  --c-on-accent:#0B1F33;
  --c-primary:#0A6B96;
  --c-head:#0B1F33;
  --c-link:#0A6B96;
  --c-wire-y:#F5C400;
  --c-wire-n:#0A6B96;
  --c-wire-pe:repeating-linear-gradient(-45deg,var(--c-wire-y) 0 5px,var(--c-wire-n) 5px 10px);
  --c-hero:
    radial-gradient(900px 420px at 100% -10%,color-mix(in srgb,var(--c-wire-y) 22%,transparent) 0,transparent 58%),
    radial-gradient(800px 460px at -8% 110%,color-mix(in srgb,var(--c-wire-n) 16%,transparent) 0,transparent 55%),
    #FFFFFF;
}
html[data-theme="dark"]{
  --c-bg:#0A1628;
  --c-bg-alt:#102033;
  --c-surface:#12243A;
  --c-text:#F4F7FB;
  --c-muted:#A8B8C8;
  --c-line:#1E3A55;
  --c-accent:#FFD84D;
  --c-on-accent:#0A1628;
  --c-primary:#7EC8E8;
  --c-head:#F4F7FB;
  --c-link:#7EC8E8;
  --c-wire-y:#FFD84D;
  --c-wire-n:#7EC8E8;
  --c-hero:
    radial-gradient(900px 420px at 100% -10%,rgba(255,216,77,.16) 0,transparent 58%),
    radial-gradient(800px 460px at -8% 110%,rgba(126,200,232,.18) 0,transparent 55%),
    #0A1628;
}
a{color:var(--c-link)}
.kicker,.band .kicker{color:var(--c-primary)}
.hero__kicker:before{background:var(--c-wire-n)}

/* placeholders: gray dashed, never a yellow accent */
mark.fill,.draft-note{
  background:transparent;color:var(--c-muted);border:1px dashed #8A93A0;
  border-radius:4px;padding:0 5px;font-weight:600;box-shadow:none;
}
html[data-theme="dark"] mark.fill,html[data-theme="dark"] .draft-note{border-color:#6A7B8C}

/* two cores under the sticky header: yellow + blue */
.hdr{border-bottom:none;overflow:visible}
.hdr::after{
  content:"";position:absolute;left:0;right:0;top:100%;height:8px;pointer-events:none;z-index:3;
  background:
    linear-gradient(var(--c-wire-y),var(--c-wire-y)) 0 0/100% 4px no-repeat,
    linear-gradient(var(--c-wire-n),var(--c-wire-n)) 0 4px/100% 4px no-repeat;
}
.section--alt,.spot,.band{position:relative}
.section--alt::before,.spot::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:5px;
  background:var(--c-wire-pe);pointer-events:none;
}
.sec-head h2::after{
  content:"";display:block;width:84px;height:8px;margin-top:14px;border-radius:2px;
  background:
    linear-gradient(var(--c-wire-y),var(--c-wire-y)) 0 0/100% 4px no-repeat,
    linear-gradient(var(--c-wire-n),var(--c-wire-n)) 0 4px/100% 4px no-repeat;
}

/* slider, toggles, sums in blue; yellow stays on page CTAs */
.orc{--o-acc:var(--c-primary);--o-pri:var(--c-primary);--o-acc-text:var(--c-on-accent)}
.orc input[type=range]{accent-color:var(--c-primary)}
.orc-res__sum,.orc-mat__total{color:var(--c-primary)}

/* nosave cards: alternate yellow / blue */
.nosave__item:nth-child(2n+1){box-shadow:inset 0 3px 0 var(--c-wire-y)}
.nosave__item:nth-child(2n+2){box-shadow:inset 0 3px 0 var(--c-wire-n)}
.nosave__item:nth-child(2n+1) .nosave__n{color:var(--c-head)}
.nosave__item:nth-child(2n+2) .nosave__n{color:var(--c-primary)}

/* keep the 748×720 hero crop from being stretched */
.hero--split .el-frame img{aspect-ratio:748/720}

.btn--ghost{background:transparent;color:var(--c-head);border:2px solid var(--c-primary)}
.btn--ghost:hover{background:color-mix(in srgb,var(--c-primary) 10%,transparent)}
