/* Section identity: navy brand, pastel surfaces and supplied wave icons. */
.section-wave-icon, body[data-section-theme] .page-header::before {
  display:block; width:var(--wave-width,100px); height:var(--wave-height,70px); flex:none;
  background-image:url('/assets/section-wave-swirl-reference.png');
  background-size:512px 384px; background-repeat:no-repeat;
  background-position:var(--wave-position); mix-blend-mode:multiply;
}
[data-section-theme="population"], .theme-population { --section-accent:#a2e0cb; --section-soft:#effaf5; --section-ink:#236b58; --wave-position:-143px -98px; }
[data-section-theme="deprivation"], .theme-deprivation { --section-accent:#fac5ac; --section-soft:#fff4ec; --section-ink:#96512e; --wave-position:-264px -96px; }
[data-section-theme="employment"], .theme-employment { --section-accent:#c7b7f5; --section-soft:#f5f1ff; --section-ink:#695196; --wave-position:-385px -95px; }
[data-section-theme="access"], .theme-access { --section-accent:#91d9dc; --section-soft:#eefafa; --section-ink:#266b71; --wave-position:-40px -212px; }
[data-section-theme="voting"], .theme-voting { --section-accent:#ffe194; --section-soft:#fff9e8; --section-ink:#81621c; --wave-position:-195px -212px; }
[data-section-theme="about"], .theme-about { --section-accent:#f4b9c9; --section-soft:#fff2f6; --section-ink:#91465d; --wave-position:-356px -214px; }
[data-section-theme="home"], .theme-home { --section-accent:#91c8ea; --section-soft:#eff7fd; --section-ink:#286b97; --wave-position:-25px -101px; }

body[data-section-theme] { --panel-soft:var(--section-soft); }
body[data-section-theme] .page-header {
  position:relative; max-width:none; min-height:144px; padding:24px 28px 24px 164px;
  background:linear-gradient(115deg,var(--section-soft),#fff); border:1px solid var(--section-accent);
  border-left:5px solid var(--section-accent); border-radius:20px; margin-bottom:24px;
}
body[data-section-theme] .page-header::before { content:""; position:absolute; left:22px; top:24px; }
body[data-section-theme] .page-header .eyebrow { color:var(--section-ink); }
body[data-section-theme] .page-header h1 { max-width:900px; }
body[data-section-theme] .page-header .intro { max-width:850px; }
body[data-section-theme] select:focus-visible, body[data-section-theme] button:focus-visible { outline:3px solid var(--section-ink); outline-offset:3px; }
body[data-section-theme] .metric-card, body[data-section-theme] .stat-card { border-top:3px solid var(--section-accent); }
.site-menu-panel a[data-section-theme] { border-left:3px solid var(--section-accent); }
.site-menu-panel a[data-section-theme]:hover, .site-menu-panel a[data-section-theme][aria-current="page"] { background:var(--section-soft); }
@media(max-width:620px) {
 body[data-section-theme] .page-header { padding:112px 20px 22px; }
 body[data-section-theme] .page-header::before { top:14px; left:16px; }
 body[data-section-theme] .page-header h1 { font-size:clamp(1.8rem,7vw,2.5rem); line-height:1.12; }
}

.theme-access, .theme-voting, .theme-about, [data-section-theme="access"], [data-section-theme="voting"], [data-section-theme="about"] { --wave-height:78px; }

.theme-access, .theme-voting, .theme-about, [data-section-theme="access"], [data-section-theme="voting"], [data-section-theme="about"] { --wave-width:110px; }
.theme-education, [data-section-theme="education"] { --section-accent:#b9cdf5; --section-soft:#f1f5ff; --section-ink:#405d92; --wave-width:110px; --wave-height:88px; }
.theme-education .section-wave-icon, body[data-section-theme="education"] .page-header::before { background-image:url('/assets/education-wave-swirl-approved.png'); background-size:124px 124px; background-position:center; mix-blend-mode:normal; }
