:root {
  --navy: #143544;
  --navy-deep: #062233;
  --teal: #00587D;
  --cyan: #59C8E0;
  --cyan-soft: #B3E6F1;
  --mint: #01D28E;
  --mint-soft: #6DE5BE;
  --gold: #FFBE00;
  --gold-soft: #FFE779;
  --ink: #1a2a33;
  --muted: #5a6b74;
  --line: #d7e4ea;
  --paper: #f6fafb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(6, 34, 51, 0.08);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.preview-flag {
  background: #fff4cc; color: #5a4a00; text-align: center; font-size: .85rem;
  padding: .45rem 1rem; border-bottom: 1px solid #f0dfa0;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px;
}
.brand img { height: 42px; width: auto; }
.nav-desktop { display: none; gap: 1.25rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 600;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
/* Keep the header focused on mobile; the CTA remains available in the page content. */
.site-header .header-actions > .btn { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; padding: .7rem 1.15rem; font-weight: 700; font-size: .92rem;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--teal); color: #fff; }
.btn--mint { background: var(--mint); color: var(--navy-deep); }
.btn--mint:hover { background: var(--mint-soft); color: var(--navy-deep); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: .9rem 1.45rem; font-size: 1rem; }
.btn--sm { padding: .55rem .95rem; font-size: .86rem; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: .55rem .9rem; font-weight: 700; color: var(--navy); cursor: pointer;
}
.mobile-menu {
  display: none; border-bottom: 1px solid var(--line); background: #fff; padding: 1rem 0 1.25rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
  display: flex; justify-content: space-between; padding: .75rem 0;
  color: var(--navy); text-decoration: none; font-weight: 650; border-bottom: 1px solid var(--line);
}
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--teal) 55%, #0a6f7a 100%);
  color: #fff; padding: 4.5rem 0 4rem;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 80%;
  background: radial-gradient(circle, rgba(89,200,224,.35), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: 2rem; align-items: center;
}
.hero__badge {
  display: inline-block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15; margin: 0 0 1rem; max-width: 16ch;
}
.hero p { font-size: 1.08rem; opacity: .92; max-width: 42ch; margin: 0 0 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__aside {
  justify-self: center; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero__aside img { width: min(220px, 70vw); margin: 0 auto; }
.section { padding: 4rem 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.eyebrow {
  color: var(--teal); font-size: .8rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 .6rem;
}
.section--navy .eyebrow { color: var(--cyan); }
h2 {
  font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2; margin: 0 0 1rem; color: var(--navy);
}
.section--navy h2 { color: #fff; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: rgba(255,255,255,.82); }
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.25rem; }
.grid-4 { display: grid; gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 .5rem; font-size: 1.08rem; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card--accent { border-top: 4px solid var(--mint); }
.card--warn { border-top: 4px solid var(--gold); }
.card--cyan { border-top: 4px solid var(--cyan); }
.icon-dot {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(1,210,142,.15); color: var(--teal); font-weight: 800; margin-bottom: .8rem;
}
.prose { max-width: 70ch; }
.prose p { color: var(--muted); }
.prose h3 { color: var(--navy); margin-top: 1.6rem; }
.partner-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: flex-start;
}
.partner-row a, .partner-logo {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.25rem; min-height: 88px; display: grid; place-items: center;
  min-width: 180px;
}
.partner-row img { max-height: 48px; width: auto; }
.beirat-card { text-align: center; padding-bottom: 1.5rem; }
.beirat-card img {
  width: 140px; height: 140px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 1rem; border: 3px solid var(--cyan-soft);
}
.beirat-card h3 { margin: 0 0 .25rem; }
.beirat-card .role { color: var(--muted); font-size: .92rem; margin: 0; }
.cta-band {
  display: grid; gap: 1rem; align-items: center;
  background: linear-gradient(120deg, var(--navy), var(--teal));
  color: #fff; border-radius: 20px; padding: 1.75rem 1.5rem;
}
.cta-band h2 { color: #fff; margin: 0; font-size: 1.45rem; }
.cta-band p { margin: .35rem 0 0; opacity: .9; }
.page-hero {
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 2.5rem 0 2rem;
}
.page-hero h1 {
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 .5rem; color: var(--navy);
}
.form {
  display: grid; gap: .9rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow);
}
.form label { display: grid; gap: .35rem; font-weight: 650; color: var(--navy); font-size: .92rem; }
.form input, .form textarea, .form select {
  font: inherit; padding: .7rem .8rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid rgba(89,200,224,.45); border-color: var(--cyan);
}
.form .hint { font-weight: 500; color: var(--muted); font-size: .82rem; }
.form-note {
  font-size: .88rem; color: #7a5a00; background: #fff8e1; border: 1px solid #f0dfa0;
  border-radius: 10px; padding: .7rem .9rem;
}
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-grid h3 { color: #fff; margin: 0 0 .6rem; font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: .35rem 0; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; justify-content: space-between;
  font-size: .88rem;
}
@media (min-width: 760px) {
  .site-header .header-actions > .btn { display: inline-flex; }
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .hero__grid { grid-template-columns: 1.3fr .7fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cta-band { grid-template-columns: 1fr auto; padding: 2rem 2.2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* Media / figure blocks */
.media-split {
  display: grid; gap: 1.5rem; align-items: center;
}
.media-frame {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; max-height: 420px; }
.hero--photo {
  background:
    linear-gradient(120deg, rgba(6,34,51,.88) 0%, rgba(0,88,125,.72) 55%, rgba(10,111,122,.65) 100%),
    url("../assets/hero-lab.webp") center/cover no-repeat;
}
.form-status {
  font-size: .92rem; border-radius: 10px; padding: .75rem .9rem;
}
.form-status.is-ok { background: #e8fff5; border: 1px solid #9de5c7; color: #0b5c40; }
.form-status.is-err { background: #fff1f0; border: 1px solid #f5c2c0; color: #8a1f1a; }
.hp { position: absolute !important; left: -9999px !important; height: 0 !important; overflow: hidden !important; }
@media (min-width: 760px) {
  .media-split { grid-template-columns: 1.05fr .95fr; }
  .media-split--rev { grid-template-columns: .95fr 1.05fr; }
  .media-split--rev .media-frame { order: -1; }
}
