@import url('fonts.css');

:root {
  --ink: #10251e;
  --ink-2: #17382d;
  --paper: #f3f2e9;
  --paper-2: #e7eadf;
  --lime: #d8f19c;
  --green: #67865b;
  --muted: #65736a;
  --line: #cbd2c6;
  --danger: #f07d5f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', Arial, sans-serif; font-size: 17px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #91bd55; outline-offset: 5px; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', Arial, sans-serif; font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
em { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.055em; }

.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--lime); color: var(--ink); }
.skip:focus { top: 12px; }
.progress { position: fixed; z-index: 90; top: 0; left: 0; width: 0; height: 3px; background: var(--lime); }

.deadline { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 9px 5%; background: var(--lime); color: var(--ink); font-size: 13px; letter-spacing: .015em; position: relative; z-index: 21; }
.deadline > span { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 700; }
.deadline strong { font-weight: 700; }
.deadline strong b { font: inherit; }
.deadline strong i { padding: 0 7px; font-style: normal; opacity: .45; }
.deadline a { margin-left: 12px; border-bottom: 1px solid currentColor; }
.deadline a span { padding-left: 10px; }

.site-header { height: 88px; position: absolute; top: 42px; left: 0; z-index: 20; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 5.5%; color: white; }
.brand, .footer-brand { display: flex; align-items: center; gap: 13px; font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.brand { font-size: 20px; }
.mark { display: inline-block; font-family: Arial, sans-serif; font-size: 60px; font-weight: 400; line-height: .65; }
.brand-dot { color: var(--lime); }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
nav a:not(.nav-cta) { position: relative; }
nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--lime); transition: right .25s; }
nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 19px; border: 1px solid #ffffff80; border-radius: 30px; }
.menu-toggle { display: none; color: white; }

