/*
  Стиль взят с флаера автора (../photo_2026-08-18_08-27-25.jpg): тёплая почти
  чёрная база, золото, антиква в заголовках, тонкие линии и ромбы вместо
  разделителей. Сборки у сайта нет — это обычный CSS, без препроцессоров и без
  запросов на чужие домены: шрифты лежат рядом, в fonts/.
*/

/* ── Шрифты ──────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/cormorant-garamond-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Переменные ──────────────────────────────────────────────────────────── */

:root {
  --bg: #120c07;
  --bg-soft: #180f09;
  --panel: #1e150e;
  --panel-2: #241a11;

  --gold: #c9a063;
  --gold-bright: #e6c68f;
  --gold-dim: #8d7047;

  --text: #ece3d5;
  --muted: #a89578;

  --line: rgba(201, 160, 99, 0.22);
  --line-strong: rgba(201, 160, 99, 0.45);

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 68rem;
  --prose: 46rem;
  --header-h: 4.25rem;

  color-scheme: dark;
}

/* ── База ────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  /* Тёплое свечение сверху — как подсветка свечи на флаере. */
  background-image:
    radial-gradient(60rem 40rem at 50% -12rem, rgba(201, 160, 99, 0.16), transparent 70%),
    radial-gradient(40rem 30rem at 90% 18%, rgba(201, 160, 99, 0.06), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-bright);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

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

/* Ссылка «к содержимому» для клавиатуры и скринридеров. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line-strong);
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ── Раскладка ───────────────────────────────────────────────────────────── */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  scroll-margin-top: var(--header-h);
}

.section--tinted {
  background: linear-gradient(
    180deg,
    transparent,
    var(--bg-soft) 12%,
    var(--bg-soft) 88%,
    transparent
  );
}

.prose {
  max-width: var(--prose);
}

.prose--center {
  margin-inline: auto;
}

/* ── Заголовки разделов ──────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  margin-bottom: 0.6rem;
}

.section-lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.4;
  color: var(--gold-bright);
  margin-bottom: 1.6rem;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Ромб между блоками — тот же знак, что делит секции на флаере. */
.divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-block: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold-dim);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.divider span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}

/* ── Шапка ───────────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 12, 7, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.2;
}

.brand__role {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.85rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--gold-bright);
}

/*
  Меню-якоря прячем на узких экранах: остаётся кнопка записи, а разделы
  листаются подряд — на одностраничнике этого достаточно, и не нужен ни JS,
  ни выезжающая панель.
*/
@media (max-width: 60rem) {
  .nav {
    display: none;
  }
}

/* ── Кнопки ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  border: 1px solid var(--gold);
  border-radius: 2rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.btn--primary {
  background: var(--gold);
  color: #17100a;
  font-weight: 500;
}

.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #17100a;
}

.btn--ghost {
  color: var(--gold-bright);
}

.btn--ghost:hover {
  background: rgba(201, 160, 99, 0.12);
  color: var(--gold-bright);
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* ── Первый экран ────────────────────────────────────────────────────────── */

.hero {
  padding-block: clamp(3rem, 9vw, 6rem);
  text-align: center;
}

/* Двойная рамка — приём с флаера. */
.hero__frame {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
}

.hero__frame::before {
  content: '';
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(201, 160, 99, 0.14);
  pointer-events: none;
}

.hero__name {
  font-size: clamp(2.6rem, 8vw, 4.75rem);
  margin-bottom: 0.5rem;
}

.hero__role {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}

.hero__methods {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero__lead {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ── Двухколоночные блоки ────────────────────────────────────────────────── */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }

  .split--text-first {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.figure {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.figure img {
  width: 100%;
  border: 1px solid var(--line);
}

/* Смещённая золотая рамка: кадр в паспарту, а не просто вставленная картинка. */
.figure::after {
  content: '';
  position: absolute;
  inset: 0.9rem -0.9rem -0.9rem 0.9rem;
  border: 1px solid var(--line-strong);
  z-index: -1;
}

.figure--sticky {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

@media (max-width: 55.999rem) {
  .figure {
    max-width: 26rem;
  }

  .figure--sticky {
    position: static;
  }

  /* Смещённая рамка на узком экране вылезала бы за правый край и давала
     горизонтальную прокрутку — это украшение только для широкой раскладки. */
  .figure::after {
    display: none;
  }
}

/* ── Выделения в тексте ──────────────────────────────────────────────────── */

.quote {
  margin: 2.25rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold-dim);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.35;
  color: var(--gold-bright);
}

/* Короткая мысль, которую автор выделяет отдельной строкой. */
.accent {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.35;
  color: var(--gold-bright);
  margin: 1.5rem 0;
}

/* ── Карточки ────────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
}

.card__title {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
  color: var(--gold-bright);
}

.card__meta {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Списки ──────────────────────────────────────────────────────────────── */

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
}

.list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.6rem;
  color: var(--gold-dim);
}

.list li:last-child {
  margin-bottom: 0;
}

/* Вопросы звучат как реплики, поэтому набраны антиквой, а не основным шрифтом. */
.questions {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.4;
  color: var(--gold-bright);
}

.questions li {
  margin-bottom: 0.6rem;
}

/* ── Важное уточнение ────────────────────────────────────────────────────── */

.notice {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line-strong);
  background: rgba(201, 160, 99, 0.05);
}

.notice__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold-bright);
}

/* ── Контакты ────────────────────────────────────────────────────────────── */

.contacts {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  text-align: center;
}

.contacts__grid {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin: 2rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.contacts__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contacts__value {
  font-size: 1.05rem;
}

.contacts__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.closing {
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--gold-bright);
}

/* ── Подвал ──────────────────────────────────────────────────────────────── */

.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
