/*
Theme Name: DECARBON EPC
Theme URI: https://decarbon.pl/
Author: DECARBON
Description: Dedykowany, responsywny motyw firmowy DECARBON — EPC dla biogazu i biometanu.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: decarbon-epc
*/

:root {
  --ink: #3f3933;
  --ink-deep: #2e2a26;
  --olive: #6f7f5d;
  --olive-deep: #46503e;
  --olive-dark: #343d30;
  --sand: #d8c8ad;
  --sand-light: #eee7dc;
  --paper: #f8f6f1;
  --white: #fff;
  --line: rgba(63, 57, 51, 0.17);
  --muted: #6f6b65;
  --display: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --ui: "Avenir Next", "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  --body: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(47, 42, 38, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; color: var(--white); background: var(--ink-deep); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 108px; }
.soft-section { background: #eeece6; }
.eyebrow { margin: 0 0 18px; color: var(--olive); font-family: var(--ui); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); }
.section-heading h2, .page-intro-grid h2, .about-manifest h2, .bankability-grid h2 { margin: 0; color: var(--ink-deep); font-size: clamp(2.2rem, 3.8vw, 4rem); font-weight: 500; letter-spacing: -.032em; line-height: 1.02; }
.section-heading > p:last-child { max-width: 690px; margin: 24px 0 0; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); gap: 80px; align-items: end; margin-bottom: 56px; }
.split-heading > p:last-child { margin: 0; }
.compact-heading { max-width: 820px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(248,246,241,.94); backdrop-filter: blur(18px); }
.header-inner { position: relative; display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 52px; height: 52px; }
.brand-copy { display: flex; flex-direction: column; gap: 6px; }
.brand-copy strong { color: var(--ink); font-family: var(--ui); font-size: 1.3rem; font-weight: 500; letter-spacing: .28em; line-height: 1; }
.brand-copy small { color: var(--olive); font-size: .47rem; font-weight: 700; letter-spacing: .12em; }
.desktop-nav { display: flex; align-items: center; gap: 27px; }
.desktop-nav > a:not(.nav-cta) { position: relative; font-size: .76rem; font-weight: 750; letter-spacing: .045em; }
.desktop-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--olive); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.desktop-nav > a:hover::after, .desktop-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 18px; border-radius: 2px; color: var(--white); background: var(--olive-deep); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; display: grid; min-height: 750px; overflow: hidden; color: var(--white); background: var(--olive-dark); isolation: isolate; }
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-media { background: url("assets/img/hero-decarbon.png") center/cover no-repeat; transform: scale(1.012); }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(35,35,29,.95) 0%, rgba(43,43,34,.76) 36%, rgba(43,43,34,.15) 68%), linear-gradient(0deg, rgba(26,27,22,.64), transparent 44%); }
.hero-inner { align-self: center; padding: 92px 0 170px; }
.hero-eyebrow { color: var(--sand); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.05rem, 5vw, 5.15rem); font-weight: 500; letter-spacing: -.035em; line-height: .99; }
.hero-lead { max-width: 670px; margin: 30px 0 0; color: rgba(255,255,255,.87); font-size: 1.08rem; line-height: 1.72; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 14px; padding: 0 23px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; transition: transform 180ms ease, background 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button svg, .text-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button-primary { color: var(--white); background: var(--olive); }
.button-primary:hover { background: #7e8f6a; }
.button-ghost { border-color: rgba(255,255,255,.5); color: var(--white); background: rgba(255,255,255,.05); }
.button-sand { color: var(--ink-deep); background: var(--sand); }
.hero-rail { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr 1.2fr; border-top: 1px solid rgba(255,255,255,.28); }
.hero-rail a { display: flex; min-height: 116px; flex-direction: column; justify-content: center; gap: 7px; padding: 0 30px; border-right: 1px solid rgba(255,255,255,.2); background: rgba(35,38,30,.42); backdrop-filter: blur(9px); }
.hero-rail a:first-child { border-left: 1px solid rgba(255,255,255,.2); }
.hero-rail span { color: var(--sand); font-family: var(--ui); font-size: .81rem; font-weight: 800; letter-spacing: .13em; }
.hero-rail small { color: rgba(255,255,255,.72); font-size: .74rem; }
.hero-rail .rail-secondary { background: rgba(35,38,30,.72); }

.core-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.core-service-card { position: relative; min-height: 530px; padding: 48px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 10px 45px rgba(63,57,51,.05); }
.service-topline { display: flex; align-items: center; justify-content: space-between; color: var(--olive); }
.service-topline svg { width: 58px; height: 58px; }
.service-number { color: var(--sand); font-family: var(--ui); font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.core-service-card h3 { margin: 48px 0 18px; color: var(--ink-deep); font-size: clamp(2.15rem, 3.4vw, 3.7rem); font-weight: 500; letter-spacing: -.035em; }
.core-service-card > p { margin: 0; color: var(--muted); line-height: 1.7; }
.core-service-card ul { display: grid; gap: 10px; margin: 30px 0 36px; padding: 0; list-style: none; }
.core-service-card li { position: relative; padding-left: 20px; font-size: .87rem; }
.core-service-card li::before { position: absolute; top: .45em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); content: ""; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--olive-deep); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.epc-band, .biomethane-flow { color: var(--white); background: var(--olive-dark); }
.section-heading-light h2 { color: var(--white); }
.section-heading-light .eyebrow { color: var(--sand); }
.section-heading-light > p:last-child { color: rgba(255,255,255,.7); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 58px 0 46px; padding: 0; border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); list-style: none; }
.process-grid li { min-height: 235px; padding: 31px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.process-grid span { color: var(--sand); font-size: .71rem; font-weight: 800; }
.process-grid h3 { margin: 42px 0 13px; font-family: var(--ui); font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; }
.process-grid p { margin: 0; color: rgba(255,255,255,.65); font-size: .84rem; line-height: 1.65; }

.home-proof { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.proof-panel, .quote-panel { min-height: 560px; border-radius: 14px; }
.proof-panel { padding: 58px; color: var(--white); background: var(--olive-deep); }
.proof-panel .eyebrow { color: var(--sand); }
.proof-panel h2 { margin: 0; font-size: clamp(2.25rem, 3.8vw, 4rem); font-weight: 500; line-height: 1.02; }
.proof-panel > p:not(.eyebrow) { color: rgba(255,255,255,.74); line-height: 1.75; }
.proof-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 35px 0 42px; }
.proof-tags span { padding: 11px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; font-size: .71rem; }
.text-link-light { color: var(--sand); }
.quote-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 58px 44px; border: 1px solid var(--line); background: var(--sand-light); }
.quote-panel blockquote { margin: 0; color: var(--ink-deep); font-family: var(--display); font-size: clamp(1.7rem, 2.7vw, 2.7rem); line-height: 1.16; }
.quote-panel p { margin: 0; color: var(--olive-deep); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.secondary-capabilities { border-top: 1px solid var(--line); }
.secondary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.secondary-grid article { display: flex; align-items: flex-start; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.55); }
.secondary-grid svg { width: 38px; min-width: 38px; color: var(--olive); }
.secondary-grid h3 { margin: 0 0 9px; font-family: var(--ui); font-size: 1rem; text-transform: uppercase; }
.secondary-grid p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.cta-section { display: flex; align-items: end; justify-content: space-between; gap: 50px; border-top: 1px solid var(--line); }
.cta-section h2 { max-width: 760px; margin: 0; color: var(--ink-deep); font-size: clamp(2.2rem, 3.7vw, 3.9rem); font-weight: 500; line-height: 1.02; }
.cta-actions { display: flex; min-width: 280px; flex-direction: column; align-items: flex-start; gap: 24px; }

.site-footer { padding-top: 72px; color: rgba(255,255,255,.75); background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 56px; padding-bottom: 70px; }
.brand-inverse .brand-copy strong { color: var(--white); }
.brand-inverse .brand-copy small { color: var(--sand); }
.footer-brand p { max-width: 300px; margin: 24px 0 0; color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.65; }
.footer-grid h2 { margin: 10px 0 24px; color: var(--sand); font-family: var(--ui); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-grid a { font-size: .84rem; }
.footer-contact address { margin-top: 6px; font-size: .77rem; font-style: normal; line-height: 1.55; }
.footer-contact p { margin: 0; font-size: .74rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.45); font-size: .67rem; }

.page-hero { position: relative; min-height: 570px; padding: 72px 0 94px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 82% 10%, rgba(216,200,173,.18), transparent 34%), linear-gradient(135deg, var(--olive-dark), #242a22); }
.page-hero-orbit { position: absolute; top: -260px; right: -120px; width: 720px; height: 720px; border: 1px solid rgba(216,200,173,.18); border-radius: 50%; }
.page-hero-orbit::before, .page-hero-orbit::after { position: absolute; border: 1px solid rgba(216,200,173,.12); border-radius: 50%; content: ""; }
.page-hero-orbit::before { inset: 90px; }
.page-hero-orbit::after { inset: 190px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 96px; color: rgba(255,255,255,.48); font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-hero .eyebrow { color: var(--sand); }
.page-hero h1 { position: relative; max-width: 960px; margin: 0; font-size: clamp(3rem, 5.5vw, 5.6rem); font-weight: 500; letter-spacing: -.035em; line-height: .99; }
.page-lead { position: relative; max-width: 780px; margin: 28px 0 0; color: rgba(255,255,255,.73); font-size: 1.06rem; line-height: 1.75; }

.page-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.rich-copy { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.rich-copy p { margin: 0 0 22px; }
.mini-service-list { display: grid; gap: 14px; }
.mini-service-list > a { display: grid; grid-template-columns: 64px 1fr 20px; gap: 22px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.mini-service-list > a > svg:first-child { width: 54px; color: var(--olive); }
.mini-service-list > a > svg:last-child { width: 20px; fill: none; stroke: var(--olive); }
.mini-service-list strong { display: block; margin-bottom: 8px; font-family: var(--ui); font-size: 1.16rem; }
.mini-service-list small { color: var(--muted); font-size: .77rem; line-height: 1.55; }
.scope-grid, .step-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.scope-grid article, .step-detail-grid article { min-height: 300px; padding: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.scope-grid article > span, .step-detail-grid article > span { color: var(--sand); font-size: 1.8rem; font-weight: 300; }
.scope-grid h3, .step-detail-grid h3 { margin: 64px 0 14px; font-family: var(--ui); font-size: .94rem; text-transform: uppercase; }
.scope-grid p, .step-detail-grid p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.two-column-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.feature-dark { min-height: 500px; padding: 54px; border-radius: 12px; color: var(--white); background: var(--olive-dark); }
.feature-dark .eyebrow { color: var(--sand); }
.feature-dark h2 { margin: 0; font-size: clamp(2.25rem, 3.8vw, 3.9rem); font-weight: 500; line-height: 1.02; }
.feature-dark > p:last-child { color: rgba(255,255,255,.69); line-height: 1.75; }
.check-panel { padding: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.check-panel h3 { margin: 0 0 35px; font-family: var(--ui); font-size: .95rem; text-transform: uppercase; }
.check-panel ul { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.check-panel li { position: relative; padding-left: 28px; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.check-panel li::before { position: absolute; left: 0; color: var(--olive); content: "✓"; font-weight: 900; }
.biomethane-flow ol { display: grid; grid-template-columns: repeat(6, 1fr); margin: 58px 0 0; padding: 0; border-left: 1px solid rgba(255,255,255,.2); list-style: none; }
.biomethane-flow li { display: flex; min-height: 220px; flex-direction: column; justify-content: space-between; padding: 26px; border: 1px solid rgba(255,255,255,.2); border-left: 0; }
.biomethane-flow li span { color: var(--sand); font-size: .69rem; font-weight: 800; }
.biomethane-flow li strong { font-size: .77rem; line-height: 1.4; text-transform: uppercase; }
.bankability-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.responsibility-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 54px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.responsibility-grid article { min-height: 255px; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.responsibility-grid h3 { margin: 0 0 58px; color: var(--olive-deep); font-family: var(--ui); font-size: .76rem; text-transform: uppercase; }
.responsibility-grid p { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.65; }
.complementary-band, .portfolio-note { color: var(--white); background: var(--ink-deep); }
.complementary-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; }
.complementary-inner h2, .portfolio-note h2 { margin: 0; font-size: clamp(2.2rem, 3.7vw, 3.8rem); font-weight: 500; line-height: 1.02; }
.complementary-inner .eyebrow, .portfolio-note .eyebrow { color: var(--sand); }
.complementary-inner .secondary-grid { grid-template-columns: 1fr; margin: 0; }
.complementary-inner .secondary-grid article { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.complementary-inner .secondary-grid p { color: rgba(255,255,255,.63); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-bar button { padding: 11px 15px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: transparent; cursor: pointer; font-size: .69rem; font-weight: 800; }
.filter-bar button:hover, .filter-bar button.active { border-color: var(--olive-deep); color: var(--white); background: var(--olive-deep); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-grid article { min-height: 270px; padding: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.project-grid span { color: var(--olive); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.project-grid h2 { margin: 66px 0 13px; font-size: 1.3rem; font-weight: 600; }
.project-grid p { margin: 0; color: var(--muted); font-size: .81rem; line-height: 1.65; }
.portfolio-note p:last-child { max-width: 820px; color: rgba(255,255,255,.65); line-height: 1.75; }
.about-manifest { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 54px; }
.team-grid article { display: grid; grid-template-columns: 120px 1fr; gap: 28px; min-height: 440px; padding: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.person-photo { width: 120px; height: 150px; overflow: hidden; border-radius: 7px; background: linear-gradient(150deg, var(--olive), var(--olive-dark)); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.person-mark { display: grid; width: 100%; height: 100%; place-content: center; color: var(--white); font-family: var(--display); font-size: 2rem; }
.team-grid h3 { margin: 0 0 20px; font-size: 1.4rem; }
.team-grid article p:not(.eyebrow) { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.team-grid article strong { display: block; margin-top: 42px; color: var(--olive-deep); font-size: .67rem; line-height: 1.55; text-transform: uppercase; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values-grid article { min-height: 330px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-grid span { color: var(--sand); font-size: .71rem; font-weight: 800; }
.values-grid h2 { margin: 88px 0 15px; font-family: var(--ui); font-size: .99rem; text-transform: uppercase; }
.values-grid p { color: var(--muted); font-size: .81rem; line-height: 1.65; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.contact-aside h2 { margin: 0 0 30px; font-size: 2rem; }
.contact-email { display: block; margin-bottom: 30px; color: var(--olive-deep); font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.contact-person { display: grid; gap: 4px; margin-bottom: 18px; }
.contact-person span { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-person a { color: var(--olive-deep); font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.contact-checklist { margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-checklist h3 { font-family: var(--ui); font-size: .76rem; text-transform: uppercase; }
.contact-checklist ul { display: grid; gap: 10px; padding-left: 18px; color: var(--muted); font-size: .81rem; line-height: 1.5; }
.contact-form { display: grid; gap: 20px; padding: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form label { display: grid; gap: 9px; color: var(--ink); font-size: .71rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--line); border-radius: 4px; outline: 0; color: var(--ink); background: var(--paper); }
.contact-form input, .contact-form select { height: 52px; padding: 0 15px; }
.contact-form textarea { padding: 15px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(111,127,93,.12); }
.contact-form .consent { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.contact-form .consent input { width: 18px; height: 18px; margin: 2px 0 0; }
.form-submit { display: flex; align-items: center; gap: 20px; }
.form-submit small { color: var(--muted); font-size: .67rem; line-height: 1.5; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 5px; font-size: .84rem; }
.form-status-success { color: #294023; background: #e4efdf; }
.form-status-error { color: #7a2c25; background: #f4e3df; }
.honeypot { position: absolute !important; left: -9999px !important; }
.entry-content { min-height: 320px; color: var(--muted); line-height: 1.75; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav > a:not(.nav-cta) { font-size: .68rem; }
  .split-heading { gap: 44px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / 4; }
  .responsibility-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid article { grid-template-columns: 90px 1fr; padding: 28px; }
  .person-photo { width: 90px; height: 130px; }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 36px, 720px); }
  .section { padding-block: 80px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 1px; background: var(--ink); }
  .mobile-nav { position: absolute; top: 75px; right: 0; display: flex; width: min(330px, calc(100vw - 36px)); flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .mobile-nav a { padding: 12px; font-size: .81rem; font-weight: 700; }
  .hero { min-height: 790px; }
  .hero-inner { align-self: start; padding-top: 108px; }
  .hero h1 { font-size: clamp(3rem, 9vw, 4.5rem); }
  .hero-media { background-position: 66% center; }
  .hero-rail { grid-template-columns: 1fr 1fr; }
  .hero-rail .rail-secondary { display: none; }
  .split-heading, .home-proof, .page-intro-grid, .complementary-inner, .bankability-grid, .about-manifest, .contact-layout { grid-template-columns: 1fr; gap: 46px; }
  .core-service-grid, .secondary-grid, .team-grid { grid-template-columns: 1fr; }
  .process-grid, .step-detail-grid, .scope-grid, .project-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .responsibility-grid { grid-template-columns: repeat(2, 1fr); }
  .two-column-feature { grid-template-columns: 1fr; }
  .biomethane-flow ol { grid-template-columns: repeat(3, 1fr); }
  .cta-section { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 76px; }
  .brand img { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 1.03rem; letter-spacing: .23em; }
  .brand-copy small { font-size: .39rem; }
  .mobile-nav { top: 68px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.65rem); }
  .hero-lead { font-size: .96rem; }
  .hero-rail a { min-height: 102px; padding: 0 14px; }
  .process-grid, .step-detail-grid, .scope-grid, .project-grid, .values-grid, .responsibility-grid { grid-template-columns: 1fr; }
  .core-service-card, .proof-panel, .quote-panel, .contact-form { min-height: auto; padding: 30px 27px; }
  .quote-panel { gap: 84px; }
  .page-hero { min-height: 500px; padding-top: 50px; }
  .breadcrumb { margin-bottom: 62px; }
  .page-hero h1 { font-size: clamp(2.6rem, 12vw, 3.7rem); }
  .biomethane-flow ol { grid-template-columns: 1fr 1fr; }
  .biomethane-flow li { min-height: 165px; }
  .team-grid article { grid-template-columns: 1fr; min-height: auto; }
  .person-photo { width: 100%; height: 220px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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