:root {
  --ink: #102f2f;
  --ink-soft: #496361;
  --deep: #0d3b3a;
  --deepest: #082d2c;
  --blue: #69a9b8;
  --blue-light: #cfe7e8;
  --accent: #c8e15a;
  --accent-bright: #d8ed78;
  --paper: #f3f1e8;
  --cream: #fffdf6;
  --white: #ffffff;
  --coral: #f1c0b4;
  --lime: #dbeaa6;
  --violet: #dad5ed;
  --mint: #cfe4da;
  --line: rgba(16, 47, 47, 0.16);
  --shadow: 0 28px 70px rgba(7, 43, 42, 0.16);
  --radius: 30px;
  --shell: min(1240px, calc(100% - 48px));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 128px 0; }
section[id] { scroll-margin-top: 68px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 11px 18px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 999px;
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--ink-soft);
  font-size: .71rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow b { font-weight: 800; }
.eyebrow > span { width: 30px; height: 2px; background: var(--accent); }
.eyebrow-light { color: rgba(255,255,255,.67); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 56px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: .87rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 320ms var(--ease-out), background-color 320ms ease, box-shadow 320ms ease;
}
.button:hover { transform: translateY(-3px); }
.button:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.button-accent { color: var(--ink); background: var(--accent); box-shadow: 0 16px 35px rgba(200,225,90,.2); }
.button-accent:hover { background: var(--accent-bright); box-shadow: 0 20px 42px rgba(200,225,90,.28); }
.button-cream { color: var(--ink); background: var(--cream); }
.button-dark { color: white; background: var(--deep); }
.button-dark:hover { background: var(--deepest); }
.button-ghost { border-color: rgba(16,47,47,.3); }
.button-ghost:hover { background: rgba(255,255,255,.35); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 86px;
  color: white;
  transition: height 300ms var(--ease-out), color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}
.site-header::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--accent); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; transition: transform 100ms linear; }
.site-header.is-scrolled {
  height: 70px;
  color: var(--ink);
  background: rgba(255,253,246,.92);
  box-shadow: 0 10px 32px rgba(8,45,44,.09);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 30px; }
