:root {
  --ink: #18253a;
  --blue: #245ca6;
  --paper: #fff;
  --muted: #f3f6f9;
  --text: #344054;
  --line: #d8dee7;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: 72px; background: var(--paper); color: var(--ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, p { margin-top: 0; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 72px; padding: 0 max(24px, 4vw); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform .24s ease, box-shadow .24s ease; }
.site-header.header-hidden { transform: translateY(-100%); }
.site-header.header-scrolled { box-shadow: 0 2px 12px rgba(24,37,58,.07); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.42rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; }
.brand img { display: block; width: 42px; height: 42px; object-fit: contain; }
.site-header nav { display: flex; gap: 1.8rem; }
.site-header nav a { text-decoration: none; font-size: .86rem; font-weight: 600; }
.site-header nav a:hover { color: var(--blue); }
.nav-toggle { display: none; }

.hero { padding: clamp(4.5rem, 9vw, 7rem) max(24px, 4vw); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: var(--max); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 31vw, 390px); grid-template-areas: "title logo" "subtitle logo" "summary logo" "actions logo"; column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.hero-logo { grid-area: logo; display: block; width: 100%; height: auto; align-self: center; }
.eyebrow { margin-bottom: 1rem; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { grid-area: title; margin-bottom: 1rem; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.045em; }
.subtitle { grid-area: subtitle; max-width: 760px; margin-bottom: 2rem; font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.3; color: var(--text); }
.summary { grid-area: summary; max-width: 650px; margin-bottom: 2rem; color: var(--text); font-size: 1.05rem; }
.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-block; background: var(--blue); color: white; padding: .75rem 1.1rem; text-decoration: none; font-size: .85rem; font-weight: 700; border: 1px solid var(--blue); border-radius: 3px; }
.button:hover { background: #1d4b89; }
.button-secondary { background: white; color: var(--blue); }
.button-secondary:hover { background: var(--muted); color: var(--ink); }

.section { padding: clamp(4rem, 7vw, 6.25rem) max(24px, 4vw); }
.section, .hero { scroll-margin-top: 84px; }
.section-muted { background: var(--muted); }
.section-grid, .section-intro, .team-group, .news-item, .partner-list, .cooperation { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(3rem, 8vw, 8rem); }
.section-heading h2, .section-intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.15; letter-spacing: -.025em; }
.section-heading h2::after, .section-intro h2::after { content: ""; display: block; width: 42px; height: 3px; margin-top: 1rem; background: var(--blue); }
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.4rem; font-size: 1.04rem; color: var(--text); }
.section-intro { margin-bottom: 3.25rem; }
.section-intro > p:last-child { max-width: 620px; color: var(--text); }

.news-item { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(3rem, 8vw, 8rem); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.news-date { color: #667085; font-size: .8rem; }
.news-item h3 { margin-bottom: .45rem; font-size: 1.25rem; }
.news-item div p { color: var(--text); max-width: 620px; }

.team-group { margin-top: 3rem; }
.team-group > h3 { padding-bottom: .75rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.people-leads { grid-template-columns: repeat(4, 1fr); }
.portrait { display: block; width: 100%; aspect-ratio: 1; border-radius: 4px; background: #e5e9ef; object-fit: cover; object-position: center; }
.portrait-haroon { object-position: 54% 35%; }
.people h4 { margin: 1rem 0 .2rem; font-size: 1rem; }
.people p { color: #667085; font-size: .8rem; line-height: 1.45; }
.placeholder { display: grid; place-items: center; background: transparent; border: 1px dashed #b7c0cd; color: #8b96a7; }
.placeholder span { font-size: 1.8rem; font-weight: 300; }

.partner-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.partner-list article { min-width: 0; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.partner-logo { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; }
.partner-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.logo-hsg img { width: 330px; }
.logo-unil img { width: 190px; }
.logo-caritas img { width: 300px; }
.logo-osar img { width: 160px; }
.partner-list p { margin: .9rem 0 0; color: var(--text); font-size: .85rem; }
.cooperation { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .8rem; align-items: center; text-align: center; }
.cooperation > p { margin: 0; color: #667085; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.cooperation span { font-size: .85rem; }
.cooperation .partner-logo { width: 190px; height: 60px; }

footer { padding: 3rem max(24px, 4vw); background: var(--ink); color: white; display: flex; justify-content: space-between; gap: 3rem; }
footer div { max-width: 760px; }
footer strong { font-size: 1.05rem; letter-spacing: .12em; }
footer p { margin: .6rem 0 0; font-size: .86rem; color: #cbd5e1; }
footer .funding { margin-top: 1.25rem; line-height: 1.55; }
footer .funding a { color: white; text-underline-offset: 3px; }
footer > p { white-space: nowrap; }

@media (max-width: 800px) {
  body { padding-top: 64px; }
  .site-header { height: 64px; }
  .brand img { width: 36px; height: 36px; }
  .nav-toggle { display: block; background: none; border: 1px solid var(--line); padding: .45rem .7rem; font-size: .86rem; font-weight: 600; }
  .site-header nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 1.5rem max(24px, 4vw); background: white; border-bottom: 1px solid var(--line); flex-direction: column; }
  .site-header nav.open { display: flex; }
  .hero { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "title" "subtitle" "logo" "summary" "actions"; column-gap: 0; }
  .subtitle { margin-bottom: .9rem; }
  .hero-logo { width: min(260px, 65vw); margin: 0 0 1.25rem; justify-self: start; }
  .section { padding-top: 3.25rem; padding-bottom: 3.25rem; }
  .section-grid, .news-item { grid-template-columns: 1fr; gap: 1.75rem; }
  .section-intro { margin-bottom: 2.75rem; }
  .team-group { margin-top: 2.75rem; }
  .people, .people-leads { grid-template-columns: 1fr 1fr; }
  .partner-list { grid-template-columns: 1fr; gap: .75rem; }
  .partner-list article { min-height: 125px; }
  .partner-logo { width: min(300px, 100%); height: 82px; }
  footer { flex-direction: column; }
  footer > p { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 3.3rem; }
  .people, .people-leads { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .people article { min-width: 0; }
  .people h4 { font-size: .9rem; line-height: 1.3; }
  .people p { font-size: .72rem; }
  .partner-logo { height: 76px; }
  .logo-hsg img { width: 260px; }
  .logo-unil img { width: 150px; }
  .logo-caritas img { width: 235px; }
  .logo-osar img { width: 155px; }
}
