/* IDEA – Inclusive Development & Empowerment Alliance
   Palette from the IDEA logo: leaf green + sun yellow on white, dark grey type. */
:root {
  --green: #2f9e35;
  --green-2: #3aa935;
  --green-text: #1f7a2a; /* small green text: 4.9:1 on paper, 5.4:1 on white */
  --green-deep: #173f22;
  --green-ink: #10301a;
  --yellow: #f4c81c;
  --yellow-soft: #fbe9a6;
  --ink: #1c241e;
  --muted: #56615a;
  --paper: #f6f3ea;
  --white: #ffffff;
  --line: rgba(28, 36, 30, .12);
  --sans: "Noto Sans", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Noto Serif", "Noto Serif Georgian", Georgia, serif;
  --radius: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
:lang(ka) { --sans: "Noto Sans Georgian", "Noto Sans", system-ui, sans-serif; --serif: "Noto Serif Georgian", "Noto Serif", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
em { font-style: normal; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); border-radius: 6px; }
main:focus { outline: none; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: var(--white); }
.site-header.solid { background: rgba(246, 243, 234, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 42px; height: 42px; flex: none; border-radius: 50%; }
.brand-word { font-family: "Noto Serif", Georgia, serif; font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; }
.brand-word i { font-style: normal; color: var(--yellow); }
.site-header.solid .brand-word i { color: var(--green); }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 600; }
.nav a { text-decoration: none; opacity: .92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav-cta { padding: 9px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink) !important; opacity: 1 !important; }
.nav-cta:hover { text-decoration: none !important; filter: brightness(1.05); }
.lang { flex: none; display: flex; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { font: 700 .8rem/1 var(--sans); color: inherit; background: none; border: 0; padding: 7px 11px; border-radius: 999px; cursor: pointer; letter-spacing: .04em; }
.lang button[lang="ka"] { font-family: "Noto Sans Georgian", var(--sans); }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.menu-btn { display: none; flex: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s, top .25s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .85); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10, 30, 16, .38) 0%, rgba(10, 30, 16, .12) 32%, rgba(10, 30, 16, .3) 62%, rgba(12, 36, 19, .86) 100%),
  linear-gradient(90deg, rgba(12, 36, 19, .55) 0%, rgba(12, 36, 19, 0) 62%); }
