/* ============================================================
   Landing corruption 2026 — flat / white
   ============================================================ */

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

:root {
  --ink: #141414;
  --paper: #ffffff;
  --red: #d21f26;
  --flag-blue: #0039a6;
  --flag-red: #d52b1e;
  --muted: #767676;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px 0;
  overflow: hidden;
  text-align: center;
}

.flag-wrap {
  position: relative;
  width: min(440px, 80vw);
  margin-bottom: 64px;
}

.flag {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 4px solid var(--ink);
  display: flex;
  flex-direction: column;
}

.stripe {
  flex: 1 1 0;
}

.stripe-white { background: var(--paper); }
.stripe-blue  { background: var(--flag-blue); }
.stripe-red   { background: var(--flag-red); }

/* --- crossed-out FSB emblem --- */

.emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
}

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

.blood {
  fill: var(--red);
}

.cross-line {
  fill: var(--red);
}

/* --- hero text --- */

.hero-title {
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  max-width: 920px;
}

.hero-accent {
  display: block;
  color: var(--red);
}

.hero-subtitle {
  margin-top: 20px;
  font-size: clamp(0.85rem, 2.4vw, 1.15rem);
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-rule {
  width: 120px;
  height: 10px;
  background: var(--red);
  margin-top: 30px;
}

/* --- masked figures --- */

.figures {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 4vw, 48px);
  width: 100%;
  padding-top: 56px;
}

.figure {
  display: block;
  width: auto;
}

.figure .body,
.figure .head {
  fill: var(--ink);
}

.figure .eye,
.figure .mouth {
  fill: #ffffff;
}

.figure:nth-of-type(1) { height: 104px; }
.figure:nth-of-type(2) { height: 148px; }
.figure:nth-of-type(3) { height: 122px; }
.figure:nth-of-type(4) { height: 165px; }
.figure:nth-of-type(5) { height: 132px; }
.figure:nth-of-type(6) { height: 96px;  }

/* ------------------------------------------------------------
   ARTICLE
   ------------------------------------------------------------ */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 110px 24px 130px;
}

.article h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 2.8em 0 1.4em;
}

.article h2::before {
  content: "";
  display: block;
  width: 64px;
  height: 8px;
  background: var(--red);
  margin-bottom: 18px;
}

.article p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #222222;
  margin-bottom: 1.5em;
}

.article .lead::first-letter {
  font-size: 3.1em;
  font-weight: 800;
  color: var(--red);
  float: left;
  line-height: 0.8;
  padding: 6px 12px 0 0;
}

/* ------------------------------------------------------------
   КРУЖКИ-ИЛЛЮСТРАЦИИ В СТАТЬЕ
   ------------------------------------------------------------ */

.circles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(24px, 6vw, 56px);
  margin: 3.2em auto;
}

.circle-link {
  display: block;
  width: clamp(160px, 34vw, 240px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 5px solid var(--ink);
  overflow: hidden;
  transition: transform 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.circle-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-link:hover,
.circle-link:focus-visible {
  transform: scale(1.07);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.25);
}

.circles figcaption {
  flex-basis: 100%;
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------
   ВИДЕО В СТАТЬЕ
   ------------------------------------------------------------ */

.video-block {
  margin: 3.2em 0;
}

.video-block video {
  display: block;
  width: 100%;
  border: 5px solid var(--ink);
  background: #000;
}

.video-block figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------
   КОНТАКТЫ ПОД СТАТЬЁЙ
   ------------------------------------------------------------ */

.contacts {
  background: var(--ink);
  padding: 90px 24px 100px;
}

.contacts-title {
  max-width: 760px;
  margin: 0 auto 1.4em;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #ffffff;
}

.contacts-title::before {
  content: "";
  display: block;
  width: 64px;
  height: 8px;
  background: var(--red);
  margin-bottom: 18px;
}

.contacts-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .contacts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  border: 4px solid #ffffff;
  padding: 26px 22px 28px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-card:hover {
  border-color: var(--red);
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.contact-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #b5b5b5;
  margin-bottom: auto;
  padding-bottom: 16px;
}

.contact-link {
  align-self: flex-start;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 3px solid var(--red);
  word-break: break-all;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--red);
  border-color: #ffffff;
}

.contact-link--tor {
  font-size: 0.85rem;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */

.site-footer {
  border-top: 4px solid var(--ink);
  background: var(--paper);
}

.site-footer p {
  text-align: center;
  padding: 38px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 560px) {
  .hero {
    padding-top: 36px;
  }

  .flag-wrap {
    margin-bottom: 44px;
  }

  .figures {
    gap: 12px;
    padding-top: 40px;
  }

  .figure:nth-of-type(1),
  .figure:nth-of-type(3),
  .figure:nth-of-type(5) { height: 76px; }
  .figure:nth-of-type(2),
  .figure:nth-of-type(4),
  .figure:nth-of-type(6) { height: 110px; }

  .article {
    padding: 72px 20px 90px;
  }

  .circle-link {
    width: 150px;
  }

  .video-block video {
    border-width: 4px;
  }
}
