/* ============================================================
   CREATIV MCA — stylesheet
   Palette: navy #0A1540 · magenta #F3065F · violet mist #F4F2FA
   Type: Sora (display) · Inter (body)
   ============================================================ */

:root {
  --navy: #0A1540;
  --navy-90: #16204d;
  --magenta: #F3065F;
  --magenta-ink: #c60b52;
  --violet: #6B5CA5;
  --mist: #F4F2FA;
  --mist-deep: #ECE8F7;
  --ink: #4A4F63;
  --ink-soft: #6B7089;
  --line: #E4E1F0;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(10, 21, 64, .06), 0 2px 8px rgba(10, 21, 64, .05);
  --shadow-md: 0 8px 30px rgba(10, 21, 64, .10);
  --shadow-lg: 0 20px 60px rgba(10, 21, 64, .16);

  --radius: 14px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --strip-h: 40px;
  --nav-h: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* guard against accidental horizontal overflow on mobile */
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- minimis compliance strip (above everything) ---------- */
.minimis-strip {
  background: var(--navy);
  color: #E7E9F4;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .01em;
  min-height: var(--strip-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7px var(--gutter);
  position: relative;
  z-index: 60;
}
.minimis-strip::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--magenta);
}
.minimis-strip p { margin: 0; color: inherit; }
.minimis-strip strong { color: var(--white); font-weight: 600; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 52px; width: 52px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); letter-spacing: .02em; }
.brand__word span { font-size: 10px; letter-spacing: .22em; color: var(--magenta); text-transform: uppercase; font-weight: 600; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--navy-90);
  padding: 9px 14px; border-radius: 9px; position: relative;
  transition: color .18s, background .18s;
}
.nav__links a:hover { color: var(--magenta); background: var(--mist); }
.nav__links a[aria-current="page"] { color: var(--magenta); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--magenta); border-radius: 2px;
}

.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.icon-fb {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--navy);
  transition: all .18s;
}
.icon-fb:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.icon-fb svg { width: 18px; height: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 11px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--magenta); color: var(--white); box-shadow: 0 6px 18px rgba(243,6,95,.28); }
.btn--primary:hover { background: var(--magenta-ink); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(243,6,95,.34); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-90); transform: translateY(-1px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }

/* hamburger */
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); cursor: pointer; padding: 0;
  place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; left: 0; }
.nav__toggle span::after  { position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- section rhythm ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #D9DCEC; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #B9BED5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--magenta);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 26px; flex-shrink: 0;
  background: url("../assets/MCACreativ-logo-mark.svg") center/contain no-repeat;
  opacity: .95;
}
.section--navy .eyebrow { color: #FF5C93; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { font-size: 18px; color: var(--ink-soft); }
.section--navy .section-head p { color: #A9AECB; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px);
  align-items: center; padding-block: clamp(50px, 7vw, 96px) clamp(56px, 7vw, 100px);
}
.hero__eyebrow {
  display: inline-block; line-height: 1.4;
  font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--violet);
  background: var(--mist); border: 1px solid var(--mist-deep);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
  width: fit-content; max-width: 100%;
}
.hero__eyebrow b { color: var(--magenta); }
.hero h1 { font-size: clamp(36px, 6vw, 62px); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--magenta); }
.hero__lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); max-width: 44ch; margin-top: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-display); font-size: 30px; color: var(--navy); display: block; line-height: 1; }
.hero__stat span { font-size: 13.5px; color: var(--ink-soft); letter-spacing: .02em; }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__art-ring {
  position: absolute; inset: -8% -6%;
  background: radial-gradient(circle at 50% 40%, var(--mist) 0%, rgba(244,242,250,0) 68%);
  z-index: 0;
}
.hero__logo {
  position: relative; z-index: 1; width: min(100%, 420px);
  filter: drop-shadow(0 24px 46px rgba(10,21,64,.14));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none; } }

/* ---------- service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform .2s, box-shadow .25s, border-color .2s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--mist); color: var(--magenta); margin-bottom: 20px;
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }
.card__num {
  position: absolute; top: 20px; right: 24px; font-family: var(--font-display);
  font-weight: 700; font-size: 14px; color: var(--mist-deep);
}

/* service card w/ magenta top accent on hover */
.card--service::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--magenta);
  transition: width .3s ease;
}
.card--service:hover::after { width: 100%; }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split__media {
  background: var(--mist); border-radius: var(--radius-lg); border: 1px solid var(--mist-deep);
  aspect-ratio: 4/3.4; display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden;
}
.split__media img { width: min(78%, 320px); }
.stat-badge {
  position: absolute; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-md);
}
.stat-badge b { font-family: var(--font-display); font-size: 24px; color: var(--magenta); display: block; line-height: 1; }
.stat-badge span { font-size: 12.5px; color: var(--ink-soft); }
.stat-badge--tl { top: 24px; left: 24px; }
.stat-badge--br { bottom: 24px; right: 24px; }

