@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/xpage/fonts/cormorant-garamond-v21-cyrillic_latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/xpage/fonts/cormorant-garamond-v21-cyrillic_latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/xpage/fonts/cormorant-garamond-v21-cyrillic_latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/xpage/fonts/cormorant-garamond-v21-cyrillic_latin-500italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/xpage/fonts/cormorant-garamond-v21-cyrillic_latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('/xpage/fonts/cormorant-garamond-v21-cyrillic_latin-600italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300; font-display: swap; src: url('/xpage/fonts/inter-tight-v9-cyrillic_latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url('/xpage/fonts/inter-tight-v9-cyrillic_latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('/xpage/fonts/inter-tight-v9-cyrillic_latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('/xpage/fonts/inter-tight-v9-cyrillic_latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 700; font-display: swap; src: url('/xpage/fonts/inter-tight-v9-cyrillic_latin-700.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/xpage/fonts/jetbrains-mono-v24-cyrillic_latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/xpage/fonts/jetbrains-mono-v24-cyrillic_latin-500.woff2') format('woff2'); }

:root {
  --bg: #f6f2ed;
  --bg-card: #fdfbf7;
  --ink: #1a1613;
  --ink-2: #3a342e;
  --ink-3: #6b6259;
  --ink-4: #9a9187;
  --rule: #e4ddd1;
  --rule-strong: #d6ccbd;
  --accent: oklch(0.58 0.11 25);
  --accent-2: oklch(0.52 0.12 25);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-md: 10px;

  --t: 0.24s cubic-bezier(.2,.7,.2,1);
  --shadow-soft: 0 10px 28px -12px rgba(60, 40, 18, 0.30), 0 4px 10px -6px rgba(60, 40, 18, 0.18);
  --shadow-card: 0 22px 48px -18px rgba(60, 40, 18, 0.40), 0 8px 18px -8px rgba(60, 40, 18, 0.24);
}

.page *, .page *::before, .page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.page {
  max-width: 1440px; margin: 0 auto; padding: 28px 28px 90px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  background: transparent;
}
.page a { color: inherit; text-decoration: none; }
.page em { font-style: italic; }

/* ===== HERO ===== */
.hero {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
}
.hero-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--ink-4);
  text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.hero-num .dash {
  display: inline-block; width: 24px; height: 1px;
  background: currentColor;
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1; letter-spacing: -0.015em;
  color: var(--ink);
}
.hero-title em { color: var(--accent-2); font-weight: 400; }
.hero-lede {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--ink-3);
  line-height: 1.5; margin-top: 18px;
}

/* ===== TIMELINE — vertical connected path ===== */
.steps { margin-bottom: 40px; }
.vd-wrap { max-width: 760px; }
.vd-step {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr;
  gap: 26px;
  padding-bottom: 38px;
}
.vd-step:last-child { padding-bottom: 0; }
.vd-rail { position: relative; display: flex; justify-content: center; }
.vd-rail::before {
  content: ''; position: absolute; top: 56px; bottom: -38px;
  width: 1px; left: 50%; transform: translateX(-50%);
  border-left: 1px dashed var(--rule-strong);
}
.vd-step:last-child .vd-rail::before { display: none; }
.vd-marker {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 24px; line-height: 1; color: var(--accent-2);
  box-shadow: var(--shadow-soft); z-index: 1;
  padding-bottom: 4px;
}
.vd-step.is-key .vd-marker { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.vd-content { padding-top: 6px; }
.vd-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 7px;
}
.vd-title {
  font-family: var(--serif); font-weight: 500; font-size: 28px;
  line-height: 1.05; color: var(--ink); letter-spacing: -0.005em; margin-bottom: 8px;
}
.vd-title em { font-style: italic; color: var(--accent-2); }
.vd-text { font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 56ch; }

/* ===== CONTACT STRIP ===== */
.contact {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
  padding: 30px 34px; margin-top: 8px;
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(154,145,135,0.05) 7px 8px);
}
.contact-left { position: relative; z-index: 1; }
.contact-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 8px; }
.contact-title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--ink); }
.contact-title em { font-style: italic; color: var(--accent-2); }
.contact-right { position: relative; z-index: 1; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.contact-item .cl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 5px; }
.contact-item .cv { font-family: var(--serif); font-size: 22px; color: var(--ink); transition: color var(--t); }
.contact-item a.cv:hover { color: var(--accent); }
.contact-item .cnote { font-size: 11px; color: var(--ink-4); margin-top: 3px; }
.page a.btn-catalog {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--ink);
  border-radius: 999px; padding: 13px 24px;
  margin-left: auto;
  text-decoration: none;
  transition: background var(--t), transform var(--t);
}
.page a.btn-catalog:hover { color: #fff; background: var(--accent-2); transform: translateY(-1px); }

/* ===== responsive ===== */
@media (max-width: 720px) {
  .page { padding: 20px 18px 64px; }
  .contact { flex-direction: column; align-items: flex-start; }
  .vd-step { grid-template-columns: 48px 1fr; gap: 18px; }
  .vd-marker { width: 48px; height: 48px; font-size: 20px; }
  .vd-rail::before { top: 48px; }
}
