:root {
  --ink: #172033;
  --muted: #617088;
  --line: rgba(23, 32, 51, 0.12);
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.92);
  --blue: #4c7dff;
  --blue-dark: #2857d8;
  --violet: #8f68ff;
  --aqua: #3cc8c8;
  --shadow: 0 24px 80px rgba(74, 85, 116, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(205, 241, 255, 0.9), transparent 34rem),
    radial-gradient(circle at 80% 8%, rgba(232, 214, 255, 0.75), transparent 30rem),
    radial-gradient(circle at 15% 60%, rgba(218, 255, 242, 0.65), transparent 26rem),
    linear-gradient(135deg, #fbfdff 0%, #f6f2ff 48%, #eefbff 100%);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(23, 32, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 5.4vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.you-highlight {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0 0.12em 0.04em;
  color: #ffffff;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 26px rgba(40, 87, 216, 0.28);
}

.you-highlight::before {
  position: absolute;
  inset: 0.08em -0.1em 0.02em;
  z-index: -1;
  content: "";
  border-radius: 0.22em 0.48em 0.26em 0.42em;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.42), transparent 0.45em),
    linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--aqua));
  box-shadow: 0 18px 48px rgba(76, 125, 255, 0.28);
  transform: rotate(-2deg);
}

.you-highlight::after {
  position: absolute;
  right: -0.16em;
  bottom: -0.02em;
  left: -0.06em;
  height: 0.12em;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: rgba(60, 200, 200, 0.48);
  transform: rotate(1deg);
}

ul {
  padding-left: 1.15rem;
  margin: 0;
}

li + li {
  #margin-top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 44px rgba(74, 85, 116, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark,
.avatar {
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0.82rem;
}

.nav {
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(76, 125, 255, 0.09);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: end;
  min-height: auto;
  padding-top: 30px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 16px 32px rgba(76, 125, 255, 0.24);
}

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

.hero-card,
.service-card,
.project-card,
.timeline-card,
.founder-card,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
}

.hero-card div {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.hero-card p,
.service-card p,
.contact-panel p,
.footer p {
  color: var(--muted);
  margin-bottom: 0;
}

.metric {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-grid,
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.project-card,
.founder-card,
.timeline-card {
  border-radius: var(--radius);
}

.service-card {
  min-height: 220px;
  padding: 30px;
}

.project-carousel {
  display: grid;
  grid-auto-columns: minmax(340px, 480px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.project-carousel::-webkit-scrollbar {
  height: 10px;
}

.project-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(76, 125, 255, 0.28);
}

.project-card {
  min-height: 250px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.78)),
    radial-gradient(circle at top right, rgba(76, 125, 255, 0.18), transparent 12rem);
  scroll-snap-align: start;
}

.project-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.project-statement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(76, 125, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 246, 255, 0.82)),
    radial-gradient(circle at top left, rgba(76, 125, 255, 0.22), transparent 16rem);
  box-shadow: var(--shadow-soft);
}

.project-statement-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--blue-dark);
  color: white;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.project-statement h3 {
  margin-bottom: 12px;
}

.project-statement p {
  max-width: 920px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.7;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(76, 125, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: var(--card-strong);
}

.timeline-card.featured {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(220, 242, 255, 0.88));
}

.timeline-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 0 0 0 120px;
  content: "";
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.2), rgba(143, 104, 255, 0.04));
}

.timeline-topline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-topline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: white;
  border-radius: 50%;
  background: var(--ink);
}

.timeline-card ul,
.founder-card ul {
  color: var(--muted);
  font-size: 0.95rem;
}

.founder-card {
  padding: 32px;
  background: var(--card-strong);
}

.founder-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 20px;
  align-items: start;
  margin-bottom: 10px;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(76, 125, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.94), transparent 4rem),
    linear-gradient(135deg, rgba(205, 241, 255, 0.72), rgba(232, 214, 255, 0.78));
}

.portrait-placeholder::before {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 48px 0 22px rgba(255, 255, 255, 0.48);
}

.portrait-placeholder span {
  position: relative;
  z-index: 1;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portrait-placeholder.has-photo::before {
  display: none;
}

.portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 5px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(76, 125, 255, 0.2);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(76, 125, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-links a:hover {
  border-color: rgba(76, 125, 255, 0.38);
  background: rgba(76, 125, 255, 0.14);
}

.avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  border-radius: 24px;
  font-size: 1.25rem;
  font-weight: 800;
}

.degree {
  margin-bottom: 0px;
  color: var(--blue-dark);
  font-weight: 800;
}

.specialization {
  max-width: 560px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(243, 251, 255, 0.74)),
    radial-gradient(circle at top right, rgba(143, 104, 255, 0.2), transparent 20rem);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-result {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 80px auto;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.16);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(76, 125, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(76, 125, 255, 0.12);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
  text-align: center;
}

@media (max-width: 1050px) {
  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav {
    display: none;
  }

  .section-shell {
    padding: 36px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .founder-grid,
  .timeline,
  .project-statement {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .project-statement-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.1rem;
  }

  .site-header,
  .section-shell,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  .hero-card,
  .service-card,
  .project-card,
  .timeline-card,
  .founder-card,
  .project-statement {
    padding: 22px;
  }

  .founder-header {
    grid-template-columns: 1fr 96px;
    gap: 14px;
  }

  .portrait-placeholder {
    width: 96px;
    border-radius: 22px;
  }
}
