/* =========================================================
   ALGAECircle main stylesheet
   Brand palette: #2E7D32 · #66BB6A · #00A79D · #0D3B66 · #4D4D4D
   ========================================================= */

:root {
  --green: #2E7D32;
  --green-700: #256628;
  --green-light: #66BB6A;
  --green-pale: #9FD8A2;
  --teal: #00A79D;
  --teal-700: #00796F;
  --navy: #0D3B66;
  --navy-900: #082947;
  --gray: #4D4D4D;

  --ink: #1D2B38;
  --text: #4D4D4D;
  --muted: #5F6B75;
  --bg: #FFFFFF;
  --bg-soft: #F3F8F4;
  --bg-mint: #E6F2E8;
  --bg-sky: #E7EEF6;
  --line: #DCE6DF;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(13, 59, 102, .06);
  --shadow: 0 16px 40px rgba(13, 59, 102, .12);

  --grad: linear-gradient(120deg, var(--green) 0%, var(--teal) 55%, var(--navy) 100%);
  --grad-dark: linear-gradient(118deg, var(--navy-900) 0%, var(--navy) 38%, #0E5A6A 70%, var(--green) 100%);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
strong { color: var(--ink); }

.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: absolute; left: 16px; top: -100px; z-index: 300;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.flag { width: 30px; height: 20px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }

/* ---------- Layout ---------- */
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(46, 125, 50, .25); }
.btn--primary:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--bg-mint); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--navy);
}
.chip .icon { width: 18px; height: 18px; color: var(--green); }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
  background: var(--bg-mint); color: var(--green-700);
}
.badge--soon { background: var(--bg-sky); color: var(--navy); }
.badge--soon::before, .badge--dev::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; animation: pulse 2s ease-in-out infinite;
}
.badge--dev { background: #FFF6E5; color: #7A4F00; }
.badge--lead { background: var(--green); color: #fff; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Top bar (programme, project number, EU logo) ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .86); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 6px 0; }
.topbar-text {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .03em; line-height: 1.4;
}
.topbar-text .sep { color: rgba(255, 255, 255, .4); }
.topbar-eu { width: 134px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: auto; }
.brand-name {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 1.38rem; line-height: 1; letter-spacing: -.015em;
}
.brand-name .g { color: var(--green); }
.brand-name .n { color: var(--navy); }
.brand-tag {
  display: block; margin-top: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .56rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  position: relative; display: block; padding: 8px 10px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.site-nav a:hover { background: var(--bg-mint); color: var(--green-700); }
.site-nav a[aria-current="page"] { color: var(--green); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--green);
}
.site-nav .nav-cta a { margin-left: 8px; padding: 9px 18px; border-radius: 999px; background: var(--green); color: #fff; }
.site-nav .nav-cta a:hover { background: var(--green-700); color: #fff; }
.site-nav .nav-cta a[aria-current="page"]::after { display: none; }

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px;
  background: var(--navy); transition: transform .25s, opacity .2s;
}
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 520px at 88% 18%, #E1F1E4 0%, rgba(225, 241, 228, 0) 62%),
    radial-gradient(700px 460px at -5% 105%, #DFF2F0 0%, rgba(223, 242, 240, 0) 60%),
    #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-tagline {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--navy);
}
.hero-tagline::before, .hero-tagline::after { content: ""; width: 36px; height: 2px; background: var(--green); border-radius: 2px; flex: none; }
.hero h1 { margin-bottom: 22px; }
.hero-text { font-size: 1.12rem; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 1 / 1; }
.hero-visual::before {
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #F4FAF5 55%, #E3F1E5 100%);
  box-shadow: 0 30px 70px rgba(46, 125, 50, .16), inset 0 0 0 1px rgba(46, 125, 50, .08);
}
.hero-visual img { position: relative; width: 78%; margin: 10% auto 0; }

.bubble {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95) 0 12%, rgba(102, 187, 106, .45) 40%, rgba(46, 125, 50, .7) 100%);
  box-shadow: inset 0 0 0 1px rgba(46, 125, 50, .2);
  animation: float 8s ease-in-out infinite;
}
.bubble--1 { width: 34px; height: 34px; top: 4%; right: 8%; }
.bubble--2 { width: 18px; height: 18px; top: 16%; right: -2%; animation-delay: -2s; }
.bubble--3 { width: 24px; height: 24px; bottom: 10%; left: 0; animation-delay: -4s; }
.bubble--4 { width: 12px; height: 12px; bottom: 2%; left: 14%; animation-delay: -1s; }
.bubble--5 { width: 14px; height: 14px; top: 8%; left: 6%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- At a glance ---------- */
.glance-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: center;
}
.stat-value {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 800; line-height: 1;
  font-size: clamp(2.1rem, 4vw, 2.9rem); letter-spacing: -.02em;
}
.stat-label { margin-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); }

