:root {
  --navy: #0a1828;
  --teal: #65dbcb;
  --paper: #f2f5f7;
  --ink: #15283b;
  --muted: #4d6070;
  --line: #ccd5dc;
  --width: 1200px;
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: inherit;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a,
button,
input {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #087e72;
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
img {
  display: block;
  height: auto;
}
button,
input {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
  padding: 0.8rem 1.2rem;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  border-radius: 2px;
}
.shell {
  width: min(var(--width), calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: white;
  z-index: 99;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-block: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}
.brand img {
  object-fit: contain;
  max-height: 48px;
  width: auto;
}
.site-header nav {
  margin-left: auto;
}
.nav {
  display: flex;
  list-style: none;
  gap: 24px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.nav a,
.lab-link {
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 650;
}
.nav-current a {
  text-decoration: underline;
}
.lab-link {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.site-footer {
  background: var(--navy);
  color: var(--paper);
  padding: 50px 0 25px;
  font-size: 0.8rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.footer-top p {
  color: #c2d0da;
  margin-top: 10px;
}
.footer-top nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 12px 28px;
}
.copyright {
  border-top: 1px solid #3b4c5b;
  margin-top: 30px;
  padding-top: 22px;
  color: #c2d0da;
}
@media (max-width: 1000px) {
  .site-header {
    flex-wrap: wrap;
    gap: 20px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .lab-link {
    margin-left: auto;
  }
}
@media (max-width: 650px) {
  :root {
    font-size: 16px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 20px;
  }
  .brand {
    font-size: 0.85rem;
  }
  .lab-link {
    font-size: 0.75rem;
    padding-left: 12px;
  }
  .nav {
    gap: 12px 20px;
  }
  .nav a {
    font-size: 0.8rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.site-header {
  gap: 22px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.brand img {
  width: 250px;
  max-height: none;
}
.nav {
  gap: 20px;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.language-switch button {
  min-width: 44px;
  min-height: 44px;
  padding: 5px;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
}
.language-switch button[aria-pressed="true"] {
  color: var(--navy);
  box-shadow: inset 0 -3px #087e72;
}
.language-switch button:hover {
  background: #dfe9eb;
}
.language-switch button:disabled {
  cursor: default;
}
.language-notice {
  padding-block: 14px;
  margin-block: 0;
  font-size: 0.82rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.footer-logo {
  width: 250px;
}
.institutional-pending {
  color: inherit;
}
.institutional-pending small {
  display: block;
  font-size: 0.75rem;
}
.newsletter .institutional-pending small {
  display: inline;
  margin-left: 4px;
}
.menu-toggle {
  padding: 8px 12px;
  font-size: 0.8rem;
  min-height: 44px;
}
.institutional-item a ~ a {
  display: none;
}
html[lang="en"] .institutional-item:has(a[lang="en"]) a:not([lang="en"]) {
  display: none;
}
html[lang="en"] .institutional-item a[lang="en"] {
  display: inline;
}
.institutional-language-fallback {
  display: block;
  font-size: 0.75rem;
}
.site-footer a:focus-visible {
  outline-color: var(--teal);
}
@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-header nav {
    order: 4;
    width: 100%;
    margin: 0;
  }
  .lab-link {
    margin-left: auto;
  }
}
@media (max-width: 650px) {
  .site-header {
    gap: 10px;
    padding-block: 16px;
  }
  .brand img {
    width: 210px;
  }
  .language-switch {
    margin-left: auto;
  }
  .menu-toggle {
    order: 3;
  }
  .lab-link {
    order: 2;
    margin: 0;
    padding: 0;
    border: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .site-header nav {
    order: 5;
  }
  .site-header nav .nav {
    display: grid;
    gap: 0;
  }
  .site-header nav a {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .footer-top nav {
    grid-template-columns: 1fr 1fr;
  }
}
/* Adapters reset browser/Tailwind defaults to the canonical Ghost shell. */
.site-header,
.site-footer {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}
.site-header {
  background: var(--paper);
  color: var(--ink);
}
.site-header a,
.site-footer a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.site-header .brand,
.site-header .nav a,
.site-header .lab-link {
  text-decoration: none;
}
.site-header button {
  font-family: inherit;
  font-weight: 650;
  border-radius: 2px;
  cursor: pointer;
}
.site-footer p {
  max-width: none;
  margin-bottom: 1.1em;
}
.site-footer small {
  font-size: smaller;
}
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid #087e72;
  outline-offset: 5px;
}
.site-footer a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}

/* Gradimetria wordmark: preserve readability on narrow screens. */
.hero h1 { font-size: clamp(2rem, 5.8vw, 5rem); overflow-wrap: anywhere; }
