@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap");

:root {
  color-scheme: light;
  --ink: #0b2230;
  --ink-soft: #42535c;
  --night: #071c27;
  --paper: #f5f1e9;
  --paper-deep: #e9e3d9;
  --white: #fffdf8;
  --accent: #24a494;
  --accent-soft: #cde8e2;
  --line: rgba(11, 34, 48, 0.16);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[data-ui="en"] { display: none !important; }
html[data-language="en"] [data-ui="ru"] { display: none !important; }
html[data-language="en"] [data-ui="en"] { display: initial !important; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; transition: top .2s ease; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 0 5vw; background: rgba(245, 241, 233, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--night); border-radius: 50%; font-size: 12px; letter-spacing: .08em; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav a:hover { color: var(--accent); }
.language-switch { justify-self: end; width: 44px; height: 34px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 11px/1 var(--sans); cursor: pointer; }
.language-switch:hover { background: var(--ink); color: var(--white); }

.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); background: var(--night); color: var(--white); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 8vw, 128px) clamp(34px, 7vw, 112px); }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 600 clamp(58px, 8vw, 126px)/.82 var(--serif); letter-spacing: -.065em; }
.hero h1.ru-name { font-size: clamp(52px, 7.2vw, 112px); }
.hero-title { max-width: 720px; margin: 38px 0 14px; font-size: clamp(19px, 2.1vw, 31px); font-weight: 600; line-height: 1.25; }
.hero-lede { max-width: 690px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.2vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--night); }
.button-ghost { border: 1px solid rgba(255,255,255,.38); color: var(--white); }
.button-dark { background: var(--night); color: var(--white); }
.button-outline { border: 1px solid var(--ink); }
.hero-portrait { position: relative; margin: 0; min-height: 620px; background: #b6aaa1; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,39,0) 55%, rgba(7,28,39,.72) 100%); pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 18%; filter: saturate(.78) contrast(1.02); }
.hero-portrait figcaption { position: absolute; z-index: 2; right: 32px; bottom: 28px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.metrics article { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border-right: 1px solid var(--line); }
.metrics article:last-child { border-right: 0; }
.metrics strong { color: var(--ink); font: 600 clamp(42px, 5vw, 76px)/1 var(--serif); letter-spacing: -.05em; }
.metrics span { max-width: 210px; color: var(--ink-soft); font-size: 12px; font-weight: 600; line-height: 1.45; text-transform: uppercase; letter-spacing: .04em; }

.section { padding: clamp(80px, 10vw, 150px) 7vw; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: start; margin-bottom: clamp(56px, 7vw, 100px); }
.section-number { margin: 8px 0 0; color: var(--accent); font-size: 12px; font-weight: 700; }
.section-heading h2, .download-strip h2 { max-width: 980px; margin: 0; font: 600 clamp(42px, 6vw, 86px)/.98 var(--serif); letter-spacing: -.045em; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.intro-statement p { margin: 0; font: 500 clamp(24px, 2.5vw, 38px)/1.35 var(--serif); }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-grid article { min-height: 230px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-grid article > span { color: var(--accent); font-size: 11px; font-weight: 700; }
.capability-grid h3 { margin: 42px 0 10px; font-size: 17px; }
.capability-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.experience { background: var(--white); }
.timeline { max-width: 1220px; margin-left: auto; }
.role { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 48px; padding: 54px 0; border-top: 1px solid var(--line); }
.role:first-child { border-top: 0; padding-top: 0; }
.role-meta { display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status { width: fit-content; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: #166d63; font-size: 9px; }
.secondary { font-size: 9px; }
.role-body { max-width: 920px; }
.role-title { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.role-title h3 { margin: 0; font: 600 clamp(24px, 2.7vw, 40px)/1.12 var(--serif); letter-spacing: -.025em; }
.role-title p { margin: 7px 0 0; color: var(--accent); font-size: 14px; font-weight: 700; }
.role-index { color: rgba(11,34,48,.18); font: 600 34px/1 var(--serif); }
.role-body > p { margin: 25px 0 0; color: var(--ink-soft); font-size: 15px; }
.role-body .result { color: var(--ink); padding-left: 18px; border-left: 3px solid var(--accent); }
.text-link { display: inline-block; margin-top: 22px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-underline-offset: 5px; }
.flagship { padding-top: 72px; padding-bottom: 72px; }
.data-note { max-width: 820px; margin: 44px 0 0 auto; color: #728087; font-size: 11px; }

.evidence { background: var(--night); color: var(--white); }
.evidence .section-number, .evidence .kicker { color: #64cabd; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.evidence-grid a { position: relative; min-height: 230px; padding: 28px 62px 28px 28px; background: var(--night); text-decoration: none; transition: background .2s ease; }
.evidence-grid a:hover { background: #0d2a37; }
.source { color: #64cabd; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.evidence-grid h3 { margin: 50px 0 0; font: 500 22px/1.3 var(--serif); }
.arrow { position: absolute; right: 24px; top: 24px; font-size: 20px; }
.credentials { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; margin-top: 88px; }
.credentials article { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.credential-label { color: #64cabd; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.credentials h3 { margin: 22px 0 10px; font: 500 21px/1.35 var(--serif); }
.credentials p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }

.expertise { background: var(--paper-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1080px; margin-left: auto; }
.tags span { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.3); font-size: 12px; font-weight: 600; }

.download-strip { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding: 70px 7vw; background: var(--accent); color: var(--night); }
.download-strip .kicker { color: rgba(7,28,39,.65); }
.download-strip h2 { font-size: clamp(36px, 5vw, 68px); }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.contact { min-height: 620px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; padding: clamp(100px, 13vw, 190px) 7vw 90px; background: var(--night); color: var(--white); }
.contact h2 { margin: 0; font: 600 clamp(48px, 7vw, 104px)/.95 var(--serif); letter-spacing: -.055em; }
.contact-links { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.2); }
.contact-links a, .contact-links > span { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.78); text-decoration: none; font-size: 13px; }
.contact-links a:hover { color: #64cabd; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px 7vw; background: #04131b; color: rgba(255,255,255,.46); font-size: 11px; }
footer a { color: inherit; text-decoration: none; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 680px; }
  .hero-portrait { min-height: 720px; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; gap: 34px; }
  .download-strip { align-items: flex-start; flex-direction: column; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 66px; padding: 0 20px; }
  .brand-name { display: none; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 600px; padding: 72px 24px; }
  .hero h1 { font-size: clamp(52px, 18vw, 78px); }
  .hero h1.ru-name { font-size: clamp(44px, 14vw, 58px); }
  .hero-title { margin-top: 30px; }
  .hero-portrait { min-height: 570px; }
  .metrics article { min-height: 160px; padding: 24px 20px; }
  .metrics strong { font-size: 44px; }
  .section { padding: 80px 24px; }
  .section-heading { grid-template-columns: 44px minmax(0,1fr); margin-bottom: 54px; }
  .section-heading h2 { font-size: 42px; }
  .capability-grid { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr; gap: 20px; padding: 42px 0; }
  .role-meta { flex-direction: row; align-items: center; }
  .role-title h3 { font-size: 28px; }
  .role-body > p { font-size: 14px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-grid a { min-height: 190px; }
  .download-strip { padding: 64px 24px; }
  .download-actions { width: 100%; }
  .download-actions .button { width: 100%; }
  .contact { min-height: 620px; padding: 100px 24px 64px; }
  .contact h2 { font-size: 50px; }
  footer { padding: 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
