/* ==========================================================================
   Ecoenergetica theme
   Palette taken from the logo: lime #97CE01 + charcoal #262626.
   ========================================================================== */

@font-face { font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
	--lime: #97CE01;
	--lime-2: #B6E83A;
	--lime-3: #D9F58C;
	--lime-soft: #EEF7D6;
	--forest: #4A7400;
	--ink: #111410;
	--ink-2: #1A1F18;
	--charcoal: #262626;
	--text: #262626;
	--muted: #5E6559;
	--line: #E3E8DA;
	--mist: #F4F7EE;
	--white: #FFFFFF;
	--danger: #C0392B;

	--font-head: "Sora", "Manrope", system-ui, sans-serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 18px;
	--radius-sm: 12px;
	--radius-lg: 28px;
	--shadow: 0 1px 2px rgba(17,20,16,.04), 0 8px 24px -8px rgba(17,20,16,.12);
	--shadow-lg: 0 30px 60px -20px rgba(17,20,16,.25);
	--ease: cubic-bezier(.2,.7,.2,1);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }

/* ---------- Icons, eyebrows, tags ---------- */
.ee-icon { flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 2px; flex: none; }
.eyebrow--light { color: var(--lime-2); }
.eyebrow .ee-icon + * , .eyebrow:has(.ee-icon)::before { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--lime-soft); color: var(--forest); padding: 5px 10px; border-radius: 999px; text-decoration: none; }
.tag--dark { background: var(--ink); color: var(--lime-2); }
.tag--muted { background: #ECEEE8; color: var(--muted); }
.tag--xs { font-size: 10.5px; padding: 3px 8px; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--bg); color: var(--fg); border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn .ee-icon--arrow { transition: transform .25s var(--ease); }
.btn:hover .ee-icon--arrow { transform: translateX(4px); }
.btn--primary { --bg: var(--lime); --fg: var(--ink); box-shadow: 0 10px 30px -10px rgba(151,206,1,.7); }
.btn--primary:hover { --bg: var(--lime-2); box-shadow: 0 16px 34px -10px rgba(151,206,1,.8); }
.btn--ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.14); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--cabinet { --bg: var(--ink); --fg: #fff; padding: 8px 16px 8px 10px; font-size: 14px; }
.btn--cabinet .ee-icon { color: var(--lime); margin-left: 4px; }
.btn--cabinet:hover { --bg: var(--charcoal); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); transition: background .2s, transform .2s, color .2s; flex: none; }
.icon-btn:hover { background: var(--mist); }
.icon-btn--soft { background: var(--mist); }
.icon-btn--soft:hover { background: var(--lime-soft); color: var(--forest); }
.icon-btn--lime { background: var(--lime); }
.icon-btn--lime:hover { background: var(--ink); color: var(--lime); transform: rotate(45deg); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 15px; }
.link-arrow .ee-icon { transition: transform .25s var(--ease); color: var(--forest); }
.link-arrow:hover .ee-icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.7); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.topbar__contact, .topbar__right, .topbar__social { display: flex; align-items: center; gap: 22px; }
.topbar__contact > * { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ee-icon { color: var(--lime); }
.topbar__social { gap: 12px; }
.lang-switch { display: flex; gap: 2px; list-style: none; margin: 0; padding: 3px; background: rgba(255,255,255,.07); border-radius: 999px; }
.lang-switch a { display: block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .05em; }
.lang-switch .is-current a { background: var(--lime); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px -18px rgba(0,0,0,.25); background: rgba(255,255,255,.94); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 66px; }
.site-header__brand { flex: none; }
.custom-logo { max-height: 52px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.ee-wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.ee-mark { width: 46px; height: auto; fill: var(--lime); overflow: visible; }
.ee-wordmark__text { font-family: var(--font-head); font-weight: 750; font-size: 21px; letter-spacing: .01em; line-height: 1; }
.ee-wordmark__eco { color: var(--lime); }
.ee-wordmark--light { color: #fff; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px; color: var(--ink); font-weight: 650; font-size: 15px; text-decoration: none; position: relative; transition: color .2s; }
.primary-nav .menu > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px; }
.primary-nav .menu > li:hover > a::after, .primary-nav .current-menu-item > a::after, .primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .menu-item-has-children > a::before { content: ""; order: 2; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .5; }
.primary-nav .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); }
.primary-nav .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu, .primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.primary-nav .sub-menu a:hover { background: var(--mist); color: var(--forest); }
.primary-nav__mobile-extra, .nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line); padding: 18px 0; background: #fff; }
.search-form { display: flex; align-items: center; gap: 12px; background: var(--mist); border-radius: 999px; padding: 6px 6px 6px 20px; border: 1px solid var(--line); }
.search-form input { flex: 1; border: 0; background: transparent; padding: 10px 0; outline: none; min-width: 0; }
.search-form .ee-icon { color: var(--muted); }

