
:root {
  --bg: #efeae4;
  --surface: #fbf8f4;
  --text: #1f1a17;
  --muted: #6f665d;
  --muted-2: #8a8178;
  --line: #d8cec2;
  --dark: #1f1a17;
  --dark-2: #342c27;
  --white: #ffffff;
  --radius: 30px;
  --radius-lg: 38px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 30px 80px rgba(28, 25, 23, 0.12);
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 241, 234, 0.88);
  border-bottom: 1px solid rgba(216, 206, 194, 0.8);
}
.header-inner,
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 34px;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-small {
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.brand-sub {
  font-size: 14px;
  color: var(--muted);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.page { display: none; }
.page.active { display: block; }
.page-wrap { padding: 52px 0 90px; }

.kicker {
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 22px;
}
h1, h2, h3 { margin: 0; }

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 74px;
  align-items: center;
  padding-top: 28px;
}
.hero h1,
.page-title {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 820px;
}
.hero .lead,
.page-intro {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.85;
  color: #2b2521;
  max-width: 680px;
}
.sublead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  transition: .25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}
.btn-primary {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-primary:hover {
  background: var(--dark-2);
  border-color: var(--dark-2);
}
.btn-secondary {
  background: transparent;
  color: var(--dark);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--dark);
}

.placeholder,
.video-placeholder {
  border-radius: 34px;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: #7a7168;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.72), transparent 34%),
    linear-gradient(135deg, #d8d0c5 0%, #eee7dd 54%, #cfc4b7 100%);
}
.placeholder { min-height: 470px; }
.video-placeholder { min-height: 520px; }

.position-card-wrap {
  position: relative;
  min-height: 560px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.85), transparent 35%),
    linear-gradient(160deg, rgba(255,255,255,0.35), rgba(120,113,108,0.08)),
    linear-gradient(135deg, #d8d0c6 0%, #efebe5 50%, #ccc2b7 100%);
  display: flex;
  align-items: flex-end;
  padding: 34px;
}
.position-card {
  max-width: 420px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 28px;
  padding: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 44px 40px;
}

.profile-shell { padding-top: 28px; }
.profile-kicker {
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 28px;
}
.profile-headline {
  margin: 0 0 84px 220px;
  max-width: 640px;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.profile-content {
  max-width: 700px;
  margin-left: 220px;
}
.profile-row {
  border-bottom: 1px solid rgba(31,26,23,0.08);
  padding-bottom: 32px;
  margin-bottom: 32px;
}
.profile-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.profile-row h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: #4a423b;
}
.profile-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.section { padding-top: 90px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: flex-end;
  margin-bottom: 42px;
}
.section-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.section-copy {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.competence-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.competence-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(28,25,23,0.05);
}
.competence-card .nr {
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.competence-card h3 {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}

.dark-section {
  margin-top: 90px;
  background: var(--dark);
  color: var(--white);
  border-radius: 36px;
  padding: 52px 46px;
  box-shadow: var(--shadow-strong);
}
.dark-section .kicker { color: rgba(255,255,255,0.56); }
.dark-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
}
.dark-section h2 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.dark-section p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}

.experience-card { margin-top: 90px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.metric-value { font-size: 42px; font-weight: 300; }
.metric-label { font-size: 14px; color: var(--muted); }

.editorial { padding-top: 24px; }
.editorial-hero {
  display: grid;
  gap: 54px;
  align-items: end;
}
.editorial-hero.with-media {
  grid-template-columns: 0.9fr 1.1fr;
}
.editorial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 54px 0;
}
.editorial-block.reverse { direction: rtl; }
.editorial-block.reverse > * { direction: ltr; }
.editorial-text .num,
.editorial-simple .num {
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.editorial-text h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.editorial-text p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 700px;
}
.editorial-simple {
  max-width: 880px;
  padding: 34px 0;
}
.editorial-simple h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.editorial-simple p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.cta-panel {
  margin-top: 50px;
  background: var(--dark);
  color: #fff;
  border-radius: 34px;
  padding: 46px;
  box-shadow: var(--shadow-strong);
}
.cta-panel p {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 300;
  max-width: 820px;
  margin: 0;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 60px;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 36px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
input, textarea {
  width: 100%;
  margin-top: 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #f7f3ee;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}
textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  border-top: 1px solid rgba(216,206,194,0.9);
  background: #f2ece5;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 34px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 1100px) {
  .hero, .form-wrap, .editorial-hero.with-media, .editorial-block, .dark-grid, .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }
  .section-head { align-items: start; }
  .competence-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-headline, .profile-content { margin-left: 120px; }
}
@media (max-width: 800px) {
  .header-inner, .container, .footer-inner { padding-left: 22px; padding-right: 22px; }
  .main-nav { gap: 14px; font-size: 13px; }
  .page-wrap { padding-top: 28px; }
  .hero h1, .page-title { font-size: clamp(42px, 10vw, 58px); }
  .position-card-wrap { min-height: 380px; }
  .profile-headline {
    margin: 0 0 48px 0;
    max-width: 100%;
    font-size: clamp(34px, 10vw, 52px);
  }
  .profile-content { margin-left: 0; max-width: 100%; }
  .card, .dark-section, .cta-panel, .form-card { padding: 28px 22px; }
  .section { padding-top: 50px; }
  .editorial-block { padding: 34px 0; }
  .competence-grid, .metrics, .field-grid { grid-template-columns: 1fr; }
  .footer-inner { display: block; }
}
