/* Fundacja Patrz Globalnie · "The Glass Eye" redesign */
:root {
  --ink: #070d11;
  --ink-2: #0d171d;
  --ink-3: #1f2a2e;
  --blue: #2e73c2;
  --blue-hi: #74b4ff;
  --text: #e8eef3;
  --muted: #95a6b2;
  --line: rgba(160, 200, 255, .14);
  --glass: rgba(18, 32, 42, .55);
  /* two accents only: brand blue for everything, gold sparingly (EU, and the word "Art") */
  --gold: #ffcc00;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--body); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(30px, 5vw, 64px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p { margin: 0 0 1em; }
kbd { font: 600 .8em var(--mono); padding: .1em .45em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: rgba(255,255,255,.04); }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 600 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 1.1em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.small { font-size: 14px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.glass {
  background: linear-gradient(160deg, rgba(40,70,95,.45), rgba(10,20,28,.55));
  border: 1px solid var(--line); border-radius: 22px;
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.6);
}
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; border: 0; }
.btn:hover { text-decoration: none; background: #3a85dc; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn--accent { margin-top: 10px; background: var(--c); color: var(--ink); box-shadow: 0 8px 26px -8px var(--c); transition: filter .2s, transform .2s; }
.btn--accent:hover { background: var(--c); filter: brightness(1.1); transform: translateY(-2px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

/* ---------- scrollytelling ---------- */
.scrolly { position: relative; height: var(--len, 200vh); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); transition: background .4s, backdrop-filter .4s; }
.nav.is-solid { background: rgba(7,13,17,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__logo img { height: 54px; width: auto; filter: brightness(0) invert(1); margin: -6px 0 -6px -14px; }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links a { color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.nav__links a:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.nav__cta { border: 1px solid var(--line); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .3s; }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 26px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
/* EN | PL switch (built by i18n.js) */
.nav__links { margin-left: auto; }
.lang { display: flex; gap: 2px; margin-left: 14px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,13,17,.4); flex: none; }
.lang a { padding: 6px 10px; border-radius: 999px; font: 700 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.lang a:hover { color: var(--text); text-decoration: none; }
.lang a[aria-current] { background: var(--blue-hi); color: var(--ink); }
.i18n-pending body { opacity: 0; }
body { transition: opacity .2s; }
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .lang { margin: 0 6px 0 auto; }
  .nav__links { position: fixed; inset: 72px 12px auto 12px; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 20px; background: rgba(10,18,24,.96); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: 14px 16px; }
  .nav__logo img { height: 46px; }
}

/* ---------- 1 hero ---------- */
.hero .sticky { background: radial-gradient(120% 90% at 50% 40%, #12324f 0%, #08141c 45%, var(--ink) 75%); }
.hero__canvas, .map__canvas, .transform__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__veil { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.hero__copy { position: absolute; left: var(--gutter); bottom: clamp(28px, 9vh, 90px); max-width: 640px; pointer-events: none; }
.hero__title { font-size: clamp(48px, 10vw, 150px); font-weight: 800; margin: 0 0 .15em; line-height: .92; }
.hero__title span { display: inline-block; background: linear-gradient(180deg, #fff 0%, #b9dcff 55%, #4c8fd8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { color: #bfd0dc; font-size: clamp(16px, 1.5vw, 19px); max-width: 44ch; }
.hero__hint { position: absolute; right: var(--gutter); bottom: clamp(28px, 9vh, 90px); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__hint i { width: 1px; height: 54px; background: linear-gradient(var(--blue-hi), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) { .hero__hint { display: none; } }

/* ---------- 2 manifesto ---------- */
.manifesto .sticky { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px var(--gutter) 40px; background: radial-gradient(70% 50% at 50% 50%, #0d1f2c, var(--ink)); }
.manifesto__box { position: relative; width: min(1100px, 100%); }
.manifesto__text { font: 800 clamp(30px, min(6.6vw, 9.5vh), 96px)/1.04 var(--display); letter-spacing: -.03em; text-align: center; margin: 0; perspective: 900px; }
.manifesto__text .ch { display: inline-block; will-change: transform, opacity, filter; background: linear-gradient(180deg, #ffffff, #a9c9e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto__text .w { display: inline-block; white-space: nowrap; transform-style: preserve-3d; }
.manifesto__text .k .ch { background: none; color: inherit; }
.k1, .k2, .k3 { color: var(--blue-hi); } .k4 { color: var(--gold); }
.manifesto__text b { font-weight: inherit; }
.steps { display: flex; gap: 10px; list-style: none; padding: 0; margin: clamp(18px, 5vh, 46px) 0 clamp(12px, 2.5vh, 22px); flex-wrap: wrap; justify-content: center; }
.steps li { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: .4s; }
.steps li + li::before { content: "→"; margin-right: 10px; opacity: .5; }
.steps li.on { color: var(--ink); background: var(--blue-hi); border-color: transparent; }
.steps li.on.s4 { background: var(--gold); }
.manifesto__about { max-width: 60ch; text-align: center; color: var(--muted); }


/* ---------- 3 map ---------- */
.map .sticky { background: radial-gradient(90% 70% at 55% 55%, #0b2236, var(--ink) 70%); }
.map__head { position: absolute; top: 92px; left: var(--gutter); right: var(--gutter); max-width: 520px; pointer-events: none; }
.map__head h2 { font-size: clamp(26px, 3.4vw, 46px); }
.map__panel { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(340px, 40vw); padding: 24px; --c: var(--blue-hi); transition: border-color .4s; border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.map__date { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); margin-bottom: 8px; }
.map__title { margin-bottom: 6px; }
.map__place { color: var(--muted); margin-bottom: 14px; }
.map__countries { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.map__countries li { font: 600 12px var(--mono); padding: 5px 9px; border-radius: 8px; background: color-mix(in srgb, var(--c) 18%, transparent); color: #fff; }
.map__meta { font-size: 14px; color: var(--muted); }
.map__link { font-weight: 700; color: var(--c); }
.map__country { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-30%); width: min(320px, 80vw); padding: 22px; z-index: 3; }
.map__country .x { position: absolute; right: 10px; top: 8px; background: none; border: 0; font-size: 24px; color: var(--muted); }
.map__country q { display: block; font-style: italic; margin: 10px 0 6px; }
.map__country ul { padding-left: 18px; margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.map__timeline { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; }
.map__ticks { position: relative; height: 34px; margin: 0 9px; }
.map__ticks span { position: absolute; bottom: 4px; transform: translateX(-50%); font: 600 10px var(--mono); letter-spacing: .06em; color: var(--muted); white-space: nowrap; text-transform: uppercase; transition: color .3s; }
.map__ticks span::after { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin: 5px auto 0; }
.map__ticks span.on { color: #fff; }
.map__range { width: 100%; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-hi) var(--p, 0%), rgba(255,255,255,.12) var(--p, 0%)); outline-offset: 6px; }
.map__range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(116,180,255,.25); cursor: grab; }
.map__range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(116,180,255,.25); cursor: grab; }
.map__counter { margin-top: 12px; font: 600 12px var(--mono); color: var(--muted); letter-spacing: .06em; }
.map__counter b { color: #fff; font-size: 16px; }
.map__tip { position: absolute; left: var(--gutter); bottom: 120px; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5f7484; }
@media (max-width: 820px) {
  .map__head { top: 76px; }
  .map__panel { top: auto; bottom: 120px; transform: none; left: var(--gutter); right: var(--gutter); width: auto; padding: 16px 18px; }
  .map__panel .map__meta { display: none; }
  .map__title { font-size: 18px; }
  .map__place { margin-bottom: 8px; font-size: 14px; }
  .map__countries { margin-bottom: 6px; }
  .map__ticks span:not(.on) { font-size: 0; }
  .map__tip { display: none; }
  .map__country { top: 76px; transform: none; }
}

/* ---------- 4 transform ---------- */
.transform .sticky { background: radial-gradient(80% 60% at 60% 60%, #142632, var(--ink) 75%); }
.stage-label { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 430px; opacity: 0; transition: opacity .5s, transform .5s; pointer-events: none; --c: var(--blue-hi); }
.stage-label.on { opacity: 1; pointer-events: auto; }
.stage-label .eyebrow { color: var(--c); }
.stage-label h2 { font-size: clamp(34px, 5vw, 68px); }
.stage-label h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--c); margin-top: 18px; }
.stage-label p { color: #c4d2dc; }
.stage-label a { color: var(--c); font-weight: 700; }
.transform__dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.transform__dots li { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--muted); transition: .3s; }
.transform__dots li.on { background: #fff; border-color: #fff; transform: scale(1.3); }
.transform__tip { transition: opacity .5s; position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5f7484; white-space: nowrap; }
@media (max-width: 820px) {
  .stage-label { top: auto; bottom: 56px; transform: none; right: var(--gutter); max-width: none; background: linear-gradient(transparent, rgba(7,13,17,.9) 30%); padding-top: 40px; }
  .stage-label h2 { font-size: 30px; }
  .stage-label p { font-size: 15px; }
  .transform__intro { bottom: auto; top: 90px; background: none; }
}

/* ---------- 5 posters ---------- */
.posters { padding: clamp(80px, 14vh, 160px) 0; }
.poster-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2vw, 24px); margin-top: 40px; }
.poster { display: flex; flex-direction: column; gap: 10px; width: min-content; color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.35; }
.poster img { display: block; height: clamp(190px, 24vw, 343px); width: auto; max-width: calc(100vw - 2 * var(--gutter)); object-fit: cover; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.45); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.poster b { color: var(--text); font-weight: 600; }
.poster:hover img, .poster:focus-visible img { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,.55); }

/* ---------- 6 projects (simple, classic rows) ---------- */
.projects { padding: clamp(80px, 14vh, 160px) 0; }
.proj { --c: var(--blue-hi); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(36px, 7vh, 72px) 0; border-top: 1px solid var(--line); }
.projects h2 + .proj { margin-top: 30px; }
.proj:nth-of-type(even) .proj__media { order: 2; }
/* the original posters, shown whole at (close to) their real size */
.proj__posters { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 2vw, 22px); }
.proj__posters img { display: block; height: clamp(240px, 28vw, 380px); width: auto; max-width: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
/* two posters side by side (Art Meets AI 1 & 2) share one, slightly smaller height */
.proj__posters:has(> a + a) img, .proj__posters:has(> img + img) img { height: clamp(170px, 22vw, 330px); min-width: 0; }
.proj .eyebrow { color: var(--c); }
.proj h3 { font-size: clamp(26px, 3vw, 40px); }
.proj__body p { color: #c4d2dc; }
.proj__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.proj__btns .btn { margin: 0; }
@media (max-width: 820px) { .proj { grid-template-columns: 1fr; } .proj:nth-of-type(even) .proj__media { order: 0; } }

/* ---------- 8 voices ---------- */
.voices { padding: clamp(90px, 14vh, 160px) 0 60px; overflow: hidden; }
.board { position: relative; width: min(1200px, 100%); margin: 30px auto 0; height: clamp(620px, 80vh, 760px); perspective: 1400px; }
.pola { position: absolute; left: var(--x); top: var(--y); width: clamp(170px, 18vw, 230px); aspect-ratio: 5 / 6; padding: 0; border: 0; background: none; transform: rotate(var(--r)); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1), left .7s cubic-bezier(.2,.8,.2,1), top .7s cubic-bezier(.2,.8,.2,1); animation: drift var(--d) ease-in-out infinite; z-index: 1; }
.pola:hover { z-index: 5; }
@keyframes drift { 50% { translate: 0 -12px; } }
.pola__f, .pola__b { position: absolute; inset: 0; background: #f6f3ec; color: #1b1b1b; padding: 10px 10px 0; border-radius: 3px; box-shadow: 0 25px 40px -12px rgba(0,0,0,.65); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.pola__f img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pola i { font: 700 clamp(17px, 1.6vw, 21px)/1.2 var(--hand); font-style: normal; padding: 8px 2px; text-align: left; }
.pola__b { transform: rotateY(180deg); padding: 18px 16px; justify-content: space-between; background: #fffdf6; }
.pola__b q { font: 600 clamp(14px, 1.2vw, 16px)/1.35 var(--body); text-align: left; quotes: "“" "”"; }
.pola__b i { color: var(--blue); }
.pola.flipped { transform: rotate(0deg) rotateY(180deg) scale(1.15); z-index: 6; animation-play-state: paused; }
.board:hover .pola:not(.flipped) { transform: rotate(calc(var(--r) * .4)) translateY(-6px); }
@media (max-width: 760px) {
  .board { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; padding: 0 var(--gutter); }
  .pola { position: relative; left: auto; top: auto; width: 100%; }
}

/* ---------- 9 join ---------- */
.join { padding: clamp(80px, 12vh, 140px) 0; background: linear-gradient(var(--ink), #0b1a26); }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--body); color: var(--blue-hi); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--muted); }
@media (max-width: 900px) { .join__grid { grid-template-columns: 1fr; } }

/* ---------- 10 footer ---------- */
.foot { position: relative; text-align: center; padding: 70px var(--gutter) 40px; background: radial-gradient(60% 50% at 50% 20%, #10304a, #05090c 70%); }
.foot__bye { font: 800 clamp(28px, 4vw, 52px)/1.1 var(--display); margin-bottom: 26px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-bottom: 14px; }
.foot__links a { color: var(--text); font-weight: 600; }
.foot__social { color: var(--muted); margin-bottom: 22px; }
.foot__legal { font-size: 13px; color: #5f7484; margin: 0; }

/* ---------- reveal on view ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
.reduced .scrolly { height: auto !important; }
.reduced .sticky { position: relative; height: auto; min-height: 100vh; overflow: visible; }
.reduced .hero .sticky, .reduced .map .sticky, .reduced .transform .sticky { height: 100vh; overflow: hidden; }
.reduced .stage-label { position: static; opacity: 1; transform: none; max-width: none; padding: 20px var(--gutter); background: none; }
.reduced .transform .sticky { height: auto; }
.reduced .transform__canvas { position: relative; height: 70vh; }
.reduced .transform__dots, .reduced .transform__tip, .reduced .hero__hint { display: none; }
.reduced .pola { animation: none !important; }
.reduced .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* ---------- reports page (simple, calm) ---------- */
.reports { position: relative; min-height: 100vh; padding: 150px 0 100px; overflow: hidden; }
.reports__glow { position: absolute; left: 50%; top: -30vh; width: 120vh; height: 120vh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(46,115,194,.35), rgba(46,115,194,.08) 55%, transparent); pointer-events: none; }
.reports__wrap { position: relative; max-width: 860px; }
.reports h1 { font-size: clamp(38px, 7.2vw, 80px); background: linear-gradient(180deg, #fff, #9cc8f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reports__list { list-style: none; padding: 0; margin: 48px 0 40px; border-top: 1px solid var(--line); }
.reports__list a { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px; padding: 22px 8px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .25s, padding .25s; }
.reports__list a:hover, .reports__list a:focus-visible { text-decoration: none; background: rgba(116,180,255,.06); padding-left: 18px; }
.reports__list .y { font: 800 clamp(24px, 3.2vw, 38px)/1 var(--display); color: var(--blue-hi); width: 3.3em; }
.reports__list .t { font-weight: 700; font-size: 18px; }
.reports__list .f { font: 600 12px var(--mono); color: var(--muted); letter-spacing: .06em; }
.reports__list .d { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; transition: background .25s, color .25s; }
.reports__list a:hover .d { background: var(--blue); border-color: var(--blue); color: #fff; }
.reports__note a { color: var(--blue-hi); }
.foot--simple { padding-top: 50px; }
@media (max-width: 560px) { .reports__list a { grid-template-columns: auto 1fr auto; gap: 14px; } .reports__list .f { display: none; } }

/* ---------- contact page (same calm layout as reports) ---------- */
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); margin: 48px 0 64px; }
.social { --mx: 50%; --my: 30%; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 30px 28px 26px; border-radius: 24px; overflow: hidden; color: var(--text); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(40,70,95,.45), rgba(10,20,28,.6)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -34px rgba(0,0,0,.8); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; isolation: isolate; }
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(116,180,255,.22), transparent 70%); opacity: 0; transition: opacity .35s; }
.social:hover, .social:focus-visible { text-decoration: none; transform: translateY(-4px); border-color: rgba(116,180,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 34px 70px -30px rgba(46,115,194,.55); }
.social:hover::before, .social:focus-visible::before { opacity: 1; }
/* the icon sits in a glass lens, ringed by twelve gold marks: the EU stars; the ring turns on hover */
.social__icon { position: relative; width: 76px; height: 76px; margin: 0 0 18px 8px; border-radius: 50%; display: grid; place-items: center; color: var(--blue-hi); background: radial-gradient(circle at 34% 30%, rgba(160,210,255,.35), rgba(46,115,194,.14) 55%, rgba(7,13,17,.6)); border: 1px solid rgba(160,200,255,.22); box-shadow: inset 0 -8px 18px rgba(0,0,0,.35), 0 0 30px rgba(46,115,194,.25); }
.social__icon svg { width: 34px; height: 34px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.social__icon::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; background: repeating-conic-gradient(var(--gold) 0 4deg, transparent 4deg 30deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); opacity: .75; animation: social-spin 24s linear infinite paused; }
.social:hover .social__icon::after, .social:focus-visible .social__icon::after { animation-play-state: running; opacity: 1; }
.social:hover .social__icon svg { transform: scale(1.1); }
@keyframes social-spin { to { transform: rotate(360deg); } }
.social__k { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); }
.social__t { font: 700 clamp(21px, 2.3vw, 28px)/1.15 var(--display); }
.social__s { color: var(--muted); font-size: 15px; line-height: 1.45; margin-bottom: 16px; }
.social__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 15px; transition: background .3s, border-color .3s, color .3s; }
.social__go i { font-style: normal; transition: transform .3s; }
.social:hover .social__go, .social:focus-visible .social__go { background: var(--blue-hi); border-color: var(--blue-hi); color: var(--ink); }
.social:hover .social__go i { transform: translate(2px, -2px); }
@media (max-width: 700px) { .socials { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .social, .social__icon svg, .social__go i { transition: none; } .social:hover { transform: none; } .social__icon::after { animation: none; } }
.contact__list { list-style: none; padding: 0; margin: 0 0 64px; border-top: 1px solid var(--line); }
.contact__list a { display: grid; grid-template-columns: 9em 1fr auto; align-items: center; gap: 22px; padding: 24px 8px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .25s, padding .25s; }
.contact__list a:hover, .contact__list a:focus-visible { text-decoration: none; background: rgba(116,180,255,.06); padding-left: 18px; }
.contact__list .k { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); }
.contact__list .t { font: 700 clamp(20px, 2.4vw, 28px)/1.2 var(--display); }
.contact__list .t small { display: block; margin-top: 6px; font: 500 15px/1.45 var(--body); color: var(--muted); }
.contact__list .d { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; transition: background .25s, color .25s; }
.contact__list a:hover .d { background: var(--blue); border-color: var(--blue); color: #fff; }
.contact__h { font-size: clamp(26px, 3.4vw, 40px); }
.contact__topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: 24px; }
.contact__topics > div { padding: 22px 22px 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); }
.contact__topics h3 { font-size: 19px; color: var(--blue-hi); }
.contact__topics p { color: #c4d2dc; font-size: 15px; }
@media (max-width: 760px) { .contact__topics { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact__list a { grid-template-columns: 1fr auto; gap: 6px 14px; } .contact__list .k { grid-column: 1 / -1; } }

/* ---------- about page (same calm layout as contact and reports) ---------- */
.about h1 { font-size: clamp(34px, 6vw, 68px); }
/* six photos from the projects, in an even grid */
.about__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 14px); margin: 44px 0 64px; }
.about__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(0,0,0,.85); filter: saturate(.9); transition: transform .4s cubic-bezier(.2,.8,.2,1), filter .4s; }
.about__photos img:hover { transform: translateY(-3px); filter: none; }
@media (max-width: 600px) { .about__photos { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .about__photos img { transition: none; } .about__photos img:hover { transform: none; } }
.about__mission { margin-bottom: 64px; }
.about__mission h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 22ch; }
.about__mission p { color: #c4d2dc; font-size: 18px; line-height: 1.65; max-width: 62ch; }
.about__mission b { color: var(--text); }
.about__figures { container-type: inline-size; list-style: none; padding: 0; margin: 64px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__figures li { padding: 28px 22px 26px 0; }
.about__figures li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.about__figures b { display: block; white-space: nowrap; font: 800 clamp(22px, 4cqi, 40px)/1.05 var(--display); color: var(--blue-hi); margin-bottom: 8px; }
.about__figures span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.about__cta { padding: 8px 0 0; }
.about__cta h2 { font-size: clamp(26px, 3.4vw, 40px); }
@media (max-width: 700px) { .about__figures { grid-template-columns: 1fr; } .about__figures b { font-size: clamp(30px, 10cqi, 40px); } .about__figures li { padding: 22px 0; } .about__figures li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- project story page (fashionforward.html): calm editorial layout, photos as real prints ---------- */
.story { position: relative; padding: 86px 0 90px; overflow: hidden; }
.story__banner { margin: 0; position: relative; }
.story__banner img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.story__wrap { position: relative; max-width: 1080px; }
.story__back { display: inline-block; margin: 26px 0 30px; font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story__back:hover { color: var(--blue-hi); }
.story h1 { font-size: clamp(34px, 6.2vw, 76px); max-width: 15ch; }
.story h1 span { color: var(--blue-hi); }
.story__facts { display: grid; grid-template-columns: 1.1fr .8fr .8fr 1.5fr 1.3fr; margin: 44px 0 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story__facts > div { padding: 20px 18px 20px 0; }
.story__facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.story__facts dt { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 6px; }
.story__facts dd { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
/* chapters: outlined number, text, prints */
.chapter { display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(70px, 10vw, 120px); }
.chapter__no { font: 800 54px/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px var(--blue-hi); margin: 4px 0 0; }
.chapter__text h2 { font-size: clamp(26px, 3.2vw, 40px); }
.chapter__text p { color: #c4d2dc; font-size: 17.5px; line-height: 1.7; }
.chapter__text b { color: var(--text); font-weight: 700; }
.chapter--flip .chapter__text { grid-column: 3; grid-row: 1; }
.chapter--flip .chapter__media { grid-column: 2; grid-row: 1; }
.chapter--full .chapter__text { grid-column: 2 / 4; max-width: 68ch; }
.chapter--full { margin-bottom: 40px; }
.shots { display: grid; gap: 18px; align-items: start; }
.shots--2 { grid-template-columns: 1.55fr 1fr; padding-top: 30px; }
.shots--3 { grid-template-columns: repeat(2, 1fr); }
.shots--3 .shot--wide { grid-column: 1 / -1; }
.shots--stack { grid-template-columns: 1fr; max-width: 440px; }
.shots--stack .shot + .shot { margin: -30px 0 0 18%; }
/* a photo printed on paper, a little crooked, straightens when you look at it */
.shot { margin: 0; padding: 7px; background: #f1ece2; border-radius: 3px; box-shadow: 0 22px 40px -22px rgba(0,0,0,.9); transform: rotate(var(--r, -1deg)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.shot:nth-child(2n) { --r: 1.2deg; }
.shot:nth-child(3n) { --r: -.6deg; }
.shot img { width: 100%; height: auto; border-radius: 1px; }
.shot:hover { transform: rotate(0) translateY(-3px); }
/* the runway: a film strip of catwalk photos that scrolls sideways */
.runway { position: relative; margin: 20px 0 0; padding: 30px 0; background: #050708; border-block: 1px solid #1b2329; }
.runway::before, .runway::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: linear-gradient(90deg, rgba(232,226,214,.55) 0 12px, transparent 12px) 0 0 / 30px 10px repeat-x; opacity: .5; }
.runway::before { top: 10px; } .runway::after { bottom: 10px; }
.runway:focus-visible { outline-offset: -4px; }
.runway__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; overscroll-behavior-x: contain; }
.runway__track li { flex: 0 0 auto; scroll-snap-align: center; }
.runway__track img { height: clamp(210px, 30vw, 360px); width: auto; filter: saturate(.92); }
.runway__credit { margin-top: 12px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.story__video { margin: 64px 0 clamp(70px, 10vw, 120px); max-width: 860px; }
.story__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.story__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story__video figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.story__quote { margin: 0 0 clamp(70px, 10vw, 120px); padding: 4px 0 4px clamp(18px, 3vw, 34px); border-left: 3px solid var(--blue); }
.story__quote p { margin: 0; font: 700 clamp(22px, 3.2vw, 38px)/1.25 var(--display); letter-spacing: -.01em; max-width: 26ch; }
.story__press a { grid-template-columns: 1fr auto auto; }
.story__press .t { font-size: 17px; }
.story__eu { height: 52px; width: auto; margin-top: 64px; }
.story .fade.pre { opacity: 0; transform: translateY(22px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.story .fade.pre.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .story__facts { grid-template-columns: 1fr 1fr; }
  .story__facts > div { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); }
  .story__facts > div + div { padding-left: 0; border-left: 0; }
  .story__facts > div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
  .story__facts > div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-bottom: 0; }
  .chapter, .chapter--flip { grid-template-columns: 1fr; }
  .chapter > *, .chapter--flip .chapter__text, .chapter--flip .chapter__media, .chapter--full .chapter__text { grid-column: 1; grid-row: auto; }
  .chapter__no { font-size: 40px; margin-bottom: 10px; }
  .chapter__media { margin-top: 18px; }
  .shots--stack { max-width: 520px; }
}
@media (max-width: 560px) { .story__press a { grid-template-columns: 1fr auto; } .story__press .f { display: none; } }
@media (prefers-reduced-motion: reduce) { .shot { transition: none; } .shot:hover { transform: rotate(var(--r, -1deg)); } }
/* story page extras: 4-item facts strip, grid of several videos */
.story__facts--4 { grid-template-columns: 1.1fr .9fr 1.7fr 1.1fr; }
.story__videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 64px 0 clamp(70px, 10vw, 120px); }
.story__videos .story__video { margin: 0; max-width: none; }
.story__videos--in { margin: 8px 0 0; }
@media (max-width: 900px) { .story__facts--4 { grid-template-columns: 1fr 1fr; } .story__facts--4 > div:last-child { grid-column: auto; padding-left: 14px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .story__videos { grid-template-columns: 1fr; } }
/* project-row posters are links to the project pages */
.proj__posters > a { display: block; border-radius: 14px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.proj__posters > a:hover, .proj__posters > a:focus-visible { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .proj__posters > a { transition: none; } .proj__posters > a:hover { transform: none; } }
/* story page: a tall banner is shown at most ~2.2:1 (centre kept), extra spacing helpers */
.story__banner--tall img { aspect-ratio: 2.2 / 1; object-fit: cover; object-position: center 55%; }
.story__quote--top { margin-top: clamp(20px, 4vw, 40px); }
.story__end { margin-top: 8px; }
.story h1.story__h1--long { font-size: clamp(30px, 4.8vw, 58px); max-width: 21ch; }

/* ---------- all-projects list (projects.html) ---------- */
.plist__wrap { max-width: 1080px; }
.plist { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 26px; }
.plist a { display: flex; flex-direction: column; color: var(--text); }
.plist a:hover, .plist a:focus-visible { text-decoration: none; }
.plist img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(0,0,0,.9); margin-bottom: 16px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.plist a:hover img, .plist a:focus-visible img { transform: translateY(-4px); }
.plist__meta { font: 600 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 6px; }
.plist__t { font: 700 19px/1.2 var(--display); margin-bottom: 8px; }
.plist__s { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .plist img { transition: none; } .plist a:hover img { transform: none; } }
.notfound { display: grid; align-items: center; }

/* ---------- click-to-load YouTube (no request to Google until play) ---------- */
.yt__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; text-align: center; color: var(--text); background: radial-gradient(120% 90% at 50% 40%, #15324d, #05090c 75%); transition: background .3s; }
.yt__play:hover, .yt__play:focus-visible { text-decoration: none; background: radial-gradient(120% 90% at 50% 40%, #1c4a72, #05090c 75%); }
.yt__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(46,115,194,.8); transition: transform .3s; }
.yt__icon::after { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.yt__play:hover .yt__icon { transform: scale(1.08); }
.yt__t { font: 700 clamp(15px, 1.6vw, 19px)/1.25 var(--display); max-width: 26ch; }
.yt__n { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.yt__privacy { margin: -40px 0 clamp(70px, 10vw, 110px); font-size: 14px; color: var(--muted); }
.story__videos + .yt__privacy, .story__video + .yt__privacy { margin-top: -50px; }
.story__videos--in + .yt__privacy { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .yt__icon, .yt__play { transition: none; } }

/* ---------- privacy notice (calm, readable legal text) ---------- */
.legal h2 { font-size: clamp(21px, 2.4vw, 28px); margin: 0 0 14px; scroll-margin-top: 100px; }
.legal section { padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal p, .legal li { color: #c4d2dc; font-size: 16.5px; line-height: 1.7; }
.legal b { color: var(--text); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal code { font: 14px var(--mono); color: var(--blue-hi); }
.legal__date { font: 600 12px var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.legal__summary { margin: 34px 0; padding: 24px 26px 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(116,180,255,.05); }
.legal__summary h2 { font-size: 20px; color: var(--blue-hi); }
.legal__toc { margin: 0 0 30px; }
.legal__toc ol { columns: 2; column-gap: 32px; padding-left: 1.4em; margin: 0; }
.legal__toc li { font-size: 15px; margin-bottom: 6px; break-inside: avoid; }
.legal__card { font-style: normal; display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); line-height: 1.8; margin-bottom: 1em; color: var(--text); }
.legal mark.todo { background: rgba(255,204,0,.16); color: var(--gold); padding: 0 4px; border-radius: 4px; }
.legal__end { margin-top: 20px; }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } }

/* ---------- story extras for the Art Meets AI pages ---------- */
.story--nobanner { padding-top: 120px; }
.chapter__text h2 small { display: block; margin-top: 8px; font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); }
.story__list { padding-left: 1.2em; color: #c4d2dc; }
.story__list li { margin-bottom: 6px; }
.story__audio { margin: 18px 0 0; }
.story__audio audio { width: 100%; max-width: 420px; }
.story__audio figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }
.story__wide { margin: -30px 0 clamp(70px, 10vw, 110px); }
.story__wide img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.story__wide figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.story__cite { margin-top: 14px; font-size: 15px; color: var(--muted); }
.story__team { margin-bottom: clamp(60px, 9vw, 100px); }
.team { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.team li { display: flex; flex-direction: column; gap: 4px; }
.team img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 12px; }
.team b { font: 700 18px var(--display); }
.team span { color: var(--muted); font-size: 15px; }
.team a { font-size: 14px; }
@media (max-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---------- posters on phones ---------- */
@media (max-width: 560px) {
  /* poster wall: two even columns, every poster the same width, nothing cropped */
  .poster-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; align-items: start; padding: 0 var(--gutter); }
  .poster { width: auto; }
  .poster img { width: 100%; height: auto; max-width: none; }
  /* project rows: one big poster, or two side by side for Art Meets AI */
  .proj__posters img { height: auto; width: min(76vw, 320px); }
  .proj__posters:has(> a + a) img, .proj__posters:has(> img + img) img { width: auto; height: auto; max-height: 260px; max-width: 100%; }
  .proj__posters:has(> a + a) > a { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
  /* all-projects list: two columns of posters */
  .plist { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .plist__t { font-size: 15.5px; }
  .plist__s { font-size: 13.5px; }
  .plist__meta { font-size: 10px; letter-spacing: .06em; }
}
