/* Fundacja Liga Niezwykłych Umysłów — one stylesheet for the whole site.
   Sections: tokens, base, components, header & footer, home, pages, motion & responsive. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; 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+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Mulish"; src: url("/assets/fonts/mulish-latin.woff2") format("woff2"); font-weight: 200 1000; 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+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; src: url("/assets/fonts/mulish-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; 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+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0c1f31;
  --navy: #1e4261;
  --cyan: #00aeca;
  --cyan-700: #00697b;
  --cyan-50: #d9f3f8;
  --yellow: #ffc53d;
  --yellow-50: #fff1c9;
  --coral: #ff6b4a;
  --paper: #fff9ec;
  --white: #fff;
  --muted: #46586b;
  --line: #e6dcc4;
  --radius: 20px;
  --radius-small: 12px;
  --stroke: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
  --pop-big: 10px 10px 0 var(--ink);
  --dots: radial-gradient(rgb(12 31 49 / 9%) 1.4px, transparent 1.6px);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-height: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper) var(--dots) 0 0 / 20px 20px; color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--cyan-700); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.shell { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.shell--narrow > * { max-width: 860px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--white); border-radius: 10px; }
.skip:focus { top: 1rem; }
.icon { flex: none; }

/* ---------- Components ---------- */
.eyebrow { display: inline-block; margin: 0 0 1rem; padding: .28rem .8rem; background: var(--ink); color: var(--white); border-radius: 8px; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-2deg); }
.lead { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; }
.meta { color: var(--muted); font-size: .92rem; font-weight: 700; }
.meta--large { margin: 1rem 0 0; font-size: 1.05rem; }
.footnote { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.frame { border: 4px solid var(--ink); border-radius: 26px; box-shadow: var(--pop-big); transform: rotate(1.6deg); }
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.35rem; border: var(--stroke); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.2; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn .icon, .more .icon { transition: transform .15s ease; }
.btn:hover .icon, .more:hover .icon, .card:hover .more .icon { transform: translateX(4px); }
.btn--primary, .btn--primary:hover { background: var(--yellow); color: var(--ink); }
.btn--ghost, .btn--ghost:hover, .btn--light, .btn--light:hover { background: var(--white); color: var(--ink); }
.btn--small { padding: .5rem 1rem; font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); font-family: var(--font-display); font-weight: 800; text-decoration: none; }
.more .icon { color: var(--coral); }
a.more:hover { color: var(--cyan-700); }
.link-row { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 1.1rem 0 0; }
.link-row:empty { display: none; }
.link-row--stack { flex-direction: column; align-items: flex-start; }
.pill { display: inline-block; padding: .2rem .7rem; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pill--live { background: var(--cyan); }
.pill--live::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; background: var(--ink); border-radius: 50%; animation: blink 1.4s ease-in-out infinite; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { padding: .1rem .6rem; background: var(--yellow-50); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.section { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--yellow { background-color: var(--yellow); border-block: var(--stroke); }
.section--cyan { background-color: var(--cyan); border-block: var(--stroke); }
.dots { background-image: radial-gradient(rgb(12 31 49 / 16%) 1.6px, transparent 1.8px); background-size: 16px 16px; }
.section--yellow .lead, .section--cyan .lead { color: var(--ink); }
.section--flush { padding-top: clamp(2rem, 4vw, 3rem); }
.section__head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__head .lead { max-width: 60ch; margin: .9rem 0 0; }
.section__head--art { align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: clamp(1.5rem, 4vw, 3rem); }
.section__head--art > div { flex: 1; }
.section__head--art .more { align-self: flex-end; white-space: nowrap; }
.frame--small { width: min(300px, 32%); border-radius: 20px; box-shadow: var(--pop); transform: rotate(-3deg); }
.section__head .more, .section--yellow .more, .section--cyan .section__head .more { padding: .45rem .9rem; background: var(--white); border: var(--stroke); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.group-title { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.group-title:first-child { margin-top: 0; }
.card { display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem; background: var(--white); color: inherit; border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); text-decoration: none; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: var(--pop-big); color: inherit; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.8rem; }
.project-card__art { width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem .4rem; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: var(--stroke); transition: transform .3s ease; }
.project-card:hover .project-card__art { transform: scale(1.04); }
.project-card .pill { align-self: flex-start; }
.project-card p { margin: 0; }
.project-card .meta { margin-top: -.3rem; }
.project-card .more { margin-top: auto; padding-top: .6rem; }
.band { position: relative; padding: clamp(1.5rem, 3.5vw, 2.5rem); border: var(--stroke); border-radius: calc(var(--radius) + 6px); box-shadow: var(--pop-big); overflow: hidden; }
.band h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.band p { max-width: 62ch; }
.band .btn { margin-top: .6rem; }
.band__art { width: calc(100% + 2 * clamp(1.5rem, 3.5vw, 2.5rem)); max-width: none; margin: calc(-1 * clamp(1.5rem, 3.5vw, 2.5rem)); margin-bottom: 1.6rem; aspect-ratio: 2 / 1; object-fit: cover; border-bottom: var(--stroke); }
.band--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); align-content: center; }
.band--wide .band__art { grid-column: 2; grid-row: 1 / span 4; width: calc(100% + clamp(1.5rem, 3.5vw, 2.5rem)); height: calc(100% + 2 * clamp(1.5rem, 3.5vw, 2.5rem)); margin: calc(-1 * clamp(1.5rem, 3.5vw, 2.5rem)) calc(-1 * clamp(1.5rem, 3.5vw, 2.5rem)) calc(-1 * clamp(1.5rem, 3.5vw, 2.5rem)) 0; aspect-ratio: auto; border-bottom: 0; border-left: var(--stroke); }
.band--wide > :not(.band__art) { grid-column: 1; justify-self: start; }
.band--navy { background: var(--ink); color: #d5e0ea; }
.band--navy h2 { color: var(--white); }
.band--navy .eyebrow { background: var(--cyan); color: var(--ink); }
.band--yellow { background: var(--yellow); }
.band__contact { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; margin: 1.2rem 0 0; }
.band__contact a { color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; }
.note { margin-top: 2rem; padding: 1.3rem 1.5rem; background: var(--yellow-50); border: var(--stroke); border-radius: var(--radius-small); box-shadow: 4px 4px 0 var(--yellow); }
.note h2 { margin-bottom: .5rem; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.note p { margin: 0; font-size: .98rem; }
.note--inline { margin: 0 0 2rem; font-weight: 700; }
.alert { padding: 1.3rem 1.5rem; background: #ffe3da; border: 3px solid var(--coral); border-radius: var(--radius-small); }
.alert--strong { margin-top: 1.5rem; font-weight: 800; }

/* ---------- Header & footer ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--stroke); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; }
.brand .sygnet { width: 46px; fill: var(--cyan); transition: transform .3s ease; }
.brand:hover .sygnet { transform: rotate(-8deg) scale(1.08); }
.brand__text { display: grid; line-height: 1.05; }
.brand__text small { color: var(--cyan-700); font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.brand__text strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
.brand--light { color: var(--white); }
.brand--light .brand__text small { color: var(--cyan); }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav > a:not(.btn) { position: relative; padding: .45rem .7rem; color: var(--ink); border-radius: 10px; font-weight: 800; text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.site-nav > a:not(.btn):hover { background: var(--yellow); transform: rotate(-2deg); }
.site-nav > a[aria-current]:not(.btn) { background: var(--cyan); }
.site-nav .btn { margin-left: .6rem; }
.lang { position: relative; margin-left: .4rem; }
.lang summary { display: flex; align-items: center; gap: .35rem; padding: .4rem .6rem; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); font-family: var(--font-mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 5; min-width: 150px; padding: .4rem; background: var(--white); border: var(--stroke); border-radius: 14px; box-shadow: var(--pop); }
.lang a { display: block; padding: .45rem .7rem; color: var(--ink); border-radius: 8px; font-weight: 700; text-decoration: none; }
.lang a:hover { background: var(--yellow); }
.lang a[aria-current] { background: var(--cyan-50); }
.menu-toggle { display: none; padding: .5rem 1rem; background: var(--yellow); color: var(--ink); border: var(--stroke); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); font: 800 .95rem var(--font-display); cursor: pointer; }
.site-footer { padding-top: clamp(3rem, 6vw, 4.5rem); background: var(--ink) radial-gradient(rgb(255 255 255 / 7%) 1.4px, transparent 1.6px) 0 0 / 20px 20px; color: #b9c8d6; border-top: 6px solid var(--yellow); font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.site-footer__about p { max-width: 34ch; margin: 1.2rem 0 0; }
.site-footer h2 { margin-bottom: 1rem; color: var(--yellow); font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer address { line-height: 1.9; }
.registry { display: flex; flex-wrap: wrap; gap: .2rem 1rem; color: #8ea2b5; font-family: var(--font-mono); font-size: .76rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid rgb(255 255 255 / 14%); font-size: .9rem; }
.site-footer__bottom a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }

/* ---------- Home ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero h1 { max-width: 14ch; }
.hero h1::after { content: ""; display: block; width: 7.5rem; height: .7rem; margin-top: 1.1rem; background: var(--coral); border: 2px solid var(--ink); border-radius: 999px; transform: rotate(-2deg); }
.hero .lead { max-width: 46ch; margin: 1.5rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 0; }
.hero__art { position: relative; }
.hero__art .frame { position: relative; z-index: 1; animation: sway 7s ease-in-out infinite; }
.burst { position: absolute; z-index: 2; aspect-ratio: 1; clip-path: polygon(50% 0, 61% 26%, 85% 10%, 76% 37%, 100% 42%, 78% 57%, 93% 82%, 65% 74%, 60% 100%, 44% 78%, 22% 96%, 26% 68%, 0 62%, 22% 46%, 6% 22%, 34% 28%); animation: spin 14s linear infinite; }
.burst--a { width: 92px; right: -26px; top: -34px; background: var(--coral); }
.burst--b { width: 64px; left: -22px; bottom: -14px; background: var(--cyan); animation-direction: reverse; }
.ticker { margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: .9rem; background: var(--ink); color: var(--white); border-block: var(--stroke); transform: rotate(-1.2deg) scale(1.03); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker span { display: inline-flex; align-items: center; padding-inline: 1.4rem; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; white-space: nowrap; }
.ticker span::after { content: "★"; margin-left: 2.8rem; color: var(--yellow); }
.ticker span:nth-child(3n + 2) { color: var(--cyan); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.stats > div { padding: 1.4rem 1.5rem; background: var(--white); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); transition: transform .15s ease; }
.stats > div:hover { transform: rotate(0) scale(1.04); }
.stats > div:nth-child(1) { background: var(--cyan); transform: rotate(-1.5deg); }
.stats > div:nth-child(2) { background: var(--yellow); transform: rotate(1.2deg); }
.stats > div:nth-child(3) { transform: rotate(-.8deg); }
.stats > div:nth-child(4) { background: var(--ink); color: var(--white); transform: rotate(1.6deg); }
.stats dt { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stats dd { margin-top: .5rem; font-size: .92rem; font-weight: 700; line-height: 1.4; }
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about__copy { position: sticky; top: calc(var(--header-height) + 2rem); }
.about__copy .lead { margin-top: 1.3rem; }
.about__areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.area { padding: 1.4rem; background: var(--white); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); transition: transform .15s ease; }
.area:hover { transform: translate(-3px, -3px) rotate(-1deg); }
.area::before { content: ""; display: block; width: 64px; height: 64px; margin-bottom: 1rem; background: var(--cyan) center / 40px no-repeat; border: var(--stroke); border-radius: 18px; transform: rotate(-4deg); }
.area:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22%230c1f31%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 18 24 9l20 9-20 9z%22 fill=%22%23fff%22/%3E%3Cpath d=%22M12 22v9c0 3 5 6 12 6s12-3 12-6v-9M44 18v11%22/%3E%3C/svg%3E"); }
.area:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22%230c1f31%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%228%22 width=%2238%22 height=%2224%22 rx=%223%22 fill=%22%23fff%22/%3E%3Cpath d=%22M13 17l5 4-5 4M23 25h9M17 40l7-8 7 8%22/%3E%3C/svg%3E"); background-color: var(--yellow); transform: rotate(3deg); }
.area:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22%230c1f31%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%226%22 y=%2216%22 width=%2236%22 height=%2224%22 rx=%224%22 fill=%22%23fff%22/%3E%3Cpath d=%22M17 16v-4a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v4M6 27h36M21 27v4h6v-4%22/%3E%3C/svg%3E"); background-color: var(--coral); }
.area:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22%230c1f31%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 8h13v6a4 4 0 1 0 6 0V8h13v13h-6a4 4 0 1 0 0 6h6v13H27v-6a4 4 0 1 0-6 0v6H8V27h6a4 4 0 1 0 0-6H8z%22 fill=%22%23fff%22/%3E%3C/svg%3E"); background-color: var(--yellow-50); transform: rotate(4deg); }
.area h3 { margin-bottom: .6rem; }
.area p { margin: 0; color: var(--muted); font-size: .98rem; }
.news-list { display: grid; gap: 2rem; }
.news-item { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1rem 2rem; padding: 1.6rem; background: var(--white); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); }
.news-item::after { content: ""; position: absolute; left: 46px; bottom: -17px; width: 28px; height: 28px; background: var(--white); border-right: var(--stroke); border-bottom: var(--stroke); transform: skewX(28deg) rotate(45deg); }
.news-item__date { display: grid; align-content: start; justify-items: start; gap: .5rem; margin: 0; }
.news-item__date time { padding: .3rem .7rem; background: var(--yellow); border: 2px solid var(--ink); border-radius: 10px; font-family: var(--font-display); font-weight: 800; line-height: 1.25; transform: rotate(-3deg); }
.news-item:nth-child(even) .news-item__date time { background: var(--cyan); transform: rotate(2deg); }
.news-item__date span { color: var(--cyan-700); font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.news-item h3 { margin-bottom: .7rem; font-size: 1.4rem; }
.news-item p { color: var(--muted); }
.news-item__body > p:last-of-type { margin-bottom: 0; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.2rem; }
.logo-wall li { height: 116px; padding: 1.1rem 1.3rem; background: var(--white); border: var(--stroke); border-radius: var(--radius-small); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease; }
.logo-wall li:hover { transform: rotate(-2deg) scale(1.05); }
.logo-wall li:nth-child(even):hover { transform: rotate(2deg) scale(1.05); }
.logo-wall img, .partner__logo img, .partnership__logo img, .project__partners img { width: 100%; height: 100%; object-fit: contain; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }

/* ---------- Pages ---------- */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 2vw, 1.5rem); }
.page-head h1 { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.page-head .lead { max-width: 68ch; margin: 1.3rem 0 0; }
.page-head .pill { margin-bottom: 1rem; }
.page-head--art .shell { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: clamp(2rem, 5vw, 4rem); align-content: center; }
.page-head--art .shell > * { grid-column: 1; justify-self: start; }
.page-head--art .page-head__art { grid-column: 2; grid-row: 1 / span 6; align-self: center; justify-self: stretch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; color: var(--muted); font-family: var(--font-mono); font-size: .78rem; }
.crumbs a { color: var(--cyan-700); text-decoration: none; }
.crumbs [aria-current] { max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prose { font-size: 1.09rem; }
.prose p { margin-bottom: 1.2rem; }
.prose h2 { margin: 2.4rem 0 1rem; font-size: 1.5rem; }
.prose section:first-child h2 { margin-top: 0; }
.prose section.alert { margin-top: 2.4rem; }
.prose section.alert h2 { margin-top: 0; }
.project { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project__links { margin-top: 2.2rem; }
.project__links h2, .project__partners h2 { margin-bottom: .9rem; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-700); }
.project__side { position: sticky; top: calc(var(--header-height) + 1.5rem); display: grid; gap: 1.6rem; }
.facts { display: grid; background: var(--ink); color: #c5d3df; border: var(--stroke); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--yellow); }
.facts > div { padding: 1.2rem 1.5rem; }
.facts > div + div { border-top: 1px solid rgb(255 255 255 / 14%); }
.facts dt { color: var(--yellow); font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.facts dd { margin-top: .25rem; font-size: .92rem; }
.project__partners { padding: 1.4rem 1.5rem; background: var(--white); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); }
.project__partners ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.project__partners a { display: block; height: 84px; padding: .7rem; border: 2px solid var(--line); border-radius: var(--radius-small); }
.project__partners a.is-dark { background: var(--ink); }
.partnerships { display: grid; gap: 2rem; }
.partnership { position: relative; padding: clamp(1.5rem, 3.5vw, 2.5rem); background: var(--white); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); }
.partnership h2 { max-width: 28ch; margin-bottom: 1.1rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.partnership p { max-width: 78ch; }
.partnership__logo { float: right; width: 150px; height: 110px; margin: 0 0 1rem 1.5rem; padding: .9rem; border: var(--stroke); border-radius: var(--radius-small); transform: rotate(3deg); }
.partnership__logo--dark, .partner__logo--dark { background: var(--ink); }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 1.5rem; }
.partner { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem; background: var(--white); color: var(--ink); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.partner:hover { transform: translate(-3px, -3px) rotate(-.8deg); box-shadow: var(--pop-big); color: var(--ink); }
.partner__logo { height: 120px; margin-bottom: .5rem; padding: 1rem 1.2rem; border: 2px solid var(--line); border-radius: var(--radius-small); }
.partner strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.partner > span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.doc-group { margin-bottom: 2rem; padding: 1.6rem; background: var(--white); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); }
.doc-group h2 { margin-bottom: .8rem; font-size: 1.6rem; }
.doc-group > p { color: var(--muted); }
.files { display: grid; gap: .7rem; margin-top: 1.2rem; }
.files a { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-small); text-decoration: none; transition: transform .12s ease, background-color .12s ease; }
.files a:hover { background: var(--yellow); transform: translateX(6px); }
.files__type { flex: none; padding: .3rem .5rem; background: var(--coral); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; transform: rotate(-4deg); }
.files__name { display: grid; flex: 1; line-height: 1.35; }
.files__name small { color: var(--muted); }
.files__size { flex: none; font-family: var(--font-mono); font-size: .78rem; }
.doc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 2.2rem; padding-bottom: 1.2rem; border-bottom: var(--stroke); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 1.5rem; }
.contact-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem 1.5rem; background: var(--white); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); overflow-wrap: anywhere; }
.contact-cards--wide .contact-card:nth-child(1) { background: var(--yellow); }
.contact-cards--wide .contact-card:nth-child(2) { background: var(--cyan); }
.contact-card > span { margin-bottom: .3rem; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { font-family: var(--font-display); }
.contact-card p { margin: 0; }
.contact-card a { color: var(--ink); }
.contact-card__big { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.5rem; }
.board > div { padding: 1.4rem 1.5rem; background: var(--yellow-50); border: var(--stroke); border-radius: var(--radius); }
.board h3 { margin-bottom: .7rem; font-size: 1.1rem; }
.not-found__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.not-found .frame { transform: rotate(-2deg); }

/* ---------- Motion & responsive ---------- */
@keyframes ticker { to { transform: translateX(-33.333%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway { 0%, 100% { transform: rotate(1.6deg); } 50% { transform: rotate(-1deg) translateY(-6px); } }
@keyframes blink { 50% { opacity: .25; } }
.has-motion .reveal { opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .45s ease, transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.has-motion .reveal.is-visible { opacity: 1; transform: none; }
.has-motion .stats > .reveal.is-visible { transform: revert-layer; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; background: var(--paper); border-bottom: var(--stroke); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { padding: .9rem .6rem; border-bottom: 2px solid var(--line); border-radius: 0; font-size: 1.1rem; }
  .site-nav > a:not(.btn):hover { transform: none; }
  .lang { align-self: flex-start; margin: 1.2rem 0 0; }
  .lang ul { position: static; display: flex; flex-wrap: wrap; margin-top: .5rem; box-shadow: none; }
  .site-nav .btn { align-self: flex-start; margin: 1.2rem 0 0; }
}
@media (max-width: 980px) {
  .hero__grid, .about, .duo, .project, .not-found__grid, .band--wide, .page-head--art .shell { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 560px; margin-top: 1rem; }
  .page-head--art .page-head__art { grid-column: 1; grid-row: auto; max-width: 480px; margin-top: 2rem; }
  .band--wide .band__art { grid-column: 1; grid-row: 1; width: calc(100% + 2 * clamp(1.5rem, 3.5vw, 2.5rem)); height: auto; margin: calc(-1 * clamp(1.5rem, 3.5vw, 2.5rem)); margin-bottom: 1.6rem; aspect-ratio: 2 / 1; border-left: 0; border-bottom: var(--stroke); }
  .about__copy, .project__side { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__head--art { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  :root { --pop: 4px 4px 0 var(--ink); --pop-big: 6px 6px 0 var(--ink); }
  .brand .sygnet { width: 38px; }
  .brand__text strong { font-size: 1rem; }
  .about__areas { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .news-item__date { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
  .partnership__logo { float: none; margin: 0 0 1.2rem; }
  .files a { flex-wrap: wrap; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame--small { width: 70%; }
  .burst--a { width: 64px; right: -10px; top: -24px; }
  .burst--b { left: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