.facts {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
}
.facts::after {
  content: ""; position: absolute; right: -90px; bottom: -90px; width: 240px; height: 240px;
  border-radius: 50%; border: 22px solid rgba(255, 255, 255, .06);
}
.facts h3 { color: #fff; margin-bottom: 18px; }
.facts dl { margin: 0; display: grid; gap: 0; position: relative; z-index: 1; }
.facts dl > div {
  display: grid; grid-template-columns: 128px 1fr; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt {
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-pale); padding-top: 4px;
}
.facts dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.facts .note { display: block; font-weight: 400; font-size: .85rem; color: rgba(255, 255, 255, .72); }

/* ---------- Approach band ---------- */
.approach { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; }
.approach::before {
  content: ""; position: absolute; left: -160px; top: -160px; width: 460px; height: 460px;
  border-radius: 50%; border: 36px solid rgba(255, 255, 255, .05);
}
.approach .eyebrow { color: var(--green-pale); }
.approach h2 { color: #fff; }
.approach .section-head p { color: rgba(255, 255, 255, .85); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step {
  position: relative; padding: 28px 24px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -20px; top: 58px; width: 12px; height: 12px;
  border-top: 2px solid rgba(255, 255, 255, .75); border-right: 2px solid rgba(255, 255, 255, .75);
  transform: rotate(45deg);
}
.step-icon {
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .9); color: #fff;
}
.step-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.step-num { position: absolute; top: 22px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: rgba(255, 255, 255, .45); }
.step h3 { color: #fff; font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.step p { margin: 0; color: rgba(255, 255, 255, .86); font-size: .98rem; line-height: 1.6; }
.cycle-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 36px; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
}
.cycle-note .icon { width: 22px; height: 22px; color: var(--green-pale); }

/* ---------- Cards ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.link-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.link-card h3 { margin: 6px 0 0; font-size: 1.12rem; }
.link-card p { margin: 0; font-size: .95rem; line-height: 1.6; }
.link-card .more {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--green);
}
.link-card .more .icon { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s; }
.link-card:hover .more .icon { transform: translateX(4px); }

.ic {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--bg-mint); color: var(--green);
}
.ic .icon { width: 26px; height: 26px; }
.ic--teal { background: #DFF3F1; color: var(--teal-700); }
.ic--navy { background: var(--bg-sky); color: var(--navy); }
.ic--lg { width: 64px; height: 64px; border-radius: 18px; }
.ic--lg .icon { width: 30px; height: 30px; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-sm);
}
.panel .ic { margin-bottom: 20px; }
.panel--accent { background: var(--bg-soft); border-color: transparent; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--grad-dark); color: #fff;
  padding: clamp(44px, 6.5vw, 84px) 0 clamp(44px, 6vw, 76px);
}
.page-hero::before {
  content: ""; position: absolute; right: -140px; top: -170px; width: 460px; height: 460px;
  border-radius: 50%; border: 34px solid rgba(255, 255, 255, .06);
}
.page-hero::after {
  content: ""; position: absolute; right: 12%; bottom: -60px; width: 150px; height: 150px;
  border-radius: 50%; border: 14px solid rgba(102, 187, 106, .18);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 860px; }
.page-hero p { max-width: 760px; font-size: 1.12rem; color: rgba(255, 255, 255, .9); }
.page-hero .eyebrow { color: var(--green-pale); }
.breadcrumb { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .45); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero .bubble { opacity: .55; }

/* ---------- About ---------- */
.objectives { list-style: none; margin: 0; padding: 0; counter-reset: obj; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.objectives li {
  grid-column: span 2; counter-increment: obj;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; font-size: 1.02rem; color: var(--ink);
}
.objectives li:nth-child(4) { grid-column: 2 / span 2; }
.objectives li::before {
  content: counter(obj, decimal-leading-zero); display: table; margin-bottom: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.tags li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy);
}
.tags li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }

.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--grad-dark); color: #fff;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px;
  border-radius: 50%; border: 24px solid rgba(255, 255, 255, .07);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.cta-band p { color: rgba(255, 255, 255, .86); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Partners ---------- */
.countries-wrap { margin-bottom: 32px; }
.countries { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.country {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy);
}
.country small { font-weight: 600; color: var(--muted); font-size: .8rem; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  transition: box-shadow .2s, transform .2s;
}
.partner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); opacity: .85; }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner--lead { background: linear-gradient(160deg, #fff 0%, var(--bg-mint) 100%); border-color: #C5DEC9; }
.partner-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.partner-mark {
  width: 68px; height: 68px; flex: none; display: grid; place-items: center; padding: 8px;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(13, 59, 102, .06);
}
.partner-mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.partner h2 { font-size: 1.18rem; margin: 0 0 6px; }
.partner-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--muted); }
.partner-meta .flag { width: 24px; height: 16px; }
.partner p { flex: 1; }
.partner .ext {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--green);
}
.partner .ext:hover { color: var(--navy); text-decoration: underline; }
.partner .ext .icon { width: 17px; height: 17px; stroke-width: 2.2; }

