@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/geist-300.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/geist-400.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/geist-500.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/geist-700.woff2') format('woff2'); }

/* ─── Variables — Brand v3.0 ─────────────────────────────────── */
:root {
  /* Colour palette */
  --navy:         #101820;   /* Ink navy — primary */
  --teal:         #14B8A6;   /* Teal — accent */
  --teal-hover:   #0D9488;   /* Teal hover */
  --slate:        #2A3744;   /* Slate — mid-tone */
  --silver:       #94A3B8;   /* Silver — secondary */
  --cloud:        #EDEDED;   /* Cloud — light text */
  --surface-dark: #17212B;   /* Surface dark */
  --page-light:   #F8FAFB;   /* Page light */
  --white:        #ffffff;

  /* Semantic aliases */
  --dark:         var(--navy);
  --dark-card:    var(--surface-dark);
  --dark-border:  rgba(255,255,255,0.08);
  --accent:       var(--teal);
  --accent-hover: var(--teal-hover);
  --tint:         var(--page-light);
  --tint-border:  var(--cloud);
  --off-white:    var(--page-light);
  --footer-bg:    var(--surface-dark);
  --border:       #e2e8f0;
  --text:         var(--navy);
  --text-muted:   #3d4f5e;
  --text-soft:    var(--silver);
  --navy-muted:   var(--silver);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-pill:  20px;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 48px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logomark {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.nav__synnous {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  line-height: 1;
}
.nav__group {
  font-size: 7px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--silver);
  text-transform: uppercase;
  line-height: 1;
}
.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__cta {
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav__cta:hover { background: #0d3059; }

/* ─── Containers & Sections ──────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
}
.section {
  padding: 96px 48px;
}
.section--off   { background: var(--off-white); }
.section--dark  { background: var(--dark); }
.section--tint  { background: var(--tint); }
.section--white { background: var(--white); }

/* ─── Section headers ────────────────────────────────────────── */
.label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title--light { color: #fff; }
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}
.section-sub--light { color: var(--navy-muted); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-header .section-title { margin-bottom: 0; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--dark);
  color: #fff;
}
.btn--primary:hover { background: #0d3059; }
.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 0.5px solid #c8d8e8;
}
.btn--outline:hover { background: var(--tint); }
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.15);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); }
.btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 100px 48px 88px;
  text-align: center;
  background: var(--white);
}
.hero__inner {
  max-width: 760px;
  margin: 0 auto;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--tint);
  border: 0.5px solid var(--tint-border);
  color: var(--dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero__title {
  font-size: clamp(46px, 7vw, 68px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.04;
  color: var(--text);
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero with photo background */
.hero--photo {
  position: relative;
  background: var(--navy);
  padding: 120px 48px 100px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(16,24,32,0.82) 0%,
    rgba(16,24,32,0.6) 50%,
    rgba(16,24,32,0.45) 100%
  );
  z-index: 1;
}
.hero--photo .hero__canvas { z-index: 2; opacity: 0.3; }
.hero--photo .hero__inner { z-index: 3; }
.hero--photo .hero__title { color: #fff; }
.hero--photo .hero__sub { color: rgba(255,255,255,0.8); }

/* Eyebrow on photo hero */
.hero__eyebrow--on-photo {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
}

/* Outline button on dark background */
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.3);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
}

/* ─── Trust bar ──────────────────────────────────────────────── */
.trust-bar {
  padding: 28px 48px 60px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-bar__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.trust-bar__divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}
.trust-bar__items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-badge {
  background: var(--off-white);
  border: 0.5px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

/* ─── Name origin strip ──────────────────────────────────────── */
.origin-strip {
  padding: 18px 48px;
  background: var(--off-white);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.origin-strip p {
  font-size: 13px;
  color: var(--text-soft);
  font-style: italic;
}
.origin-strip strong {
  font-style: normal;
  color: var(--dark);
  font-weight: 600;
}

/* ─── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10,37,64,0.08);
}
.card--dark {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.card--dark:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__icon--accent { background: rgba(20,184,166,0.12); }
.card__icon--accent svg { stroke: var(--accent); }
.card__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 8px;
}
.card__title--light { color: #fff; }
.card__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.card__body--light { color: var(--navy-muted); }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-top: 16px;
  transition: gap 0.2s;
}
.card__link:hover { gap: 8px; }
.card__link--accent { color: var(--accent); }
.card__tag {
  display: inline-block;
  background: rgba(20,184,166,0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

/* ─── Services grid ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.services-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

/* ─── Programme cards ────────────────────────────────────────── */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.prog-grid .card--wide {
  grid-column: 1 / -1;
}

/* ─── Events grid ────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.events-grid .card--wide {
  grid-column: 1 / -1;
}
.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ─── Purpose band ───────────────────────────────────────────── */
.purpose-band {
  padding: 80px 48px;
  background: var(--dark);
}
.purpose-band__inner {
  max-width: 760px;
  margin: 0 auto;
}
.purpose-band blockquote {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}
.purpose-band p {
  font-size: 17px;
  color: var(--navy-muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 10px;
}
.purpose-band .legal-note {
  font-size: 13px;
  color: rgba(148,163,184,0.7);
  margin-top: 20px;
  margin-bottom: 32px;
}

/* ─── CTA band ───────────────────────────────────────────────── */
.cta-band {
  padding: 80px 48px;
  background: var(--tint);
  border-top: 0.5px solid var(--tint-border);
  text-align: center;
}
.cta-band__inner { max-width: 560px; margin: 0 auto; }
.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 14px;
}
.cta-band p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.cta-band--dark {
  background: var(--dark);
  border-top: none;
}
.cta-band--dark h2 { color: #fff; }
.cta-band--dark p  { color: var(--navy-muted); }

/* ─── Pillars (About) ────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.pillar__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pillar__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.pillar h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.pillar p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Origin pullquote ───────────────────────────────────────── */
.origin-quote {
  background: var(--off-white);
  border: 0.5px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 48px 0;
}
.origin-quote p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}
.origin-quote em { font-style: italic; color: var(--dark); font-weight: 500; }

/* ─── Legal entity note ──────────────────────────────────────── */
.legal-card {
  background: var(--off-white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
}
.legal-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.legal-card__icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.legal-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Our role section ───────────────────────────────────────── */
.role-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.role-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.role-tag {
  background: rgba(20,184,166,0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

/* ─── National programmes strip ──────────────────────────────── */
.nat-strip {
  background: var(--off-white);
  border-top: 0.5px solid var(--border);
  padding: 48px;
}
.nat-strip .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}
.nat-strip h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
}
.nat-strip p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Contact layout ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-sidebar {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: sticky;
  top: calc(64px + 32px);
}
.contact-sidebar__title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}
.contact-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-sidebar__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-sidebar__icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.contact-sidebar__label {
  font-size: 12px;
  color: rgba(148,163,184,0.7);
  margin-bottom: 2px;
}
.contact-sidebar__value {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.contact-sidebar__divider {
  height: 0.5px;
  background: rgba(255,255,255,0.08);
  margin: 24px 0;
}
.contact-sidebar__legal {
  font-size: 12px;
  color: rgba(148,163,184,0.6);
  line-height: 1.6;
}

/* ─── Form ───────────────────────────────────────────────────── */
.form__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 28px;
}
.form__group { margin-bottom: 20px; }
.form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 7px;
}
.form__label span { color: var(--accent); }
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 0.5px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.form__textarea { resize: vertical; min-height: 140px; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__submit {
  width: 100%;
  background: var(--dark);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form__submit:hover { background: #0d3059; }
.form__hidden { display: none; }

/* ─── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 80px 48px 72px;
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}
.page-hero__inner { max-width: 640px; }
.page-hero__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.page-hero__title {
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.07;
  color: var(--text);
  margin-bottom: 18px;
}
.page-hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
}

/* ─── Service number labels ──────────────────────────────────── */
.card__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 10px;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  padding: 56px 48px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid #1e1e1e;
}
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__logomark {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.footer__synnous {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cloud);
  line-height: 1;
}
.footer__group-label {
  font-size: 6.5px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--silver);
  text-transform: uppercase;
  line-height: 1;
}
.footer__brand-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  max-width: 220px;
  margin-bottom: 16px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: #999; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.footer__bottom span {
  font-size: 12px;
  color: #444;
}

/* ─── Hero canvas (homepage + inner pages) ───────────────────── */
.hero { position: relative; overflow: hidden; }
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero__inner,
.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__actions,
.page-hero__label,
.page-hero__title,
.page-hero__sub { position: relative; z-index: 1; }

/* ─── Contact page extras ────────────────────────────────────── */
.contact-form-wrap { background: var(--white); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 36px 32px; }
.contact-form { width: 100%; }
.form__honeypot { display: none !important; visibility: hidden; }
.form__req { color: var(--accent); }
.form__select-wrap { position: relative; }
.form__select-wrap .form__input { padding-right: 36px; cursor: pointer; }
.form__select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  pointer-events: none;
}
.contact-sidebar__card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 16px;
}
.contact-sidebar__heading {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}
.contact-sidebar a.contact-sidebar__value {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.contact-sidebar a.contact-sidebar__value:hover { opacity: 0.8; }
.contact-sidebar__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  background: var(--off-white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
}
.contact-sidebar__note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--text-muted);
}
.contact-sidebar__note p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Image band ────────────────────────────────────────────── */
.img-band {
  padding: 0;
  overflow: hidden;
}
.img-band__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.img-band__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.img-band__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.img-band__item:hover img {
  transform: scale(1.06);
}
.img-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,24,32,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px 28px;
  pointer-events: none;
}
.img-band__label {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Single full-width image variant */
.img-band__single {
  position: relative;
  overflow: hidden;
  max-height: 480px;
}
.img-band__single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-band__single:hover img {
  transform: scale(1.03);
}
.img-band__single .img-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,24,32,0.65) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 36px 48px;
  pointer-events: none;
}
.img-band__single .img-band__label {
  font-size: 1.1rem;
  letter-spacing: 0.8px;
}

