﻿/* ==========================================================================
   Р”РѕСЃРєР° РїРѕС‡С‘С‚Р°. 20 Р»РµС‚ Р­Р›РРўРўР РђРќРЎ вЂ” 20.62it.ru
   РўС‘РјРЅРѕРµ Р±Р°СЂС…Р°С‚РЅРѕРµ РїРѕР»РѕС‚РЅРѕ + Р·РѕР»РѕС‡С‘РЅС‹Рµ РѕРІР°Р»С‹ РїРѕРґ РїРѕСЂС‚СЂРµС‚С‹.
   Р‘РµР· РІРЅРµС€РЅРёС… Р·Р°РїСЂРѕСЃРѕРІ: С€СЂРёС„С‚С‹ Рё С„Р°РєС‚СѓСЂР° Р»РµР¶Р°С‚ СЂСЏРґРѕРј РІ /assets.
   ========================================================================== */

:root {
  --ink:        #f3e7d0;
  --ink-dim:    rgba(240, 226, 200, .66);
  --gold:       #d8b475;
  --gold-hi:    #f6e4b8;
  --gold-lo:    #9a7643;
  --serif:      'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:       'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --ease:       cubic-bezier(.2, .7, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: #120309;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(216, 180, 117, .3); color: #fff6e2; }

/* --------------------------------------------------------------------------
   Р‘Р°СЂС…Р°С‚: РіР»СѓР±РѕРєРёР№ РїСѓСЂРїСѓСЂ, РјСЏРіРєРёРµ СЃРєР»Р°РґРєРё, СЃРІРµС‚ СЃРІРµСЂС…Сѓ, С‚СЏР¶С‘Р»Р°СЏ РІРёРЅСЊРµС‚РєР°
   -------------------------------------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 70% at 50% -20%, rgba(122, 34, 70, .5) 0%, rgba(98, 26, 56, .18) 30%, rgba(98, 26, 56, 0) 64%),
    radial-gradient(55% 45% at 0% 6%, rgba(66, 12, 38, .5) 0%, rgba(66, 12, 38, 0) 72%),
    radial-gradient(50% 40% at 100% 2%, rgba(72, 16, 42, .45) 0%, rgba(72, 16, 42, 0) 70%),
    radial-gradient(70% 52% at 50% 120%, rgba(48, 8, 26, .5) 0%, rgba(48, 8, 26, 0) 74%),
    linear-gradient(178deg, #17030a 0%, #100209 42%, #060003 100%),
    radial-gradient(118% 88% at 50% 40%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .86) 100%);
}

/* Р’РѕСЂСЃ: РјРµР»РєРѕРµ Р·РµСЂРЅРѕ + РµРґРІР° Р·Р°РјРµС‚РЅС‹Рµ РґРёР°РіРѕРЅР°Р»СЊРЅС‹Рµ РїРѕР»РѕСЃС‹ РІРѕСЂСЃР° */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  mix-blend-mode: soft-light;
  background-image:
    url("/assets/img/velvet.svg"),
    repeating-linear-gradient(101deg,
      rgba(255, 232, 210, .05) 0 1px,
      rgba(0, 0, 0, 0) 1px 8px,
      rgba(255, 224, 198, .026) 8px 9px,
      rgba(0, 0, 0, 0) 9px 17px);
  background-size: 220px 220px, auto;
}

/* --------------------------------------------------------------------------
   РљР°СЂРєР°СЃ
   -------------------------------------------------------------------------- */
.board {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(46px, 7vh, 88px) clamp(18px, 4vw, 40px) 0;
  text-align: center;
}

.board__head > * {
  animation: rise 1.1s var(--ease) both;
}
.board__head > *:nth-child(2) { animation-delay: .08s; }
.board__head > *:nth-child(3) { animation-delay: .18s; }
.board__head > *:nth-child(4) { animation-delay: .28s; }

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  font-size: clamp(.62rem, .7vw, .72rem);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(226, 199, 152, .66);
}

.eyebrow__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .85;
}

/* Р—Р°РіРѕР»РѕРІРѕРє: Р·РѕР»РѕС‡С‘РЅС‹Р№ РіСЂР°РґРёРµРЅС‚ РїРѕ Р±СѓРєРІР°Рј */
.title {
  margin: .2em 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.55rem, 12.2vw, 7.4rem);
  line-height: .96;
  letter-spacing: -.005em;
  background: linear-gradient(176deg,
      #fff5db 0%,
      #f4dead 24%,
      #dcb579 52%,
      #b78c53 78%,
      #98703e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55));
}

.subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  margin: clamp(18px, 2.6vh, 30px) 0 0;
  font-size: clamp(.66rem, .78vw, .8rem);
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(236, 212, 168, .84);
  white-space: nowrap;
}

.subtitle i {
  display: block;
  width: clamp(34px, 8vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 180, 117, 0), rgba(216, 180, 117, .62));
  transform: translateY(-1px);
}

.subtitle i:last-child { transform: scaleX(-1) translateY(-1px); }

.lead {
  max-width: 34rem;
  margin: clamp(20px, 3vh, 30px) auto 0;
  font-size: clamp(.94rem, 1.02vw, 1.04rem);
  line-height: 1.72;
  color: var(--ink-dim);
  text-wrap: balance;
}

/* Р РѕРјР± СЃ Р»РёРЅРёСЏРјРё вЂ” СЂР°Р·РґРµР»РёС‚РµР»СЊ */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: clamp(30px, 4.6vh, 46px) auto 0;
}

