:root {
  color-scheme: light;
  --navy: #131d2d;
  --ink: #142034;
  --muted: #46556b;
  --yellow: #ffcb47;
  --line: #dce3eb;
  font: 100%/1.6 "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #3877d8; outline-offset: 4px; }
.frame { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: .75rem; padding: .6rem; z-index: 1; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.bar { min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.8rem; font-weight: 800; letter-spacing: -.065em; text-decoration: none; line-height: 1; }
.brand small { font-size: .62em; letter-spacing: -.025em; color: var(--muted); }
.brand-accent { color: #385780; }
.brand-mark { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: .65rem; background: var(--navy); }
.brand-mark::before, .bolt::before {
  content: ""; display: block; width: 1.4rem; height: 1.6rem; background: var(--yellow);
  clip-path: polygon(56% 0, 95% 0, 62% 40%, 96% 40%, 28% 100%, 42% 57%, 5% 57%);
}
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 clamp(.75rem, 3vw, 1.6rem); }
nav a { display: inline-block; font-weight: 650; padding-block: .45rem; }
nav a[aria-current="page"] { text-decoration-thickness: .15em; }
.hero { background: var(--navy); color: #fff; }
.hero-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: clamp(1.65rem,5vw,4.6rem); padding-block: clamp(2.5rem,6vw,5.75rem); }
.hero h1 { font-size: clamp(2.35rem,4.6vw,4.5rem); line-height: 1.03; letter-spacing: -.06em; margin: 0; }
.hero h1 span { color: var(--yellow); display: block; }
.hero p { max-width: 39ch; margin: 1.1rem 0 1.65rem; color: #dce5f2; font-size: 1.125rem; }
.button { display: inline-flex; align-items: center; min-height: 3.05rem; padding: .6rem 1.15rem; background: var(--yellow); color: var(--navy); border-radius: .4rem; text-decoration: none; font-weight: 750; }
.button:hover { background: #ffdb77; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .65rem; }
.services { padding-block: clamp(2.5rem,6vw,4.75rem); }
.services h2 { font-size: clamp(1.9rem,4vw,2.8rem); letter-spacing: -.045em; margin: 0 0 1.5rem; line-height: 1.15; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.service-grid article { border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1.15rem,2.5vw,1.65rem); }
.service-grid h3 { margin: .75rem 0 .35rem; font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.25; }
.service-grid p { margin: 0; color: var(--muted); }
.service-icon { display: grid; place-items: center; width: 2.6rem; aspect-ratio: 1; background: #fff1cc; border-radius: .5rem; color: var(--navy); }
.bolt::before { background: currentColor; width: 1.05rem; height: 1.22rem; }
.socket::before { content: ""; width: 1.1rem; height: 1.1rem; border: 2px solid; border-radius: 50%; background: radial-gradient(circle at 32% 50%, currentColor 1.4px, transparent 1.6px), radial-gradient(circle at 68% 50%, currentColor 1.4px, transparent 1.6px); }
.lamp::before { content: ""; width: 1.1rem; height: .75rem; border: 2px solid; border-radius: 1rem 1rem .18rem .18rem; box-shadow: 0 5px 0 -3px currentColor; }
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-layout { display: grid; gap: .5rem; padding-block: 1.35rem; }
.footer-name { color: var(--muted); font-weight: 650; }
.logos { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 10.5rem) minmax(0, 1fr); align-items: center; column-gap: clamp(1rem,3vw,2.2rem); min-width: 0; }
.logos img { display: block; height: auto; max-width: 100%; }
.eu { width: 17rem; }
.program { width: 10.5rem; }
.funding-notice { grid-column: 1 / -1; margin: .25rem 0 .5rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.contact-heading { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.contact-details { padding-block: clamp(2rem, 5vw, 3.5rem); }
.contact-details h2 { margin: 0 0 1.25rem; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; }
.contact-details dl { margin: 0; }
.contact-details dl div + div { margin-top: .85rem; }
.contact-details dt { color: var(--muted); font-weight: 650; }
.contact-details dd { margin: 0; }
.contact-details address { font-style: normal; }
@media (max-width: 45rem) {
  .frame { width: calc(100% - 2rem); }
  .hero-layout, .service-grid { grid-template-columns: 1fr; }
  .bar { min-height: 4rem; }
}
