:root {
  --ink: #0e110f;
  --ink-2: #161a17;
  --paper: #f5f3ee;
  --white: #ffffff;
  --text: #16190f;
  --muted: #5d625a;
  --line: #d9d7cf;
  --accent: #f2b632;
  --danger: #e5484d;
  --violet: #a78bfa;
  --green: #1f5f4a;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--font); }
a { color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }

/* top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1500; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; color: #fff; background: rgba(10, 12, 11, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar .brand { font-weight: 800; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.topbar .links { display: flex; gap: 4px; overflow-x: auto; }
.topbar .links a { text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.topbar .links a:hover, .topbar .links a.active { background: rgba(255,255,255,.16); }

/* hero */
.hero { position: relative; height: 100vh; min-height: 560px; color: #fff; overflow: hidden; background: #111; }
.hero-map { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8,10,9,.88) 0%, rgba(8,10,9,.55) 38%, rgba(8,10,9,0) 70%); z-index: 400; }
.hero-text { position: absolute; z-index: 450; left: max(24px, 5vw); bottom: 7vh; max-width: 680px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 800; }
.hero-lede { font-size: clamp(18px, 2vw, 22px); margin: 0 0 24px; opacity: .92; }
.hero-stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 32px; margin-bottom: 26px; }
.hero-stats b { display: block; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 14px; opacity: .85; }
.scroll-cue { display: inline-block; background: var(--accent); color: #111; font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 999px; }
.hero-credit { position: absolute; z-index: 450; right: 16px; bottom: 6px; margin: 0; font-size: 11px; opacity: .7; }
.hero .leaflet-control-attribution { display: none; }

/* chapter = full-screen deal */
.chapter { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 520px); background: var(--ink); color: #f1f2ee; border-top: 1px solid #000; }
.chapter .cmap { position: sticky; top: 0; height: 100vh; min-height: 560px; }
.chapter .panel { padding: 96px 36px 56px; background: var(--ink-2); }
.chapter .num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--dc); text-transform: uppercase; }
.chapter h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; margin: 8px 0 12px; font-weight: 800; }
.chapter .short { font-size: 19px; color: #c9cdc6; margin: 0 0 24px; }
.bigfig { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #2b302c; border: 1px solid #2b302c; border-radius: var(--radius); overflow: hidden; margin: 0 0 24px; }
.bigfig div { background: var(--ink-2); padding: 16px; }
.bigfig b { display: block; font-size: 30px; line-height: 1.05; font-weight: 800; color: var(--dc); font-variant-numeric: tabular-nums; }
.bigfig span { font-size: 13px; color: #a9aea6; }
.dl { margin: 0 0 20px; }
.dl dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #8f958c; margin-top: 12px; }
.dl dd { margin: 2px 0 0; font-weight: 600; }
.chapter ul.facts { padding-left: 20px; margin: 0 0 24px; }
.chapter ul.facts li { margin: 10px 0; color: #dfe2db; }
.chapter ul.facts b { color: #fff; }
.chapter h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #8f958c; margin: 28px 0 10px; }
.schemes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.schemes button { padding: 0; border: 1px solid #333a34; border-radius: 10px; overflow: hidden; background: #000; cursor: zoom-in; color: #ddd; text-align: left; font: inherit; }
.schemes img { display: block; width: 100%; aspect-ratio: 680/434; object-fit: cover; }
.schemes span { display: block; font-size: 12px; padding: 6px 8px; line-height: 1.35; }
.schemes span b { font-family: ui-monospace, Menlo, monospace; font-weight: 600; }
.tl { list-style: none; padding: 0; margin: 0; border-left: 2px solid #333a34; }
.tl li { position: relative; padding: 2px 0 12px 18px; }
.tl li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--dc); }
.tl a { color: #f1f2ee; text-decoration: none; }
.tl a:hover { text-decoration: underline; }
.tl .d { font-size: 13px; color: #8f958c; font-variant-numeric: tabular-nums; }
.vote { font-size: 12px; color: #a9aea6; }
.parcel-label { background: rgba(0,0,0,.72); color: #fff; border: 0; border-radius: 6px; font: 600 12px var(--font); padding: 3px 7px; box-shadow: none; }
.parcel-label::before { display: none; }
.chapter .leaflet-control-attribution { font-size: 10px; }

/* generic blocks */
.block { padding: 110px 24px; }
.block .inner { max-width: 1100px; margin: 0 auto; }
.block h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 28px; font-weight: 800; max-width: 22ch; }
.block.dark { background: #15121f; color: #efeaff; }
.block.light { background: #fff; }
.lead { font-size: clamp(19px, 1.7vw, 23px); max-width: 62ch; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 32px 0; }
.metric { border-radius: var(--radius); padding: 18px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.block:not(.dark) .metric { background: #fff; border-color: var(--line); }
.metric b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1; color: var(--violet); font-variant-numeric: tabular-nums; }
.metric span { font-size: 14px; opacity: .8; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin: 36px 0; }
.quote { margin: 0; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.quote blockquote { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.45; }
.quote figcaption { font-size: 14px; opacity: .75; }
.quote figcaption a { color: var(--violet); }
.why { counter-reset: q; list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.why li { counter-increment: q; padding: 22px 22px 22px 74px; position: relative; border-radius: var(--radius); background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.3); }
.why li::before { content: counter(q); position: absolute; left: 20px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--violet); color: #15121f; font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.why strong { display: block; font-size: 20px; line-height: 1.3; margin-bottom: 6px; color: #fff; }
.why p { margin: 0; opacity: .8; }
.vote-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pill { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.pill.y { background: rgba(229,72,77,.25); }
.pill.a { background: rgba(255,255,255,.08); }
.villages { display: grid; gap: 6px; margin: 20px 0; max-width: 860px; }
.vbar { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; font-size: 15px; }
.vbar .track { height: 26px; border-radius: 6px; background: rgba(255,255,255,.07); position: relative; }
.vbar .fill { height: 100%; border-radius: 6px; background: var(--violet); }
.vbar .v { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.aport-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 24px 0; }
.aport-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.aport-photos .mini { height: 300px; }
.aport-photos figcaption { padding: 10px 14px; font-size: 14px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; max-height: 520px; overflow-y: auto; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); }
details.more > summary { cursor: pointer; font-weight: 700; margin: 16px 0; color: var(--violet); }

/* finance */
.bars { display: grid; gap: 12px; margin: 28px 0; }
.bar { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: 16px; align-items: center; font-size: 15px; }
.bar .track { height: 44px; border-radius: 8px; background: #e7e4dc; position: relative; overflow: hidden; }
.bar .fill { height: 100%; background: var(--bc); }
.bar .v { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.callout { border-left: 6px solid var(--danger); padding: 18px 24px; margin: 36px 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.4; background: #fff; max-width: 60ch; }
.flow { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; max-width: 900px; }
.flow li { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.flow .y { font-weight: 800; color: var(--muted); }
.flow .m { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.flow .m.out { color: #c2272d; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 16px; }

/* register */
.controls { position: sticky; top: 54px; z-index: 500; background: #fff; padding: 12px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.chip .n { opacity: .6; margin-left: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); min-width: 140px; }
.field.grow { flex: 1 1 240px; }
.field input, .field select { font: inherit; font-size: 15px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; width: 100%; }
.count { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; border-left: 5px solid var(--c, #4a5568); }
.card > summary { list-style: none; cursor: pointer; padding: 16px 18px; }
.card > summary::-webkit-details-marker { display: none; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tag { border-radius: 999px; padding: 2px 10px; font-weight: 600; background: var(--cs, #eceff3); color: var(--c, #4a5568); }
.kind { border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.card h3 { margin: 6px 0 0; font-size: 18px; line-height: 1.35; }
.card .facts-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.body { padding: 0 18px 18px; border-top: 1px dashed var(--line); }
.body p { margin: 12px 0; }
.body h4 { margin: 14px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.body blockquote { margin: 12px 0; padding: 8px 14px; border-left: 3px solid var(--line); color: var(--muted); font-style: italic; }
.props { width: 100%; border-collapse: collapse; font-size: 14px; }
.props th, .props td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.props td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn { display: inline-block; border: 1px solid var(--green); color: var(--green); background: transparent; border-radius: 8px; padding: 6px 12px; text-decoration: none; font: inherit; font-size: 14px; cursor: pointer; }
.btn:hover { background: #e3efe9; }
.note { font-size: 14px; background: #eceff3; border-radius: 8px; padding: 8px 12px; }
.names { font-size: 14px; color: var(--muted); }
.related a { margin-right: 10px; color: var(--green); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.t-pv { --c: #9a6511; --cs: #fbf0dc; }
.t-hydrogen, .t-storage { --c: #2b6cb0; --cs: #e3eef9; }
.t-aport { --c: #6b46c1; --cs: #ede7fb; }
.t-company { --c: #9b2c2c; --cs: #f9e5e5; }
.t-other { --c: #4a5568; --cs: #eceff3; }
:target { scroll-margin-top: 220px; }
.card:target { outline: 3px solid var(--accent); }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: grid; place-items: center; z-index: 3000; padding: 24px; cursor: zoom-out; }
.lightbox figure { margin: 0; max-width: 1400px; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 8px; display: block; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; font-size: 15px; }

.leaflet-popup-content { font: 14px/1.45 var(--font); margin: 10px 12px; }
.pop b { display: block; font-size: 15px; }

.site-footer { background: var(--ink); color: #b9beb6; padding: 40px 24px; font-size: 14px; }
.site-footer .inner { max-width: 1100px; margin: 0 auto; }
.site-footer a { color: #fff; }

@media (max-width: 900px) {
  .topbar { padding: 10px 14px; }
  .topbar .brand { display: none; }
  .chapter { grid-template-columns: 1fr; }
  .chapter .cmap { position: relative; height: 62vh; min-height: 360px; }
  .chapter .panel { padding: 28px 16px 40px; }
  .hero-text { left: 16px; right: 16px; bottom: 6vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,10,9,.92) 0%, rgba(8,10,9,.5) 55%, rgba(8,10,9,.1) 100%); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
  .hero-stats b { font-size: 22px; }
  .hero-stats span { font-size: 12px; }
  .block { padding: 72px 16px; }
  .bar { grid-template-columns: 1fr; gap: 4px; }
  .vbar { grid-template-columns: 110px 1fr; }
  .flow li { grid-template-columns: 52px 1fr; }
  .flow .m { grid-column: 2; }
  .why { grid-template-columns: 1fr; }
  .controls { top: 48px; }
}

/* about, opinion, decision pages */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px 32px; }
.about-grid h3 { font-size: 18px; margin: 0 0 6px; }
.about-grid p { margin: 0; color: #3c4039; }
.about-grid a, .prose a, .lead a { color: var(--green); }
.updated { margin-top: 28px; font-size: 14px; color: var(--muted); }
.opinion-flag { display: inline-block; background: #fff3d6; border: 1px solid #f0d58a; color: #6b4e00; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.q-note { font-size: 15px; opacity: .8; margin: 0 0 8px; }
.vlink { color: var(--violet); }
.block.dark .lead a, .block.dark .quote a { color: var(--violet); }
body.page { padding-top: 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.crumbs a { color: var(--green); }
.page-h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
.disclaimer { font-size: 14px; color: var(--muted); margin-top: 24px; }
.disclaimer a { color: var(--green); }
.vfocus { margin: 40px 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.vfocus h3 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 18px; }
.vfocus h4 { margin: 18px 0 12px; }
.vfocus .tl { --dc: var(--violet); }
.vfocus .tl li { color: #d9d3ee; line-height: 1.5; }
.vfocus .tl a.src { color: var(--violet); font-size: 13px; }
.vf-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.aport-photos.one { grid-template-columns: 1fr; margin: 18px 0; }
@media (max-width: 900px) { .vf-grid { grid-template-columns: 1fr; } }
.vf-grid.solo { grid-template-columns: 1fr; max-width: 860px; }
.aport-map { height: 560px; border-radius: var(--radius); overflow: hidden; margin: 8px 0 10px; }
.map-note { font-size: 14px; color: #b9b2d6; max-width: 860px; margin: 0 0 18px; }
@media (max-width: 700px) { .aport-map { height: 440px; } }
.sdelki-intro { padding: 100px 24px 40px; background: var(--ink); color: #f1f2ee; }
.sdelki-intro .inner { max-width: 1100px; margin: 0 auto; }
.sdelki-intro h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 800; }
.sdelki-intro p:not(.kicker) { max-width: 60ch; color: #b8bdb4; }
a.vbar { color: inherit; text-decoration: none; border-radius: 6px; padding: 2px 4px; margin: 0 -4px; }
a.vbar:hover, a.vbar:focus-visible { background: rgba(167,139,250,.14); }
a.vbar:hover span:first-child { text-decoration: underline; }
.vf-title { font-size: clamp(26px, 3.4vw, 40px); margin: 56px 0 0; }
.vfocus { scroll-margin-top: 64px; }
.vf-back { margin: 0 0 6px; font-size: 13px; }
.vf-back a { color: var(--violet); text-decoration: none; }
@media (min-width: 901px) { .vf-grid:not(.solo) { grid-template-columns: 1fr 1fr; } }
.vmap .leaflet-control-attribution { font-size: 9px; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metrics.small { grid-template-columns: repeat(2, 1fr); }
.metrics.small .metric b { font-size: clamp(24px, 2.6vw, 32px); }
.vmap-fig { margin: 0; }
.vmap { height: 380px; border-radius: var(--radius); overflow: hidden; background: #000; }
.vmap-fig figcaption { font-size: 13px; color: #b9b2d6; margin-top: 8px; }
@media (max-width: 700px) {
  .hero { height: auto; min-height: 0; }
  .hero-map { position: relative; height: 62vh; }
  .hero-shade { display: none; }
  .hero-text { position: relative; left: auto; bottom: auto; padding: 24px 16px 8px; }
  .hero-credit { position: static; padding: 0 16px 16px; }
  .vmap { height: 300px; }
}
