/* ============ ШРИФТЫ ============ */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/catalog/view/theme/kwd/data/sys/fonts/golos-text-v7-cyrillic-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/catalog/view/theme/kwd/data/sys/fonts/golos-text-v7-cyrillic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/catalog/view/theme/kwd/data/sys/fonts/golos-text-v7-cyrillic-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/catalog/view/theme/kwd/data/sys/fonts/cormorant-garamond-v21-cyrillic-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/catalog/view/theme/kwd/data/sys/fonts/cormorant-garamond-v21-cyrillic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/catalog/view/theme/kwd/data/sys/fonts/cormorant-garamond-v21-cyrillic-italic.woff2') format('woff2');
}

/* ============ ТОКЕНЫ ============ */
:root {
  --shell: 1600px;
  --gutter: clamp(20px, 4.2vw, 72px);

  --paper: #F5F3EE;
  --paper-2: #EEEAE1;
  --ink: #26241F;
  --ink-2: #6B665B;
  --line: #D5CFC2;
  --line-soft: #E3DED3;
  --accent: #E85D2F;
  --accent-text: #A83F15; /* для мелкого текста (контраст 4.6:1) */

  --sans: "Golos Text", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", "Roboto Mono", "Consolas", monospace;
}

/* ============ СБРОС ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

/* ============ УТИЛИТЫ ============ */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mono-accent { color: var(--accent-text); }
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ============ ТИПОГРАФИКА ============ */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(40px, 5.5vw, 80px); }
h2 { font-size: clamp(32px, 3.6vw, 52px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--accent);
}

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background .25s;
}
.btn:hover { background: var(--accent); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all .25s;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}