/* ---------- Hero (v0.2: calm, abstract) ---------- */
.hero { position: relative; background: linear-gradient(160deg, #161A13 0%, var(--ink) 55%, #0C0E0B 100%); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 520px at 82% 30%, rgba(151,206,1,.10), transparent 70%); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%); }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lines path { fill: none; stroke: rgba(151,206,1,.16); stroke-width: 1; stroke-dasharray: 2 10; animation: drift 38s linear infinite; animation-delay: calc(var(--i) * -2.7s); }
.hero__lines path:nth-child(3n) { stroke: rgba(255,255,255,.07); stroke-dasharray: none; animation: none; }
.hero__lines path:nth-child(4n+1) { stroke: rgba(151,206,1,.26); stroke-dasharray: 120 680; animation-duration: 22s; }
@keyframes drift { to { stroke-dashoffset: -800; } }
.hero__inner { display: grid; grid-template-columns: 1.25fr .85fr; gap: 64px; align-items: center; min-height: min(700px, calc(100vh - 120px)); padding-top: 80px; padding-bottom: 90px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); max-width: 680px; line-height: 1.5; }
.hero__eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--lime); }
.hero__title { color: #fff; font-size: clamp(40px, 5.4vw, 74px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin: 22px 0 24px; max-width: 760px; }
.hero__title em { font-style: normal; color: var(--lime); }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,.7); max-width: 580px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
[data-anim] { opacity: 0; transform: translateY(16px); animation: rise 1s var(--ease) forwards; }
[data-anim="1"] { animation-delay: .05s; } [data-anim="2"] { animation-delay: .15s; } [data-anim="3"] { animation-delay: .3s; } [data-anim="4"] { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

.market-panel { position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 30px 30px 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.market-panel::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--lime), transparent); opacity: .7; }
.market-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.market-panel__head small { color: rgba(255,255,255,.4); font-weight: 600; letter-spacing: .04em; text-transform: none; white-space: nowrap; }
.market-panel__big { font-family: var(--font-head); font-size: clamp(54px, 5vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.market-panel__big em { font-style: normal; font-size: .38em; color: var(--lime); margin-left: 8px; letter-spacing: 0; }
.market-panel__label { color: rgba(255,255,255,.6); margin: 10px 0 26px; font-size: 15px; }
.split__bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.split__bar span { display: block; height: 100%; width: var(--p); background: var(--lime); border-radius: 99px; transform-origin: left; animation: grow 1.6s .7s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.split__legend { display: grid; gap: 6px; margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.split__legend span { display: flex; align-items: center; gap: 10px; }
.split__legend strong { color: #fff; font-family: var(--font-head); }
.dot { width: 9px; height: 9px; border-radius: 2px; background: rgba(255,255,255,.3); flex: none; }
.dot--lime { background: var(--lime); }
.market-panel__latest { position: relative; display: grid; gap: 4px; padding-right: 30px !important; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #fff; }
.market-panel__latest > .ee-icon { position: absolute; right: 0; top: 22px; color: rgba(255,255,255,.5); transition: color .2s, transform .3s var(--ease); }
.market-panel__latest:hover > .ee-icon { color: var(--lime); transform: translate(2px,-2px); }
.market-panel__latest > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-2, #B5E03A); }
.market-panel__latest strong { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; line-height: 1.4; transition: color .2s; }
.market-panel__latest:hover strong { color: var(--lime); }
.market-panel__src { margin: 16px 0 0; font-size: 12px; color: rgba(255,255,255,.38); }

.partners { background: #0C0E0B; border-top: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.55); }
.partners__inner { display: flex; align-items: center; gap: 34px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.partners__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); flex: none; }
.partners ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 0; padding: 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.partners li { white-space: nowrap; }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -1px; background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 46px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.stat__num em { font-style: normal; color: var(--lime); }
.stat__label { color: var(--muted); margin-top: 10px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 70px) 0 clamp(70px, 9vw, 110px); }
.section--mist { background: var(--mist); }
.section-head { margin-bottom: 44px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.03em; margin: 0; }
.section-title--light { color: #fff; }
.section-lead { max-width: 460px; color: var(--muted); font-size: 18px; margin: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { position: relative; padding: 30px 26px 70px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; overflow: hidden; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; isolation: isolate; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pillar:hover { transform: translateY(-3px); border-color: var(--lime); box-shadow: var(--shadow-lg); color: var(--text); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--lime); margin-bottom: 24px; transition: transform .4s var(--ease); }

.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; margin: 0; }
.pillar__more { position: absolute; left: 26px; bottom: 24px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ink); transition: background .3s, transform .3s; }
.pillar:hover .pillar__more { background: var(--lime); }

/* Statements */
.statement-list { display: grid; gap: 14px; }
.statement { display: grid; grid-template-columns: 96px 1fr auto; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; position: relative; overflow: hidden; }
.statement::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lime); transform: scaleY(0); transition: transform .35s var(--ease); }
.statement:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.statement:hover::before { transform: scaleY(1); }
.statement__date { display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 8px; line-height: 1.1; }
.statement__day { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--lime); }
.statement__month { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); margin-top: 4px; }
.statement__title { font-size: 20px; margin: 8px 0 6px; }
.statement__title a { color: var(--ink); text-decoration: none; }
.statement__title a:hover { color: var(--forest); }
.statement__excerpt { color: var(--muted); margin: 0; font-size: 15.5px; }
.statement__ref { font-size: 13px; font-weight: 700; color: var(--muted); }
.statement__actions { display: flex; gap: 8px; }
.year-divider { display: flex; align-items: center; gap: 16px; font-size: 15px; letter-spacing: .1em; color: var(--muted); margin: 24px 0 4px; }
.year-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Cards */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img, .card:hover .thumb-placeholder > .ee-icon { transform: scale(1.06); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.card__meta--light { color: rgba(255,255,255,.7); }
.meta-i { display: inline-flex; align-items: center; gap: 5px; }
.card__title { font-size: 19.5px; margin: 0; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.card__title a:hover { background-size: 100% 2px; }
.card__excerpt { color: var(--muted); font-size: 15.5px; margin: 0; }
.card__by { color: var(--muted); font-size: 14.5px; margin: 0; font-weight: 600; }

.thumb-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #2A3A17, var(--ink) 70%); color: var(--lime); overflow: hidden; }
.thumb-placeholder > .ee-icon { width: 22%; height: auto; max-width: 72px; stroke-width: 1; opacity: .55; transition: transform .8s var(--ease); }
.thumb-placeholder__mark { position: absolute; width: 60%; right: -10%; bottom: -12%; fill: var(--lime); opacity: .06; }
.thumb-placeholder::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; }
.thumb-placeholder--wind { background: radial-gradient(circle at 70% 30%, #23402C, var(--ink) 70%); }
.thumb-placeholder--bolt { background: radial-gradient(circle at 50% 80%, #3A4A12, var(--ink) 70%); }

.post-grid, .project-grid, .event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-grid--home { grid-template-columns: repeat(2, 1fr); }
.post-grid--home .card:first-child { grid-column: span 2; flex-direction: row; }
.post-grid--home .card:first-child .card__media { flex: 1.2; aspect-ratio: auto; min-height: 280px; }
.post-grid--home .card:first-child .card__body { flex: 1; justify-content: center; padding: 30px; }
.post-grid--home .card:first-child .card__title { font-size: 24px; }

.project-grid--home { grid-template-columns: repeat(4, 1fr); }
.project-grid--home .card--project:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.project-grid--home .card--project:nth-child(1) .card__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.project-grid--home .card--project:nth-child(1) .card__title { font-size: 26px; }
.card--project .status { position: absolute; top: 14px; left: 14px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(17,20,16,.75); color: #fff; backdrop-filter: blur(8px); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(151,206,1,.25); }
.status--construction::before { background: #F5B301; box-shadow: 0 0 0 3px rgba(245,179,1,.25); }
.status--planned::before { background: #8BB6FF; box-shadow: 0 0 0 3px rgba(139,182,255,.25); }
.capacity { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--lime); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 12px; }

/* News + events */
.news-events { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.events-panel { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 100px; overflow: hidden; }
.events-panel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(151,206,1,.35), transparent 65%); }
.events-panel__title { color: #fff; display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 18px; }
.events-panel__title .ee-icon { color: var(--lime); }
.events-panel .btn--outline { --fg: #fff; border-color: rgba(255,255,255,.2); margin-top: 18px; }
.events-panel .btn--outline:hover { border-color: var(--lime); }
.event-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #fff; align-items: center; }
.event-row:hover { color: var(--lime-2); }
.event-row__date { flex: none; width: 58px; height: 62px; border-radius: 14px; background: rgba(255,255,255,.07); display: grid; place-content: center; text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); line-height: 1.1; }
.event-row__date strong { display: block; font-family: var(--font-head); font-size: 22px; color: #fff; letter-spacing: 0; }
.event-row.is-upcoming .event-row__date { background: var(--lime); color: var(--ink); }
.event-row.is-upcoming .event-row__date strong { color: var(--ink); }
.event-row__body { display: grid; gap: 4px; }
.event-row__title { font-weight: 700; line-height: 1.35; font-size: 15.5px; }
.event-row__meta { display: flex; align-items: center; gap: 5px; font-size: 13px; color: rgba(255,255,255,.55); }
.soon { font-style: normal; color: var(--lime); font-weight: 700; margin-left: 6px; }
.date-badge { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--muted); border-radius: 14px; padding: 8px 12px; text-align: center; font-size: 11.5px; text-transform: uppercase; font-weight: 700; line-height: 1.15; }
.date-badge strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--ink); }
.card--event.is-upcoming .date-badge { background: var(--lime); color: var(--ink); }

/* Cabinet promo */
.cabinet-promo { background: var(--ink); color: rgba(255,255,255,.75); overflow: hidden; }
.cabinet-promo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(151,206,1,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(151,206,1,.06) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%); }
.cabinet-promo__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.cabinet-promo__copy p { font-size: 18px; margin: 18px 0 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: #fff; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111410' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mock { display: grid; grid-template-columns: 70px 1fr; height: 380px; background: #1B2019; border: 1px solid rgba(255,255,255,.08); border-radius: 22px; overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 10px rgba(255,255,255,.02); transform: perspective(1400px) rotateY(-4deg); transition: transform .8s var(--ease); }
.cabinet-promo__mock:hover .mock { transform: none; }
.mock__side { background: #151913; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.mock__mark { width: 34px; fill: var(--lime); margin-bottom: 10px; }
.mock__side i { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.07); }
.mock__side i.on { background: var(--lime); }
.mock__main { padding: 22px; display: grid; gap: 18px; align-content: start; }
.mock__bar { height: 22px; width: 55%; border-radius: 8px; background: rgba(255,255,255,.12); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock__cards span { height: 84px; border-radius: 14px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.mock__cards span:first-child { background: linear-gradient(135deg, var(--lime), #6FA000); }
.mock__cards span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); transform: translateX(-100%); animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.mock__rows { display: grid; gap: 10px; }
.mock__rows span { height: 38px; border-radius: 10px; background: rgba(255,255,255,.05); }
.mock__rows span:nth-child(2) { width: 88%; } .mock__rows span:nth-child(3) { width: 94%; } .mock__rows span:nth-child(4) { width: 76%; }

/* ---------- Page hero ---------- */
.page-hero, .article-hero { position: relative; background: var(--ink); color: #fff; padding: 70px 0 80px; overflow: hidden; isolation: isolate; }
.page-hero::after, .article-hero::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(151,206,1,.3), transparent 62%); z-index: -1; }
.page-hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(151,206,1,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(151,206,1,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero__title, .article-hero__title { color: #fff; font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; max-width: 900px; margin: 0; }
.article-hero__title { font-size: clamp(30px, 4vw, 50px); margin-top: 16px; }
.page-hero__lead { color: rgba(255,255,255,.7); font-size: 19px; max-width: 680px; margin: 20px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255,255,255,.3); }
.breadcrumbs a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime); }

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-pills a, .filter-pills button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 650; font-size: 14.5px; text-decoration: none; transition: all .2s; }
.filter-pills a:hover, .filter-pills button:hover { border-color: var(--ink); }
.filter-pills .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-pills small { opacity: .55; font-weight: 700; }
.is-filtered-out { display: none !important; }

/* ---------- Article ---------- */
.article-cover { margin-top: -40px; margin-bottom: 0; position: relative; z-index: 2; }
.article-cover img { border-radius: var(--radius-lg); width: 100%; max-height: 560px; object-fit: cover; box-shadow: var(--shadow-lg); }
.prose { font-size: 18px; line-height: 1.75; padding-top: 40px; }
.prose > * { max-width: 100%; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 23px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--forest); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--lime); font-family: var(--font-head); font-size: 22px; color: var(--ink); line-height: 1.45; }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose--sm { font-size: 16px; padding-top: 0; line-height: 1.65; }
.prose--sm p:last-child { margin-bottom: 0; }
.article-foot { border-top: 1px solid var(--line); margin-top: 50px; padding: 26px 0 70px; display: grid; gap: 24px; }
.share { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; }
.post-navigation a { color: var(--ink); text-decoration: none; font-weight: 700; }
.post-navigation a:hover { color: var(--forest); }

.doc-box { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: -36px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.doc-box__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.doc-box dl { display: flex; flex-wrap: wrap; gap: 6px 40px; margin: 0; }
.doc-box dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.doc-box dd { margin: 0; font-weight: 700; color: var(--ink); }
.event-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.event-facts span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 9px 16px; font-weight: 600; }
.event-facts .ee-icon { color: var(--lime); }

/* Project single */
.project-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.project-hero__media, .project-hero__media img, .project-hero__media .thumb-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero__media img { animation: kenburns 20s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.project-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,20,16,.1), rgba(17,20,16,.85)); }
.project-hero__inner { position: relative; padding-top: 60px; padding-bottom: 60px; }
.project-hero__title { color: #fff; font-size: clamp(34px, 5vw, 62px); max-width: 900px; margin-top: 16px; }
.project-layout { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.project-layout .prose { padding-top: 0; }
.spec-card { position: sticky; top: 100px; background: var(--mist); border-radius: var(--radius-lg); padding: 28px; }
.spec-card h2 { font-size: 20px; }
.spec-card dl { margin: 0 0 22px; display: grid; }
.spec-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-card dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
.spec-card dt .ee-icon { color: var(--forest); }
.spec-card dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* Search + 404 */
.search-results { list-style: none; padding: 0; margin: 40px 0; display: grid; gap: 18px; }
.search-results li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 22px; margin: 10px 0 6px; }
.search-results h2 a { color: var(--ink); text-decoration: none; }
.notfound { text-align: center; padding: 120px 0; }
.notfound__mark { width: 160px; margin: 0 auto 10px; fill: var(--lime); }
.notfound h1 { font-size: clamp(80px, 14vw, 180px); margin: 0; letter-spacing: -.06em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255,255,255,.65); padding-top: 80px; overflow: hidden; font-size: 15.5px; }
.site-footer__glow { position: absolute; width: 900px; height: 500px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(151,206,1,.18), transparent 65%); pointer-events: none; }
.footer-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 44px 48px; margin-bottom: 70px; border-radius: var(--radius-lg); background: linear-gradient(120deg, #1D2617, #232D1A); border: 1px solid rgba(151,206,1,.22); overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; height: 200px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17' fill='%2397CE01'%3E%3Crect x='10' y='0' width='2' height='2'/%3E%3Crect x='0' y='3' width='2' height='2'/%3E%3Crect x='7' y='3' width='2' height='2'/%3E%3Crect x='13' y='3' width='3' height='3'/%3E%3Crect x='3' y='6.5' width='3' height='3'/%3E%3Crect x='10' y='6.5' width='3' height='3'/%3E%3Crect x='16' y='6' width='4' height='4'/%3E%3Crect x='6' y='9.5' width='3' height='3'/%3E%3Crect x='13' y='9' width='3' height='3'/%3E%3Crect x='22' y='10' width='2' height='2'/%3E%3Crect x='9' y='13' width='4' height='4'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .14; }
.footer-cta h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); max-width: 640px; margin: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; position: relative; }
.site-footer__about p { margin: 22px 0; max-width: 380px; }
.site-footer__title { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .menu, .contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--lime); }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list .ee-icon { color: var(--lime); }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.site-footer__social a:hover { background: var(--lime); color: var(--ink); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; padding-bottom: 30px; font-size: 14px; }
.site-footer__bottom .menu { display: flex; gap: 20px; }
.is-cabinet .site-footer { padding-top: 40px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Members cabinet
   ========================================================================== */
.login-screen { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 118px); }
.login-screen__art { position: relative; background: radial-gradient(800px 500px at 30% 30%, #22301A, var(--ink) 70%); color: #fff; display: flex; align-items: flex-end; padding: 60px; overflow: hidden; isolation: isolate; }
.login-screen__art .hero__lines { z-index: -1; opacity: .8; }
.login-screen__mark { width: 84px; fill: var(--lime); margin-bottom: 24px; }
.login-screen__art h2 { color: #fff; font-size: clamp(28px, 3vw, 42px); max-width: 460px; margin-bottom: 24px; }
.login-screen__form { display: grid; place-items: center; padding: 60px var(--gutter); background: var(--mist); }
.login-card { width: 100%; max-width: 440px; background: #fff; border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-lg); }
.login-card h1 { font-size: 34px; margin: 0 0 8px; }
.login-card form { margin-top: 26px; display: grid; gap: 4px; }
.login-card form p { margin: 0 0 14px; }
.login-card label, .field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.login-card input[type=text], .login-card input[type=password], .field input, .field textarea, .field select, .reply-box textarea, .cab-search input { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; outline: none; }
.login-card input:focus, .field input:focus, .field textarea:focus, .reply-box textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(151,206,1,.18); }
.login-card .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.login-card .button-primary, .login-card input[type=submit] { width: 100%; padding: 15px; border: 0; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 16px; cursor: pointer; transition: background .2s, transform .2s; }
.login-card input[type=submit]:hover { background: var(--lime-2); transform: translateY(-2px); }
.login-card__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; margin-top: 10px; }
.alert { padding: 13px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; margin: 16px 0; }
.alert--error { background: #FDECEA; color: var(--danger); }
.alert--ok { background: var(--lime-soft); color: var(--forest); }
.notice-box { display: flex; gap: 20px; background: var(--mist); padding: 34px; border-radius: var(--radius); }

.cabinet { display: grid; grid-template-columns: 270px 1fr; min-height: calc(100vh - 118px); background: linear-gradient(90deg, var(--ink) 270px, var(--mist) 270px); }
.cabinet__side { background: var(--ink); color: rgba(255,255,255,.7); padding: 26px 18px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); }
.cabinet-user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.05); }
.cabinet-user strong { display: block; color: #fff; font-size: 15px; line-height: 1.3; }
.cabinet-user span { font-size: 13px; }
.cabinet-nav { display: grid; gap: 4px; }
.cabinet-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: rgba(255,255,255,.7); text-decoration: none; font-weight: 650; font-size: 15px; transition: background .2s, color .2s; position: relative; }
.cabinet-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.cabinet-nav a.is-active { background: var(--lime); color: var(--ink); }
.cabinet__side-foot { margin-top: auto; display: grid; gap: 4px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.cabinet__side-foot a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,.6); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.cabinet__side-foot a:hover { color: var(--lime); background: rgba(255,255,255,.04); }
.cabinet__main { padding: 36px clamp(16px, 3.5vw, 48px) 70px; min-width: 0; animation: rise .5s var(--ease); }