.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--navy); font-size: 16px; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- workshop / objective list ---------- */
.obj {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.obj:first-child { border-top: 0; }
.obj__no {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--white);
  background: var(--navy); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
}
.obj--alt .obj__no { background: var(--magenta); }
.obj h3 { font-size: 20px; margin-bottom: 6px; }
.obj p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.obj__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  font-size: 12.5px; font-weight: 600; color: var(--violet);
  background: var(--mist); border: 1px solid var(--mist-deep); padding: 4px 11px; border-radius: 999px;
}

/* ---------- project / minimis feature block ---------- */
.project {
  background: linear-gradient(135deg, var(--navy) 0%, #131f52 100%);
  color: #D9DCEC; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.project::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: url("../assets/MCACreativ-logo-mark.svg") center/contain no-repeat; opacity: .06;
}
.project__tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #FF5C93;
  border: 1px solid rgba(255,92,147,.35); padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.project h2 { color: var(--white); font-size: clamp(24px, 3.4vw, 34px); max-width: 20ch; }
.project p { color: #B9BEDS; color: #B9BEDD; max-width: 60ch; position: relative; }

/* ---------- newsletter ---------- */
.news {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.news__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.news h2 { font-size: clamp(24px, 3vw, 34px); }
.news p { color: var(--ink-soft); }
.news__form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input {
  font-family: var(--font-body); font-size: 16px; padding: 14px 16px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.field input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(243,6,95,.14); }
.field input::placeholder { color: #A6ABBE; }
.news__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.news__consent input { margin-top: 3px; accent-color: var(--magenta); width: 16px; height: 16px; flex-shrink: 0; }
.form-note { font-size: 13.5px; margin: 0; min-height: 20px; }
.form-note.is-error { color: var(--magenta-ink); }
.form-note.is-ok { color: #1a8a4f; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--mist); color: var(--magenta); display: grid; place-items: center; flex-shrink: 0; }
.contact-item__ico svg { width: 22px; height: 22px; }
.contact-item h4 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 0 0 3px; font-weight: 600; }
.contact-item a, .contact-item p { font-size: 16.5px; color: var(--navy); margin: 0; font-weight: 500; }
.contact-item a:hover { color: var(--magenta); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field textarea {
  font-family: var(--font-body); font-size: 16px; padding: 14px 16px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); resize: vertical; min-height: 130px; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(243,6,95,.14); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 60px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,6,95,.20), transparent 70%);
}
.cta-band::before { left: -80px; bottom: -100px; }
.cta-band::after { right: -80px; top: -100px; background: radial-gradient(circle, rgba(107,92,165,.24), transparent 70%); }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 4vw, 40px); position: relative; }
.cta-band p { color: #B9BEDD; max-width: 52ch; margin-inline: auto; position: relative; }
.cta-band .btn { position: relative; margin-top: 10px; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--mist-deep); padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 340px; height: 340px; background: url("../assets/MCACreativ-logo-mark.svg") center/contain no-repeat; opacity: .05;
}
.page-hero__inner { max-width: 720px; position: relative; }
.breadcrumb { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--magenta); }
.breadcrumb span { color: var(--magenta); }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.page-hero p { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 56ch; }

/* ---------- EU funding banner ---------- */
.eu-funding {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 3px solid #003399;
  padding: 22px 0;
}
.eu-funding__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
.eu-funding__flag {
  width: clamp(84px, 10vw, 120px);
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(10,21,64,.14);
  flex-shrink: 0;
}
.eu-funding__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}
.eu-funding__text strong { color: var(--navy); font-weight: 700; }
.eu-funding__seal {
  width: clamp(64px, 8vw, 88px);
  height: auto;
  flex-shrink: 0;
}

/* ---------- newsletter: Brevo embed (real structure, skinned to match) ----------
   The form uses Brevo's original DOM so Brevo's script (sibforms .../main.js)
   works: it handles validation, submit, and toggling the success/error panels.
   We only skin it here. Do NOT force display:none on the panels — Brevo's own
   stylesheet/script controls their visibility. */
.news__brevo { width: 100%; }
.news__brevo .sib-form-container { max-width: 100%; background: transparent; }
.news__brevo #sib-container {
  background: transparent !important; border: 0 !important; padding: 0 !important;
  max-width: 100% !important; direction: ltr;
}
.news__brevo #sib-form { padding: 0; margin: 0; }
.news__brevo .sib-form-block { padding: 0 !important; }
.news__brevo form > div[style] { padding: 6px 0 !important; }