.brand { position: relative; z-index: 102; width: 193px; flex: 0 0 auto; }
.brand img { width: 100%; filter: brightness(0) invert(1); transition: filter 180ms ease; }
.site-header.is-scrolled .brand img { filter: none; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 38px); font-size: .84rem; font-weight: 700; }
.main-nav a { position: relative; padding-block: 8px; }
.main-nav a::after { content: ""; position: absolute; inset: auto 100% 2px 0; height: 2px; background: var(--accent); transition: right 300ms var(--ease-out); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.language-control {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 43px;
  padding: 0 7px 0 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
}
.site-header.is-scrolled .language-control { border-color: var(--line); }
.language-control svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.language-control select { width: 46px; border: 0; color: inherit; background: transparent; font-size: .74rem; font-weight: 800; cursor: pointer; }
.language-control option { color: var(--ink); }
.button-header { min-height: 43px; padding-inline: 18px; color: var(--ink); background: var(--accent); font-size: .78rem; }
.menu-button { display: none; position: relative; z-index: 102; width: 45px; height: 45px; padding: 10px; border: 0; border-radius: 50%; background: var(--deep); }
.menu-button > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: white; transition: opacity 180ms ease, transform 180ms ease; }

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  padding: 86px 0 53px;
  color: white;
  background: radial-gradient(circle at 5% 8%, rgba(105,169,184,.26), transparent 29%), linear-gradient(125deg, var(--deepest), var(--deep) 68%);
  overflow: hidden;
}
.hero-noise { position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(rgba(255,255,255,.22) .7px, transparent .7px); background-size: 8px 8px; mask-image: linear-gradient(black, transparent 80%); }
.hero-loop { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.hero-loop-one { width: 650px; height: 650px; right: -230px; top: -230px; }
.hero-loop-two { width: 460px; height: 460px; left: -350px; bottom: -70px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(55px, 8vw, 120px); min-height: 755px; padding-block: 44px 76px; }
.hero-copy { padding-bottom: 12px; }
.hero h1, .manifesto h2, .section-intro h2, .projects h2, .training h2, .stations h2, .join h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(4.5rem, 7.1vw, 7.3rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .9;
}
.hero h1 em, .manifesto h2 em, .section-intro h2 em, .projects h2 em, .training h2 em, .stations h2 em, .join h2 em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.hero-lead { max-width: 640px; margin: 33px 0 0; color: rgba(255,255,255,.72); font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; font-size: .87rem; font-weight: 700; }
.play-icon { display: grid; width: 43px; height: 43px; place-items: center; padding-left: 2px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: .6rem; transition: background-color 180ms ease, color 180ms ease; }
.play-link:hover .play-icon { color: var(--ink); background: white; }
.hero-metrics { display: flex; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-metrics > div { display: grid; min-width: 130px; margin-right: 33px; }
.hero-metrics strong { font-family: "Manrope", sans-serif; font-size: 1.25rem; letter-spacing: -.04em; }
.hero-metrics span { color: rgba(255,255,255,.48); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-visual { position: relative; min-height: 635px; }
.hero-image { position: absolute; inset: 5px 26px 5px 50px; overflow: hidden; border-radius: 210px 210px 38px 38px; box-shadow: 0 35px 90px rgba(0,0,0,.31); transform: rotate(2deg); }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,35,34,.54)); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; transform: scale(1.02); }
.hero-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 13px; min-width: 250px; padding: 16px 18px; color: var(--ink); background: rgba(255,253,246,.95); border: 1px solid rgba(255,255,255,.6); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-card p { display: grid; margin: 0; font-size: .74rem; line-height: 1.4; }
.hero-card strong { font-size: .89rem; }
.hero-card p > span { color: var(--ink-soft); }
.hero-card-top { top: 70px; right: -27px; transform: rotate(-3deg); }
.hero-card-bottom { bottom: 58px; left: 0; transform: rotate(2deg); }
.card-spark { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; color: var(--deep); background: var(--accent); border-radius: 13px; font-size: 1.4rem; }
.mini-flags { display: flex; }
.mini-flags span { display: grid; width: 37px; height: 37px; margin-left: -9px; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--blue); font-size: .58rem; font-weight: 800; }
.mini-flags span:first-child { margin-left: 0; background: var(--accent); }
.mini-flags span:last-child { background: var(--lime); }
.hero-stamp { position: absolute; z-index: 4; top: 278px; left: 3px; display: grid; width: 101px; height: 101px; place-items: center; align-content: center; gap: 1px; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: .58rem; font-weight: 800; letter-spacing: .14em; transform: rotate(-11deg); }
.hero-stamp b { font-size: .82rem; }
.marquee { position: absolute; z-index: 5; bottom: 0; left: -1%; width: 102%; padding: 13px 0 15px; color: var(--ink); background: var(--accent); overflow: hidden; transform: rotate(-.7deg); transform-origin: left bottom; }
.marquee > div { display: flex; align-items: center; width: max-content; animation: marquee 27s linear infinite; }
.marquee span { padding-inline: 22px; font-size: .71rem; font-weight: 800; letter-spacing: .14em; }
.marquee b { color: white; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Manifesto */
.manifesto { background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(60px, 10vw, 145px); align-items: start; }
.manifesto h2, .section-intro h2, .projects h2, .training h2, .stations h2, .join h2 { font-size: clamp(3.1rem, 5.35vw, 5.8rem); line-height: .94; }
.manifesto h2 em, .section-intro h2 em, .stations h2 em { color: var(--blue); }
.manifesto-copy { padding-top: 53px; color: var(--ink-soft); }
.manifesto-copy p { max-width: 560px; }
.manifesto-copy .large-copy { margin-top: 0; color: var(--ink); font-size: clamp(1.28rem, 2vw, 1.65rem); font-weight: 600; line-height: 1.42; }
.manifesto-media { margin-top: 82px; border-radius: 38px; perspective: 1200px; }
.manifesto-media-link { --tilt-x: 0deg; --tilt-y: 0deg; --tilt-lift: 0px; position: relative; display: block; min-height: 540px; color: white; background: var(--deepest); border: 1px solid rgba(255,255,255,.28); border-radius: 38px; box-shadow: 0 36px 90px rgba(8,45,44,.22); overflow: hidden; transform-style: preserve-3d; }
.manifesto-media-link::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,31,31,.88)), linear-gradient(90deg, rgba(200,225,90,.08) 1px, transparent 1px), linear-gradient(rgba(200,225,90,.08) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; pointer-events: none; }
.manifesto-media-link::after { content: ""; position: absolute; z-index: 3; top: -20%; bottom: -20%; left: -28%; width: 16%; background: linear-gradient(90deg, transparent, rgba(216,237,120,.34), transparent); filter: blur(10px); opacity: 0; transform: skewX(-13deg); pointer-events: none; }
.manifesto-media.is-visible .manifesto-media-link::after { animation: mediaScan 1.35s var(--ease-smooth) 380ms both; }
.manifesto-gallery { display: grid; height: 540px; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; background: var(--deepest); }
.manifesto-gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); transition: transform 1.2s var(--ease-out), filter 700ms ease; }
.manifesto-gallery img:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.manifesto-gallery img:nth-child(2) { grid-column: 3 / 5; }
.manifesto-media-link:hover .manifesto-gallery img { transform: scale(1.035); filter: saturate(1.05) contrast(1.06); }
.manifesto-media-glow { position: absolute; z-index: 3; right: 8%; bottom: 18%; width: 190px; height: 190px; background: var(--accent); border-radius: 50%; filter: blur(95px); opacity: .3; pointer-events: none; }
.manifesto-media-caption { position: absolute; z-index: 4; right: clamp(28px, 5vw, 70px); bottom: clamp(28px, 5vw, 62px); left: clamp(28px, 5vw, 70px); display: grid; max-width: 760px; gap: 8px; transform: translateZ(40px); }
.manifesto-media-caption small { color: var(--accent); font-size: .67rem; font-weight: 800; letter-spacing: .16em; }
.manifesto-media-caption strong { max-width: 720px; font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 4.15rem); letter-spacing: -.06em; line-height: .98; }
.manifesto-media-caption > span { color: rgba(255,255,255,.68); font-size: .9rem; }
@keyframes mediaScan { 0% { left: -28%; opacity: 0; } 20% { opacity: 1; } 100% { left: 115%; opacity: 0; } }
.values-row { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 14px; margin-top: 84px; }
.value { position: relative; display: flex; min-height: 315px; padding: 28px; flex-direction: column; justify-content: flex-end; background: rgba(255,253,246,.74); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 420ms var(--ease-out), box-shadow 420ms ease; }
.value:hover { transform: translateY(-7px); box-shadow: 0 24px 55px rgba(8,45,44,.1); }
.value-main { color: white; background: var(--deep); border-color: var(--deep); }
.value-index { position: absolute; top: 27px; left: 28px; color: var(--blue); font-size: .71rem; font-weight: 800; letter-spacing: .12em; }
.value-main .value-index { color: var(--accent); }
.value-icon { position: absolute; top: 22px; right: 22px; display: grid; width: 45px; height: 45px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; font-weight: 800; }
.value h3 { margin: 0 0 12px; font-family: "Manrope", sans-serif; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.15; }
.value p { margin: 0; color: var(--ink-soft); font-size: .85rem; line-height: 1.55; }
.value-main p { max-width: 340px; color: rgba(255,255,255,.6); }