.hero-inner { position: relative; padding-top: 140px; padding-bottom: clamp(64px, 10vh, 120px); }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-text); margin-bottom: 18px; }
.eyebrow.light { color: var(--yellow); }
:lang(ka) .eyebrow { text-transform: none; letter-spacing: .04em; font-size: .9rem; }
.hero-title { font-weight: 800; font-size: clamp(2.9rem, 8.2vw, 7.2rem); line-height: .96; letter-spacing: -.035em; max-width: 12ch; }
:lang(ka) .hero-title { font-size: clamp(1.9rem, 4.7vw, 4.4rem); line-height: 1.12; letter-spacing: -.01em; max-width: none; }
.hl { position: relative; white-space: nowrap; color: var(--white); padding: 0 .12em; z-index: 0; animation: inkin .35s 1.05s forwards; }
@keyframes inkin { to { color: var(--ink); } }
.hl::before { content: ""; position: absolute; inset: .08em -.02em .02em; background: var(--yellow); z-index: -1; transform: skew(-6deg) scaleX(0); transform-origin: left; animation: swipe .9s .5s cubic-bezier(.7, 0, .2, 1) forwards; border-radius: 4px; }
@keyframes swipe { to { transform: skew(-6deg) scaleX(1); } }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40rem; margin: 28px 0 34px; color: rgba(255, 255, 255, .92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-partner { margin: 24px 0 0; font-weight: 600; font-size: 1rem; }
.hero-partner a { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-partner a:hover { color: var(--yellow); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 34px; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee band ---------- */
.band { background: var(--green-deep); color: var(--white); overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .08); }
.band-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 20px 0; animation: marquee 38s linear infinite; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.5rem); white-space: nowrap; }
.band-track b { color: var(--yellow); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band:hover .band-track { animation-play-state: paused; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--green); letter-spacing: -.01em; }
:lang(ka) h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.2; letter-spacing: 0; }
:lang(ka) h2 em { font-style: normal; font-weight: 700; }
.section-lead { font-size: 1.12rem; color: #2d3830; max-width: 44rem; margin: 22px 0 0; }

/* intro (the short description under the hero) */
.intro { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.intro-text { margin: 0; max-width: 52rem; padding-left: clamp(18px, 2.4vw, 30px); border-left: 4px solid var(--yellow); font-weight: 500; font-size: clamp(1.18rem, 1.9vw, 1.5rem); line-height: 1.65; color: var(--green-deep); }
:lang(ka) .intro-text { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.8; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-text h2 { margin-bottom: 28px; }
.about-text > p { font-size: 1.08rem; color: #2d3830; max-width: 34rem; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts strong { font-size: 1.3rem; font-weight: 800; color: var(--green-deep); }
.facts span { color: var(--muted); }
.about-media { position: sticky; top: 110px; min-height: 600px; }
.pic { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(16, 48, 26, .45); }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.pic:hover img { transform: scale(1.04); }
.pic-a { inset: 0 18% 26% 0; }
.pic-b { inset: 42% 0 0 34%; border: 8px solid var(--paper); }
.stamp { position: absolute; left: 4%; bottom: 6%; width: 124px; height: 124px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-content: center; text-align: center; transform: rotate(-10deg); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35); }
.stamp span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
:lang(ka) .stamp span { text-transform: none; letter-spacing: .02em; }
.stamp b { font-size: 2rem; line-height: 1; font-weight: 800; }

/* projects: one row per project, photo and text side by side */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tags li { font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--white); }
.plist { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(26px, 4vw, 40px); counter-reset: none; }
.prow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.prow:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(16, 48, 26, .45); }
.prow:focus-within { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--yellow); }
.prow:nth-child(even) .prow-img { order: 2; }
.prow-img { position: relative; min-height: 340px; overflow: hidden; background: var(--green-deep); }
.prow-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.prow:hover .prow-img img { transform: scale(1.03); }
.prow-body { padding: clamp(26px, 3.6vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.prow-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.prow-meta span + span::before { content: "·"; margin-right: 14px; color: var(--green-text); }
.prow-meta .prow-num + span::before { content: none; }
.prow-num { font-size: 1.15rem; font-weight: 800; color: var(--green-text); letter-spacing: .04em; }
.role { display: inline-block; margin: 0; padding: 4px 11px; border-radius: 999px; background: var(--yellow-soft); color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.prow h3 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); font-weight: 800; margin: 14px 0 6px; }
:lang(ka) .prow h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; }
.prow-lead { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--green-text); margin: 0 0 14px; }
:lang(ka) .prow-lead { font-style: normal; }
.prow-body > p:not([class]) { color: #2d3830; margin: 0; }
.focus { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.focus li { font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--green-deep); }
.prow .more { margin-top: auto; padding-top: 20px; }
.panel { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 28px; }
.panel-green { background: var(--green); color: var(--white); }
.panel-yellow { background: var(--yellow); color: var(--ink); }
.panel-big { font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.04em; margin-top: auto; }
.panel-big em { font-family: "Noto Serif", Georgia, serif; font-style: italic; font-weight: 500; }
.panel-small { font-weight: 700; letter-spacing: .14em; font-size: .8rem; order: -1; }

/* partners */
.partners { background: var(--white); }
.partners-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 80px); align-items: end; margin-bottom: clamp(48px, 7vw, 84px); }
.partners-head .section-head { margin-bottom: 0; }
.offer-box { padding: 28px 30px; border-radius: var(--radius); background: var(--green-deep); color: var(--white); }
.offer-title { margin: 0 0 12px; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
:lang(ka) .offer-title { text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.offer { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.offer li { position: relative; padding-left: 30px; font-weight: 700; font-size: 1.08rem; }
.offer li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg); }
.btn-green { background: var(--yellow); color: var(--ink); }
.partners-sub { font-size: 1.25rem; font-weight: 800; margin: 0 0 18px; }
.pwith { color: var(--green-text) !important; font-weight: 700; font-size: .9rem; text-decoration: none; }
a.pwith:hover { text-decoration: underline; }
.pwith-list { color: var(--muted); }
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.partner-list > li { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.partner-list > li:hover, .partner-list > li:focus-within { border-color: rgba(31, 122, 42, .35); box-shadow: 0 14px 30px -22px rgba(16, 48, 26, .45); }
.plogo { height: 136px; display: grid; place-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.plogo img { height: auto; max-width: 82%; max-height: 100%; object-fit: contain; }
.pnologo .plogo { background: var(--paper); }
.pnologo .plogo b { max-width: 15em; font-size: 1.12rem; font-weight: 800; line-height: 1.3; text-align: center; color: var(--green-deep); }
.pinfo { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.pinfo b { font-size: 1.1rem; font-weight: 800; }
.pinfo > span { color: var(--muted); font-size: .92rem; }

/* join */
.join { color: var(--white); overflow: hidden; }
.join-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.join-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 48, 26, .62) 0%, rgba(16, 48, 26, .72) 45%, rgba(12, 36, 19, .93) 100%); }
.join-inner { position: relative; }
.join h2 em { color: var(--yellow); }
.join-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.join-lead { color: rgba(255, 255, 255, .92); font-size: 1.12rem; max-width: 46rem; margin: 22px 0 0; }
.join-note { display: inline-block; margin: 20px 0 0; padding: 12px 18px; border-radius: 14px; background: rgba(244, 200, 28, .14); border: 1px solid rgba(244, 200, 28, .55); color: var(--white); font-weight: 600; max-width: 46rem; }
.join-card { padding: 34px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.join-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: var(--yellow); }
.join-card p { margin: 0; color: rgba(255, 255, 255, .9); }
.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* footer */
.footer { background: var(--green-ink); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.f-brand { color: var(--white); margin-bottom: 10px; }
.f-brand .brand-word { font-size: 1.8rem; }
.f-name { margin: 0 0 4px; color: var(--white); font-weight: 600; }
.f-small { font-size: .84rem; color: rgba(255, 255, 255, .6); margin-top: 14px; }
.credits { margin-top: 18px; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.f-bottom a { text-decoration: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .join-grid { grid-template-columns: 1fr; }
  .partners-head { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 24px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .2s, transform .2s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: relative; top: auto; min-height: 440px; }
  .join-grid, .footer-grid { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; }
  .prow:nth-child(even) .prow-img { order: 0; }
  .prow-img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 359px) {
  .hl { white-space: normal; background: var(--yellow); color: var(--ink); animation: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 4px; }
  .hl::before { display: none; }
}
@media (max-width: 340px) {
  .brand-word { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-row { gap: 12px; height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .brand-word { font-size: 1.15rem; }
  .brand-logo { width: 34px; height: 34px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .about-media { min-height: 360px; }
  .stamp { width: 96px; height: 96px; } .stamp b { font-size: 1.5rem; }
  .scroll-cue { display: none; }
  .btn { padding: 14px 22px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .f-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hl::before { transform: skew(-6deg); }
  .hl { color: var(--ink); }
  .reveal { opacity: 1; transform: none; }
  .hero-img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- project pages (projects/<slug>/) ---------- */
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; font-size: .95rem; text-decoration: none; color: var(--green-text); }
.more::after { content: "→"; transition: transform .2s; }
.prow:hover .more::after { transform: translateX(4px); }
.more.stretch::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.phero { position: relative; min-height: clamp(380px, 62vh, 640px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--green-deep); }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 36, 19, .35) 0%, rgba(12, 36, 19, .2) 35%, rgba(12, 36, 19, .9) 100%); }
.phero.panel-yellow { background: var(--yellow); color: var(--ink); }
.phero.panel-yellow::after { display: none; }
.phero .wrap { position: relative; z-index: 1; padding-top: 130px; padding-bottom: clamp(36px, 6vw, 64px); }
.phero-num { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; color: var(--yellow); }
.phero.panel-yellow .phero-num { color: var(--ink); }
.phero h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 0 0 10px; max-width: 20ch; }
:lang(ka) .phero h1 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.18; letter-spacing: 0; max-width: 24ch; }
.phero .lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 44rem; margin: 0 0 22px; }
:lang(ka) .phero .lead { font-style: normal; }
.phero .tags li { background: rgba(255, 255, 255, .16); }
.phero.panel-yellow .tags li { background: rgba(0, 0, 0, .08); color: var(--ink); }
.pbody { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
.pbody h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
:lang(ka) .pbody h2 { font-size: 1.35rem; line-height: 1.3; }
.pbody section + section { margin-top: 44px; }
.pbody p { color: #2d3830; font-size: 1.06rem; }
.ptopics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ptopics li { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.ptimeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--yellow); }
.ptimeline li { position: relative; padding: 0 0 26px 26px; }
.ptimeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--green-deep); border: 3px solid var(--yellow); }
.ptimeline b { display: block; font-size: 1.02rem; }
.ptimeline span { color: var(--muted); }
.pgallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pgallery.one { grid-template-columns: minmax(0, 1fr); }
.pgallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--white); cursor: zoom-in; }
.pgallery.one a { aspect-ratio: 16 / 10; }
.pgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pgallery a:hover img { transform: scale(1.04); }
.paside { align-self: start; position: sticky; top: 96px; display: grid; gap: 16px; }
.pfact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.pfact h2 { font-size: 1.25rem; }
.pfact dl { margin: 0; display: grid; gap: 14px; }
.pfact dt { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); }
:lang(ka) .pfact dt { text-transform: none; letter-spacing: .02em; font-size: .85rem; }
.pfact dd { margin: 2px 0 0; font-weight: 600; }
.pquote { margin: 0; background: var(--yellow); border-radius: var(--radius); padding: 26px 28px; }
.pquote blockquote { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.45; }
.pquote figcaption { margin-top: 12px; font-size: .88rem; font-weight: 700; color: var(--green-deep); }
.psrc { font-size: .85rem; color: var(--muted); margin-top: 30px; }
.psrc a { color: var(--green-text); font-weight: 700; }
.pnext { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.pnext a { font-weight: 800; text-decoration: none; color: var(--green-text); }
.pnext a:hover { text-decoration: underline; }
.pfoot { padding-bottom: clamp(56px, 8vw, 100px); }
.phero-mark { position: absolute; right: -0.04em; top: 50%; transform: translateY(-62%); font: 800 clamp(5rem, 17vw, 15rem)/.9 var(--sans); letter-spacing: -.04em; white-space: nowrap; opacity: .14; pointer-events: none; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1600px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 24, 14, .88); }
.lightbox img { display: block; max-width: min(1600px, 94vw); max-height: 86vh; width: auto; height: auto; border-radius: 10px; }
.lb-close { position: absolute; top: -48px; right: 0; font: 800 .95rem var(--sans); color: var(--ink); background: var(--yellow); border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
@media (max-width: 900px) { .pbody { grid-template-columns: 1fr; } .paside { position: static; } }
@media (max-width: 600px) { .phero-mark { top: 26%; } .phero .wrap { padding-top: 110px; } }

/* ---------- partner logos + EU emblem ---------- */
@media (max-width: 900px) { .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .partner-list { grid-template-columns: 1fr; gap: 12px; }
  .partner-list > li { flex-direction: row; }
  .plogo { flex: none; width: 132px; height: auto; min-height: 104px; padding: 12px; border-bottom: 0; border-right: 1px solid var(--line); }
  .plogo img { max-width: 90%; max-height: 76px; }
  .pnologo .plogo b { font-size: .9rem; }
  .pinfo { justify-content: center; padding: 14px 16px; }
}
.only-ka { display: none; }
:root:lang(ka) .only-ka { display: block; }
:root:lang(ka) .only-en { display: none; }
.funding { display: flex; align-items: center; gap: 22px 32px; flex-wrap: wrap; margin-top: 44px; padding: 26px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.funding img { height: 60px; width: auto; flex: none; }
.funding p { margin: 0; flex: 1 1 280px; color: var(--muted); font-size: .95rem; }
.eu-emblem { margin: 6px 0 0; }
.eu-emblem img { display: block; height: 46px; width: auto; }
.paside .eu-emblem { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; justify-self: stretch; }
.paside .eu-emblem img { height: 50px; max-width: 100%; object-fit: contain; object-position: left; }
.f-brand { display: flex; align-items: center; gap: 14px; }
.f-brand img { width: 56px; height: 56px; border-radius: 50%; }

/* ---------- contact page ---------- */
.chero { position: relative; color: var(--white); overflow: hidden; padding: 150px 0 clamp(56px, 8vw, 96px); }
.chero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.chero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 36, 19, .55), rgba(12, 36, 19, .85)); }
.chero-inner { position: relative; }
.chero h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; }
:lang(ka) .chero h1 { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.15; letter-spacing: 0; max-width: 20ch; }
.chero p:not(.eyebrow) { max-width: 38rem; margin: 22px 0 0; font-size: 1.12rem; color: rgba(255, 255, 255, .9); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cbox { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
a.cbox:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 18px 30px -22px rgba(16, 48, 26, .5); }
.cbox svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--yellow); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cbox b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); }
:lang(ka) .cbox b { text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.cval { font-weight: 700; font-size: 1.12rem; word-break: break-word; }
.csocial { margin-top: 10px; padding: 22px 24px; border-radius: var(--radius); background: var(--green-deep); color: var(--white); }
.csocial p { margin: 0 0 10px; color: rgba(255, 255, 255, .85); }
.csocial a { display: inline-block; margin: 4px 14px 0 0; font-weight: 800; color: var(--yellow); }

.cform { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(26px, 4vw, 48px); box-shadow: 0 40px 70px -50px rgba(16, 48, 26, .5); }
.cform h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 26px; }
.frow.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.field abbr { color: #b3261e; text-decoration: none; }
.opt { font-weight: 500; color: var(--muted); font-size: .85rem; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid rgba(28, 36, 30, .18); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-text); background: var(--white); box-shadow: 0 0 0 3px rgba(244, 200, 28, .55); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics legend { width: 100%; }
.topics label { margin: 0; cursor: pointer; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topics span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(28, 36, 30, .18); font-weight: 600; font-size: .95rem; background: var(--paper); transition: background .2s, border-color .2s; }
.topics input:checked + span { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.topics input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 3px var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: #2d3830; margin: 6px 0 4px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green-text); }
.ferr { display: none; color: #b3261e; font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.invalid .ferr, .consent-err.show { display: block; }
.invalid input, .invalid textarea { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send { margin-top: 18px; border: 0; cursor: pointer; font: 800 1.02rem var(--sans); }
.send[disabled] { opacity: .6; cursor: progress; }
.fstatus { margin-top: 18px; font-weight: 600; }
.fstatus:empty { display: none; }
.fstatus.ok { padding: 16px 18px; border-radius: 14px; background: #e6f4e7; color: #174d22; }
.fstatus.err { padding: 16px 18px; border-radius: 14px; background: #fdecea; color: #8a1c14; }
.f-contact a { color: var(--white); text-decoration: none; font-weight: 700; }
.join-contact { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin-top: 30px; color: rgba(255, 255, 255, .92); font-weight: 700; }
.join-contact a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.join-contact a:hover { color: var(--yellow); }
.join-contact svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .frow.two { grid-template-columns: 1fr; gap: 0; } .chero { padding-top: 120px; } }

/* 404 page */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 48px 24px; text-align: center; background: var(--paper); }
.notfound img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 14px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px; }
.notfound p { margin: 0; color: var(--muted); }
.notfound a { color: var(--green-text); font-weight: 700; }
