:root {
  color-scheme: light;
  --bg: #0c0b0d;
  --bg-2: #151319;
  --text: #f4f1ec;
  --muted: #c2b9ae;
  --accent: #e7d7c6;
  --accent-2: #c9a07a;
  --line: rgba(244, 241, 236, 0.16);
  --card: rgba(16, 15, 18, 0.72);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Golos Text", "Space Grotesk", sans-serif;
  color: var(--text);
  background: transparent;
  min-height: 100vh;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(244, 241, 236, 0.08) 1px, transparent 1px);
  background-size: 100% 120px;
  opacity: 0.35;
  z-index: 1;
}

.bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(231, 215, 198, 0.12), transparent 65%),
    radial-gradient(900px 600px at 90% 0%, rgba(201, 160, 122, 0.12), transparent 60%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-2) 100%);
}

.bg-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 11, 0.4) 0%,
    rgba(10, 9, 11, 0.55) 50%,
    rgba(10, 9, 11, 0.75) 100%
  );
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: saturate(0.9) contrast(1.1) brightness(0.9);
  transform: scale(1.02);
}

.bg-slide.is-active {
  opacity: 0.7;
}

.i18n {
  display: none;
}

html[data-lang="ru"] .i18n[data-lang="ru"],
html[data-lang="be"] .i18n[data-lang="be"],
html[data-lang="en"] .i18n[data-lang="en"] {
  display: inline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

html[data-lang="ru"] .title,
html[data-lang="ru"] .option-title,
html[data-lang="ru"] .brand-title {
  letter-spacing: 0.02em;
}

.site-header {
  padding: 28px 0 10px;
  position: relative;
  z-index: 2;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.brand {
  display: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: conic-gradient(from 120deg, var(--accent), #9f7b5a, var(--accent-2));
  box-shadow: var(--shadow);
}

.brand-title {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-switch {
  display: flex;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 999px;
  background: rgba(12, 11, 13, 0.7);
  backdrop-filter: blur(10px);
}

.lang-switch button {
  border: none;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--accent-2);
  color: #1a1410;
}

.hero {
  padding: 86px 0 56px;
  position: relative;
  z-index: 2;
}

.hero .container {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.72rem;
  color: var(--accent);
  max-width: 36ch;
}

.title {
  font-family: "Podkova", serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.98;
  max-width: 14ch;
}

.lead {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 42ch;
}

.options {
  display: grid;
  gap: 16px;
  margin-top: 6px;
  width: min(920px, 92vw);
  justify-items: center;
  grid-template-columns: 1fr;
}

.option {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 24px 26px;
  border-radius: 22px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 460px;
}

.option:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 241, 236, 0.35);
  box-shadow: 0 30px 70px rgba(16, 14, 14, 0.15);
}

.option-title {
  font-family: "Podkova", serif;
  font-size: 1.7rem;
}

.option-sub {
  color: var(--muted);
  font-size: 0.98rem;
}

.option-sub a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 236, 0.4);
}

.option-sub a:hover {
  border-bottom-color: var(--accent-2);
}

.details {
  padding: 24px 0 70px;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

.details .container {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  text-align: center;
}

.details strong {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

@media (min-width: 820px) {
  .hero .container {
    grid-template-columns: 1fr;
    align-items: center;
  }
  .options {
    margin-top: 20px;
  }
}

@media (min-width: 840px) {
  .options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .option {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header .container {
    flex-direction: column;
    align-items: center;
  }
  .title {
    max-width: 16ch;
  }
}
