:root {
  --green: #3e7f26;
  --green-dark: #23571b;
  --blue: #082c5a;
  --blue-mid: #1f4f91;
  --purple: #71318d;
  --orange: #f5a313;
  --cream: #f5f7f2;
  --white: #ffffff;
  --text: #26312c;
  --muted: #66736d;
  --border: #dce4df;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-primary {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--green);
}

.brand-primary span {
  color: var(--blue);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--green);
}

/* LANGUAGE SWITCH */

.language-switcher {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
}

.language-button {
  min-width: 35px;
  padding: 5px 7px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-button:hover {
  color: var(--green);
}

.language-button.active {
  color: var(--white);
  background: var(--green);
}

/* HERO */

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(62, 127, 38, 0.14), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(31, 79, 145, 0.14), transparent 30%),
    linear-gradient(135deg, #f8fbf6 0%, #ffffff 48%, #f4f7fb 100%);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 58px;
  align-items: center;
  padding: 82px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.03;
  color: var(--blue);
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 32px;
  font-size: 1.17rem;
  color: #44534c;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border: 1px solid #9eb2a7;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.7);
}

.hero-logo-card {
  padding: 22px;
  border: 1px solid rgba(20, 66, 42, 0.12);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(12, 45, 29, 0.13);
  transform: rotate(1deg);
}

.hero-logo-card img {
  width: 100%;
  border-radius: 12px;
}

/* FACTS */

.facts {
  background: var(--blue);
  color: var(--white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts article {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  font-size: 1.08rem;
}

.facts span {
  margin-top: 4px;
  opacity: 0.76;
}

/* GENERAL */

.section {
  padding: 92px 0;
}

.light-bg {
  background: var(--cream);
}

h2 {
  max-width: 800px;
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.14;
  color: var(--blue);
}

h3 {
  margin-top: 0;
  color: var(--blue);
}

p {
  max-width: 74ch;
}

.section-intro {
  margin: -12px 0 38px;
  color: var(--muted);
  font-size: 1.08rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* PROJECT VISUAL */

.project-visual {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 36px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(62, 127, 38, 0.10), rgba(31, 79, 145, 0.11));
  border: 1px solid var(--border);
}

.visual-item {
  width: 130px;
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 20px 14px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 47, 30, 0.08);
}

.visual-icon {
  font-size: 2.7rem;
  color: var(--green);
}

.visual-plus {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}

/* CARDS AND OBJECTIVES */

.cards,
.objective-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(19, 52, 33, 0.04);
}

.objective-card {
  position: relative;
  overflow: hidden;
}

.objective-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(62, 127, 38, 0.07);
}

.card-number {
  margin-bottom: 25px;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--green);
}

/* ACTIVITIES */

.timeline {
  display: grid;
  gap: 20px;
}

.timeline article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.timeline article > span {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
}

/* PARTNERS */

.partners-section {
  background: linear-gradient(180deg, #f7f9f5 0%, #eef4f0 100%);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner {
  padding: 30px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 38px rgba(17, 50, 31, 0.06);
}

.partner-wordmark {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 12px;
  background: #f8faf8;
  border: 1px solid #e5ebe7;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.partner-wordmark.steeltrax {
  color: #314638;
  font-size: 1.62rem;
  letter-spacing: 0.08em;
}

.partner-wordmark.weadd {
  color: var(--blue-mid);
  font-size: 1.85rem;
  letter-spacing: 0.09em;
}

.partner-wordmark.uc {
  gap: 13px;
  justify-content: center;
  color: #202a35;
  line-height: 1.12;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
}

.uc-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.5rem;
}

.partner-type {
  margin-bottom: 9px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* NEWS */

.news-date {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* CONTACT */

.contact-section {
  background: var(--green-dark);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section .section-label {
  color: var(--white);
  opacity: 0.75;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-details {
  padding: 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

/* FOOTER */

.site-footer {
  padding: 55px 0 30px;
  background: #0a1e38;
  color: var(--white);
}

.funding-box {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.funding-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.funding-logos div {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  background: var(--white);
  color: var(--text);
  border-radius: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* TABLET */

@media (max-width: 1020px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .header-right {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* MOBILE */

@media (max-width: 900px) {
  .header-right {
    flex-direction: column-reverse;
    gap: 13px;
  }

  .main-nav {
    gap: 12px 18px;
  }

  .hero-grid,
  .facts-grid,
  .cards,
  .objective-grid,
  .partner-grid,
  .two-column,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 70px 0;
  }

  .hero-logo-card {
    max-width: 650px;
    transform: none;
  }

  .facts article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .project-visual {
    flex-wrap: wrap;
  }

  .section {
    padding: 68px 0;
  }

  .funding-logos {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .main-nav {
    font-size: 0.88rem;
  }

  .project-visual {
    flex-direction: column;
  }

  .visual-plus {
    transform: rotate(90deg);
  }

  .language-switcher {
    align-self: flex-start;
  }
}


/* =========================================================
   VERSION 2: PARTNER LINKS, CONTACTS, NEWS AND FUNDING
   ========================================================= */

.partner {
  position: relative;
  display: flex;
  flex-direction: column;
}

.partner-leader {
  border: 2px solid rgba(62, 127, 38, 0.48);
}

.leader-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 15px;
  border: 1px solid var(--green);
  border-radius: 7px;
  color: var(--green-dark);
  background: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.partner-link::after {
  content: "↗";
  margin-left: 7px;
}

.partner-link:hover {
  color: var(--white);
  background: var(--green);
}

.research-unit {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.research-unit > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.isise-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app-news {
  background:
    linear-gradient(135deg, rgba(62, 127, 38, 0.06), rgba(31, 79, 145, 0.07)),
    var(--white);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-person {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
}

.contact-person:last-child {
  grid-column: 1 / -1;
}

.contact-person h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 1rem;
}

.contact-person a {
  overflow-wrap: anywhere;
  color: var(--white);
  text-underline-offset: 3px;
}

.contact-organisation {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funding-heading {
  margin-top: 0;
  font-size: 1.1rem;
}

.funding-banner-wrap {
  margin-top: 22px;
  padding: 15px;
  border-radius: 10px;
  background: var(--white);
}

.funding-banner {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .news-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-person:last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .leader-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 12px;
  }

  .funding-banner-wrap {
    padding: 9px;
  }
}
