@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url('assets/newsreader.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #102b39;
  --navy: #0b2636;
  --deep: #071e2b;
  --surface: #fff;
  --paper: #f5f8f6;
  --pearl: #f5f8f6;
  --line: #d6e1df;
  --muted: #45626a;
  --teal: #006c68;
  --aqua: #59e1ca;
  --sea: #54dfc5;
  --gold: #f8c578;
  --body-font: "DM Sans", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --display-font: Newsreader, "Georgia", "Times New Roman", serif;
  font-family: var(--body-font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #c08229; outline-offset: 4px; }
[hidden] { display: none !important; }
.frame { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-160%); background: white; color: var(--ink); padding: 10px 16px; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 8; color: #e4f0f0; background: #081e2b; border-bottom: 1px solid #badfdf24; }
.header-inner { display: flex; align-items: center; min-height: 70px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: .66rem; text-decoration: none; flex: none; }
.brand img { object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.1rem; line-height: 1.08; letter-spacing: .04em; }
.brand small { color: #aec8cb; font-size: .75rem; margin-top: .16rem; }
.site-header .brand { position: relative; display: grid; align-content: center; gap: 0; min-height: 40px; padding-inline-start: calc(38px + .66rem); }
.site-header .brand img { position: absolute; inset-inline-start: 0; inset-block-start: 50%; width: 38px; height: auto; transform: translateY(-50%); }
.brand-home { text-decoration: none; }
.site-header .brand small { font-size: .875rem; line-height: 1.2; }
.brand-parent { text-underline-offset: .18em; }
.brand-parent:hover { color: var(--aqua); }
.site-header nav { display: flex; gap: clamp(15px, 2.3vw, 35px); align-items: center; margin: 0 auto; }
.site-header nav a, .header-link { text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--aqua); }
.header-link { border: 1px solid #a5d6d54d; padding: 8px 13px; border-radius: 5px; }
.header-link:hover { border-color: var(--aqua); color: var(--aqua); }
.nav-toggle { display: none; }
section[id] { scroll-margin-top: 86px; }
.hero { position: relative; isolation: isolate; background: var(--deep); color: #f6fbfa; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: url("assets/southport-pier.webp") center 47% / cover no-repeat; opacity: .85; }
.hero::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg,#081e2b 1%,#081e2bf7 17%,#081e2bdd 34%,#081e2b77 63%,#081e2b0f 100%), linear-gradient(0deg,#071d2bdc 0%,transparent 30%,#0b293323 100%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(425px, 42vw, 560px); padding-block: 64px 78px; }
.hero-copy { width: min(100%, 790px); }
.eyebrow { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; margin: 0 0 .72rem; }
.hero-kicker { color: #a1ebdc; margin-bottom: 1.12rem; display: flex; align-items: center; gap: .8rem; }
.hero-kicker span { width: 28px; height: 1px; background: #72d6c7; }
h1, h2 { font-family: var(--display-font); font-weight: 400; letter-spacing: -.042em; }
.hero h1 { margin: 0; font-size: clamp(3.65rem, 6.6vw, 6.7rem); line-height: .985; }
.hero h1 span { color: var(--aqua); }
.hero-summary { margin: 1.4rem 0 1.7rem; max-width: 36rem; color: #dde9eb; font-size: clamp(1.06rem, 1.46vw, 1.22rem); line-height: 1.53; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .52rem; padding: .75rem 1.05rem; min-height: 46px; border-radius: 5px; text-decoration: none; font-weight: 750; font-size: .92rem; border: 1px solid transparent; }
.button-primary { background: #a3efdc; color: var(--deep); }
.button-primary:hover { background: #c2fff1; }
.button-quiet { color: #f0faf9; border-color: #a4d5d376; background: #102e3c70; }
.button-quiet:hover { border-color: var(--aqua); }
.signal-icon { width: 9px; height: 9px; background: var(--aqua); border-radius: 50%; box-shadow: 0 0 0 4px #59e1ca2a; margin-right: .22rem; }
.photo-credit { position: absolute; right: 0; bottom: 16px; color: #e1edec; font-size: .74rem; background: #081e2bd9; padding: 4px 9px; border-radius: 3px; }
.photo-credit span { margin-inline: .16rem; }
.baseline-bar { background: #102e3d; color: #eaf3f2; border-top: 1px solid #b2e2db2f; }
.baseline-inner { display: grid; grid-template-columns: 1.18fr repeat(3, 1fr); min-height: 104px; align-items: stretch; }
.baseline-inner > * { padding: 16px 22px; margin: 0; border-left: 1px solid #b2e2db26; display: flex; flex-direction: column; justify-content: center; }
.baseline-inner > :first-child { padding-left: 0; border-left: 0; }
.baseline-label strong { font-size: 1rem; }
.baseline-label span, .baseline-period { color: #bad4d4; font-size: .77rem; }
.baseline-value { color: #a4efdd; font-family: var(--display-font); font-size: clamp(1.55rem, 2.6vw, 2.36rem); line-height: 1.12; }
.baseline-name { color: #e5eeef; font-size: .82rem; font-weight: 650; margin-top: .16rem; }
.baseline-item { text-decoration: none; }
.baseline-item:hover .baseline-name { text-decoration: underline; }
.section { padding-block: clamp(50px, 6.6vw, 98px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .69fr); align-items: end; gap: 1.3rem 3.2rem; margin: 0 0 1.7rem; }
.section-head h2 { font-size: clamp(2.35rem, 4.2vw, 4.15rem); line-height: 1.04; margin: 0; }
.section-head > p { color: var(--muted); margin: 0 0 .2rem; max-width: 39rem; font-size: 1.02rem; }
.atlas-section { background: #f3f7f4; }
.economy-section { background: #fff; border-top: 1px solid var(--line); }
.live-section { background: #edf5f3; border-block: 1px solid var(--line); }
.decisions-section { background: #fff; }
.evidence-section { background: #f3f7f4; border-top: 1px solid var(--line); }
.site-footer { background: var(--deep); color: #edf5f3; padding-block: 26px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.footer-info { color: #b8d0d1; font-size: .79rem; }
.footer-info span { display: block; }
.footer-inner > a { font-size: .85rem; }
.noscript, .module-error { padding: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
@media (max-width: 980px) {
  .frame { width: calc(100% - 56px); }
  .header-inner { gap: 18px; }
  .header-link { display: none; }
  .site-header nav { margin-right: 0; }
}
@media (max-width: 680px) {
  .frame { width: calc(100% - 36px); }
  .header-inner { min-height: 58px; justify-content: space-between; }
  .nav-toggle { display: inline-flex; background: transparent; color: #f0faf8; border: 1px solid #759395; border-radius: 4px; padding: .32rem .65rem; font-weight: 700; font-size: .88rem; }
  .site-header nav { display: none; position: absolute; inset: 58px 0 auto; background: #081e2b; padding: 16px 18px 22px; border-bottom: 1px solid #71969b; }
  .site-header nav[data-open] { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
  .site-header nav a { padding-block: .28rem; }
  .hero-inner { padding: 55px 0 68px; min-height: 420px; }
  .hero h1 { font-size: clamp(2.65rem, 9.2vw, 4rem); }
  .hero::after { background: linear-gradient(90deg,#081e2bfb,#081e2b7a),linear-gradient(0deg,#081e2bd8,transparent); }
  .hero-image { background-position: 58% center; }
  .hero-summary { margin-block: 1.08rem 1.35rem; }
  .photo-credit { font-size: .68rem; }
  .baseline-inner { grid-template-columns: repeat(3, 1fr); }
  .baseline-inner > * { padding: 10px 9px 13px; }
  .baseline-inner > :first-child { grid-column: 1 / -1; padding: 9px 0 6px; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: .5rem; border-bottom: 1px solid #b2e2db26; }
  .baseline-inner > :nth-child(2) { border-left: 0; padding-left: 0; }
  .baseline-name { font-size: .75rem; line-height: 1.2; }
  .baseline-period { font-size: .68rem; }
  .section-head { grid-template-columns: 1fr; gap: .62rem; margin-bottom: 1.2rem; }
  .section-head > p { font-size: .98rem; }
  section[id] { scroll-margin-top: 74px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.economy-panel { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #fff; }
.economy-controls { padding: 18px 24px; display: grid; grid-template-columns: 1.25fr 1fr .65fr auto; align-items: end; gap: 13px; border-bottom: 1px solid var(--line); background: #f5f9f7; }
.economy-controls label { display: grid; gap: 5px; font-weight: 750; font-size: .84rem; }
.economy-controls select { appearance: none; color: var(--ink); background: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%232a535c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 17px; border: 1px solid #b9cecb; border-radius: 5px; padding: 9px 34px 9px 10px; min-height: 44px; width: 100%; }
.economy-download { border: 1px solid #007263; min-height: 44px; border-radius: 5px; color: #08594f; background: #e7f7f1; font-size: .9rem; font-weight: 750; padding: 8px 14px; }
.economy-download:hover { background: #cceee3; }
.economy-summary { display: flex; flex-wrap: wrap; column-gap: 36px; row-gap: 10px; padding: 23px 24px 0; }
.economy-summary > div { display: grid; }
.economy-summary span { font-size: .85rem; color: var(--muted); font-weight: 650; }
.economy-summary strong { font: 400 2.4rem/1.08 var(--display-font); color: #006e65; }
.economy-summary > div + div strong { color: #89570d; }
.economy-chart-layout { display: grid; grid-template-columns: minmax(0, 2.36fr) minmax(0, 1fr); padding: 7px 24px 17px; align-items: stretch; gap: 15px; }
.economy-chart { margin: 0; min-width: 0; align-self: center; }
.economy-plot { display: block; width: 100%; overflow: visible; }
.economy-plot text { font: 13px var(--body-font); fill: #405f66; }
.plot-grid { stroke: #e0eae7; stroke-width: 1; }
.plot-cursor { stroke: #779a98; stroke-dasharray: 3 4; }
path.plot-sefton, path.plot-peer { stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
path.plot-sefton { stroke: #00786c; }
path.plot-peer { stroke: #a76b19; stroke-dasharray: 6 5; }
circle.plot-sefton { fill: #00786c; stroke: #fff; stroke-width: 1; }
circle.plot-peer { fill: #a76b19; stroke: #fff; stroke-width: 1; }
.economy-chart figcaption { display: flex; flex-wrap: wrap; gap: 8px 21px; justify-content: center; color: var(--muted); font-size: .85rem; }
.economy-chart figcaption > span { display: inline-flex; align-items: center; gap: 7px; }
.economy-chart figcaption i { display: block; width: 22px; border-top: 2px solid #00786c; }
.economy-chart figcaption > span + span i { border-top: 2px dashed #a76b19; }
.economy-definition { padding: 16px 19px; background: #f3f8f6; border: 1px solid #dfebe7; border-radius: 6px; align-self: center; overflow-wrap: anywhere; }
.economy-definition h3, .snapshot-header h3 { margin: 0; font-size: 1.19rem; line-height: 1.25; }
.economy-definition p { color: var(--muted); font-size: .88rem; margin: .48rem 0; }
.economy-definition a, .snapshot-card a { color: #006b60; font-size: .86rem; font-weight: 750; }
.economy-table { border-top: 1px solid var(--line); padding: 12px 24px; }
.economy-table summary { cursor: pointer; color: #006359; font-size: .9rem; font-weight: 750; }
.economy-table > div { overflow-x: auto; }
.economy-table table { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.economy-table caption { text-align: left; font-weight: 750; padding-bottom: 5px; }
.economy-table th, .economy-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid #e4eae9; }
.snapshot-header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 35px; margin-bottom: 12px; }
.snapshot-header p { margin: 0; color: var(--muted); font-size: .87rem; }
.snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 13px; }
.snapshot-card { border: 1px solid var(--line); border-radius: 8px; padding: 17px 19px; background: #f7faf8; }
.snapshot-card h4 { font: 400 1.85rem/1.12 var(--display-font); margin: 0 0 .35rem; }
.snapshot-card p { color: var(--muted); font-size: .88rem; margin: .3rem 0; }
.snapshot-card dl { margin: .75rem 0; }
.snapshot-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px solid #dce7e3; }
.snapshot-card dt { color: var(--muted); font-size: .88rem; }
.snapshot-card dd { margin: 0; font-weight: 750; white-space: nowrap; }
@media (max-width: 950px) {
  .economy-controls { grid-template-columns: 1fr 1fr; }
  .economy-chart-layout { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 530px) {
  .economy-controls, .economy-chart-layout { padding-inline: 13px; }
  .economy-controls { grid-template-columns: 1fr 1fr; gap: 10px; }
  .economy-controls label:first-child { grid-column: 1 / -1; }
  .economy-download { grid-column: 1 / -1; justify-self: start; }
  .economy-summary, .economy-table { padding-inline: 13px; }
  .economy-summary { column-gap: 22px; }
  .economy-plot text { font-size: 17px; }
  .snapshot-header { flex-wrap: wrap; }
}
.economy-definition .economy-release { font-size: .8rem; font-weight: 650; margin-top: .66rem; }
.snapshot-tools { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; align-items: end; gap: 12px; margin-bottom: 12px; }
.snapshot-tools p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 33rem; }
.snapshot-tools label { display: grid; gap: 4px; font-size: .84rem; font-weight: 750; }
.snapshot-tools select { color: var(--ink); background: #fff; border: 1px solid #b9cecb; border-radius: 5px; min-height: 40px; padding: 4px 8px; }
.snapshot-source { display: inline-block; margin-top: 12px; color: #006b60; font-size: .86rem; font-weight: 750; }
@media (max-width: 680px) {
  .snapshot-tools { grid-template-columns: 1fr 1fr; }
  .snapshot-tools p { grid-column: 1 / -1; }
}