/* Action fields */
.action-section { background: var(--cream); }
.section-intro { display: grid; grid-template-columns: 1fr .45fr; gap: 90px; align-items: end; }
.section-intro > p { max-width: 430px; margin: 0 0 4px; color: var(--ink-soft); }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 67px; }
.action-card { position: relative; min-height: 315px; padding: 29px; border-radius: var(--radius); overflow: hidden; transition: transform 420ms var(--ease-out), box-shadow 420ms ease; }
.action-card:hover { transform: translateY(-7px) rotate(-.6deg); }
.action-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -75px; bottom: -75px; border: 1px solid currentColor; border-radius: 50%; opacity: .18; }
.action-number { font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.action-symbol { position: absolute; top: 23px; right: 25px; display: grid; width: 49px; height: 49px; place-items: center; background: rgba(255,255,255,.6); border-radius: 15px; font-size: 1.6rem; }
.action-card h3 { max-width: 300px; margin: 114px 0 10px; font-family: "Manrope", sans-serif; font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -.035em; line-height: 1.12; }
.action-card p { max-width: 300px; margin: 0; color: rgba(16,47,47,.68); font-size: .86rem; }
.action-coral { background: var(--coral); }.action-lime { background: var(--lime); }.action-blue { background: var(--blue-light); }.action-yellow { background: #efc8dd; }.action-violet { background: var(--violet); }.action-mint { background: var(--mint); }

/* Agenda 2030 · all 17 UN goals */
.impact-stream { position: relative; padding: 118px 0 128px; background: var(--cream); overflow: hidden; }
.impact-stream::before { content: ""; position: absolute; width: 520px; height: 520px; top: -310px; right: 7%; border: 1px solid rgba(13,59,58,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(13,59,58,.025), 0 0 0 140px rgba(13,59,58,.018); animation: orbitDrift 12s ease-in-out infinite alternate; }
.impact-stream-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px clamp(32px, 7vw, 105px); align-items: end; }
.impact-stream-copy h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(2.8rem, 4.7vw, 5rem); font-weight: 800; letter-spacing: -.07em; line-height: .94; }
.impact-stream-copy h2 em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.impact-stream-copy > p:last-child { max-width: 760px; margin: 30px 0 0; color: var(--ink-soft); }
.impact-stat { display: grid; min-width: 245px; padding: 28px; color: white; background: var(--deepest); border: 1px solid rgba(200,225,90,.28); border-radius: 30px; box-shadow: 0 24px 60px rgba(8,45,44,.16); }
.impact-stat strong { color: var(--accent); font-family: "Manrope", sans-serif; font-size: 5.7rem; letter-spacing: -.09em; line-height: .78; }
.impact-stat span { margin-top: 18px; font-size: .84rem; font-weight: 800; text-transform: uppercase; }
.impact-stat small { margin-top: 6px; color: rgba(255,255,255,.55); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.sdg-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.sdg-card { --tilt-x: 0deg; --tilt-y: 0deg; --tilt-lift: 0px; min-width: 0; background: var(--paper); border: 1px solid rgba(16,47,47,.1); border-radius: 24px; box-shadow: 0 16px 42px rgba(8,45,44,.1); overflow: hidden; transform-style: preserve-3d; }
.sdg-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 700ms var(--ease-out), filter 450ms ease; }
.sdg-card:hover img { transform: scale(1.035); filter: saturate(1.06); }
.sdg-card-copy { min-height: 160px; padding: 20px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,242,229,.9)); }
.sdg-card-copy span { color: var(--blue); font-size: .57rem; font-weight: 800; letter-spacing: .14em; }
.sdg-card-copy h3 { margin: 9px 0 8px; font-family: "Manrope", sans-serif; font-size: 1rem; letter-spacing: -.035em; line-height: 1.12; }
.sdg-card-copy p { margin: 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
@keyframes orbitDrift { to { transform: translate3d(-42px, 34px, 0) rotate(8deg); } }

/* Projects */
.projects { position: relative; color: white; background: var(--deepest); overflow: hidden; }
.projects::before { content: ""; position: absolute; width: 620px; height: 620px; top: -360px; right: -210px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.projects-heading { display: grid; grid-template-columns: 1fr .42fr; column-gap: 90px; align-items: end; }
.projects-heading .eyebrow { grid-column: 1 / -1; }
.projects h2 em { color: var(--accent); }
.projects-heading > p:last-child { max-width: 440px; margin: 0 0 4px; color: rgba(255,255,255,.58); }
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 70px; }
.project-card { grid-column: span 5; display: grid; grid-template-rows: 370px auto; color: var(--ink); background: var(--paper); border-radius: 30px; overflow: hidden; transition: transform 500ms var(--ease-out), box-shadow 500ms ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 30px 65px rgba(0,0,0,.18); }
.project-wide { grid-column: span 7; grid-template-columns: .82fr 1.18fr; grid-template-rows: 510px; }
.project-card:nth-child(3) { grid-column: span 7; }
.project-poster { grid-column: span 5; }
.instagram-project { grid-column: span 6; grid-template-rows: 410px auto; }
.project-image { position: relative; min-height: 0; overflow: hidden; background: var(--blue-light); }
.project-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); pointer-events: none; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 850ms var(--ease-out); }
.project-card:hover .project-image img { transform: scale(1.04); }
.project-wide .project-image img { object-position: center top; }
.project-image-landscape img { object-position: center; }
.project-poster .project-image img { object-position: center 20%; }
.project-gallery { display: grid; height: 410px; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; overflow: hidden; background: var(--deepest); }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 850ms var(--ease-out), filter 500ms ease; }
.project-gallery img:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.project-gallery img:nth-child(2) { grid-column: 3 / 5; }
.project-card:hover .project-gallery img { transform: scale(1.04); filter: saturate(1.06); }
.project-content { display: flex; padding: 30px; flex-direction: column; justify-content: flex-end; }
.project-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: auto; }
.project-meta span { padding: 7px 10px; color: var(--ink); background: rgba(105,169,184,.16); border-radius: 999px; font-size: .61rem; font-weight: 800; letter-spacing: .1em; }
.project-meta span:first-child { background: var(--accent); }
.project-card h3 { margin: 35px 0 12px; font-family: "Manrope", sans-serif; font-size: clamp(1.65rem, 2.6vw, 2.6rem); letter-spacing: -.055em; line-height: 1; }
.project-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }

