/* ==========================================================================
   FT — Variant 1
   Warm-dark editorial: charcoal #1a1715, cream text, copper accent.
   Fraunces (serif) + Inter Tight (sans). Никаких AI-маркеров.
   ========================================================================== */

:root {
  --bg: #1a1715;
  --bg-2: #221d1a;
  --paper: #e8e2d6;
  --paper-mute: #b9b1a2;
  --line: rgba(232, 226, 214, 0.14);
  --line-strong: rgba(232, 226, 214, 0.32);
  --accent: #c89464;
  --accent-warm: #d8a577;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter Tight", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1080px;
  --max-narrow: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection {
  background: var(--accent);
  color: var(--bg);
}

.serif-it {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 400;
  color: var(--accent-warm);
}

/* ---------- Header ---------- */
.head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--pad);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

.nav a {
  color: var(--paper-mute);
  transition: color 0.25s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.nav a:hover {
  color: var(--paper);
  border-bottom-color: var(--accent);
}

/* ---------- Scroll reveal ---------- */
.scroll-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Hero / intro ---------- */
.intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 130px) var(--pad) clamp(50px, 7vw, 100px);
}

.intro__lede {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
  max-width: 22ch;
}

.intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--paper-mute);
  letter-spacing: 0.01em;
}

/* ---------- Block (universal) ---------- */
.block {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) var(--pad);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 5vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.block__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--paper-mute);
  padding-top: 7px;
  position: sticky;
  top: 24px;
}

.block__body { max-width: var(--max-narrow); }

.lead {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
}

.lead-tight {
  font-size: 17px;
  color: var(--paper-mute);
  margin: 0 0 28px;
  max-width: 56ch;
}

.block__body p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--paper);
}

.block__body p:last-child { margin-bottom: 0; }

/* ---------- Numbers block ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 28px;
  padding-top: 12px;
}

.num {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.4s ease;
}

.num:hover { transform: translateY(-3px); }

.num__value {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-warm);
  font-feature-settings: "lnum";
  font-variant-numeric: tabular-nums;
}

.num__label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--paper-mute);
  letter-spacing: 0.02em;
}

/* ---------- Services list ---------- */
.services-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.services-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s ease;
}

.services-list li:hover {
  padding-left: 18px;
  border-bottom-color: var(--accent);
}

.services-list li:hover::before { width: 12px; }

.services-list h3 {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 60, "SOFT" 50;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--paper);
}

.services-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper-mute);
}

/* ---------- Definition lists (cases & people) ---------- */
.cases,
.people {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.cases > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.cases > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.35s ease;
}

.cases > div:hover {
  padding-left: 18px;
}

.cases > div:hover::before { width: 2px; }

.cases dt {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 60, "SOFT" 50;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--paper);
  margin: 0 0 6px;
}

.cases dd {
  font-size: 15px;
  color: var(--paper-mute);
  margin: 0;
  line-height: 1.6;
}

.people > div {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.people dt {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 60, "SOFT" 50;
  font-weight: 500;
  font-size: 19px;
  color: var(--paper);
  margin: 0;
}

.people dd {
  font-size: 15px;
  color: var(--paper-mute);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Voice (отзывы коллег) ---------- */
.voice {
  margin: 0 0 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s ease, border-color 0.35s ease;
}

.voice:last-of-type {
  margin-bottom: 0;
}

.voice:hover {
  padding-left: 14px;
  border-bottom-color: var(--accent-warm);
}

.voice p {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--paper);
  margin: 0 0 10px;
}

.voice footer {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--paper-mute);
  letter-spacing: 0.01em;
}

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(70px, 9vw, 130px); }

.mail {
  display: inline-block;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--accent-warm);
  margin-top: 12px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.mail:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.foot__row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--paper-mute);
  flex-wrap: wrap;
  gap: 8px;
}

.foot__pol {
  color: var(--paper-mute);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.25s ease;
}

.foot__pol:hover { color: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .head { padding: 22px var(--pad); }
  .nav { gap: 12px; font-size: 13px; flex-wrap: wrap; }

  .intro { padding: 50px var(--pad) 40px; }
  .intro__lede { font-size: clamp(28px, 8vw, 44px); }

  .numbers { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
  .num__value { font-size: 36px; }

  .block {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px var(--pad);
  }
  .block__label {
    position: static;
    padding-top: 0;
  }

  .lead { font-size: 19px; }

  .people > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .mail { font-size: clamp(22px, 6vw, 30px); }
}