/* ─── Active Calls Section ──────────────────────────────────── */
.calls-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 60px 0 48px;
}
.calls-section {
  background: var(--navy);
  padding: 100px 48px;
}
.calls-section .section__title {
  color: #fff;
}
.calls-section .section__sub {
  color: rgba(255,255,255,0.65);
  max-width: 640px;
}
.calls-section .section__sub a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calls-section .section__sub a:hover {
  color: #fff;
}

/* Tabs */
.calls-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.calls-tab {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 100px;
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.calls-tab:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}
.calls-tab--active {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.calls-tab--active:hover {
  background: #12a89a;
  color: var(--navy);
}

/* Grid */
.calls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* Card */
.call-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
}
.call-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.call-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.call-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.call-card__badge--horizon   { background: rgba(59,130,246,0.15); color: #60a5fa; }
.call-card__badge--erasmus   { background: rgba(16,185,129,0.15); color: #34d399; }
.call-card__badge--digital   { background: rgba(168,85,247,0.15); color: #c084fc; }
.call-card__badge--eic       { background: rgba(245,158,11,0.15); color: #fbbf24; }
.call-card__badge--interreg  { background: rgba(236,72,153,0.15); color: #f472b6; }

.call-card__type {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.call-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
}
.call-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: auto;
}
.call-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.call-card__meta .deadline-icon::before {
  content: '⏱';
  font-size: 0.85em;
}
.call-card__meta .budget-icon::before {
  content: '€';
  font-weight: 700;
  font-size: 0.85em;
  color: var(--teal);
}
.call-card__deadline--soon {
  color: #fbbf24;
  font-weight: 500;
}
.call-card__deadline--closing {
  color: #f87171;
  font-weight: 600;
}
.call-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}
.call-card__link:hover {
  color: #fff;
}
.call-card__link::after {
  content: '→';
  transition: transform 0.2s;
}
.call-card__link:hover::after {
  transform: translateX(3px);
}

/* Updated timestamp */
.calls-updated {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 32px;
  letter-spacing: 0.3px;
}

/* Loading */
.calls-loading {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
}

/* ─── Blog grid (index) ─────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
}
.blog-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(16,24,32,0.1);
  transform: translateY(-2px);
}
.blog-card__img {
  overflow: hidden;
  height: 100%;
  min-height: 200px;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.04);
}
.blog-card__body {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.blog-card__tag {
  background: var(--teal);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-card__title a:hover {
  color: var(--teal);
}
.blog-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
.blog-card__read {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-top: auto;
}
.blog-card__read:hover {
  text-decoration: underline;
}

/* ─── Blog article ──────────────────────────────────────────── */
.blog-article {
  max-width: 740px;
  margin: 0 auto;
}
.blog-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.blog-article__reading {
  padding-left: 16px;
  border-left: 1px solid #d0d4da;
}
.blog-article__hero-img {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}
.blog-article__hero-img img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.blog-article p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 20px;
}
.blog-article strong {
  color: var(--navy);
  font-weight: 600;
}
.blog-article a {
  color: var(--teal);
  font-weight: 500;
}
.blog-article a:hover {
  text-decoration: underline;
}
.blog-article__cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-off);
  border-radius: 12px;
  border-left: 4px solid var(--teal);
}
.blog-article__cta p {
  font-size: 0.95rem;
  margin: 0;
}