.avatar-i { --s: 40px; flex: none; width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: calc(var(--s) * .38); background: var(--lime); color: var(--ink); object-fit: cover; letter-spacing: 0; }
.avatar-i--1 { background: #DDEBC0; } .avatar-i--2 { background: #2F3A28; color: var(--lime); } .avatar-i--3 { background: #C9E77A; } .avatar-i--4 { background: #E8EDE0; color: var(--forest); }

.cab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cab-head h1 { font-size: clamp(28px, 3vw, 38px); margin: 0; }
.cab-head .eyebrow { margin-bottom: 8px; }
.back-link { display: inline-block; font-weight: 700; color: var(--muted); text-decoration: none; margin-bottom: 8px; font-size: 14.5px; }
.cab-search { display: flex; align-items: center; gap: 8px; position: relative; min-width: min(320px, 100%); }
.cab-search .ee-icon { position: absolute; left: 14px; color: var(--muted); }
.cab-search input { padding-left: 42px; border-radius: 999px; }

.notice-banner { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; }
.notice-banner.is-priority { border-color: var(--lime); background: linear-gradient(90deg, var(--lime-soft), #fff 60%); }
.notice-banner > div { flex: 1; }
.notice-banner strong { color: var(--ink); font-family: var(--font-head); }
.notice-banner p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.notice-banner__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 24px 0; }
.kpi { background: #fff; border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--muted); display: grid; gap: 4px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; font-size: 14.5px; font-weight: 600; }
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--muted); }
.kpi strong { font-family: var(--font-head); font-size: 34px; color: var(--ink); line-height: 1.1; }
.kpi__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--forest); margin-bottom: 8px; }
.kpi--dark { background: var(--ink); color: rgba(255,255,255,.65); border-color: var(--ink); }
.kpi--dark:hover { color: rgba(255,255,255,.65); }
.kpi--dark strong { color: var(--lime); }
.kpi--dark .kpi__icon { background: rgba(255,255,255,.08); color: var(--lime); }

