:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-muted: #e9edf2;
  --text: #111418;
  --muted: #5f6875;
  --dark: #17191d;
  --dark-soft: #22252b;
  --line: #dfe4ea;
  --shadow: 0 18px 45px rgba(17, 20, 24, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 25, 29, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: grid; gap: 2px; }
.brand-name { font-weight: 800; letter-spacing: 0.02em; }
.brand-line { color: #b8bec8; font-size: 0.84rem; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.main-nav a { color: #d9dde5; text-decoration: none; }
.main-nav a:hover { color: #fff; }

.hero {
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(23, 25, 29, 0.95), rgba(23, 25, 29, 0.78)),
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 24%),
    #1b1e23;
  color: #fff;
}
.hero-grid-personal {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.62fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero .eyebrow, .section-heading.light .eyebrow, .contact-box .eyebrow { color: #bfc5cf; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.2vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.hero-statement {
  max-width: 700px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.18rem, 2.1vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-text {
  max-width: 720px;
  margin-bottom: 32px;
  color: #d5dae2;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: #fff; color: #111418; }
.btn.secondary { border: 1px solid rgba(255,255,255,0.24); color: #fff; }

.hero-profile {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}
.hero-profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-profile-content {
  padding: 22px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(23, 25, 29, 0.92);
}
.profile-name { margin-bottom: 6px; color: #fff; font-weight: 900; }
.hero-profile-content p { margin-bottom: 8px; color: #c8ced8; }
.hero-profile-content p:last-child { margin-bottom: 0; }
.profile-tags { font-size: 0.88rem; color: #e7ebf1 !important; font-weight: 800; }

.section { padding: 88px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.section-intro { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .steps article, .about-photo-card, .article-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card h3, .steps h3, .service-item h3, .article-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.card p, .steps p, .service-item p, .about-copy p, .contact-box p, .about-points li, .article-card p { color: var(--muted); }

.section-dark { color: #fff; background: var(--dark); }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.service-list { display: grid; gap: 16px; }
.service-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: var(--dark-soft);
}
.service-item span, .steps span { font-weight: 900; color: #8f98a6; }
.service-item p { margin-bottom: 0; color: #c8ced8; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps span { display: block; margin-bottom: 20px; font-size: 1.6rem; }

.lab-section { background: #fff; }
.lab-heading { max-width: 840px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.article-meta {
  margin-bottom: 18px;
  color: #7a8492 !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article-card h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.03em; }
.article-card a, .text-link {
  margin-top: auto;
  color: #111418;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid #111418;
}
.section-link-row { margin-top: 30px; }

.about-section { background: var(--surface-muted); }
.about-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.about-photo-card { padding: 12px; }
.about-photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.about-copy { max-width: 740px; font-size: 1.08rem; }
.about-points { margin: 24px 0 0; padding-left: 20px; }
.about-points li + li { margin-top: 10px; }

.contact-section { background: #f8fafc; }
.contact-box {
  max-width: 780px;
  padding: 52px;
  text-align: center;
  border-radius: 28px;
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-box h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.contact-box p { max-width: 560px; margin: 0 auto 26px; color: #d2d7df; }
.site-footer { padding: 32px 0; background: var(--dark); color: #b8bec8; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }

.article-hero {
  padding: 84px 0 64px;
  background: var(--dark);
  color: #fff;
}
.article-hero h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}
.article-hero p { max-width: 760px; color: #d5dae2; font-size: 1.12rem; }
.article-layout {
  padding: 72px 0;
  background: #fff;
}
.article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
}
.article-body h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.article-body p, .article-body li { color: #36404d; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 8px; }
.article-callout {
  margin: 34px 0;
  padding: 24px;
  border-left: 4px solid var(--dark);
  border-radius: 16px;
  background: var(--bg);
}
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 900; text-decoration: none; border-bottom: 2px solid currentColor; }

@media (max-width: 980px) {
  .hero-grid-personal, .split, .about-wrap { grid-template-columns: 1fr; }
  .hero-profile { max-width: 420px; }
  .card-grid, .steps, .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .main-nav { width: 100%; gap: 14px; overflow-x: auto; }
  .hero { padding: 68px 0; }
  .section { padding: 64px 0; }
  .card-grid, .steps, .article-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 34px 22px; }
}