/* ─── Enhanced card hover ───────────────────────────────────── */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(16,24,32,0.1);
}

/* ─── Scroll animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .hero { padding: 72px 24px 60px; }
  .section { padding: 64px 24px; }
  .purpose-band { padding: 64px 24px; }
  .cta-band { padding: 64px 24px; }
  .page-hero { padding: 56px 24px; }
  .trust-bar { padding: 20px 24px 48px; gap: 16px; }
  .origin-strip { padding: 16px 24px; }
  .nat-strip { padding: 48px 24px; }
  .footer { padding: 48px 24px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .role-section { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .nat-strip .container { grid-template-columns: 1fr; gap: 16px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .img-band__inner { grid-template-columns: 1fr; }
  .img-band__item { aspect-ratio: 16 / 9; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card__body { padding: 24px; }
  .blog-card__img { min-height: 180px; max-height: 220px; }
  .calls-section { padding: 64px 24px; }
  .calls-grid { grid-template-columns: 1fr; }
  .calls-tabs { gap: 6px; }
  .calls-tab { padding: 7px 14px; font-size: 0.8rem; }
}
@media (max-width: 640px) {
  .hero__title { letter-spacing: -1.5px; }
  .services-grid { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .prog-grid .card--wide { grid-column: auto; }
  .events-grid { grid-template-columns: 1fr; }
  .events-grid .card--wide { grid-column: auto; }
  .pub-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: stretch; text-align: center; }
  .hero__actions { flex-direction: column; align-items: center; }
}

/* ─── Accessibility: skip link & focus ───────────────────────── */
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible,
.form__input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.section--dark a:focus-visible, .section--dark button:focus-visible,
.footer a:focus-visible, .hero a:focus-visible, .page-hero a:focus-visible {
  outline-color: #5eead4;
}