/* email field */
.news__brevo .entry__label {
  display: block; font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; text-align: left;
}
.news__brevo .input,
.news__brevo input#EMAIL {
  font-family: var(--font-body) !important; font-size: 16px !important;
  padding: 14px 16px !important; border-radius: 11px !important;
  border: 1px solid var(--line) !important; background: var(--white) !important;
  color: var(--navy) !important; width: 100% !important; box-shadow: none !important;
}
.news__brevo .input:focus,
.news__brevo input#EMAIL:focus {
  outline: none !important; border-color: var(--magenta) !important;
  box-shadow: 0 0 0 3px rgba(243,6,95,.14) !important;
}
.news__brevo .input::placeholder { color: #A6ABBE !important; }

/* consent checkbox row */
.news__brevo .sib-optin .entry__choice { margin: 0; }
.news__brevo .news__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.news__brevo .news__consent input { margin-top: 3px; accent-color: var(--magenta); width: 16px; height: 16px; flex-shrink: 0; }
.news__brevo .news__consent span p { margin: 0; }

/* submit button — inherits .btn .btn--primary from the markup */
.news__brevo .sib-form-block__button {
  font-family: var(--font-body) !important; width: auto !important;
}
.news__brevo .sib-hide-loader-icon { display: none; } /* hide loader unless Brevo shows it */

/* field-level validation error (Brevo shows these) */
.news__brevo .entry__error {
  font-family: var(--font-body) !important; font-size: 13px !important;
  color: var(--magenta-ink) !important; background: transparent !important;
  border: 0 !important; margin-top: 6px !important; padding: 0 !important;
}

/* success / error message panels — style to match; visibility handled by Brevo */
.news__brevo .sib-form-message-panel {
  margin: 0 0 12px !important; padding: 12px 14px !important; border-radius: 11px !important;
  font-family: var(--font-body) !important; font-size: 14px !important; line-height: 1.4 !important;
  max-width: 100% !important; border-width: 1px !important; border-style: solid !important;
}
.news__brevo #error-message { background: #ffeded !important; color: #661d1d !important; border-color: #ff4949 !important; }
.news__brevo #success-message { background: #e7faf0 !important; color: #085229 !important; border-color: #13ce66 !important; }
.news__brevo .sib-form-message-panel__text { display: flex; align-items: center; gap: 8px; text-align: left; }
.news__brevo .sib-notification__icon { width: 20px; height: 20px; flex-shrink: 0; }

/* safeguard: keep Brevo honeypot hidden even if their external CSS fails to load */
.news__brevo input[name="email_address_check"],
.news__brevo .input--hidden { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }


/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #A9AECB; padding: clamp(48px, 6vw, 76px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: auto; width: 150px; max-width: 100%; margin-bottom: 18px; }
.footer-brand p { color: #9096B6; font-size: 15px; max-width: 32ch; }
.footer-col h5 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: #FFF; margin: 0 0 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: #A9AECB; font-size: 15px; padding: 5px 0; margin: 0; transition: color .16s; }
.footer-col a:hover { color: #FF5C93; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; transition: all .18s; }
.footer-social a:hover { background: var(--magenta); border-color: var(--magenta); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #7C82A4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; margin-bottom: 8px; }
  .hero__logo { width: min(76%, 320px); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .news__grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --nav-h: 66px; }
  .nav { gap: 12px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    gap: 2px; padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 12px; font-size: 16px; border-radius: 10px; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__links a[aria-current="page"] { background: var(--mist); }
  .nav__toggle { display: grid; }
  .brand { gap: 9px; min-width: 0; }
  .brand img { height: 44px; width: 44px; }
  .brand__word b { font-size: 15px; }
  .brand__word span { display: none; } /* hide tagline on mobile to fit the row */
  .nav__actions { gap: 8px; }
  .nav__cta-desktop { display: none; }
}

@media (max-width: 560px) {
  .eu-funding__inner { grid-template-columns: 1fr; justify-items: center; gap: 14px; text-align: center; }
  .eu-funding__text { font-size: 12.5px; order: 3; }
  .eu-funding__flag { order: 1; }
  .eu-funding__seal { order: 2; }
  .grid--3, .grid--2, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 40px); word-break: break-word; hyphens: auto; }
  .hero__eyebrow { font-size: 13px; padding: 6px 12px; }
  .hero__logo { width: min(62%, 250px); }
  .hero__stats { gap: 24px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .minimis-strip { font-size: 12px; text-align: left; }
  .stat-badge--tl { top: 14px; left: 14px; }
  .stat-badge--br { bottom: 14px; right: 14px; }
}
