@font-face {
  font-family: "IPP Open Sans";
  src: url("assets/open-sans-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IPP Lato";
  src: url("assets/lato-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IPP Lato";
  src: url("assets/lato-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #62c52e;
  --deep-green: #1d6602;
  --ink: #505050;
  --muted: #757575;
  --pale: #f2f3f2;
  --line: #a8d68f;
  --white: #fff;
  font-family: "IPP Lato", Arial, Helvetica, sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; background: #fff; }
body { font-size: 16px; line-height: 1.4; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1600px, calc(100% - 120px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 150px; padding: 0 max(60px, calc((100vw - 1600px) / 2)); display: flex; align-items: center; justify-content: space-between; background: #fff; position: relative; z-index: 20; }
.wordmark { display: flex; flex-direction: column; color: #232323; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: 0; }
.primary-nav { display: flex; align-items: center; gap: 54px; font-size: 17px; }
.primary-nav a { text-decoration: none; transition: color .2s ease, transform .2s ease; }
.primary-nav a:hover { color: var(--green); transform: translateY(-1px); }
.nav-cta { background: var(--green); color: white !important; padding: 12px 25px; border-radius: 999px; font-weight: 700; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }

.hero { min-height: 1080px; position: relative; display: grid; align-items: center; color: white; background: #050505 url("assets/pdf-image-09.webp") center / cover no-repeat; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.91) 0%, rgba(0,0,0,.72) 39%, rgba(0,0,0,.05) 72%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 20px; }
.hero h1 { margin: 0 0 56px; color: #fff; font-size: clamp(68px, 4.66vw, 89.35px); line-height: 1.2; letter-spacing: 0; font-weight: 700; }
.hero p { margin: 0 0 60px; max-width: 900px; font-size: 23px; line-height: 1.5; }
.button-row { display: flex; gap: 26px; }
.button { min-width: 260px; min-height: 70px; padding: 18px 38px; border-radius: 999px; border: 1.5px solid transparent; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; }
.button-outline-light { border-color: rgba(255,255,255,.7); color: white; }
.button-outline-light:hover { background: white; color: #111; }
.scroll-cue { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border: 1px solid rgba(255,255,255,.55); border-radius: 20px; }
.scroll-cue span { position: absolute; width: 4px; height: 8px; top: 9px; left: 11px; border-radius: 2px; background: white; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

.section { padding: 180px 0; }
.eyebrow, .card-label { color: var(--green); text-transform: uppercase; font-family: "IPP Open Sans", Arial, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0; margin: 0 0 34px; }
h2 { margin: 0; font-family: "IPP Open Sans", Arial, sans-serif; font-size: clamp(50px, 3.75vw, 72px); line-height: 1.2; letter-spacing: 0; font-weight: 600; }
.section-copy { font-size: 21px; color: #666; margin: 46px 0 0; line-height: 1.55; }
.section-copy.narrow { max-width: 650px; }

.problem-section {
  min-height: 1080px;
  padding-top: 120px;
  padding-bottom: 150px;
  background-color: #eefbff;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 18%, rgba(255,255,255,.76) 42%, rgba(255,255,255,.50) 70%, rgba(238,251,255,.30) 100%),
    url("assets/pdf-image-01.webp");
  background-position: center, center 52%;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
}
.problem-section .eyebrow { margin-bottom: 20px; }
.problem-section h2 { max-width: 1080px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 370px); gap: 56px; justify-content: center; margin-top: 110px; }
.stat-card { height: 370px; background: rgba(255,255,255,.97); border: 1.5px solid var(--line); border-radius: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 14px 28px rgba(0,80,90,.045); }
.stat-card strong { color: var(--green); font-size: 96px; line-height: 1; letter-spacing: -5px; }
.stat-card:first-child strong { position: relative; display: inline-block; transform: translateX(-9px); }
.stat-card sup {
  position: absolute;
  top: .02em;
  right: -.72em;
  color: #595959;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 600;
}
.stat-card span { margin-top: 40px; font-size: 21px; }
.source-note { font-size: 13px; margin-top: 135px; color: #555; line-height: 1.5; }

.impact-section { background: var(--pale); }
.impact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.benefit-list { display: grid; gap: 22px; padding-top: 55px; }
.benefit-list article { background: #fff; border: 2px solid var(--line); border-radius: 34px; padding: 38px 42px; min-height: 190px; }
.benefit-list h3, .contact-cards h3 { color: var(--deep-green); font-family: "IPP Open Sans", Arial, sans-serif; font-size: 40px; line-height: 1.2; letter-spacing: 0; font-weight: 600; margin: 0 0 25px; }
.benefit-list p { font-size: 19px; margin: 0; color: #666; }

.projects-section {
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,.98) 40%, rgba(255,255,255,.82) 50%, rgba(255,255,255,.38) 61%, rgba(255,255,255,0) 74%),
    url("assets/pdf-image-05.webp");
  background-position: center, right center;
  background-size: 100% 100%, auto 100%;
  background-repeat: no-repeat;
}
.project-grid { margin-top: 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { min-height: 540px; padding: 50px; border: 2px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.94); position: relative; transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.project-card h3 { color: var(--deep-green); font-family: "IPP Open Sans", Arial, sans-serif; font-size: 40px; line-height: 1.2; letter-spacing: 0; font-weight: 600; margin: 0 0 44px; }
.project-card > a { display: inline-block; margin: 0 0 70px; font-size: 19px; }
.project-card > p:last-of-type {
  position: absolute;
  top: 58%;
  left: 50px;
  right: 50px;
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}
.project-card-featured {
  background: rgba(255,255,255,.94);
  border-color: #80ba48;
  color: var(--ink);
}
.project-card-featured .card-label { color: #80ba48; }
.project-card-featured h3 { color: var(--deep-green); }
.project-card:hover,
.project-card:focus-visible {
  background: #305113;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31, 81, 19, .18);
}
.project-card:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.project-card:hover h3,
.project-card:focus-visible h3 { color: white; }

.research-section { background: #f0f1f1; }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 100px; }
.research-card { height: 500px; padding: 40px 50px 45px; border: 1.5px solid var(--green); border-radius: 34px; overflow: hidden; position: relative; color: white; background-position: center; background-size: cover; }
.research-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,14,20,.35), rgba(3,12,20,.78)); }
.research-card > * { position: relative; z-index: 1; }
.research-clinical { background-image: url("assets/pdf-image-06.webp"); }
.research-laser { background-image: url("assets/pdf-image-08.webp"); }
.research-data { background-image: url("assets/pdf-image-07.webp"); }
.research-clinical::before { background: rgba(15,24,36,.54); }
.research-data::before { background: rgba(0,12,10,.58); }
.research-marker { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.research-number { color: var(--green); font-size: 17px; line-height: 1; font-weight: 700; }
.research-icon { width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: rgba(244,245,246,.94); }
.research-icon img { width: 84px; height: 84px; }
.research-copy { position: absolute !important; top: 55%; left: 50px; right: 45px; }
.research-card h3 { color: var(--green); font-family: "IPP Open Sans", Arial, sans-serif; font-size: 40px; line-height: 1.2; letter-spacing: 0; font-weight: 600; margin: 0 0 25px; }
.research-card p { font-size: 23px; line-height: 1.35; margin: 0; max-width: 430px; }

.partners-section {
  padding-top: 160px;
  padding-bottom: 230px;
  background-color: #f4f6f7;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.74) 48%, rgba(255,255,255,.68)),
    url("assets/pdf-image-02.webp");
  background-position: center, center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
}
.partners-section .section-copy { margin-top: 26px; font-size: 26px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 78px; }
.partner-card { min-height: 495px; padding: 50px 50px 24px; border: 1.5px solid var(--green); border-radius: 34px; background: #fff; display: flex; flex-direction: column; position: relative; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(31, 89, 20, .12); }
.partner-card:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.partner-logo { width: auto; height: 102px; max-width: 100%; object-fit: contain; object-position: left center; align-self: flex-start; margin: 0 0 18px; }
.partner-logo-hku { width: 410px; }
.partner-logo-lmu { width: 210px; }
.partner-logo-cmf { width: 60px; }
.partner-card h3 { color: var(--deep-green); font-family: "IPP Open Sans", Arial, sans-serif; font-size: 40px; line-height: 1.2; letter-spacing: 0; font-weight: 600; margin: 0; }
.partner-card .place { margin: 10px 0 0; text-transform: uppercase; font-size: 24px; font-weight: 400; letter-spacing: .02em; }
.partner-card > p:last-child { margin: auto 0 0; font-size: 24px; line-height: 1.35; }
.partner-card:first-child > p:last-child { max-width: 330px; }

@media (min-width: 1201px) {
  .partners-section .container { width: min(1660px, calc(100% - 120px)); }
}

@media (min-width: 1201px) and (max-width: 1450px) {
  .research-card { padding-left: 40px; padding-right: 35px; }
  .research-copy { left: 40px; right: 35px; }
  .research-card h3 { font-size: 32px; margin-bottom: 20px; }
  .research-card p { font-size: 20px; }
  .partner-card {
    min-height: 540px;
    padding: 40px 40px 24px;
  }
  .partner-card h3 { font-size: 32px; }
  .partner-card .place { font-size: 18px; }
  .partner-card > p:last-child { font-size: 20px; }
  .partner-card:first-child > p:last-child { max-width: 280px; }
}

.leadership-section { padding-top: 120px; padding-bottom: 75px; background: #f1f2f2; }
.leadership-copy { max-width: 1180px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 75px; }
.person-card { height: 522px; position: relative; border-radius: 34px; overflow: hidden; background: #ddd; }
.person-card::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.88) 58%, #fff 100%); }
.person-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; position: absolute; }
.person-ferenc img { object-position: center 28%; }
.person-dennis img { object-position: center center; }
.person-sophia img { object-position: center 24%; }
.person-card div { position: absolute; z-index: 2; left: 36px; right: 28px; bottom: 34px; color: #3f3f3f; }
.person-card h3 { margin: 0 0 8px; font-family: "IPP Lato", Arial, sans-serif; font-size: 40px; line-height: 1.2; letter-spacing: 0; font-weight: 400; }
.person-card p { margin: 0; font-size: 18px; line-height: 1.3; }

.contact-section { background: #f0f1f1; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-cards { display: grid; gap: 24px; align-content: start; }
.contact-cards article { background: white; border: 2px solid var(--line); border-radius: 34px; padding: 40px; }
.contact-cards p { line-height: 1.6; }
.contact-cards article > a { color: #333; text-decoration: none; }
.email-link { display: inline-flex; align-items: center; gap: 8px; }
.email-link span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 13px; }

footer { background: var(--green); color: white; padding: 36px 0; font-size: 14px; }
footer .container { display: flex; justify-content: space-between; gap: 30px; }

@media (max-width: 1200px) {
  .container { width: min(100% - 48px, 760px); }
  .site-header { height: 100px; padding: 0 24px; }
  .wordmark { font-size: 17px; }
  .menu-button { display: grid; gap: 5px; z-index: 2; }
  .menu-button span:not(.sr-only) { display: block; width: 28px; height: 2px; background: #222; }
  .primary-nav { display: none; position: absolute; top: 100px; left: 0; right: 0; padding: 30px 24px; flex-direction: column; align-items: stretch; gap: 0; background: white; box-shadow: 0 15px 25px rgba(0,0,0,.1); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 16px 0; }
  .primary-nav .nav-cta { text-align: center; padding: 13px 25px; margin-top: 10px; }
  .hero { min-height: 780px; background-position: 62% center; }
  .hero h1 { font-size: clamp(50px, 9vw, 76px); letter-spacing: 0; }
  .hero p { font-size: 18px; }
  .section { padding: 110px 0; }
  h2 { font-size: clamp(42px, 7vw, 62px); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 100px; }
  .stat-card { height: 230px; border-radius: 24px; }
  .stat-card strong { font-size: 52px; letter-spacing: -3px; }
  .stat-card:first-child strong { transform: translateX(-5px); }
  .stat-card sup { font-size: 21px; right: -.7em; }
  .stat-card span { margin-top: 20px; font-size: 15px; }
  .problem-section {
    padding: 80px 0;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.52) 42%, rgba(238,251,255,.30) 100%),
      url("assets/pdf-image-01.webp");
    background-position: center, center;
  }
  .problem-section .eyebrow { margin-bottom: 24px; }
  .impact-layout, .contact-layout { grid-template-columns: 1fr; gap: 80px; }
  .project-grid, .research-grid, .partner-grid, .people-grid { grid-template-columns: 1fr; }
  .projects-section {
    background-image:
      linear-gradient(180deg, #fff 0%, #fff 43%, rgba(255,255,255,.92) 55%, rgba(255,255,255,.2) 77%, rgba(255,255,255,0) 100%),
      url("assets/pdf-image-05.webp");
    background-position: center, right bottom;
    background-size: 100% 100%, auto 62%;
  }
  .project-card { min-height: 400px; }
  .research-card, .person-card { min-height: 540px; }
  .partner-card { min-height: 360px; }
  .contact-cards { padding-top: 0; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .desktop-only { display: none; }
  .hero { min-height: 720px; background-position: 67% center; }
  .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.35)); }
  .hero h1 { font-size: 46px; margin-bottom: 30px; }
  .button-row { flex-direction: column; gap: 14px; }
  .button { min-width: 0; width: 100%; min-height: 58px; }
  .section { padding: 80px 0; }
  .eyebrow { margin-bottom: 24px; }
  h2 { font-size: 40px; letter-spacing: 0; }
  .stat-grid { grid-template-columns: 1fr; margin-top: 60px; }
  .stat-card { height: 190px; }
  .source-note { margin-top: 45px; }
  .benefit-list { padding-top: 0; }
  .benefit-list article, .project-card, .partner-card, .contact-cards article { border-radius: 24px; padding: 30px; }
  .project-card > p:last-of-type { left: 30px; right: 30px; }
  .project-grid, .research-grid, .partner-grid, .people-grid { margin-top: 60px; }
  .project-card h3 { font-size: 29px; }
  .research-card { height: 440px; min-height: 0; border-radius: 24px; padding: 30px; }
  .research-card h3 { font-size: 30px; }
  .research-card p { font-size: 19px; }
  .research-copy { left: 30px; right: 30px; }
  .research-icon { width: 92px; height: 92px; }
  .research-icon img { width: 74px; height: 74px; }
  .partner-card { min-height: 520px; }
  .partner-card h3 { font-size: 32px; }
  .partner-card .place { font-size: 18px; }
  .partner-card > p:last-child { font-size: 19px; }
  .person-card { min-height: 430px; border-radius: 24px; }
  .person-card h3 { font-size: 30px; }
  .person-card p { font-size: 16px; }
  footer .container { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