/* ─── Mobile navigation ──────────────────────────────────────── */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__cta { margin-left: auto; margin-right: 8px; padding: 8px 14px; }
  .nav__links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 0.5px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { display: block; padding: 14px 0; font-size: 16px; }
  .nav__links li + li { border-top: 0.5px solid var(--border); }
}
@media (prefers-reduced-motion: reduce) {
  .nav__toggle span { transition: none; }
}

/* ─── Split sections (text + side photo) ────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  overflow: hidden;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}
.split__content .label { margin-bottom: 14px; }
.split__content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.split__content p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 12px;
}
.split__content .btn { margin-top: 20px; align-self: flex-start; }

/* Dark variant */
.split--dark { background: var(--navy); }
.split--dark .split__content h2 { color: #fff; }
.split--dark .split__content p { color: var(--silver); }
.split--dark .split__content .label { color: var(--teal); }
.split--dark .split__content .legal-note {
  font-size: 13px;
  color: rgba(148,163,184,0.6);
  margin-top: 8px;
}

/* Slate variant */
.split--slate { background: var(--slate); }
.split--slate .split__content h2 { color: #fff; }
.split--slate .split__content p { color: rgba(255,255,255,0.72); }
.split--slate .split__content .label { color: var(--teal); }

/* Photo side */
.split__photo {
  position: relative;
  overflow: hidden;
}
.split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.split__photo:hover img {
  transform: scale(1.04);
}
/* Soft blend edge toward the text side */
.split__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.split--dark .split__photo::after {
  background: linear-gradient(to right, var(--navy) 0%, transparent 20%);
}
.split--dark.split--reverse .split__photo::after {
  background: linear-gradient(to left, var(--navy) 0%, transparent 20%);
}
.split--slate .split__photo::after {
  background: linear-gradient(to right, var(--slate) 0%, transparent 20%);
}
.split--slate.split--reverse .split__photo::after {
  background: linear-gradient(to left, var(--slate) 0%, transparent 20%);
}

/* Section divider — smooth gradient transition between sections */
.section-fade {
  height: 48px;
  pointer-events: none;
}
.section-fade--to-dark {
  background: linear-gradient(to bottom, var(--white), var(--navy));
}
.section-fade--to-white {
  background: linear-gradient(to bottom, var(--navy), var(--white));
}
.section-fade--to-slate {
  background: linear-gradient(to bottom, var(--white), var(--slate));
}
.section-fade--slate-to-white {
  background: linear-gradient(to bottom, var(--slate), var(--white));
}

/* Hero smooth bottom fade */
.hero--photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  z-index: 4;
  pointer-events: none;
}

/* Responsive split sections */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .split--reverse { direction: ltr; }
  .split__content { padding: 56px 24px; }
  .split__photo {
    height: 300px;
    order: -1; /* photo always on top on mobile */
  }
  .split--dark .split__photo::after,
  .split--dark.split--reverse .split__photo::after {
    background: linear-gradient(to top, var(--navy) 0%, transparent 30%);
  }
  .split--slate .split__photo::after,
  .split--slate.split--reverse .split__photo::after {
    background: linear-gradient(to top, var(--slate) 0%, transparent 30%);
  }
  .section-fade { height: 48px; }
}