.ornament i {
  display: block;
  width: clamp(44px, 11vw, 132px);
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 180, 117, 0), rgba(216, 180, 117, .42));
}

.ornament i:last-child { transform: scaleX(-1); }

.ornament b {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(216, 180, 117, .58);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   РћРІР°Р»С‹
   -------------------------------------------------------------------------- */
.board__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 3.6vw, 46px) clamp(16px, 2.2vw, 26px);
  max-width: 1120px;
  margin: clamp(30px, 4.4vh, 46px) auto 0;
}

.card {
  width: clamp(132px, 22vw, 228px);
  margin: 0;
  animation: rise .9s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

.card__oval {
  position: relative;
  aspect-ratio: 1 / 1.22;
  border-radius: 50%;
  overflow: visible;
  background:
    radial-gradient(50% 30% at 50% 12%, rgba(255, 230, 198, .055), rgba(255, 230, 198, 0) 72%),
    linear-gradient(180deg, rgba(96, 27, 50, .30) 0%, rgba(32, 7, 18, .56) 54%, rgba(11, 2, 7, .82) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(219, 183, 120, .44),
    inset 0 1px 0 rgba(255, 226, 185, .16),
    inset 0 -34px 52px rgba(0, 0, 0, .55),
    0 22px 46px -26px rgba(0, 0, 0, .95);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

/* Р’РЅРµС€РЅРµРµ Рё РІРЅСѓС‚СЂРµРЅРЅРµРµ С‚РѕРЅРєРёРµ РєРѕР»СЊС†Р° вЂ” РґРІРѕР№РЅР°СЏ Р·РѕР»РѕС‡С‘РЅР°СЏ РѕРїСЂР°РІР° */
.card__oval::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: 3;
  border-radius: 50%;
  border: 1px solid rgba(219, 183, 120, .18);
  pointer-events: none;
}

/* Р’С‚РѕСЂРѕРµ, С‚РѕРЅРєРѕРµ РІРЅСѓС‚СЂРµРЅРЅРµРµ РєРѕР»СЊС†Рѕ */
.card__oval::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid rgba(219, 183, 120, .16);
  pointer-events: none;
}

.card:hover .card__oval {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(232, 199, 141, .62),
    inset 0 2px 16px rgba(255, 222, 182, .1),
    inset 0 -28px 46px rgba(0, 0, 0, .5),
    0 30px 58px -30px rgba(0, 0, 0, .95),
    0 0 42px -8px rgba(216, 180, 117, .22);
}

.card__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-bottom: .12em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  letter-spacing: .12em;
  color: rgba(233, 201, 143, .46);
  font-variant-numeric: lining-nums;
  user-select: none;
}

.card__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.02);
}

.card__cap {
  display: flex;
  flex-direction: column;
  gap: .24rem;
  margin-top: .92rem;
}

.card__name {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.3vw, 1.24rem);
  line-height: 1.2;
  color: #f7ead0;
}

.card__role {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(229, 203, 158, .6);
}

.card__since {
  font-size: .72rem;
  color: rgba(229, 203, 158, .42);
}

/* --------------------------------------------------------------------------
   РџРѕРґРїРёСЃСЊ-РїРѕСЏСЃРЅРµРЅРёРµ Рё РїРѕРґРІР°Р»
   -------------------------------------------------------------------------- */
.hint {
  max-width: 31rem;
  margin: clamp(34px, 5.2vh, 56px) auto 0;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(226, 199, 152, .4);
  text-wrap: balance;
}

.pagefoot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  max-width: 1120px;
  margin: clamp(44px, 7vh, 78px) auto 0;
  padding: 20px clamp(18px, 4vw, 40px) 28px;
  border-top: 1px solid rgba(216, 180, 117, .13);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(226, 199, 152, .42);
}

.pagefoot a {
  color: rgba(236, 212, 168, .74);
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 212, 168, .22);
  padding-bottom: 1px;
  transition: color .3s, border-color .3s;
}

.pagefoot a:hover { color: var(--gold-hi); border-color: rgba(246, 228, 184, .6); }
.pagefoot a:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   РЎС‚СЂР°РЅРёС†Р° 404
   -------------------------------------------------------------------------- */
.notfound {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12vh 24px;
  text-align: center;
}

.notfound__code {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: .9;
  background: linear-gradient(176deg, #fff5db, #dcb579 55%, #98703e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .55));
}

.notfound__text {
  margin: .4rem 0 0;
  font-size: clamp(.92rem, 1vw, 1rem);
  color: var(--ink-dim);
}

.notfound__back {
  margin-top: 1.9rem;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(236, 212, 168, .78);
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 212, 168, .3);
  padding-bottom: 3px;
}

.notfound__back:hover { color: var(--gold-hi); }

/* --------------------------------------------------------------------------
   РђРЅРёРјР°С†РёРё
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 640px) {
  .lead { font-size: .94rem; }
  .subtitle { letter-spacing: .26em; }
  .pagefoot { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
  .eyebrow {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: .56rem;
    letter-spacing: .2em;
  }
  .eyebrow__dot { display: none; }
  .subtitle {
    gap: 10px;
    font-size: .56rem;
    letter-spacing: .2em;
  }
  .subtitle i { width: 20px; }
  .lead { font-size: .9rem; line-height: 1.68; }
  .hint { font-size: .6rem; letter-spacing: .16em; }
  .pagefoot { font-size: .6rem; letter-spacing: .12em; }
}