/* ---------- Work packages ---------- */
.wp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
.wp-list::before {
  content: ""; position: absolute; left: 47px; top: 40px; bottom: 40px; width: 2px;
  background: linear-gradient(var(--navy), var(--green), var(--teal), var(--navy));
  opacity: .25;
}
.wp {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
}
.wp-num {
  width: 96px; height: 96px; margin: -8px 0 -8px -8px;
  display: grid; place-content: center; text-align: center;
  border-radius: 24px; color: #fff; font-family: var(--font-head); font-weight: 800;
  background: var(--wp-bg, var(--navy));
  box-shadow: 0 10px 24px rgba(13, 59, 102, .18);
}
.wp-num small { display: block; font-size: .72rem; letter-spacing: .2em; opacity: .9; }
.wp-num span { display: block; font-size: 2.3rem; line-height: 1; }
.wp--1 { --wp-bg: var(--navy); }
.wp--2 { --wp-bg: var(--green); }
.wp--3 { --wp-bg: linear-gradient(135deg, var(--green) 0%, var(--teal-700) 100%); }
.wp--4 { --wp-bg: linear-gradient(135deg, var(--teal-700) 0%, var(--navy) 100%); }
.wp--5 { --wp-bg: var(--grad); }
.wp h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 10px; }
.wp-lead {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: .97rem; color: var(--ink);
}
.wp-lead .icon { color: var(--green); margin-top: 2px; }
.wp-lead strong { display: block; font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Results ---------- */
.mt-lg { margin-top: 32px; }
.resource-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.resource.resource--cta { background: var(--grad-dark); border-color: transparent; color: rgba(255, 255, 255, .88); }
.resource--cta h3 { color: #fff; }
.resource--cta p { margin: 0; font-size: .95rem; }
.resource--cta .ic { background: rgba(255, 255, 255, .14); color: #fff; }
.resource--cta .resource-foot { flex-wrap: wrap; gap: 6px 16px; }
.resource--cta .resource-foot a { color: #fff; font-family: var(--font-head); font-weight: 700; }
.resource {
  display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.resource-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.resource h2, .resource h3 { font-size: 1.08rem; margin: 0; line-height: 1.4; }
.resource-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.resource-foot .icon { width: 18px; height: 18px; }

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--bg-mint); border-left: 5px solid var(--green); color: var(--ink);
}
.callout .icon { color: var(--green); margin-top: 3px; }
.callout--navy { background: var(--bg-sky); border-left-color: var(--navy); }
.callout--navy .icon { color: var(--navy); }

/* ---------- Learning platform ---------- */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.mock {
  position: relative; background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD8CF; }
.mock-bar em {
  margin-left: 12px; flex: 1; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-style: normal; font-size: .75rem; color: var(--muted); font-family: var(--font-head); font-weight: 600;
}
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-hero { height: 92px; border-radius: 14px; background: var(--grad-dark); position: relative; overflow: hidden; }
.mock-hero::after { content: ""; position: absolute; right: -20px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid rgba(255, 255, 255, .12); }
.mock-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.mock-row .ic { width: 42px; height: 42px; border-radius: 12px; }
.mock-row .ic .icon { width: 22px; height: 22px; }
.mock-lines { flex: 1; display: grid; gap: 7px; }
.mock-lines i { display: block; height: 8px; border-radius: 6px; background: #E3EAE5; }
.mock-lines i:first-child { width: 70%; background: #CFDDD3; }
.mock-lines i:last-child { width: 45%; }
.badge + h2 { margin-top: 18px; }
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.topic .ic { margin-bottom: 16px; }
.topic h3 { font-size: 1.02rem; margin: 0; }
.format-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.format-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.format-list .icon { color: var(--green); margin-top: 2px; stroke-width: 2.2; }

/* ---------- News ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--navy);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--green); color: var(--green-700); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card time { font-size: .85rem; color: var(--muted); font-weight: 600; }
.news-card h3 { margin: 0; font-size: 1.12rem; }
.empty-state {
  text-align: center; padding: clamp(40px, 6vw, 64px) 24px;
  border: 2px dashed var(--line); border-radius: var(--radius-lg); background: #fff;
}
.empty-state .ic { margin: 0 auto 18px; width: 72px; height: 72px; border-radius: 50%; }
.empty-state .ic .icon { width: 32px; height: 32px; }
.empty-state h2 { font-size: 1.35rem; }
.empty-state p { max-width: 560px; margin-inline: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list .value { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.contact-list a.value { color: var(--green); }
.contact-aside { background: var(--grad-dark); color: #fff; border-color: transparent; }
.contact-aside h2 { color: #fff; font-size: 1.4rem; }
.contact-aside p { color: rgba(255, 255, 255, .88); }
.contact-aside .ic { background: rgba(255, 255, 255, .14); color: #fff; }
.contact-aside .btn { margin: 10px 8px 0 0; }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- EU funding acknowledgement ---------- */
/* Official "Funded by the European Union" logos: -pos on light backgrounds, -neg on dark ones. */
.eu-funding { background: #fff; border-top: 1px solid var(--line); padding: 30px 0; }
.eu-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); }
.eu-inner > img { width: 260px; flex: none; }
.eu-project { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .02em; color: var(--navy); }
.eu-disclaimer { margin: 0; font-size: .82rem; line-height: 1.6; color: var(--muted); }

.hero-funding {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-funding img { width: 240px; }
.hero-funding span { font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--muted); }
.page-hero-eu { width: 220px; margin-top: 30px; }
.approach-eu { width: 220px; margin: 26px auto 0; }
.footer-eu { width: 200px; margin-top: 22px; }
.aside-eu { width: 220px; margin-top: 28px; }
.notfound .notfound-eu { width: 240px; margin: 40px auto 0; }
.nav-eu { display: none; }

.funding-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.funding-note img { width: 230px; flex: none; }
.funding-note p { margin: 0; flex: 1 1 280px; font-size: .95rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .8); font-size: .95rem; padding-top: clamp(44px, 6vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand img { width: 52px; padding: 5px; background: #fff; border-radius: 50%; }
.footer-brand .brand-name .g { color: #8BD18F; }
.footer-brand .brand-name .n { color: #fff; }
.footer-brand .brand-tag { color: rgba(255, 255, 255, .7); }
.footer-brand p { max-width: 420px; }
.site-footer h2 { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-pale); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 6px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem;
}
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.notfound img { width: 160px; margin: 0 auto 24px; }
.notfound .hero-actions { justify-content: center; }
.notfound .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; margin-bottom: 12px; }

/* ---------- Home: partnership strip ---------- */
.partner-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-strip li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.partner-strip b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--navy); }
.partner-strip small { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--muted); }
.partner-strip .flag { width: 22px; height: 15px; }
.partner-strip-foot { margin-top: 28px; }

.empty-state .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 22px; }
  .site-nav a { padding: 13px 14px; font-size: 1rem; }
  .site-nav a[aria-current="page"] { background: var(--bg-mint); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .nav-cta a { margin: 10px 0 0; text-align: center; }
  .site-nav ul { padding-bottom: 10px; }
  .nav-eu { display: block; padding: 8px 30px 24px; }
  .nav-eu img { width: 220px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid, .glance-grid, .split, .platform-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(76%, 340px); }
  .partner-grid { grid-template-columns: 1fr; }
  .objectives { grid-template-columns: 1fr 1fr; }
  .objectives li, .objectives li:nth-child(4) { grid-column: auto; }
  .objectives li:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand img { width: 40px; }
  .brand-name { font-size: 1.2rem; }
  .hero-tagline { font-size: .68rem; letter-spacing: .2em; gap: 10px; }
  .hero-tagline::before, .hero-tagline::after { width: 20px; }
  .hero-actions .btn { width: 100%; }
  .stats { gap: 12px; }
  .stat { padding: 20px 18px; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .topbar .hide-sm { display: none; }
  .topbar-text { font-size: .68rem; }
  .topbar-eu { width: 116px; }
  .eu-inner > img { width: 220px; }
  .steps, .cards-4, .topic-grid, .objectives, .resource-grid, .partner-strip { grid-template-columns: 1fr; }
  .wp { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .wp-num { width: 72px; height: 72px; margin: 0; border-radius: 18px; }
  .wp-num span { font-size: 1.8rem; }
  .wp-list::before { display: none; }
  .eu-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-band .actions, .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .nav-toggle, .hero-visual, .bubble, .filters { display: none !important; }
  .page-hero, .approach, .facts, .cta-band, .contact-aside { background: none !important; color: #000 !important; }
  .page-hero h1, .approach h2, .step h3, .facts h3 { color: #000 !important; }
}
