:root {
  --navy: #123052;
  --blue: #1a73e8;
  --blue-dark: #1558b0;
  --teal: #0f9d8f;
  --ink: #202124;
  --muted: #5f6368;
  --surface: #f8fafd;
  --white: #ffffff;
  --border: #e0e3e7;
  --shadow: 0 12px 34px rgba(32, 33, 36, .08);
  --radius: 22px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.alt { background: var(--surface); }
.section.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(26,115,232,.28), transparent 30rem),
    linear-gradient(135deg, #10233d 0%, #0f2745 100%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224,227,231,.9);
}
.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img { width: min(310px, 48vw); height: 58px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 1.15rem; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(26,115,232,.2);
}
.button:hover { color: var(--white); background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.button.secondary { color: var(--navy); background: var(--white); border-color: var(--border); box-shadow: none; }
.button.secondary:hover { color: var(--blue); border-color: var(--blue); }
.button.light { margin-top: 1.4rem; color: var(--navy); background: var(--white); border-color: var(--white); box-shadow: none; }
.mobile-jump { display: none; }
.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 84% 13%, rgba(26,115,232,.15), transparent 28rem),
    radial-gradient(circle at 14% 88%, rgba(15,157,143,.10), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.eyebrow { color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); font-family: "Manrope", sans-serif; line-height: 1.12; letter-spacing: -.03em; }
h1 { max-width: 12ch; margin-bottom: 1.25rem; font-size: clamp(3rem, 7vw, 5.7rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.7vw, 3.6rem); }
h3 { margin-bottom: .65rem; font-size: 1.3rem; }
.lead { max-width: 48rem; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-panel {
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.hero-panel h2 { margin: .6rem 0 1rem; font-size: clamp(2rem, 3.8vw, 3rem); }
.hero-panel p:last-child { margin-bottom: 0; color: var(--muted); }
.status-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 7px rgba(15,157,143,.12); }
.panel-label { display: inline-block; margin: 0 0 0 .75rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.project-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(32,33,36,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card p { color: var(--muted); }
.project-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 17px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--navy);
  background: #e8f0fe;
}
.project-card.green .project-icon { background: #e6f4ea; }
.project-card.yellow .project-icon { background: #fef7e0; }
.project-card.red .project-icon { background: #fce8e6; }
.project-card.purple .project-icon { background: #f3e8fd; }
.project-card.neutral .project-icon { background: #f1f3f4; }
.tag { display: inline-block; width: fit-content; margin-bottom: .7rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.text-link { margin-top: auto; font-weight: 700; }
.add-card { border-style: dashed; }
.lab-grid { display: grid; gap: 1rem; max-width: 920px; margin-inline: auto; }
.lab-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.lab-link:hover { text-decoration: none; border-color: var(--blue); box-shadow: 0 8px 22px rgba(32,33,36,.06); }
.lab-link strong { color: var(--navy); font-family: "Manrope", sans-serif; font-size: 1.05rem; }
.lab-link p { margin: .2rem 0 0; color: var(--muted); }
.lab-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #e8f0fe; color: var(--blue); font-weight: 800; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.section.dark h2 { color: var(--white); }
.section.dark .muted { color: #d5e1ef; }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--border); background: var(--white); }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.footer-grid strong { color: var(--navy); }
.small { font-size: .88rem; }
.right { text-align: right; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-jump { display: inline-flex; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-panel { max-width: 620px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .brand img { width: 225px; height: 48px; }
  .mobile-jump { padding: .65rem .9rem; min-height: 42px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 285px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-grid { flex-direction: column; }
  .right { text-align: left; }
}
