@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }

:root {
  --blue: #1f1fff;
  --blue-deep: #0c0cba;
  --pink: #ff2e93;
  --ink: #0d0d1c;
  --muted: #5a5d72;
  --line: #dfe1ee;
  --mist: #f4f5fc;
  --paper: #fff;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--ink); color: #fff; padding: 8px 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.25rem var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; margin: 0; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--pink); flex: none; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--blue); color: var(--blue); }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; font-size: 0.8rem; font-weight: 600; }
.lang a { padding: 4px 11px; border: 0; }
.lang a:hover { color: var(--blue); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.nav-toggle, .burger { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.hero-in { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(72px, 11vw, 140px); }
.hero h1, .hero .lead, .hero .eyebrow { max-width: 620px; }
.hero .lead { font-size: 1.15rem; margin: 22px 0 32px; opacity: 0.95; }
.eyebrow { font: 600 0.8rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.cubes { position: absolute; right: -14%; top: 50%; width: min(900px, 68%); transform: translateY(-46%); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.btn { display: inline-block; font: 600 0.95rem var(--display); padding: 13px 24px; border-radius: 999px; text-decoration: none; background: var(--blue); color: #fff; border: 1.5px solid var(--blue); transition: transform 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-2px); background: var(--blue-deep); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }

/* Sections */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band h2 { margin-bottom: 32px; }
.tint { background: var(--mist); }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.band-head h2 { margin: 0; }
.more { font: 600 0.95rem var(--display); text-decoration: none; white-space: nowrap; }
.more::after { content: " \2192"; transition: margin 0.15s; }
.more:hover::after { margin-left: 5px; }
.back::after { content: none; }
.back::before { content: "\2190  "; }
.sub { margin: 32px 0 14px; color: var(--muted); font-size: 1rem; }

.page-head { padding: clamp(56px, 8vw, 110px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.page-head h1::after { content: ""; display: block; width: 64px; height: 8px; background: var(--pink); margin-top: 22px; }
.lead { font-size: 1.2rem; max-width: 62ch; margin-top: 24px; }
.page-head .lead { color: var(--muted); }

.grid { display: grid; gap: 28px; list-style: none; padding: 0; margin: 0; }
.g3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }

.label { font: 600 0.75rem var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); margin: 0 0 8px; }
.label span { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; margin-left: 8px; }

.card { display: block; color: var(--ink); text-decoration: none; }
.news-card .thumb { aspect-ratio: 3 / 2; background: var(--blue); border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover img { transform: scale(1.04); }
.news-card:hover h3 { color: var(--blue); }

.services { counter-reset: none; }
.services li { background: var(--mist); border-radius: 6px; padding: 26px; border-top: 4px solid var(--blue); }
.services.full li { background: var(--mist); padding: 32px; }
.services li:nth-child(3n + 2) { border-color: var(--pink); }
.services li:nth-child(3n) { border-color: var(--ink); }
.services p { margin: 12px 0 0; color: var(--muted); }
.num { display: block; font: 600 0.85rem var(--display); color: var(--muted); margin-bottom: 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { font: 600 1rem var(--display); color: var(--ink); text-decoration: none; padding: 12px 22px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.project, .resource { background: var(--mist); border-radius: 6px; padding: 32px; }
.project h3 { font-size: 1.6rem; margin-bottom: 14px; }
.project p, .resource p:last-child { color: var(--muted); }
.resource h3 { margin-bottom: 10px; }
.resource { transition: background 0.15s; }
.resource:hover { background: var(--blue); color: #fff; }
.resource:hover p, .resource:hover .label, .resource:hover .label span { color: #fff; }

.rows { border-top: 1.5px solid var(--ink); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row:hover h3 { color: var(--blue); }
.row p { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }
.row .label { margin: 0 0 6px; color: var(--pink); }
.deadline { flex: none; text-align: right; font: 600 1.05rem var(--display); color: var(--ink) !important; margin: 0 !important; }
.deadline span { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.closed .row { opacity: 0.6; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: 600 0.9rem var(--display); padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.cta { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { max-width: 22ch; font-size: clamp(1.7rem, 3.5vw, 2.6rem); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.about h2 { margin: 0 0 18px; font-size: 1.5rem; }
.about h2:not(:first-child) { margin-top: 40px; }
.goals { padding-left: 1.2em; margin: 0; }
.goals li { margin-bottom: 12px; padding-left: 6px; }
.goals li::marker { font: 600 1rem var(--display); color: var(--blue); }
.big-link { font: 600 clamp(1.1rem, 2.2vw, 1.5rem) var(--display); word-break: break-word; }

/* News article */
.post { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.post h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 36px; }
.post-img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 6px; margin-bottom: 44px; }
.prose { font-size: 1.1rem; line-height: 1.7; }
.prose h2, .prose h3 { margin: 1.8em 0 0.6em; font-size: 1.4rem; }
.prose img { margin: 1.5em 0; border-radius: 6px; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose li { margin-bottom: 0.4em; }

/* Footer */
.foot { background: var(--mist); padding: 56px 0; font-size: 0.95rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot .brand { margin-bottom: 14px; }
.foot p { margin: 0 0 4px; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; align-content: start; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot nav a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .burger { display: grid; gap: 6px; padding: 10px 0 10px 10px; cursor: pointer; }
  .burger span { display: block; width: 26px; height: 2px; background: var(--ink); }
  .nav-toggle { display: block; position: absolute; opacity: 0; pointer-events: none; }
  .nav-toggle:focus-visible + .burger { outline: 2px solid var(--blue); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .lang { margin-top: 12px; }
  .cubes { width: 130%; right: -45%; top: auto; bottom: -18%; transform: none; opacity: 0.35; }
  .g2 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .deadline { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (min-width: 901px) { .hero h1, .hero .lead { max-width: min(620px, 50vw); } }

.initiative { display: flex; flex-direction: column; background: var(--mist); border-radius: 6px; padding: 28px; border-top: 4px solid var(--blue); transition: transform 0.15s, box-shadow 0.15s; }
.initiative:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(13, 13, 28, 0.1); }


.initiative .label { color: var(--muted); }
.initiative h3 { font-size: 1.4rem; margin-bottom: 12px; }
.initiative p { color: var(--muted); font-size: 0.97rem; }
.initiative .scope { margin: auto 0 0; padding-top: 10px; font: 600 0.8rem var(--display); color: var(--ink); }
.initiative .scope::after { content: " \2192"; color: var(--blue); }
@media (min-width: 901px) and (max-width: 1100px) { .nav { gap: 16px; font-size: 0.9rem; } }

.project { background: var(--paper); border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.project-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; margin-bottom: 16px; }
.project-head h3 { margin: 0; }
.project .logo { flex: none; max-height: 44px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
.project .more { margin-top: auto; }

.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 44px; }
.topic { --c: var(--blue); text-align: left; font: 600 0.95rem/1.3 var(--display); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-top: 5px solid var(--c); border-radius: 6px; padding: 18px 20px 20px; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.topic .count { display: block; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; color: var(--c); margin-bottom: 10px; }
.topic:hover { border-color: var(--c); }
.topic[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.topic[aria-pressed="true"] .count { color: #fff; }
.t-all { --c: var(--ink); }
.t-society { --c: var(--pink); }
.t-culture { --c: #7a3cff; }
.t-institutions { --c: #00a38d; }
.initiative { border-top-color: var(--c, var(--blue)); }
.initiative .desc { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.initiative .scope { display: flex; align-items: center; gap: 10px; }
.initiative .scope::after { margin-left: auto; }
.ours { font-size: 0.72rem; letter-spacing: 0.04em; background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 999px; }

.resource .badge { margin-left: 8px; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.68rem; color: var(--ink); }
.resource .src { font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.resource:hover .badge, .resource:hover .src { color: #fff; }
.page-head { padding: clamp(40px, 5vw, 64px) 0 0; }
.page-head + .band { padding-top: clamp(32px, 4vw, 48px); }

.filters a { font: 600 0.9rem var(--display); padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; }
.filters a:hover { border-color: var(--blue); color: var(--blue); }
.filters a[aria-current] { background: var(--ink); color: #fff; }
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 56px; font: 600 0.95rem var(--display); }
.pager a { color: var(--ink); text-decoration: none; }
.pager .nums { display: flex; gap: 6px; }
.pager .nums a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); }
.pager .nums a:hover, .pager .step:hover { color: var(--blue); border-color: var(--blue); }
.pager .nums a[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }

.contact { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--line); border-top: 4px solid var(--blue); border-radius: 6px; padding: 28px; }
.contact:nth-child(3n + 2) { border-top-color: var(--pink); }
.contact:nth-child(3n) { border-top-color: var(--ink); }
.contact h3 { font-size: 1.35rem; }
.contact .unit { font: 600 0.9rem var(--display); color: var(--blue); margin: 6px 0 14px; }
.contact p { color: var(--muted); font-size: 0.97rem; }
.reach { list-style: none; padding: 14px 0 0; margin: 0 0 18px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.reach li { margin-bottom: 6px; }
.contact .more { margin-top: auto; }
.resource:hover h3 { color: #fff; }
.cta-text { max-width: 60ch; margin: 14px 0 0; opacity: 0.85; }
@media (min-width: 901px) and (max-width: 1240px) { .nav { gap: 14px; font-size: 0.88rem; } .brand { font-size: 1.1rem; } }

.platform { background: var(--paper); border: 1.5px solid var(--line); }
.platform:hover { border-color: var(--blue); }
.band.tint .sub:first-of-type { margin-top: 0; }

.center { text-align: center; margin: 48px 0 0; }

.logo-box { height: 64px; display: flex; align-items: center; margin-bottom: 20px; }
.logo-box img { max-height: 100%; max-width: min(200px, 100%); width: auto; height: auto; object-fit: contain; }
.logo-box span { font: 700 1.5rem var(--display); letter-spacing: -0.03em; color: var(--ink); }
.platform:hover { background: var(--paper); color: var(--ink); }
.platform:hover p { color: var(--muted); }
.platform:hover h3 { color: var(--blue); }

/* Long section names: short form in the desktop menu bar, full form in the mobile menu and for screen readers. */
.nav .n-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .nav .n-short { display: none; }
  .nav .n-full { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
}

.explainer h2 { font-size: 1.6rem; margin: 2em 0 0.6em; }
.explainer h2:first-child { margin-top: 0; }
.explainer li { margin-bottom: 0.8em; }
.person { background: var(--paper); border-radius: 6px; padding: 28px; }
.person .avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--blue); color: #fff; font: 600 1.6rem var(--display); margin-bottom: 18px; }
.person:nth-child(3n + 2) div.avatar { background: var(--pink); }
.person:nth-child(3n) div.avatar { background: var(--ink); }
.person h3 { font-size: 1.25rem; }
.person .unit { font: 600 0.9rem var(--display); color: var(--blue); margin: 6px 0 12px; }
.person p { color: var(--muted); font-size: 0.97rem; }
.plinks { display: flex; gap: 16px; margin: 0; }
.plinks a { font: 600 0.9rem var(--display); }
.services .example { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink); }
.services .example a { white-space: nowrap; font-weight: 600; }
.person .avatar { width: 132px; height: 132px; }
.person img.avatar { background: var(--mist); filter: grayscale(1); }

.section-lead { color: var(--muted); margin: -12px 0 32px; font-size: 1.1rem; }
.missing { margin: 36px 0 0; max-width: 75ch; color: var(--muted); }
.missing strong { color: var(--ink); }
#institucijos, #platformos { scroll-margin-top: 80px; }

.news-card .thumb { background: var(--mist); }
.news-card .cover { width: 100%; height: 100%; display: block; transition: transform 0.4s; }
.news-card:hover .cover { transform: scale(1.04); }
.post-cover { height: clamp(160px, 22vw, 260px); border-radius: 6px; overflow: hidden; margin-bottom: 44px; background: var(--mist); }
.post-cover .cover { width: 100%; height: 100%; display: block; }

/* Resources page: group tiles on top, one list of cards below */
.res-tiles { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 18px; }
.res-tiles .topic { display: flex; flex-direction: column; }
.topic .desc { display: block; margin-top: 8px; font: 400 0.86rem/1.45 var(--body); color: var(--muted); }
.topic[aria-pressed="true"] .desc { color: rgba(255, 255, 255, 0.85); }
.g-tools { --c: var(--blue); }
.g-institutions { --c: var(--pink); }
.g-platforms { --c: #00a38d; }
.g-pub { --c: #7a3cff; }
.g-media { --c: var(--ink); }
.res-tools { margin: 0 0 28px; font-size: 0.92rem; color: var(--muted); }
.res-tools input { accent-color: var(--blue); margin-right: 6px; }
.rcard { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--line); border-top: 4px solid var(--c, var(--blue)); border-radius: 6px; padding: 26px; }
.rcard .label { color: var(--c, var(--pink)); }
.rcard .label .badge { margin-left: 8px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.68rem; color: var(--muted); }
.rcard h3 { font-size: 1.15rem; margin-bottom: 8px; }
.rcard h3 a { color: var(--ink); text-decoration: none; }
.rcard h3 a:hover { color: var(--blue); }
.rcard .src { font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.rcard .rtext { color: var(--muted); font-size: 0.95rem; }
.rcard .logo-box { height: 52px; margin-bottom: 14px; }
.rcard .more { margin-top: auto; padding-top: 6px; }
.rcard.rnote { background: var(--mist); border-style: dashed; }

.res-tiles { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.res-tiles .topic { padding: 16px 16px 18px; }
.res-tiles .topic .count { font-size: 2.2rem; }
@media (max-width: 1100px) { .res-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .res-tiles { grid-template-columns: repeat(2, 1fr); } .topic .desc { display: none; } }
.rcard .logo-box img { height: 100%; max-height: 52px; min-width: 40px; }

.res-tiles .topic { position: relative; }
.tile-icon { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; color: var(--c); opacity: 0.9; }
.topic[aria-pressed="true"] .tile-icon { color: #fff; }