/* I-GEM */
.training { position: relative; color: white; background: var(--blue); overflow: hidden; }
.training-orbit { position: absolute; width: 700px; height: 700px; left: -420px; bottom: -510px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.training-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .78fr; gap: clamp(70px, 10vw, 145px); align-items: center; }
.training-copy > p:not(.eyebrow) { max-width: 620px; margin: 34px 0 36px; color: rgba(255,255,255,.72); }
.training-card { padding: 38px; color: var(--ink); background: var(--cream); border-radius: 34px; box-shadow: var(--shadow); transform: rotate(1.3deg); }
.training-photo { position: relative; display: block; height: 205px; margin: -20px -20px 32px; color: white; border-radius: 25px; overflow: hidden; }
.training-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,31,31,.86)); }
.training-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.training-photo:hover img { transform: scale(1.06); }
.training-photo span { position: absolute; z-index: 2; right: 19px; bottom: 16px; left: 19px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.training-label { display: block; margin-bottom: 12px; color: var(--ink-soft); font-size: .67rem; font-weight: 800; letter-spacing: .15em; }
.training-card ol { margin: 0; padding: 0; list-style: none; }
.training-card li { display: grid; grid-template-columns: 43px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.training-card li:last-child { padding-bottom: 0; border: 0; }
.training-card li > span { padding-top: 3px; color: var(--blue); font-size: .7rem; font-weight: 800; }
.training-card strong { font-family: "Manrope", sans-serif; }
.training-card p { margin: 3px 0 0; color: var(--ink-soft); font-size: .79rem; line-height: 1.4; }

/* Interactive stations map */
.stations { background: var(--paper); }
.stations-heading { display: grid; grid-template-columns: 1fr .43fr; gap: 90px; align-items: end; }
.stations-heading > p { max-width: 430px; margin: 0 0 4px; color: var(--ink-soft); }
.map-explorer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .5fr); min-height: 610px; margin-top: 70px; background: var(--cream); border: 1px solid var(--line); border-radius: 36px; box-shadow: var(--shadow); overflow: hidden; }
.map-stage { position: relative; min-width: 0; min-height: 610px; background: #dcefed; overflow: hidden; }
#station-map { position: absolute; inset: 0; z-index: 1; background: #dcefed; }
.leaflet-container { color: var(--ink); font-family: "DM Sans", sans-serif; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 12px 30px rgba(8,45,44,.16) !important; }
.leaflet-control-zoom a { display: grid !important; width: 36px !important; height: 36px !important; place-items: center; color: var(--ink) !important; background: rgba(255,253,246,.94) !important; border-color: var(--line) !important; font-family: "Manrope", sans-serif; }
.leaflet-control-zoom a:first-child { border-radius: 12px 12px 0 0 !important; }
.leaflet-control-zoom a:last-child { border-radius: 0 0 12px 12px !important; }
.leaflet-control-attribution { padding: 4px 7px !important; color: rgba(16,47,47,.55); background: rgba(255,253,246,.78) !important; font-size: .56rem !important; }
.leaflet-control-attribution a { color: var(--deep); }
.ysa-map-marker { background: transparent; border: 0; }
.ysa-map-pin { position: relative; display: block; width: 28px; height: 36px; filter: drop-shadow(0 8px 8px rgba(8,45,44,.25)); transition: filter 180ms ease, transform 180ms ease; }
.ysa-map-pin::before { content: ""; position: absolute; left: 3px; top: 1px; width: 22px; height: 22px; background: var(--accent); border: 3px solid var(--cream); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); transition: background-color 260ms ease, transform 260ms var(--ease-out); }
.ysa-map-pin::after { content: ""; position: absolute; left: 11px; top: 9px; width: 6px; height: 6px; background: var(--deep); border-radius: 50%; }
.ysa-map-pin.is-active { z-index: 2; transform: translateY(-3px) scale(1.22); filter: drop-shadow(0 10px 10px rgba(8,45,44,.33)); }
.ysa-map-pin.is-active::before { background: var(--deep); }
.ysa-map-pin.is-active::after { background: var(--accent); }
.ysa-map-pin.is-active > i { position: absolute; left: -5px; top: -7px; width: 38px; height: 38px; border: 1px solid var(--deep); border-radius: 50%; animation: mapPulse 2.1s infinite; }
.leaflet-tooltip.ysa-map-tooltip { padding: 7px 10px; color: white; background: var(--deep); border: 0; border-radius: 9px; box-shadow: 0 8px 20px rgba(8,45,44,.2); font-size: .68rem; font-weight: 800; }
.leaflet-tooltip-top.ysa-map-tooltip::before { border-top-color: var(--deep); }
@keyframes mapPulse { 0% { transform: scale(.65); opacity: .75; } 75%,100% { transform: scale(1.6); opacity: 0; } }
.map-legend { position: absolute; z-index: 500; left: 26px; top: 24px; display: flex; gap: 7px; padding: 8px 10px; background: rgba(255,253,246,.88); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 8px 24px rgba(8,45,44,.1); backdrop-filter: blur(8px); }
.map-legend span { display: flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.map-legend i { display: block; width: 9px; height: 9px; border-radius: 50%; }
.legend-fr { background: var(--accent); }.legend-de { background: var(--blue); }.legend-ro { background: var(--lime); }
.map-hint { position: absolute; z-index: 500; left: 28px; bottom: 25px; padding: 8px 11px; color: var(--ink-soft); background: rgba(255,253,246,.88); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 8px 24px rgba(8,45,44,.1); font-size: .59rem; font-weight: 800; letter-spacing: .12em; pointer-events: none; backdrop-filter: blur(8px); }
.station-panel { position: relative; z-index: 4; display: flex; padding: 35px; flex-direction: column; color: white; background: var(--deep); }
.station-panel-top { display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: .61rem; font-weight: 800; letter-spacing: .12em; }
.station-country { display: grid; width: 54px; height: 54px; margin-top: 75px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 17px; font-size: .75rem; font-weight: 800; transform: rotate(-4deg); }
.station-panel h3 { margin: 27px 0 0; font-family: "Manrope", sans-serif; font-size: clamp(2.55rem, 4vw, 4.1rem); letter-spacing: -.07em; line-height: .95; }
.station-country-name { margin: 6px 0 20px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.station-panel > p:not(.station-country-name) { margin: 0; color: rgba(255,255,255,.61); font-size: .88rem; line-height: 1.55; }
.station-link { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: .82rem; font-weight: 800; }
.station-link:hover { color: var(--accent); }
.station-switcher { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 34px; }
.station-switcher button { min-width: 37px; height: 31px; padding: 0 8px; color: rgba(255,255,255,.48); background: transparent; border: 1px solid rgba(255,255,255,.17); border-radius: 8px; font-size: .57rem; font-weight: 800; cursor: pointer; }
.station-switcher button:hover, .station-switcher button.is-active { color: var(--ink); background: var(--accent); border-color: var(--accent); }

/* Join */
.join { padding-top: 0; background: var(--paper); }
.join-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 75px; align-items: end; padding: 78px; background: var(--accent); border-radius: 42px; overflow: hidden; }
.join-card .eyebrow { color: rgba(16,47,47,.63); }
.join-card .eyebrow > span { background: var(--cream); }
.join-copy { position: relative; z-index: 2; }
.join-copy h2 { max-width: 900px; font-size: clamp(2.8rem, 5vw, 5rem); }
.join h2 em { color: var(--cream); }
.join-copy > p:last-child { max-width: 680px; margin: 28px 0 0; }
.join-actions { position: relative; z-index: 2; display: grid; gap: 11px; min-width: 220px; }
.join-asterisk { position: absolute; top: -93px; right: 27%; color: rgba(255,255,255,.28); font-size: 14rem; line-height: 1; }

/* Footer */
.site-footer { padding: 85px 0 28px; color: white; background: var(--deepest); }
.footer-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; }
.footer-lead img { width: 220px; filter: brightness(0) invert(1); }
.footer-lead p { max-width: 440px; margin: 30px 0 0; color: rgba(255,255,255,.55); font-size: 1.2rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.footer-links > div { display: flex; flex-direction: column; gap: 8px; }
.footer-links div > span { margin-bottom: 13px; color: rgba(255,255,255,.35); font-size: .62rem; font-weight: 800; letter-spacing: .15em; }
.footer-links a { width: fit-content; color: rgba(255,255,255,.72); font-size: .83rem; }
.footer-links a:hover { color: var(--accent); }
.footer-links p { margin: 0; color: rgba(255,255,255,.42); font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 74px; padding-top: 24px; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.11); font-size: .61rem; font-weight: 800; letter-spacing: .11em; }

