:root {
  --ink: #151716;
  --dark: #171b19;
  --forest: #11484b;
  --paper: #fffdf7;
  --cream: #f4f0e6;
  --mist: #e8f1eb;
  --lime: #c7e640;
  --yellow: #efc85f;
  --signal-red: #bf443a;
  --signal-blue: #334f90;
  --white: #ffffff;
  --muted: #626b64;
  --line: rgba(21, 23, 22, 0.12);
  --radius: 6px;
  --max: 1320px;
  --body: "Instrument Sans", sans-serif;
  --display: "Source Serif 4", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  line-height: 1.58;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

address,
figure {
  margin: 0;
  font-style: normal;
}

.page {
  overflow: hidden;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 68svh;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 21, 22, 0.9), rgba(5, 21, 22, 0.52) 48%, rgba(5, 21, 22, 0.28)),
    linear-gradient(180deg, rgba(5, 21, 22, 0.12), rgba(5, 21, 22, 0.74)),
    url("assets/InfectoLight_Pictures/Microverse_2026_Rosalind_Allen_Group_WEB/RAW03097_web.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 144px 144px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
  pointer-events: none;
}

.hero.technology-hero {
  background-color: #071819;
  background-image:
    linear-gradient(90deg, rgba(5, 21, 22, 0.96), rgba(5, 21, 22, 0.82) 40%, rgba(5, 21, 22, 0.22) 78%),
    linear-gradient(180deg, rgba(5, 21, 22, 0.06), rgba(5, 21, 22, 0.76)),
    url("assets/InfectoLight_Pictures/Additional_20260619/web/DSC07055_web.jpg");
  background-position: center, center, right 52%;
  background-repeat: no-repeat;
  background-size: cover, cover, min(62vw, 980px) auto;
}

.hero.news-hero {
  background:
    linear-gradient(90deg, rgba(5, 21, 22, 0.9), rgba(5, 21, 22, 0.48) 50%, rgba(5, 21, 22, 0.22)),
    linear-gradient(180deg, rgba(5, 21, 22, 0.12), rgba(5, 21, 22, 0.74)),
    url("assets/InfectoLight_Pictures/Microverse_2026_Rosalind_Allen_Group_WEB/RAW02955_web.jpg") center / cover no-repeat;
}

.hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(5, 21, 22, 0.9), rgba(5, 21, 22, 0.5) 52%, rgba(5, 21, 22, 0.24)),
    linear-gradient(180deg, rgba(5, 21, 22, 0.12), rgba(5, 21, 22, 0.74)),
    url("assets/InfectoLight_Pictures/Additional_20260619/web/DSC07065_web.jpg") center / cover no-repeat;
}

.nav {
  position: relative;
  z-index: 5;
  width: min(var(--max), 100%);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(17, 20, 19, 0.48);
  backdrop-filter: blur(20px);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 800;
}

.mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--white) 0 13%, transparent 14%),
    conic-gradient(from 32deg, var(--signal-red), var(--yellow), var(--signal-blue), var(--signal-red));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.91rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  outline: none;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
  white-space: nowrap;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-cta {
  justify-self: end;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 16px));
  min-height: calc(68svh - 116px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(70px, 11vh, 130px) 0 28px;
}

.hero-copy {
  max-width: 1030px;
}

.eyebrow,
.section-label {
  width: fit-content;
  margin: 0 0 16px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

h1,
h2,
h3,
p {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 1080px;
  font-size: clamp(3.25rem, 6.2vw, 6.5rem);
  line-height: 0.98;
  font-weight: 800;
}

.hero-copy p:not(.eyebrow) {
  max-width: 790px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.14vw, 1.15rem);
  line-height: 1.64;
}

.hero-actions,
.quick-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: clamp(72px, 8vw, 116px) 0;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: 38px;
}

.section-head h2,
.split h2 {
  max-width: 780px;
  font-size: clamp(2.1rem, 3.7vw, 4.15rem);
  line-height: 1.04;
  font-weight: 800;
}

.section-head p,
.split p {
  max-width: 670px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.12vw, 1.1rem);
  line-height: 1.64;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.visual-pair,
.news-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.visual-pair {
  margin-bottom: 18px;
}

.lab-gallery {
  margin-top: 18px;
  margin-bottom: 0;
}

.visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.visual-card figcaption {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.visual-card h3 {
  font-size: clamp(1.2rem, 1.75vw, 1.7rem);
  line-height: 1.04;
  font-weight: 800;
}

.visual-card p {
  margin-top: 8px;
  color: var(--muted);
}

.news-feature {
  align-items: stretch;
}

.news-feature .wide-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dark-section {
  background: var(--forest);
  color: var(--white);
}

.dark-section .section-label {
  color: var(--lime);
}

.dark-section .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

.signal-list,
.process-grid,
.target-grid,
.partner-grid,
.news-grid,
.contact-options {
  display: grid;
  gap: 18px;
}

.target-grid,
.contact-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-grid,
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-item,
.process-card,
.target-card,
.partner-card,
.news-card,
.contact-card,
.wide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.signal-item {
  min-height: 92px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.signal-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.signal-item:nth-child(1) .signal-dot {
  background: var(--signal-red);
}

.signal-item:nth-child(2) .signal-dot {
  background: var(--yellow);
}

.signal-item:nth-child(3) .signal-dot {
  background: var(--signal-blue);
}

.signal-item strong,
.person h3 {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
}

.signal-item span,
.process-card p,
.target-card p,
.partner-card p,
.news-card p,
.contact-card p,
.wide-card p {
  color: var(--muted);
  line-height: 1.6;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #102b2d;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  background: #f7f7f2;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 17, 18, 0.82));
  pointer-events: none;
}

.feature-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  z-index: 2;
  color: var(--white);
}

.feature-caption h3 {
  font-size: clamp(1.75rem, 3.2vw, 3.35rem);
  line-height: 1;
  font-weight: 800;
}

.feature-caption p {
  max-width: 650px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.58;
}

.process-card,
.target-card,
.partner-card,
.news-card,
.contact-card,
.wide-card {
  padding: clamp(24px, 2.6vw, 34px);
}

.process-card {
  min-height: 290px;
}

.num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  font-weight: 800;
}

.process-card:nth-child(2) .num {
  background: var(--yellow);
}

.process-card:nth-child(3) .num {
  background: var(--signal-red);
  color: var(--white);
}

.process-card:nth-child(4) .num {
  background: var(--signal-blue);
  color: var(--white);
}

.process-card h3,
.target-card h3,
.partner-card h3,
.news-card h3,
.contact-card h3,
.wide-card h2 {
  margin-top: 22px;
  font-size: clamp(1.42rem, 2vw, 2.12rem);
  line-height: 1.06;
  font-weight: 800;
}

.wide-card h2 {
  margin-top: 0;
  max-width: 900px;
  font-size: clamp(2rem, 3.4vw, 3.75rem);
}

.target-meta {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.image-band img {
  width: 100%;
  min-height: 520px;
  max-height: 760px;
  object-fit: cover;
}

@media (min-width: 1600px) {
  .image-band {
    background: var(--cream);
  }

  .image-band img {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 18px;
}

.team-photo {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.team-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.people-list {
  display: grid;
  gap: 10px;
}

.person {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.person span {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.logo-card {
  min-height: 168px;
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.logo-card img {
  width: min(100%, 260px);
  max-height: 96px;
  object-fit: contain;
}

.contact-band {
  background: var(--dark);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.contact-layout h2 {
  max-width: 840px;
  font-size: clamp(2.35rem, 4.5vw, 5.25rem);
  line-height: 1;
  font-weight: 800;
}

.contact-layout p {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.66;
}

.contact-band .contact-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-band .contact-card a,
.contact-band .contact-card span {
  display: block;
  padding: 16px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-band .contact-card a:last-child,
.contact-band .contact-card span:last-child {
  border-bottom: 0;
}

footer {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  background: var(--dark);
  font-size: 0.86rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .split,
  .section-head,
  .visual-pair,
  .news-feature,
  .team-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .partner-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 12px;
  }

  .nav {
    min-height: 60px;
    padding: 0 12px;
  }

  .brand span:last-child {
    font-size: 1rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero-inner,
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero-inner {
    min-height: auto;
    padding: 72px 0 24px;
  }

  .hero.technology-hero {
    background-position: center, center, center;
    background-size: cover, cover, cover;
  }

  h1 {
    font-size: clamp(2.75rem, 11vw, 3.55rem);
    line-height: 0.96;
  }

  .section-head h2,
  .split h2 {
    font-size: clamp(1.9rem, 7.5vw, 2.75rem);
    line-height: 1.04;
  }

  .hero-actions,
  .quick-links {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .target-grid,
  .process-grid,
  .partner-grid,
  .news-grid,
  .logo-row,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card img,
  .image-band img {
    min-height: 420px;
  }

  .visual-card img {
    aspect-ratio: 4 / 3;
  }

  .feature-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .team-photo {
    min-height: auto;
  }

  .team-photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}
