/* Демидычъ — заглушка. Белая бумага, золото, антиква. */
:root {
  --paper: #ffffff;
  --ink: #1d1a15;
  --ink-2: #4b4640;
  --ink-3: #857e73;
  --gold: #b08d3f;
  --gold-2: #96762e;
  --gold-line: rgba(176, 141, 63, .55);
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --display: "Playfair Display", "PT Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-2); }
img { display: block; max-width: 100%; height: auto; }

/* Лёгкая «бумага»: едва заметное тёплое свечение по центру и виньетка */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(176,141,63,.07), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(120,95,40,.05) 100%);
}

/* Шапка */
.top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 56px 0;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.top .r { color: var(--ink-3); letter-spacing: .12em; text-transform: none; font-size: 14px; }
.top .r a { color: var(--ink-2); }

/* Центр */
main {
  position: relative; z-index: 1;
  flex: 1; min-width: 0; width: 100%;
  display: grid; place-items: center;
  padding: 24px 24px 40px;
  text-align: center;
}
.stage { display: grid; justify-items: center; gap: 0; width: 100%; max-width: 720px; min-width: 0; }

.logo { width: clamp(220px, 34vw, 380px); margin-bottom: 40px; }
.logo img { width: 100%; }

.rule {
  width: 100%; max-width: 420px; height: 1px; background: var(--gold-line);
  position: relative; margin: 6px 0 30px;
}
.rule::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
  background: var(--gold); transform: translate(-50%,-50%) rotate(45deg);
}

h1 {
  margin: 0;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.25;
  letter-spacing: .01em; text-wrap: balance;
}
.sub {
  margin: 14px 0 0;
  font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.note {
  margin: 34px 0 0;
  font-size: 17px; color: var(--ink-2); max-width: 46ch; text-wrap: pretty;
}

/* Контакты */
.contacts {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  font-family: var(--display); font-size: 20px;
}
.contacts a { display: inline-flex; align-items: baseline; gap: 12px; max-width: 100%; }
.contacts a span { overflow-wrap: anywhere; }
.contacts small {
  font-family: var(--serif); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}

/* Подвал */
footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 0 56px 40px;
  font-size: 12.5px; color: var(--ink-3); letter-spacing: .06em;
}
footer .l { letter-spacing: .22em; text-transform: uppercase; }
footer .l b { font-weight: 400; color: var(--ink-2); }

/* Появление */
.fade { opacity: 0; transform: translateY(10px); animation: in 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.fade.d1 { animation-delay: .15s } .fade.d2 { animation-delay: .35s } .fade.d3 { animation-delay: .55s } .fade.d4 { animation-delay: .75s } .fade.d5 { animation-delay: .95s }
@keyframes in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; opacity: 1; transform: none; } }

/* Адаптив */
@media (max-width: 720px) {
  .top { padding: 28px 28px 0; font-size: 11px; letter-spacing: .2em; }
  .top .r { display: none; }
  .logo { margin-bottom: 30px; }
  .rule { max-width: 260px; margin-bottom: 24px; }
  .contacts { flex-direction: column; gap: 16px; font-size: 18px; }
  .contacts a { flex-direction: column; align-items: center; gap: 4px; }
  footer { padding: 0 28px 28px; justify-content: center; text-align: center; }
  footer .r { display: none; }
}