/* Motion */
.reveal {
  --reveal-x: 0px;
  --reveal-y: 24px;
  transition:
    opacity 440ms ease-out var(--reveal-delay, 0ms),
    transform 620ms var(--ease-out) var(--reveal-delay, 0ms);
}
.reveal[data-reveal="left"] { --reveal-x: -24px; --reveal-y: 0px; }
.reveal[data-reveal="right"] { --reveal-x: 24px; --reveal-y: 0px; }
.reveal.is-pending:not(:focus-within) {
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(.99);
}
.reveal.reveal-complete { transition-delay: 0ms; }
.value.reveal-complete, .action-card.reveal-complete, .project-card.reveal-complete {
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .sdg-card.reveal-complete { transition: transform 280ms var(--ease-out), box-shadow 280ms ease; }
  .sdg-card.reveal-complete:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(8,45,44,.16); }
}

.tilt-surface { --tilt-x: 0deg; --tilt-y: 0deg; --tilt-lift: 0px; --reveal-rest: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--tilt-lift)); transform: var(--reveal-rest); transition: transform 320ms var(--ease-out), box-shadow 350ms ease; }
.training-card { --reveal-rest: rotate(1.3deg); }

@media (max-width: 1120px) {
  .main-nav { gap: 19px; }
  .main-nav a { font-size: .78rem; }
  .button-header { display: none; }
  .hero-grid { gap: 44px; }
  .hero-visual { min-height: 560px; }
  .hero-card-top { right: 0; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .impact-stream-layout { grid-template-columns: minmax(0, 1fr) auto; }
  .impact-stream-copy { max-width: 760px; }
  .sdg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .map-explorer { grid-template-columns: minmax(0,1.35fr) 330px; }
  .station-panel { padding: 30px; }
  .station-country { margin-top: 54px; }
  .join-card { grid-template-columns: 1fr; }
  .join-actions { grid-template-columns: repeat(2, max-content); }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 32px, 720px); }
  .section { padding: 92px 0; }
  .site-header, .site-header.is-scrolled { height: 70px; }
  .brand { width: 178px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 100px 9vw 55px; color: white; background: var(--deepest); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { width: 100%; padding: 8px 0; font-family: "Manrope", sans-serif; font-size: clamp(1.8rem, 7vw, 2.8rem); font-weight: 700; letter-spacing: -.05em; }
  .main-nav a::after { display: none; }
  .site-header:has(.main-nav.is-open) .brand img { filter: brightness(0) invert(1); }
  .site-header:has(.main-nav.is-open) .language-control { display: none; }
  .hero { min-height: auto; padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 75px 0 110px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 570px); min-height: 640px; margin: 0 auto; }
  .hero-image { inset: 8px 30px 8px 58px; }
  .hero-card-top { right: 2px; }
  .manifesto-grid, .section-intro, .projects-heading, .training-grid, .stations-heading { grid-template-columns: 1fr; gap: 38px; }
  .manifesto-copy { padding-top: 0; }
  .manifesto-media-link, .manifesto-gallery { min-height: 480px; height: 480px; }
  .impact-stream-layout { grid-template-columns: 1fr; }
  .impact-stat { width: min(100%, 330px); }
  .sdg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-intro > p, .projects-heading > p:last-child, .stations-heading > p { max-width: 600px; }
  .projects-heading .eyebrow { grid-column: auto; margin-bottom: -17px; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card, .project-card:nth-child(3), .project-poster { grid-column: span 6; }
  .project-wide { grid-column: 1 / -1; }
  .map-explorer { grid-template-columns: 1fr; }
  .map-stage { min-height: 530px; }
  .station-panel { min-height: 500px; }
  .station-country { margin-top: 45px; }
  .footer-top { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 600px) {
  :root { --shell: min(100% - 24px, 520px); }
  .section { padding: 76px 0; }
  .manifesto-media { margin-top: 55px; border-radius: 28px; }
  .manifesto-media-link, .manifesto-gallery { min-height: 510px; height: 510px; border-radius: 28px; }
  .manifesto-gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1.6fr 1fr; }
  .manifesto-gallery img:first-child { grid-column: 1 / 3; grid-row: 1; }
  .manifesto-gallery img:nth-child(2) { grid-column: auto; }
  .manifesto-gallery img:nth-child(4) { display: none; }
  .manifesto-media-caption strong { font-size: clamp(1.8rem, 9vw, 3rem); }
  .impact-stream { padding: 78px 0 90px; }
  .impact-stream-layout { gap: 42px; }
  .impact-stat { min-width: 0; }
  .sdg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sdg-card { border-radius: 18px; }
  .sdg-card-copy { min-height: 168px; padding: 15px; }
  .sdg-card-copy h3 { font-size: .88rem; }
  .sdg-card-copy p { font-size: .66rem; }
  .language-control { height: 39px; padding-left: 9px; }
  .language-control svg { display: none; }
  .hero h1 { font-size: clamp(3.35rem, 16vw, 5.3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-metrics { justify-content: space-between; gap: 12px; }
  .hero-metrics > div { min-width: 0; margin: 0; }
  .hero-metrics strong { font-size: 1.05rem; }
  .hero-metrics span { max-width: 80px; font-size: .57rem; line-height: 1.35; }
  .hero-visual { min-height: 515px; }
  .hero-image { inset: 0 8px 0 30px; border-radius: 150px 150px 30px 30px; }
  .hero-card { min-width: 218px; padding: 13px; }
  .hero-card-top { top: 50px; }
  .hero-card-bottom { left: 0; bottom: 29px; }
  .hero-stamp { top: 250px; left: 0; width: 78px; height: 78px; font-size: .47rem; }
  .marquee { padding-block: 11px; }
  .manifesto h2, .section-intro h2, .projects h2, .training h2, .stations h2, .join h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .values-row, .action-grid { grid-template-columns: 1fr; }
  .value { min-height: 265px; }
  .action-card { min-height: 270px; }
  .action-card h3 { margin-top: 88px; }
  .projects-grid { display: block; margin-top: 50px; }
  .project-card, .project-wide { display: grid; grid-template-columns: 1fr; grid-template-rows: 330px auto; margin-top: 15px; }
  .project-gallery { height: 330px; }
  .project-wide .project-image img { object-position: center 20%; }
  .project-content { min-height: 280px; padding: 25px; }
  .training-card { padding: 28px; }
  .training-photo { margin: -13px -13px 28px; }
  .map-explorer { width: calc(100% - 24px); margin-top: 48px; border-radius: 28px; }
  .map-stage { min-height: 430px; }
  .map-hint { left: 16px; bottom: 15px; }
  .map-legend { left: 15px; top: 15px; }
  .station-panel { min-height: 510px; padding: 27px; }
  .station-panel h3 { font-size: 3rem; }
  .join { padding-top: 0; }
  .join-card { width: calc(100% - 24px); gap: 38px; padding: 50px 27px; border-radius: 30px; }
  .join-actions { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.is-pending:not(:focus-within) { opacity: 1; transform: none; }
}

/* Cartography */
#station-map { background: #edf6f9; }
.map-label { pointer-events: none; }
.map-label span {
  position: absolute;
  translate: -50% -50%;
  white-space: nowrap;
  color: #163f58;
  text-shadow: 0 0 4px #fff, 0 0 7px #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.map-label-water span {
  color: #326881;
  font-style: italic;
  text-transform: none;
}
.legend-fr { background: #69a9b8; }
.legend-de { background: #528ca3; }
.legend-ro { background: #3e7892; }

/* Programme resources */
.erasmus-section { background: var(--blue-light); color: var(--ink); }
.erasmus-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.erasmus-inner h2 { font: 800 clamp(2rem, 4vw, 4rem)/1.05 Manrope, sans-serif; letter-spacing: -.05em; }
.erasmus-inner p { max-width: 46ch; margin: 1rem 0 1.5rem; }
.erasmus-resources { background: var(--paper); border-radius: 22px; padding: clamp(18px, 3vw, 34px); }
.erasmus-logos { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.erasmus-logos a { display: grid; gap: 6px; align-content: center; justify-items: center; background: white; border-radius: 12px; padding: 12px; min-width: 132px; font-size: .8rem; font-weight: 800; }
.erasmus-logos img { width: 110px; height: 54px; object-fit: contain; }
.erasmus-resources ul { padding-left: 1.2em; }
.erasmus-resources li { margin-top: .4em; }
.erasmus-resources li a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .erasmus-inner { grid-template-columns: 1fr; }
}

.station-map-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#station-map { visibility: hidden; }
#station-map.map-ready { visibility: visible; }
.station-instagram { display: block; align-self: flex-start; margin-top: 12px; color: white; font-weight: 700; font-size: .83rem; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.station-instagram[hidden] { display: none; }
