/*
 * kissabmi.ru · заглушка личного сайта.
 * Бренд kissabmi (обсидиановый кот): тёмный по природе, золото как акцент, Manrope 500/600.
 * Раскладка: одна сцена, медаль слева, текст справа; к 720 px — в колонку.
 */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #111113;
  --facet: #17171a;
  --text: #f4e4d0;
  --muted: rgba(244, 228, 208, .72);
  --gold: #d4af6a;
  --gold-light: #f0d9a8;
  --line: rgba(212, 175, 106, .28);
  --line-strong: rgba(212, 175, 106, .7);
  --glass: rgba(18, 6, 9, .55);
  --glass-strong: rgba(18, 6, 9, .75);
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Грани обсидиана: два крупных треугольника чуть светлее фона, свет сверху слева, как у кота */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(152deg, var(--facet) 0 32%, transparent 32.1%),
    linear-gradient(208deg, transparent 0 71%, rgba(23, 23, 26, .6) 71.1%);
  pointer-events: none;
}

.stage {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: clamp(48px, 10vh, 120px) 0;
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  align-self: center;
}

.medal {
  display: block;
  width: 100%;
  height: auto;
}

.eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 7s var(--ease) 2.5s infinite;
}

@keyframes blink {
  0%, 94%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(.08); }
}

.copy {
  min-width: 0;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.wordmark {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 34em;
  font-size: 18px;
  color: var(--muted);
}

.links {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.links a:hover {
  border-color: var(--line-strong);
  background: var(--glass-strong);
  color: var(--gold-light);
}

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

.foot {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 48px;
  }
  .medal { width: min(56vw, 220px); }
  .wordmark { width: min(100%, 240px); }
  .lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .eyes { animation: none; }
  .links a { transition: none; }
}
