:root {
  --bg: #eef2f8;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --surface-dark: #0f1726;
  --panel: #ffffffd9;
  --text: #111827;
  --text-soft: #51607d;
  --line: #d9e0ed;
  --line-strong: #bfc9dc;
  --accent: #0f4c81;
  --accent-soft: #e6eef9;
  --glow: #3f6dcf33;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, #dbe8ff 0%, transparent 28%),
    radial-gradient(circle at 92% 3%, #dff4ee 0%, transparent 30%),
    linear-gradient(180deg, #f4f7fc 0%, #edf2f8 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  backdrop-filter: blur(12px);
  background: #f9fbffd1;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font: 700 0.95rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.42rem 0.72rem;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.1rem;
}

.section {
  margin: 1.35rem 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: var(--panel);
  box-shadow: 0 12px 24px -20px #132d5d26;
}

.section-plain {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 1.2rem 0.3rem 0.8rem;
}

.section-soft {
  background: linear-gradient(160deg, #ffffff, #f8fbff);
}

.section-light {
  background: linear-gradient(160deg, #f8faff, #eef3fb);
}

.section-cta {
  background: linear-gradient(145deg, #f9fcff 0%, #edf4ff 100%);
  border-color: #bfd0eb;
}

.hero .kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font: 700 0.92rem/1.2 "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0.15rem 0 0.9rem;
  font: 800 clamp(2rem, 5.1vw, 3.45rem)/1.08 "Space Grotesk", sans-serif;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

h2 {
  margin: 0 0 0.85rem;
  font: 800 clamp(1.28rem, 2.6vw, 2rem)/1.14 "Space Grotesk", sans-serif;
}

h3 {
  margin: 0 0 0.45rem;
  font: 700 1.02rem/1.25 "Space Grotesk", sans-serif;
}

p {
  margin: 0.45rem 0;
  color: var(--text-soft);
}

.lead {
  max-width: 64ch;
  font-size: 1.02rem;
}

.section-intro {
  margin-bottom: 0.9rem;
}

.trust-row {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-pill {
  padding: 0.38rem 0.65rem;
  border: 1px solid #ccd8ea;
  background: #f8fbff;
  border-radius: 999px;
  color: #2c3d61;
  font-size: 0.83rem;
  font-weight: 700;
}

.cta-row {
  display: flex;
  gap: 0.68rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem 0.98rem;
  border-radius: 0.72rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
}

.btn:focus-visible {
  outline: 3px solid #9db7e6;
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #144e80;
}

.btn-ghost {
  background: #fff;
  border-color: #bfd0e8;
  color: var(--accent);
}

.btn-ghost:hover {
  background: #f4f8ff;
}

.cards,
.venture-grid,
.public-grid,
.public-links-grid,
.content-grid,
.cta-grid {
  display: grid;
  gap: 0.84rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.venture-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.public-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.public-links-grid {
  margin-top: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.content-grid {
  margin-top: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-grid {
  margin-top: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.92rem;
  background: #fff;
  box-shadow: 0 10px 18px -16px #243d6a52;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -20px #233f6a80;
  border-color: var(--line-strong);
}

.highlight-card {
  border-color: #6284bf;
  box-shadow: 0 0 0 1px #4f73b54a, 0 16px 32px -24px var(--glow);
}

.project-card {
  border-color: #c9d5e9;
}

.meta {
  font-size: 0.86rem;
  color: #345a8a;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card strong {
  color: #223252;
}

.card-links {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-links a,
.card > a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline article {
  border-left: 4px solid #7da1d8;
  background: #fcfdff;
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem 0.75rem 1rem;
}

.role {
  margin: 0.12rem 0 0.35rem;
  color: #40608e;
  font-weight: 700;
  font-size: 0.92rem;
}

.impact-list {
  margin: 0.25rem 0 0;
  padding-left: 1.05rem;
  color: var(--text-soft);
}

.impact-list li {
  margin: 0.35rem 0;
}

.approach-line {
  max-width: 68ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #243456;
  font-weight: 600;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.linkedin-card {
  border-color: #90aedf;
  box-shadow: 0 0 0 1px #90aedf5f;
}

.public-card {
  color: var(--text);
  padding: 25px;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: 0.3s ease;
  box-shadow: 0 10px 18px -16px #243d6a52;
}

.public-card p {
  color: var(--text-soft);
}

.public-card h3 {
  color: var(--text);
}

.public-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.public-card:hover {
  transform: translateY(-5px);
}

.video-wrapper {
  position: relative;
  padding-bottom: 177%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.btn-small {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
}

.blog-wrapper {
  position: relative;
  width: 100%;
  min-height: 460px;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.blog-wrapper iframe {
  width: 100%;
  min-height: 460px;
  height: 100%;
  border: 0;
}

.compact .card h3 {
  margin-bottom: 0.25rem;
}

.site-footer {
  padding: 1.45rem 1rem 2.3rem;
  text-align: center;
  color: #58688a;
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 58px;
    right: 8px;
    width: min(270px, 95vw);
    padding: 0.82rem;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 16px 28px -24px #182e5a5e;
  }

  .nav.open {
    display: flex;
  }

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

@media (max-width: 620px) {
  main {
    padding: 0.8rem;
  }

  .section {
    padding: 1.02rem;
    margin: 1rem 0;
  }

  h1 {
    max-width: 22ch;
  }

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