body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

h1,
h2 {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  margin-top: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 769px) {
  .header-top,
  .main-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
  }
}

.logo-container {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 70px;
  width: auto;
}

@media (max-width: 768px) {
  .logo-img {
    height: 48px;
  }
}

.logo-text,
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E5631;
}

nav a {
  margin-left: 0;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding-bottom: 4px;
  transition: 0.2s ease;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: #1E5631;
  border-bottom: 2px solid #6BBF59;
}

nav a.active {
  color: #1E5631;
  border-bottom: 2px solid #1E5631;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: #1E5631;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.hero {
  height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  color: white;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("assets/group3.JPG") center / cover no-repeat;
}

.hero-content {
  margin-top: 8rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 1.3rem;
  max-width: 700px;
  line-height: 1.5;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-button {
  background: #6BBF59;
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-button:hover {
  background: #5aa34f;
  transform: translateY(-2px);
}

.hero-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-button-secondary.hero-button-blue {
  background: #3a6ea5;
  border-color: #3a6ea5;
  color: white;
}

.hero-button-secondary.hero-button-blue:hover {
  background: #2f5d8a;
  border-color: #2f5d8a;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #6BBF59;
  color: white;
  margin-top: 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #5aa34f;
  transform: translateY(-2px);
}

.section {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.news-item {
  background: #f5f5f5;
  padding: 1.2rem 1.4rem;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-date {
  font-weight: 700;
  color: #1E5631;
  margin-bottom: 0.4rem;
}

.news-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.news-item img.news-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.news-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.news-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: #1E5631;
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}

.news-item-compact {
  padding: 0.9rem 1.1rem;
  background: #fafafa;
}

.news-item-compact .news-image {
  max-height: 120px;
}

.news-item-compact .news-title {
  font-size: 0.95rem;
}

.news-item-compact .news-text {
  font-size: 0.9rem;
  color: #444;
}

.news-item-featured {
  padding: 1.6rem 1.8rem;
  background: #f2f7f2;
  border-left: 5px solid #1E5631;
}

.news-item-featured .news-title {
  font-size: 1.25rem;
}

.news-item-featured .news-text {
  font-size: 1.05rem;
}

.news-item-featured .news-image {
  max-height: 220px;
}

.news-item-secondary {
  padding: 1rem 1.2rem;
  background: #fafafa;
}

.news-item-secondary .news-title {
  font-size: 0.95rem;
}

.news-item-secondary .news-text {
  font-size: 0.9rem;
  color: #444;
}

.news-item-secondary .news-image {
  max-height: 120px;
}

@media (min-width: 700px) {
  .news-list {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
  }
}

#recent-publications {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.recent-pub-item,
.recent-pub-cta {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recent-pub-item:hover,
.recent-pub-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.recent-pub-item .pub-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.recent-pub-item .pub-authors {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.recent-pub-item .pub-info {
  font-size: 0.9rem;
  color: #555;
}

.recent-pub-item,
.recent-pub-item .pub-title,
.recent-pub-item .pub-authors,
.recent-pub-item .pub-info,
.pub-title,
.pub-authors,
.pub-info {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-wrap: break-word;
}

.recent-pub-cta,
.team-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pub-cta-link,
.team-cta-link {
  text-decoration: none;
  color: #1E5631;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.team-cta-icon,
.pub-cta-icon {
  font-size: 0;
  line-height: 0;
}

.team-cta-icon::before,
.pub-cta-icon::before {
  content: "→";
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.team-cta-icon::before {
  display: block;
  margin-bottom: 0.5rem;
}

.pub-cta-link:hover .pub-cta-icon::before,
.team-cta-link:hover .team-cta-icon::before {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

.pub-doi-wrap {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.pub-doi-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.pub-doi-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.pub-doi-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1E5631;
}

.pub-doi-button:hover {
  background: #e6f3e5;
  transform: translateY(-1px);
}

.homepage-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.team-card {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  width: 100%;
  max-width: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.member-photo,
.team-photo {
  border: 3px solid #1E5631;
  box-shadow: 0 6px 18px rgba(30, 86, 49, 0.18);
  background: #ffffff;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.member-card {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.member-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.2rem;
  margin-top: 0.75rem;
}

.member-card:not(.pi-profile) .member-photo {
  box-shadow: 0 5px 14px rgba(30, 86, 49, 0.14);
}

.members-grid .team-name,
.member-card .team-name,
.homepage-team .team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-align: center;
}

.members-grid .team-role,
.member-card .team-role,
.homepage-team .team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1E5631;
  text-align: center;
}

.member-card .team-name,
.member-card .team-role {
  text-align: center;
}

.member-name {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  max-width: 100%;
}

.member-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.member-links img,
.linkedin-inline img,
.orcid-inline img,
.scholar-inline img {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.member-links img:hover,
.linkedin-inline img:hover,
.orcid-inline img:hover,
.scholar-inline img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.member-role {
  color: #1E5631;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.member-affiliation {
  font-size: 0.9rem;
  color: #555;
}

.member-affiliation a {
  color: #555;
  text-decoration: none;
}

.member-affiliation a:hover {
  color: #1E5631;
  text-decoration: underline;
}

.pi-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: #f5f5f5;
  align-items: center;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 2rem 0 3rem;
}

.pi-featured {
  position: relative;
  background: #f2f7f2;
  border-left: 6px solid #1E5631;
}

.pi-profile .member-photo {
  width: 210px;
  height: 210px;
  border: 5px solid #1E5631;
  box-shadow: 0 12px 30px rgba(30, 86, 49, 0.35);
}

.pi-left {
  text-align: center;
}

.pi-right {
  text-align: justify;
}

.pi-right p {
  margin-bottom: 1rem;
}

.dac-companies {
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px);
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.dac-company-card {
  height: 32px;
  padding: 0.4rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dac-company-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.dac-company-logo {
  max-height: 36px;
  max-width: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dac-airinmotion {
  background: #2f3442;
}

.dac-airinmotion .dac-company-logo {
  filter: brightness(1.05);
}

.dac-synaergy {
  background: #ffffff;
  border: 1.5px solid #d0d0d0;
}

.dac-synaergy .dac-company-logo {
  max-height: 30px;
}

.members-grid.members-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}

.members-grid.members-grid-compact .member-card {
  padding: 1.2rem 0.9rem;
  max-width: 190px;
}

.members-grid.members-grid-compact .member-photo {
  width: 80px;
  height: 80px;
  margin-bottom: 0.5rem;
}

.members-grid.members-grid-compact .member-name {
  font-size: 0.95rem;
}

.members-grid.members-grid-compact .member-role {
  font-size: 0.8rem;
}

.members-grid-single {
  grid-template-columns: 1fr;
}

.project-team-note {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.section.c4c-header {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.c4c-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.c4c-top h1 {
  margin: 0;
}

.c4c-funder-logo {
  height: 55px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.c4c-content {
  margin: 0;
  text-align: justify;
}

.c4c-content p {
  margin: 0 0 1rem;
}

.water-splitting-content p {
  text-align: justify;
  text-justify: inter-word;
}

.site-footer {
  background: #1E5631;
  color: white;
  margin-top: 4rem;
  padding: 3rem 2rem 1.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #d6f0d1;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  text-align: left;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
}

.footer-contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e3f2df;
  white-space: nowrap;
}

.footer-contact-item .icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-contact-item .icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-funding-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-funding-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.footer-funding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: nowrap;
}

.footer-funding a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 52px;
  background: #ffffff;
  border-radius: 6px;
  padding: 6px 8px;
}

.footer-funding img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-funding img.priority {
  max-height: 36px;
}

.footer-funding a:hover img {
  transform: scale(1.04);
  transition: transform 0.2s ease;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
  }

  .nav-toggle {
    display: block;
    align-self: center;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    text-align: center;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    margin-left: 0;
    padding: 0.4rem 0;
    border-bottom: none;
    font-size: 0.95rem;
  }

  .logo-text {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}

@media (max-width: 600px) {
  .hero {
    position: relative;
    height: auto;
    padding: 0 1.5rem 2.5rem;
    background: transparent;
    display: block;
    text-align: center;
  }

  .hero::before {
    content: "";
    display: block;
    width: 100vw;
    margin: 0 calc(-50vw + 50%);
    height: 220px;
    background:
      linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
      url("assets/group-mobile.JPG") center top / contain no-repeat;
    background-color: #000;
  }

  .hero-content {
    position: relative;
    max-width: 360px;
    margin: -40px auto 0;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem 1.5rem 2.4rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
  }

  .hero-button {
    width: 80%;
    max-width: 260px;
    margin: 0 auto;
  }

  .hero-title,
  .hero-subtitle {
    color: #0A1A0A;
  }
}

@media (max-width: 700px) {
  .pi-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .member-photo {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 768px) {
  .section.c4c-header {
    padding: 2rem 1.5rem 2.5rem;
  }

  .c4c-top {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .c4c-funder-logo {
    height: 45px;
    margin-bottom: 0.25rem;
  }

  .c4c-content {
    text-align: left;
  }
}

@media (max-width: 900px) {
  #recent-publications {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-funding {
    flex-wrap: wrap;
  }
}

@media (max-width: 550px) {
  #recent-publications {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .footer-contact {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 500px) {
  .pub-doi-button {
    padding: 0.25rem 0.7rem;
  }

  .pub-doi-button img {
    width: 22px;
    height: 22px;
  }
}




















