.cab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 8px 22px; }
.panel--form { padding: 28px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.panel__head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0; }
.panel__head h2 .ee-icon { color: var(--forest); }

.doc-list, .topic-list { list-style: none; margin: 0; padding: 0; }
.doc-row, .topic-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child, .topic-row:last-child { border-bottom: 0; }
.file-ico { flex: none; width: 44px; height: 52px; border-radius: 8px 14px 8px 8px; display: grid; place-items: end center; padding-bottom: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; background: #FCE8E6; color: #C0392B; position: relative; }
.file-ico::before { content: ""; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: rgba(0,0,0,.08); border-radius: 0 14px 0 6px; }
.file-ico--doc, .file-ico--docx { background: #E5EEFC; color: #2B5BB8; }
.file-ico--xls, .file-ico--xlsx, .file-ico--csv { background: var(--lime-soft); color: var(--forest); }
.file-ico--ppt, .file-ico--pptx { background: #FDF0E1; color: #C26A00; }
.file-ico--zip { background: #ECEEE8; color: var(--muted); }
.doc-row__body, .topic-row__body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.doc-row__title, .topic-row__title { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.35; display: flex; align-items: center; gap: 6px; }
.doc-row__title:hover, .topic-row__title:hover { color: var(--forest); }
.doc-row__meta, .topic-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.doc-row__meta > span { display: inline-flex; align-items: center; gap: 4px; }
.topic-row.is-pinned .topic-row__title .ee-icon { color: var(--forest); }
.topic-row__count { display: inline-flex; align-items: center; gap: 6px; background: var(--mist); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.topic-list--full .topic-row { padding: 18px 0; }

.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.folder { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: all .25s var(--ease); }
.folder .ee-icon { color: var(--forest); margin-bottom: 8px; }
.folder strong { font-size: 15px; line-height: 1.3; }
.folder small { color: var(--muted); font-weight: 600; }
.folder:hover { border-color: var(--lime); transform: translateY(-3px); color: var(--ink); }
.folder.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.folder.is-active .ee-icon { color: var(--lime); }
.folder.is-active small { color: rgba(255,255,255,.6); }

.thread { display: grid; gap: 18px; margin-bottom: 24px; }
.msg { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; }
.msg__bubble { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 16px 20px; }
.msg__bubble header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; font-size: 14px; }
.msg__bubble strong { color: var(--ink); font-size: 15px; }
.msg__co { color: var(--forest); font-weight: 700; }
.msg__bubble time { color: var(--muted); margin-left: auto; font-size: 13px; }
.msg--op .msg__bubble { border-color: var(--lime); box-shadow: 0 10px 30px -18px rgba(151,206,1,.6); }
.msg--mine { margin-left: auto; flex-direction: row-reverse; }
.msg--mine .msg__bubble { background: var(--ink); color: rgba(255,255,255,.85); border-color: var(--ink); border-radius: 18px 4px 18px 18px; }
.msg--mine .msg__bubble strong { color: #fff; }
.msg--mine .msg__co { color: var(--lime); }
.msg--mine .msg__bubble time { color: rgba(255,255,255,.5); }
.reply-box { display: flex; gap: 12px; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; bottom: 16px; box-shadow: var(--shadow); max-width: 860px; }
.reply-box textarea { border: 0; resize: vertical; min-height: 48px; padding: 10px 6px; box-shadow: none !important; }

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-card__top { display: flex; gap: 14px; align-items: center; }
.member-card__top strong { display: block; color: var(--ink); font-size: 16px; }
.member-card__top span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.member-card__avatar { position: relative; }
.member-card__avatar.is-online::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #3BC45A; border: 2px solid #fff; }
.member-card__co { margin: 0; font-weight: 700; color: var(--forest); font-size: 14.5px; }
.member-card .tag { justify-self: start; }
.member-card__contact { display: flex; gap: 8px; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.member-card__contact a { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 9px; border-radius: 10px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 700; }
.member-card__contact a:hover { background: var(--lime); }

.notice-feed { display: grid; gap: 16px; max-width: 880px; }
.notice-item { padding: 24px 26px; }
.notice-item header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.notice-item h2 { font-size: 20px; margin: 0; }
.notice-item.is-priority { border-color: var(--lime); }

.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field--check { display: flex; align-items: center; gap: 10px; }
.field--check span { margin: 0; font-weight: 600; }
.field input:disabled { background: var(--mist); color: var(--muted); }
.form-sub { font-size: 18px; margin: 14px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form .btn { justify-self: start; }

/* ---------- Pagination ---------- */
.pagination ul { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 50px 0 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--lime); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.primary-nav .menu > li > a { padding: 10px 9px; font-size: 14.5px; }
	.btn--cabinet span { display: none; }
	.btn--cabinet { padding: 8px; }
	.btn--cabinet .ee-icon { margin: 0 4px; }
	.pillars { grid-template-columns: repeat(2, 1fr); }
	.project-grid--home { grid-template-columns: repeat(2, 1fr); }
	.news-events { grid-template-columns: 1fr; }
	.events-panel { position: relative; top: 0; }
	.kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
	.topbar__addr { display: none; }
	.nav-toggle { display: inline-grid; }
	.primary-nav { position: fixed; top: var(--nav-top, 66px); left: 0; right: 0; bottom: 0; height: auto; width: auto; background: var(--ink); padding: 18px max(var(--gutter), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; z-index: 90; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; margin: 0; }
	.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li > a { color: #fff; font-size: 20px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font-head); }
	.primary-nav .menu > li > a::after { display: none; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 4px 0 8px 14px; }
	.primary-nav .sub-menu a { color: rgba(255,255,255,.7); }
	.primary-nav .sub-menu a:hover { background: transparent; color: var(--lime); }
	.primary-nav__mobile-extra { display: block; margin-top: 28px; }
	.primary-nav__mobile-extra .lang-switch { display: inline-flex; }
	.primary-nav__mobile-extra .lang-switch a { color: #fff; font-size: 14px; padding: 6px 14px; }
	.primary-nav__mobile-extra .lang-switch .is-current a { color: var(--ink); }
	.topbar .lang-switch { display: none; }
	.hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; gap: 40px; min-height: 0; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.post-grid, .project-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
	.cabinet-promo__inner, .project-layout { grid-template-columns: 1fr; }
	.spec-card { position: relative; top: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.login-screen { grid-template-columns: 1fr; }
	.login-screen__art { min-height: 300px; padding: 40px var(--gutter); }
	.cabinet { grid-template-columns: 1fr; background: var(--mist); }
	.cabinet__side { position: sticky; top: 66px; height: auto; z-index: 20; flex-direction: row; align-items: center; padding: 10px var(--gutter); gap: 10px; overflow-x: auto; }
	.cabinet-user, .cabinet__side-foot a:first-child:not(:last-child) { display: none; }
	.cabinet-nav { display: flex; gap: 4px; }
	.cabinet-nav a { padding: 9px 12px; white-space: nowrap; font-size: 14px; }
	.cabinet__side-foot { margin: 0 0 0 auto; border: 0; padding: 0; }
	.cabinet__side-foot a span, .cabinet__side-foot a { white-space: nowrap; }
	.cab-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.topbar__contact a:not(:first-child) { display: none; }
	.site-header__inner { gap: 10px; height: 66px; }
	.ee-wordmark__text { font-size: 17px; }
	.ee-mark { width: 36px; }
	.pillars, .post-grid, .project-grid, .project-grid--home, .event-grid, .post-grid--home { grid-template-columns: 1fr; }
	.project-grid--home .card--project:nth-child(1) { grid-column: auto; grid-row: auto; }
	.project-grid--home .card--project:nth-child(1) .card__media { min-height: 240px; }
	.post-grid--home .card:first-child { grid-column: auto; flex-direction: column; }
	.post-grid--home .card:first-child .card__media { min-height: 220px; }
	.statement { grid-template-columns: 64px 1fr; gap: 16px; padding: 18px; }
	.statement__actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: -6px; }
	.statement__day { font-size: 24px; }
	.statement__title { font-size: 17.5px; }
	.footer-cta { padding: 30px 24px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.doc-box { grid-template-columns: auto 1fr; }
	.doc-box .btn { grid-column: 1 / -1; }
	.kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
	.kpi strong { font-size: 26px; }
	.form-grid { grid-template-columns: 1fr; }
	.login-card { padding: 32px 24px; }
	.msg--mine { flex-direction: row; margin-left: 0; }
	.stat { padding: 30px 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-anim], .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* v0.1 fixes */
.btn--cabinet .avatar-i { background: var(--lime); color: var(--ink); }
@media (max-width: 680px) {
	.notice-banner { flex-wrap: wrap; align-items: flex-start; }
	.notice-banner > div { flex-basis: calc(100% - 60px); }
	.notice-banner .link-arrow { margin-left: 58px; }
	.cab-head .btn { width: 100%; }
}

/* v0.2 content blocks */
.prose .source-note { font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2em; }
.prose .source-note + .source-note { border-top: 0; padding-top: 0; margin-top: .4em; }
.prose .policy-link { margin: .5em 0; font-size: 16.5px; }
.prose .policy-link a, .prose li a { text-decoration-color: rgba(74,116,0,.35); text-underline-offset: 3px; }
.prose ul li { font-size: 16.5px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.person { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.person h3 { margin: 0 0 2px !important; font-size: 21px !important; }
.person p { font-size: 15.5px; margin: 6px 0 0; color: var(--muted); }
.person__role { color: var(--forest) !important; font-weight: 700; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; }
.person__initials { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-grid > div { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-grid h3 { margin: 0 0 8px !important; font-size: 13px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); font-family: var(--font-body); }
.contact-grid p { margin: 0; font-size: 16.5px; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .hero__eyebrow { font-size: 11.5px; gap: 10px; letter-spacing: .1em; } .hero__eyebrow::before { width: 16px; } .market-panel { padding: 24px 20px 20px; } .partners__inner { gap: 14px; } }

/* v0.3 membership application form */
.app-form { margin-top: 2.4em; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); font-size: 16px; line-height: 1.55; scroll-margin-top: 110px; }
.app-form__head h2 { margin: 10px 0 8px !important; font-size: clamp(26px, 3vw, 34px) !important; }
.app-form__head p { color: var(--muted); margin: 0 0 8px; }
.app-form__section { border: 0; border-top: 1px solid var(--line); margin: 28px 0 0; padding: 26px 0 0; min-width: 0; }
.app-form__section legend { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); padding: 0; margin-bottom: 18px; float: left; width: 100%; }
.app-form__section legend + * { clear: both; }
.app-form__section legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--lime); font-size: 14px; flex: none; }
.app-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; clear: both; }
.app-form .field--wide { grid-column: 1 / -1; }
.app-form .field label, .app-form .field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.app-form .field input[type=text], .app-form .field input[type=email], .app-form .field input[type=tel], .app-form .field input[type=url], .app-form .field input[type=number], .app-form .field input[type=file] { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.app-form .field input[type=file] { padding: 10px; background: var(--mist); }
.app-form .field input:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(151,206,1,.18); }
.app-form .has-error input { border-color: var(--danger, #C62828); }
.field__hint { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.field__error { display: block; color: var(--danger, #C62828); font-size: 13px; font-weight: 600; margin-top: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600 !important; transition: border-color .2s, background .2s; }
.chip:has(input:checked) { border-color: var(--lime); background: var(--lime-soft, #EEF7D6); }
.chip input { accent-color: #4A7400; }
.app-form .check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 15px !important; margin: 0 0 10px !important; cursor: pointer; }
.app-form .check input { margin-top: 4px; accent-color: #4A7400; flex: none; }
.app-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.app-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.app-form__foot p { margin: 0; font-size: 14px; }
.app-done { display: flex; gap: 18px; align-items: flex-start; margin-top: 2em; padding: 28px; border-radius: var(--radius-lg); background: var(--lime-soft, #EEF7D6); border: 1px solid rgba(74,116,0,.25); scroll-margin-top: 110px; }
.app-done h2 { margin: 0 0 6px !important; font-size: 24px !important; }
.app-done p { margin: 0; }
.app-done__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--lime); }
@media (max-width: 680px) { .app-form__grid { grid-template-columns: 1fr; } .app-form__foot .btn { width: 100%; justify-content: center; } }
.app-form input[type=checkbox] { width: 18px !important; height: 18px; min-width: 18px; padding: 0; margin: 0; flex: none; }
.app-form .check span { flex: 1; }
.chip { white-space: nowrap; }

/* ==========================================================================
   v0.3.1 Cabinet: squarer corners, thin lines, calmer layout
   ========================================================================== */
.cabinet, .login-screen { --radius: 6px; --radius-sm: 4px; --radius-lg: 8px; }
.cabinet .btn, .login-screen .btn, .login-card input[type=submit], .cabinet .btn--lg { border-radius: 6px; box-shadow: none; border-width: 1px; }
.cabinet .btn:hover, .login-card input[type=submit]:hover { transform: none; }
.cabinet .btn--primary:hover { box-shadow: none; }
.login-card { border-radius: 8px; box-shadow: none; border: 1px solid var(--line); }
.login-card input[type=text], .login-card input[type=password], .cabinet .field input, .cabinet .field textarea, .cabinet .field select, .reply-box textarea, .cab-search input { border-radius: 4px; border-width: 1px; }
.cab-search input { border-radius: 4px; }

/* side navigation: line indicator instead of filled pills */
.cabinet { background: linear-gradient(90deg, var(--ink) 260px, #F7F8F4 260px); grid-template-columns: 260px 1fr; }
.cabinet__side { padding: 22px 0; gap: 18px; border-right: 1px solid rgba(255,255,255,.06); }
.cabinet-user { margin: 0 16px; border-radius: 6px; background: transparent; border: 1px solid rgba(255,255,255,.1); }
.cabinet-nav { gap: 0; }
.cabinet-nav a { border-radius: 0; padding: 12px 22px; border-left: 2px solid transparent; font-weight: 600; }
.cabinet-nav a:hover { background: rgba(255,255,255,.04); }
.cabinet-nav a.is-active { background: rgba(151,206,1,.08); color: #fff; border-left-color: var(--lime); }
.cabinet-nav a.is-active .ee-icon { color: var(--lime); }
.cabinet__side-foot { margin: auto 16px 0; }
.cabinet__side-foot a { border-radius: 4px; }

/* main column */
.cabinet__main { padding-top: 32px; max-width: 1280px; }
.cab-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cab-head h1 { font-weight: 650; letter-spacing: -.02em; }

/* notices: flat rows with a left accent line */
.notice-banner { border-radius: 6px; padding: 16px 20px; border-left: 3px solid var(--line); }
.notice-banner.is-priority { background: #fff; border-color: var(--line); border-left-color: var(--lime); }
.notice-banner__icon { width: 36px; height: 36px; border-radius: 4px; background: var(--mist); color: var(--forest); }
.notice-banner.is-priority .notice-banner__icon { background: var(--ink); color: var(--lime); }

/* KPIs: one strip with hairline dividers */
.kpis { gap: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
.kpi { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 20px 22px; }
.kpi:last-child { border-right: 0; }
.kpi:hover { transform: none; box-shadow: none; background: #FBFCF8; }
.kpi strong { font-size: 30px; font-weight: 650; }
.kpi__icon { width: 34px; height: 34px; border-radius: 4px; background: transparent; border: 1px solid var(--line); }
.kpi--dark { background: #fff; color: var(--muted); border-color: var(--line); }
.kpi--dark:hover { color: var(--muted); }
.kpi--dark strong { color: var(--forest); }
.kpi--dark .kpi__icon { background: transparent; color: var(--forest); }

/* panels */
.panel { border-radius: 6px; padding: 0; }
.panel__head { padding: 14px 20px; background: #FBFCF8; border-bottom: 1px solid var(--line); }
.panel__head h2 { font-size: 15.5px; font-weight: 700; letter-spacing: .01em; }
.panel .doc-list, .panel .topic-list { padding: 0 20px; }
.panel--form { padding: 26px; }
.doc-row, .topic-row { padding: 13px 0; }
.file-ico { width: 36px; height: 44px; border-radius: 3px 8px 3px 3px; font-size: 9.5px; }
.file-ico::before { border-radius: 0 8px 0 3px; width: 10px; height: 10px; }
.topic-row__count { border-radius: 4px; background: transparent; border: 1px solid var(--line); padding: 4px 10px; }
.cabinet .icon-btn { border-radius: 4px; border: 1px solid var(--line); background: #fff; width: 36px; height: 36px; }
.cabinet .icon-btn:hover { border-color: var(--ink); background: #fff; transform: none; }
.cabinet .tag { border-radius: 3px; }

/* documents, members, discussions */
.folder { border-radius: 6px; padding: 16px; }
.folder:hover { transform: none; border-color: var(--ink); }
.member-card { border-radius: 6px; }
.member-card:hover { transform: none; box-shadow: none; border-color: #C9D1BC; }
.member-card__contact a { border-radius: 4px; background: transparent; border: 1px solid var(--line); }
.member-card__contact a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.msg__bubble { border-radius: 2px 8px 8px 8px; }
.msg--mine .msg__bubble { border-radius: 8px 2px 8px 8px; }
.msg--op .msg__bubble { box-shadow: none; }
.reply-box { border-radius: 6px; box-shadow: 0 8px 24px -16px rgba(17,20,16,.3); }
.cabinet .avatar-i, .cabinet .avatar { border-radius: 4px !important; }

@media (max-width: 980px) {
	.cabinet { background: #F7F8F4; grid-template-columns: 1fr; }
	.cabinet__side { padding: 8px var(--gutter); border-right: 0; }
	.cabinet-nav a { border-left: 0; border-bottom: 2px solid transparent; padding: 10px 12px; }
	.cabinet-nav a.is-active { border-bottom-color: var(--lime); background: transparent; }
	.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
	.kpi:nth-child(2) { border-right: 0; }
	.kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.is-news-page .container--narrow { max-width: var(--container); }
.prose .post-grid--in-page { font-size: 16px; line-height: 1.6; }
.prose .post-grid--in-page h3 { margin-top: 0; }

/* v0.3.2 homepage cabinet preview: real screenshot in a thin browser frame */
.cabinet-promo__shot { margin: 0; }
.browser { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; overflow: hidden; background: #0C0E0B; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.08); background: #161A13; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.browser__bar span { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 3px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.browser__bar span .ee-icon { color: var(--lime); }
.browser img { display: block; width: 100%; height: auto; }
.cabinet-promo__shot figcaption { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.45); }
.cabinet-promo .btn { border-radius: 6px; box-shadow: none; }
.cabinet-promo .btn:hover { transform: none; }
.check-list li::before { border-radius: 4px; }

/* v0.3.3 mobile nav + compact footer */
.nav-toggle > span { display: inline-grid; place-items: center; }
.nav-toggle .nav-toggle__close { display: none; }
@media (max-width: 980px) {
	/* backdrop-filter made the header the containing block of the fixed menu (cut-off panel on iPhone) */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.site-header.is-scrolled { background: #fff; }
	.nav-open .site-header { border-color: var(--line); box-shadow: none; }
	.nav-open .nav-toggle { color: var(--ink); background: var(--mist); border-radius: 6px; }
	.nav-open .nav-toggle .nav-toggle__open { display: none; }
	.nav-open .nav-toggle .nav-toggle__close { display: inline-grid; }
	html.nav-lock { overflow: hidden; overscroll-behavior: none; }
	html.nav-lock body { overflow: visible; } /* body must not become a scroll box, or the sticky header jumps away */
	.primary-nav .menu > li > a { font-size: 18px; font-weight: 600; padding: 13px 2px; border-radius: 0; }
	.primary-nav .menu-item-has-children > a::before { display: none; }
	.primary-nav .sub-menu { padding: 2px 0 10px 14px; border-left: 1px solid rgba(151,206,1,.35); border-radius: 0; margin: 4px 0 4px 2px; }
	.primary-nav .sub-menu a { font-size: 15px; padding: 8px 12px; border-radius: 0; }
	.primary-nav .current-menu-item > a { color: var(--lime); }
}
@media (max-width: 680px) {
	.site-footer { padding-top: 44px; font-size: 14.5px; }
	.footer-cta { margin-bottom: 36px; padding: 24px 20px; gap: 18px; border-radius: 8px; }
	.footer-cta h2 { font-size: 21px; line-height: 1.3; }
	.footer-cta .btn { width: 100%; justify-content: center; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; }
	.site-footer__about { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 16px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
	.site-footer__about p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 13.5px; line-height: 1.55; max-width: none; color: rgba(255,255,255,.55); }
	.site-footer__social { grid-column: 2; grid-row: 1; gap: 8px; }
	.site-footer__social a { width: 36px; height: 36px; border-radius: 6px; border: 1px solid rgba(255,255,255,.1); }
	.site-footer__title { font-size: 11.5px; letter-spacing: .14em; margin-bottom: 12px; color: rgba(255,255,255,.9); }
	.site-footer .menu, .contact-list { gap: 9px; }
	.site-footer__grid > div:last-child { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
	.contact-list li { align-items: flex-start; gap: 10px; }
	.contact-list .ee-icon { width: 16px; height: 16px; margin-top: 3px; flex: none; }
	.site-footer__bottom { flex-direction: column; gap: 10px; padding-top: 18px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); font-size: 12.5px; }
	.site-footer__bottom .menu { gap: 14px; flex-wrap: wrap; }
}
