:root {
  --bg: #f8fcff;
  --surface: #ffffff;
  --surface-soft: #eef9fb;
  --text: #0d2638;
  --muted: #668195;
  --blue: #45b8ee;
  --blue-dark: #1089c8;
  --green: #75d8c4;
  --green-soft: #d9f7f1;
  --line: #d8ebf2;
  --shadow: 0 28px 80px rgba(25, 105, 135, 0.12);
  --radius: 30px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(117,216,196,.26), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(69,184,238,.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 137, 200, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 137, 200, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 44px));
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 18px 14px 22px;
  border: 1px solid rgba(134, 200, 219, .45);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(30, 105, 135, .10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 32% 25%, #ffffff 0 12%, transparent 13%),
    linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 26px rgba(69,184,238,.32);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav a:hover {
  color: var(--blue-dark);
  background: linear-gradient(135deg, rgba(69,184,238,.12), rgba(117,216,196,.14));
  transform: translateY(-1px);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 34px rgba(69,184,238,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(69,184,238,.34);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 150px 0 60px;
}

/* ---------- Hero Layout ---------- */

.hero-brand{
    margin-top: 50px;
    flex:1;
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    margin-bottom: 50px;
}

.hero-logo{
    width:210px;
    height:210px;
    display:block;
    margin-bottom:36px;
}

.hero-company{
    margin:0;
    font-family:"Space Grotesk",sans-serif;
    font-size:clamp(120px,10vw,180px);
    line-height:.82;
    letter-spacing:-0.08em;
    font-weight:700;
    text-align:center;
    background:linear-gradient(135deg,var(--blue),var(--green));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr .94fr;
    gap:80px;
    align-items:center;
    padding-bottom:100px;
}

.hero-copy{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.hero-art img{
    animation:none;
    transform:none;
}

@media(max-width:980px){

    .hero-brand{
        padding-bottom:50px;
    }

    .hero-content{
        grid-template-columns:1fr;
        gap:42px;
    }

    .hero-logo{
        width:190px;
        height:200px;
    }

    .hero-company{
        font-size:clamp(56px,12vw,82px);
    }
}

.eyebrow,
.section-kicker {
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 18px;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  font-size: clamp(58px, 7.2vw, 102px);
  line-height: .88;
}

h2 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: .94;
}

h3 {
  font-size: 24px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.72;
  margin: 30px 0 38px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 16px 44px rgba(69,184,238,.25);
}

.primary:hover {
  box-shadow: 0 24px 60px rgba(69,184,238,.34);
}

.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}

.secondary:hover {
  border-color: rgba(69,184,238,.4);
  background: #ffffff;
}

.hero-art {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 680px);
  height: auto;
  display: block;
  filter: drop-shadow(0 34px 60px rgba(50, 150, 180, .16));
}

.hero-art img:not([src]),
.hero-art img[src=""] {
  display: none;
}

.image-placeholder {
  position: absolute;
  inset: 8%;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px dashed rgba(16,137,200,.35);
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(69,184,238,.08), rgba(117,216,196,.09));
  color: var(--muted);
}

.image-placeholder span {
  display: block;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-art:has(img[src*="hero-biotech.png"]) .image-placeholder {
  display: none;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 110px 0;
}

.intro {
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  align-items: start;
}

.intro-grid p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.65;
  margin: 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 44px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 320px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 60px rgba(20, 100, 130, .07);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(69,184,238,.42);
  box-shadow: var(--shadow);
}

.card-number {
  display: inline-flex;
  color: var(--blue-dark);
  font-weight: 800;
  margin-bottom: 74px;
}

.card p,
.research-list p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.research {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: start;
}

.research-list {
  display: grid;
  gap: 18px;
}

.research-list article {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 22px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.research-list article:hover {
  transform: translateX(8px);
  border-color: rgba(117,216,196,.6);
  background: #ffffff;
}

.research-list span {
  width: 12px;
  height: 12px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 8px rgba(117,216,196,.14);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 56px;
  border-radius: 42px;
  border: 1px solid rgba(134,200,219,.48);
  background:
    radial-gradient(circle at 86% 18%, rgba(117,216,196,.26), transparent 28%),
    linear-gradient(135deg, rgba(238,249,251,.95), rgba(255,255,255,.95));
  box-shadow: var(--shadow);
}

.contact p {
  max-width: 580px;
  font-size: 18px;
}

.footer {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 34px 0 60px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .nav {
    display: none;
  }

  .intro-grid,
  .research,
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
  }

  .hero-art {
    min-height: 420px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 24px);
    top: 12px;
    padding: 12px;
  }

  .header-contact {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .hero,
  .section,
  .footer {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 128px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-logo {
    width: 190px;
    height: 200px;
  }

  .hero-company {
    font-size: clamp(52px, 17vw, 64px);
  }

  .contact {
    padding: 32px;
  }
}