.hero { min-height: 760px; height: calc(100svh - 42px); max-height: 1050px; position: relative; overflow: hidden; color: white; background: var(--ink); }
.hero-photo, .hero-overlay { position: absolute; inset: 0; }
.hero-photo { background: url('hero-v4.jpg') 50% 52% / cover; transform: scale(1.015); }
.hero-overlay { background: linear-gradient(180deg, rgba(6, 21, 16, .72) 0%, rgba(6, 21, 16, .18) 43%, rgba(6, 21, 16, .92) 100%), linear-gradient(90deg, rgba(9, 30, 23, .48), transparent 68%); }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 90px 8% 55px; }
.eyebrow, .section-index { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.green { color: #5f7f52; }
.hero h1 { max-width: 1240px; margin: 28px 0 60px; font-size: clamp(58px, 7.7vw, 124px); }
.hero h1 em { color: var(--lime); }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 40px; max-width: 1140px; }
.hero-bottom > p { max-width: 460px; font-size: 20px; }
.hero-bottom strong { color: var(--lime); font-weight: 600; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 21px; font-weight: 600; font-size: 14px; }
.button-primary { background: var(--lime); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--lime); }
.button-outline { border: 1px solid #6f8579; color: var(--lime); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid #ffffff66; font-size: 13px; }
.text-link span { padding-left: 20px; color: var(--lime); }
.hero-caption { position: absolute; z-index: 2; left: 8%; bottom: 18px; color: #bcc9c1; font-size: 10px; letter-spacing: .025em; }
.hero-caption a { text-decoration: underline; text-decoration-color: #ffffff4d; text-underline-offset: 3px; }
.hero-caption a:hover { color: white; }

.section { padding: 105px 8%; }
.section-index { margin-bottom: 62px; color: var(--muted); }
.section-index.light { color: #9fb2a5; }
.dark { background: var(--ink); color: var(--paper); }

.intro { background: #e7eadf; }
.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10%; align-items: end; }
.intro h2 { font-size: clamp(45px, 5.8vw, 84px); }
.intro h2 em { color: var(--green); }
.intro-copy { max-width: 520px; padding-bottom: 8px; }
.intro-copy p { font-size: 19px; }
.intro-copy p + p { margin-top: 20px; }
.intro-copy .intro-callout { margin-top: 42px; padding-top: 25px; border-top: 1px solid #bec9b8; font: 500 26px/1.3 'Manrope', Arial; letter-spacing: -.035em; }
.intro-callout strong { color: #577747; font-weight: 600; }

.statement-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; align-items: end; }
.statement h2 { margin-top: 20px; font-size: clamp(47px, 6vw, 88px); }
.statement h2 em { color: var(--green); }
.statement-copy { max-width: 620px; }
.statement-copy p + p { margin-top: 22px; }
.statement-copy .lead { font: 500 clamp(22px, 2.1vw, 31px)/1.35 'Manrope', Arial; letter-spacing: -.035em; }
.statement-copy .recommendation-note { max-width: 540px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.pledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px; border-top: 1px solid var(--line); }
.pledge-grid article { min-height: 265px; padding: 26px 30px 25px 0; border-right: 1px solid var(--line); }
.pledge-grid article + article { padding-left: 30px; }
.pledge-grid article:last-child { border-right: 0; }
.pledge-grid article > span { font-size: 11px; color: var(--green); letter-spacing: .12em; }
.pledge-grid h3 { margin: 32px 0 16px; font-size: 29px; }
.pledge-grid p { font-size: 15px; color: #4e5d54; }

.impact-heading, .places-heading, .costs-heading, .form-heading { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10%; align-items: end; }
.impact-heading h2, .places-heading h2, .costs-heading h2, .form-heading h2 { font-size: clamp(42px, 5.6vw, 82px); }
.impact-heading h2 em, .costs-heading h2 em { color: var(--lime); }
.impact-heading > p, .costs-heading > p { color: #c2cfc6; max-width: 430px; }
.impact-stage { position: relative; min-height: 550px; margin-top: 55px; overflow: hidden; border: 1px solid #4b6659; isolation: isolate; }
.impact-photo { position: absolute; inset: 0; background: url('hero-v4.jpg') center 52% / cover; filter: saturate(.9); transition: filter .6s, transform .8s; }
.impact-stage.active .impact-photo { filter: saturate(.55) brightness(.65); transform: scale(1.015); }
.impact-stage::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 25, 18, .84), rgba(7, 25, 18, .18) 62%, rgba(7, 25, 18, .5)); }
.scar { position: absolute; z-index: 2; left: -8%; right: -8%; top: 70%; height: 84px; opacity: 0; transform: rotate(-2.2deg) translateY(40px); transition: .6s; }
.scar span { display: block; height: 100%; background: linear-gradient(#a9aba2 0 10%, #3d4341 10% 42%, #252b2a 42% 58%, #3d4341 58% 90%, #a9aba2 90%); box-shadow: 0 9px 25px #0009; }
.scar span::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #e8dfbd; }
.impact-stage.active .scar { opacity: .78; transform: rotate(-2.2deg) translateY(0); }
.impact-message { position: relative; z-index: 3; width: 52%; padding: 62px; }
.impact-message > span { color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.impact-message strong { display: block; margin: 28px 0 22px; font: 500 clamp(38px, 4vw, 62px)/1.1 'Manrope', Arial; letter-spacing: -.055em; }
.impact-message p { max-width: 480px; color: #dce6df; }
.impact-meter { position: absolute; z-index: 3; right: 40px; top: 36px; display: flex; align-items: center; gap: 13px; }
.impact-meter > span { color: var(--lime); font: 500 70px/1 'Manrope'; letter-spacing: -.08em; }
.impact-meter small { color: #dce6df; font-size: 11px; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }
.impact-controls { display: grid; grid-template-columns: repeat(5, 1fr); }
.impact-controls button { display: flex; flex-direction: column; gap: 16px; min-height: 108px; padding: 18px; text-align: left; border: 1px solid #4a6256; border-top: 0; color: #c6d3ca; }
.impact-controls button + button { border-left: 0; }
.impact-controls button span { font-size: 11px; color: #91a297; }
.impact-controls button[aria-pressed="true"] { color: var(--ink); background: var(--lime); }
.impact-controls button[aria-pressed="true"] span { color: var(--ink); }
.micro-note { margin-top: 16px; color: #9fb2a5; font-size: 11px; }

.places-heading h2 { max-width: 720px; }
.places-heading > p { max-width: 420px; }
.place-explorer { display: grid; grid-template-columns: .85fr 1.15fr; margin-top: 58px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.place-list { padding: 14px 0; border-right: 1px solid var(--line); }
.place-list button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 17px 22px 17px 0; text-align: left; border-bottom: 1px solid #dfe3da; font: 500 18px/1.3 'Manrope'; letter-spacing: -.025em; }
.place-list button:last-child { border-bottom: 0; }
.place-list button span { font: 700 10px/1 'DM Sans'; letter-spacing: .08em; color: var(--muted); }
.place-list button[aria-selected="true"] { color: #577747; }
.place-list button[aria-selected="true"]::before { content: '→'; color: #6e924e; margin-right: 7px; }
.place-panel { padding: 48px 7%; background: #e8ebdf; min-height: 520px; }
.place-panel h3 { margin: 18px 0 24px; font-size: clamp(36px, 4vw, 58px); }
.place-lead { max-width: 660px; font: 500 23px/1.4 'Manrope'; letter-spacing: -.03em; }
.place-panel ul { margin: 30px 0 35px; padding-left: 19px; max-width: 680px; }
.place-panel li { padding-left: 8px; }
.place-panel li + li { margin-top: 9px; }
.copy-place { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-weight: 600; font-size: 14px; }

.domino { background: var(--lime); }
.domino-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; align-items: center; }
.domino h2 { font-size: clamp(42px, 5.5vw, 78px); }
.domino h2 em { color: #577747; }
.domino-copy > p { margin: 30px 0; max-width: 570px; }
.network { position: relative; min-height: 680px; background: var(--paper); border: 1px solid #9bac77; overflow: hidden; }
.north-marker { position: absolute; z-index: 5; left: 22px; top: 18px; color: var(--muted); font: 700 11px/1 'DM Sans', Arial; letter-spacing: .12em; }
.node { position: absolute; z-index: 4; width: 145px; min-height: 75px; display: flex; flex-direction: column; justify-content: center; padding: 13px; background: var(--paper); border: 1px solid #829a60; transition: opacity .55s, transform .55s, filter .55s; }
.node small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.node strong { font: 600 17px/1.2 'Manrope'; }
.node-srebrna { left: 8%; top: 4%; }
.node-bardo { left: 23%; top: 18%; }
.node-kalwaria { left: 56%; top: 27%; }
.node-laszczowa { left: 8%; top: 47%; background: var(--ink); color: var(--lime); }
.node-klodzka { left: 51%; top: 61%; }
.node-przelecz { right: 3%; top: 74%; }
.node-jawornik { right: 22%; bottom: 2%; }
.network-line { position: absolute; z-index: 1; height: 2px; transform-origin: left; background: #758c62; transition: opacity .45s, background .45s; }
.line-north { width: 20.5%; left: 18.7%; top: 9.4%; transform: rotate(43deg); }
.line-a { width: 35%; left: 33%; top: 25%; transform: rotate(18deg); }
.line-b { width: 52%; left: 18%; top: 53%; transform: rotate(-23deg); }
.line-c { width: 48%; left: 18%; top: 53%; transform: rotate(17deg); }
.line-d { width: 28%; left: 62%; top: 66.5%; transform: rotate(28deg); }
.line-south { width: 23.3%; left: 86.2%; top: 79.4%; transform: rotate(146deg); }
.network-cut { position: absolute; z-index: 6; left: -8%; right: -8%; top: 48%; height: 88px; display: grid; place-items: center; opacity: 0; transform: rotate(-4deg) scaleX(.7); background: rgba(240, 125, 95, .88); transition: .6s; }
.network-cut span { color: var(--ink); font: 800 21px 'Manrope'; transform: rotate(4deg); }
.network-result { position: absolute; z-index: 7; left: 25px; right: 25px; bottom: 18px; opacity: 0; transform: translateY(12px); transition: .5s .2s; font-weight: 700; }
.network.cut .network-cut { opacity: 1; transform: rotate(-4deg) scaleX(1); }
.network.cut .node:not(.node-laszczowa) { opacity: .22; filter: grayscale(1); transform: translateY(8px); }
.network.cut .network-line { opacity: .16; background: var(--danger); }
.network.cut .network-result { opacity: 1; transform: translateY(0); }

.costs-heading { margin-bottom: 55px; }
.cost-builder { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid #4d6559; }
.cost-options { display: grid; grid-template-columns: 1fr 1fr; padding: 25px; border-right: 1px solid #4d6559; }
.cost-options button { min-height: 71px; display: flex; align-items: center; gap: 13px; padding: 15px; text-align: left; border-bottom: 1px solid #435b50; color: #d1dcd5; }
.cost-options button:nth-last-child(-n+2) { border-bottom: 0; }
.cost-options button span { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #6c8477; border-radius: 50%; color: var(--lime); }
.cost-options button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.cost-options button[aria-pressed="true"] span { color: var(--ink); border-color: var(--ink); transform: rotate(45deg); }
.cost-output { min-height: 570px; padding: 38px; display: flex; flex-direction: column; align-items: flex-start; }
.cost-number { color: var(--lime); font: 500 104px/1 'Manrope'; letter-spacing: -.09em; }
.cost-label { color: #bdcbc2; font-size: 14px; }
.generated-cost { margin: 35px 0; padding-top: 28px; border-top: 1px solid #4d6559; color: #edf0e8; font-size: 17px; }
.generated-cost { white-space: pre-line; }
.cost-random-note { margin: -17px 0 25px; color: #90a398; font-size: 11px; }
.cost-actions { display: flex; align-items: center; gap: 24px; margin-top: auto; }
.cost-actions button { padding: 11px 0 6px; color: var(--lime); border-bottom: 1px solid var(--lime); }
.cost-actions button:disabled { opacity: .35; cursor: default; }

.submission { background: #e7eadf; scroll-margin-top: 80px; }
.submission-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10%; align-items: end; }
.submission-heading h2 { margin-top: 18px; font-size: clamp(43px, 5.6vw, 82px); }
.submission-heading h2 em { color: var(--green); }
.submission-heading > p { max-width: 540px; font-size: 18px; }
.official-form-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 55px; border-top: 1px solid #aeb9aa; }
.official-form-links a { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 25px 22px; border-bottom: 1px solid #aeb9aa; transition: background .2s; }
.official-form-links a + a { border-left: 1px solid #aeb9aa; }
.official-form-links a:hover { background: var(--lime); }
.official-form-links span { display: flex; flex-direction: column; }
.official-form-links strong { font: 600 20px/1.2 'Manrope'; }
.official-form-links small { margin-top: 5px; color: var(--muted); }
.official-form-links b { font-size: 24px; font-weight: 400; }
.submission-steps { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid #b9c3b5; }
.submission-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid #b9c3b5; }
.submission-steps li > span { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.submission-steps strong { font: 600 20px/1.3 'Manrope'; }
.submission-steps p { max-width: 900px; margin-top: 7px; color: #4f5f55; }
.submission-channels { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border: 1px solid #aeb9aa; }
.submission-channels > * { min-height: 185px; display: flex; flex-direction: column; padding: 24px; }
.submission-channels > * + * { border-left: 1px solid #aeb9aa; }
.submission-channels small { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.submission-channels strong { margin: 23px 0 9px; overflow-wrap: anywhere; font: 600 18px/1.3 'Manrope'; }
.submission-channels span { color: var(--muted); font-size: 13px; }
.submission-channels a span { margin-top: auto; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.submission-details { margin-top: 34px; border-top: 1px solid #aeb9aa; border-bottom: 1px solid #aeb9aa; }
.submission-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 4px; cursor: pointer; list-style: none; font: 600 20px/1.3 'Manrope'; }
.submission-details > summary::-webkit-details-marker { display: none; }
.submission-details > summary b { color: var(--green); font: 400 32px/1 'Manrope'; transition: transform .25s ease; }
.submission-details[open] > summary b { transform: rotate(45deg); }
.submission-details-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: #aeb9aa; }
.submission-details-body > section { padding: 32px; background: #f4f5ed; }
.submission-details-body h3 { margin: 13px 0 20px; font: 600 25px/1.25 'Manrope'; letter-spacing: -.025em; }
.submission-details-body ol { margin: 0; padding-left: 21px; color: #405047; }
.submission-details-body li + li { margin-top: 12px; }
.submission-details-body a { text-decoration: underline; text-underline-offset: 3px; }
.submission-note { margin-top: 20px; padding: 16px; background: #e7eadf; color: #405047; }
.submission-details-body .signature-caution { grid-column: 1 / -1; background: var(--ink); color: #dbe5de; }
.signature-caution .eyebrow { color: var(--lime); }
.signature-caution h3 { color: var(--paper); }
.signature-caution p + p { margin-top: 14px; }
.submission-source { margin-top: 24px; color: var(--muted); font-size: 12px; }
.submission-source a { text-decoration: underline; text-underline-offset: 3px; }
.submission.attention { animation: submission-pulse 1.8s ease-out; }
@keyframes submission-pulse { 0%, 22% { box-shadow: inset 0 0 0 8px var(--lime); } 100% { box-shadow: inset 0 0 0 0 transparent; } }

.memory { background: #e4e8da; }
.memory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.memory h2 { margin-top: 23px; font-size: clamp(42px, 5vw, 73px); }
.memory-copy > p:first-child { font-size: 19px; }
.memory blockquote { margin: 34px 0; padding: 25px 0 25px 27px; border-left: 3px solid #728c5a; font: 500 27px/1.4 'Manrope'; letter-spacing: -.035em; }
.memory-copy > p:last-child { color: #435148; }

.form-heading > div h2 { margin-top: 18px; }
.form-heading > p { max-width: 470px; }
.request-builder { display: grid; grid-template-columns: .72fr 1.28fr; margin-top: 56px; border: 1px solid var(--line); }
.request-controls { padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.request-controls label { margin: 15px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.request-controls label:first-child { margin-top: 0; }
.request-controls select { width: 100%; padding: 13px 38px 13px 13px; border: 1px solid #aebbac; border-radius: 0; background: #fff; }
.text-button { align-self: flex-start; margin-top: 27px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; }
.request-output { min-height: 460px; display: flex; flex-direction: column; padding: 48px; background: var(--ink); color: var(--paper); }
.request-output > .eyebrow { color: var(--lime); }
#request-text { margin: 38px 0; font: 500 clamp(24px, 2.5vw, 36px)/1.42 'Manrope'; letter-spacing: -.035em; }
.request-source { margin: -18px 0 28px; color: #90a398; font-size: 11px; letter-spacing: .04em; }
.request-actions { display: flex; align-items: center; gap: 24px; margin-top: auto; }
.request-actions span { color: #b7c7bd; max-width: 340px; font-size: 12px; }

.downloads { background: var(--paper-2); }
.downloads-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.downloads h2 { margin: 19px 0 27px; font-size: clamp(40px, 5vw, 72px); }
.downloads-grid > div:first-child > p:last-child { max-width: 560px; }
.download-list { border-top: 1px solid #aeb9aa; }
.download-list a { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 24px 4px; border-bottom: 1px solid #aeb9aa; transition: background .2s, padding .2s; }
.download-list a:hover { padding-left: 14px; background: var(--lime); }
.download-list strong, .download-list small { display: block; }
.download-list strong { font: 600 20px 'Manrope'; }
.download-list small { margin-top: 3px; color: var(--muted); }
.download-list b { font-size: 25px; font-weight: 400; }

.dialogue-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; }
.dialogue h2 { font-size: clamp(41px, 5.4vw, 78px); }
.dialogue-grid > div { color: #d2ddd6; }
.dialogue-grid > div p + p { margin-top: 20px; }
.dialogue .button { margin-top: 30px; }

.closing { background: var(--lime); padding-top: 80px; padding-bottom: 85px; }
.closing h2 { margin: 26px 0 34px; font-size: clamp(59px, 8.3vw, 126px); }
.closing h2 em { color: #587744; }
.closing > a { display: inline-flex; gap: 40px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid #5d784c; font-weight: 600; }

footer { padding: 70px 8% 35px; background: #0b1915; color: #d9e2da; }
.footer-brand { font-size: clamp(27px, 3.5vw, 53px); }
.footer-brand .mark { font-size: 70px; }
.footer-meta { display: grid; grid-template-columns: .65fr 1fr auto; gap: 7%; align-items: start; margin: 45px 0 35px; color: #9fb0a5; font-size: 12px; }
.footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.social-link { display: inline-flex; align-items: center; gap: 9px; color: #d9e2da; font-weight: 600; transition: color .2s ease; }
.social-link:hover, .social-link:focus-visible { color: var(--lime); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-meta button { padding-bottom: 5px; color: var(--lime); border-bottom: 1px solid var(--lime); font-size: 12px; }
footer details { padding-top: 22px; border-top: 1px solid #2d4339; color: #84978b; font-size: 11px; }
footer summary { cursor: pointer; }
footer details p { max-width: 850px; margin-top: 15px; }

#toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; opacity: 0; transform: translate(-50%, 25px); padding: 12px 21px; background: var(--lime); color: var(--ink); box-shadow: 0 8px 30px #0003; font-size: 13px; pointer-events: none; transition: .25s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1500px) {
  .section, footer { padding-left: max(8%, calc((100vw - 1280px) / 2)); padding-right: max(8%, calc((100vw - 1280px) / 2)); }
  .hero-copy { padding-left: max(8%, calc((100vw - 1280px) / 2)); padding-right: max(8%, calc((100vw - 1280px) / 2)); }
}

@media (max-width: 980px) {
  .deadline { gap: 10px; font-size: 11px; }
  .deadline a { margin-left: 2px; }
  .site-header { padding: 0 6%; }
  .menu-toggle { display: block; z-index: 22; padding: 8px 0; }
  nav { position: fixed; inset: 42px 0 0; z-index: 21; display: none; flex-direction: column; justify-content: center; gap: 28px; background: var(--ink); font: 500 26px 'Manrope'; }
  .menu-open nav { display: flex; }
  .nav-cta { border-color: #61786b; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: clamp(55px, 9vw, 90px); }
  .impact-controls { grid-template-columns: repeat(3, 1fr); }
  .impact-controls button + button { border-left: 1px solid #4a6256; }
  .impact-controls button:nth-child(n+4) { border-top: 1px solid #4a6256; }
  .domino-layout, .memory-grid, .dialogue-grid, .downloads-grid { grid-template-columns: 1fr; gap: 50px; }
  .network { min-height: 620px; }
  .cost-builder { grid-template-columns: 1fr; }
  .cost-options { border-right: 0; border-bottom: 1px solid #4d6559; }
  .cost-output { min-height: 430px; }
  .submission-channels { grid-template-columns: 1fr 1fr; }
  .submission-channels > * + * { border-left: 0; }
  .submission-channels > *:nth-child(even) { border-left: 1px solid #aeb9aa; }
  .submission-channels > *:nth-child(n+3) { border-top: 1px solid #aeb9aa; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 65px; }
  .deadline { min-height: 72px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 4px 12px; padding: 8px 5%; }
  .deadline > span { display: none; }
  .deadline strong { font-size: 10px; line-height: 1.5; }
  .deadline strong i { padding: 0 4px; }
  .deadline a { margin-left: 0; font-size: 10px; white-space: nowrap; }
  .site-header { top: 72px; height: 75px; }
  .brand { font-size: 16px; }
  .mark { font-size: 50px; }
  nav { inset: 72px 0 0; }
  .hero { height: calc(100svh - 72px); min-height: 720px; max-height: 930px; }
  .hero-copy { justify-content: flex-end; padding: 120px 7% 58px; }
  .hero h1 { margin: 22px 0 35px; font-size: clamp(48px, 13.2vw, 72px); }
  .hero-bottom { display: block; }
  .hero-bottom > p { font-size: 17px; }
  .hero-actions { margin-top: 28px; }
  .hero-caption { left: 7%; bottom: 10px; font-size: 8px; letter-spacing: 0; }
  .section { padding: 72px 7%; }
  .section-index { margin-bottom: 38px; }
  .intro-grid, .statement-grid, .impact-heading, .places-heading, .costs-heading, .form-heading, .request-builder { grid-template-columns: 1fr; gap: 32px; }
  .statement-copy .lead { font-size: 22px; }
  .pledge-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .pledge-grid article { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pledge-grid article + article { padding-left: 0; }
  .pledge-grid h3 { margin: 18px 0 12px; }
  .impact-stage { min-height: 520px; margin-top: 35px; }
  .impact-message { width: 100%; padding: 40px 26px; }
  .impact-message strong { font-size: 41px; }
  .impact-meter { top: auto; right: 20px; bottom: 24px; }
  .impact-meter > span { font-size: 58px; }
  .scar { top: 76%; height: 62px; }
  .impact-controls { grid-template-columns: 1fr 1fr; }
  .impact-controls button { min-height: 92px; }
  .impact-controls button:nth-child(n+3) { border-top: 1px solid #4a6256; }
  .place-explorer { grid-template-columns: 1fr; margin-top: 38px; }
  .place-list { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; padding: 0; scroll-snap-type: x mandatory; }
  .place-list button { flex: 0 0 78%; min-height: 82px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 0; scroll-snap-align: start; }
  .place-panel { padding: 35px 25px; min-height: 510px; }
  .place-lead { font-size: 21px; }
  .domino-layout { gap: 38px; }
  .network { min-height: 650px; }
  .node { width: 120px; }
  .north-marker { left: auto; right: 18px; }
  .node-srebrna { left: 12%; top: 4%; }
  .node-bardo { left: 18%; top: 19%; }
  .node-kalwaria { right: 3%; top: 27%; }
  .node-laszczowa { left: 3%; top: 47%; }
  .node-klodzka { left: 45%; top: 62%; }
  .node-przelecz { right: 2%; top: 75%; }
  .node-jawornik { right: 32%; bottom: 1%; }
  .line-north { width: 28%; left: 27%; top: 9.5%; transform: rotate(63deg); }
  .line-a { width: 48%; left: 31%; top: 26%; transform: rotate(16deg); }
  .line-b { width: 71%; left: 15%; top: 53%; transform: rotate(-28deg); }
  .line-c { width: 49%; left: 15%; top: 53%; transform: rotate(24deg); }
  .line-d { width: 32%; left: 60%; top: 68%; transform: rotate(44deg); }
  .line-south { width: 36%; left: 82%; top: 81%; transform: rotate(145deg); }
  .cost-options { grid-template-columns: 1fr; padding: 14px; }
  .cost-options button:nth-last-child(2) { border-bottom: 1px solid #435b50; }
  .cost-output { padding: 28px; }
  .cost-number { font-size: 88px; }
  .cost-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .submission-heading, .official-form-links, .submission-channels, .submission-details-body { grid-template-columns: 1fr; }
  .official-form-links a + a, .submission-channels > * + * { border-left: 0; }
  .submission-channels > *:nth-child(even) { border-left: 0; }
  .submission-channels > * + * { border-top: 1px solid #aeb9aa; }
  .submission-channels > * { min-height: 155px; }
  .submission-details-body .signature-caution { grid-column: auto; }
  .submission-details-body > section { padding: 27px 22px; }
  .memory blockquote { font-size: 23px; }
  .request-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .request-output { min-height: 500px; padding: 32px 25px; }
  .request-actions { align-items: flex-start; flex-direction: column; }
  .downloads-grid { gap: 40px; }
  .footer-meta { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand .mark { font-size: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
