@font-face {
  font-family: Cygre;
  src: url("../fonts/Cygre-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cygre;
  src: url("../fonts/Cygre-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #c8102e;
  --red-deep: #8b0e22;
  --red-soft: #f6d5da;
  --navy: #16324f;
  --navy-deep: #0d2136;
  --ink: #161214;
  --muted: #6b625c;
  --paper: #f4ede6;
  --paper-2: #ebe2d8;
  --white: #ffffff;
  --line: rgba(22, 18, 20, 0.12);
  --shadow: 0 18px 50px rgba(22, 18, 20, 0.12);
  --max: 1180px;
  --header: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Cygre, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  min-height: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header);
  z-index: 50;
  display: flex; align-items: center;
  transition: background .25s, box-shadow .25s, color .25s;
  color: var(--white);
}
.site-header.is-solid {
  background: rgba(22, 18, 20, .94);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.site-header .wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: .02em;
}
.logo-mark,
.logo img {
  width: auto; height: 58px; flex: 0 0 auto; max-width: 52px;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small {
  font-weight: 400; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; opacity: .78;
}
.logo-text strong { font-size: 15px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 14px; opacity: .88;
  position: relative;
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a.is-active::after,
.nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--red);
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.burger {
  display: none; width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 0; cursor: pointer;
  font-weight: 700; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-line {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-line:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  color: #fff; display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: #1a0a0d center/cover no-repeat;
  transform: scale(1.04);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,6,8,.35) 0%, rgba(10,6,8,.28) 40%, rgba(10,6,8,.78) 100%),
    linear-gradient(90deg, rgba(139,14,34,.28), transparent 46%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .22em;
  font-size: 12px; color: var(--red-soft);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 36px; height: 2px; background: var(--red);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  line-height: .92; font-weight: 700;
  margin: 0 0 18px; max-width: 14ch;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hero-lead {
  max-width: 46ch; font-size: 18px; opacity: .92;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: 48px; display: flex; gap: 36px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px;
}
.hero-meta b { display: block; font-size: 22px; }
.hero-meta span { font-size: 13px; opacity: .75; }

@media (min-width: 901px) and (max-height: 550px) {
  .hero-inner {
    padding: 0 0 28px;
    transform: translateY(-18px);
  }
  .hero h1 {
    font-size: clamp(26px, 6.2vh, 44px);
    margin-bottom: 10px;
  }
  .hero-lead {
    font-size: 14px;
    margin-bottom: 14px;
    max-width: 52ch;
  }
  .hero-actions .btn { min-height: 40px; padding: 0 16px; font-size: 12px; }
  .hero-meta { margin-top: 16px; padding-top: 12px; gap: 20px; }
  .hero-meta b { font-size: 16px; }
}

/* Sections */
.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-deep); color: #fff; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  color: var(--red); text-transform: uppercase; letter-spacing: .2em;
  font-size: 12px; font-weight: 700; margin: 0 0 10px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 46px); line-height: 1.08;
  margin: 0 0 18px; max-width: 18ch;
}
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 0 0 36px; }
.section-navy .lead { color: rgba(255,255,255,.72); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: 36px;
}

.section-memory {
  position: relative;
  overflow: hidden;
}
.section-memory::before {
  content: "";
  position: absolute;
  left: 2%;
  top: 50%;
  width: min(420px, 46vw);
  height: 130%;
  transform: translateY(-50%);
  background: url("../img/logo.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.section-memory .wrap {
  position: relative;
  z-index: 1;
}
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.split img, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame {
  position: relative; overflow: hidden; min-height: 460px;
  box-shadow: var(--shadow);
}
.frame::after {
  content: "14"; position: absolute; right: 16px; bottom: -18px;
  font-size: 120px; font-weight: 700; color: var(--red); opacity: .22;
  line-height: 1; pointer-events: none;
}
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  padding: 12px 0 12px 36px; position: relative;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 16px; height: 16px; border: 2px solid var(--red);
  transform: rotate(45deg);
}

.schedule { margin: 16px 0 6px; }
.schedule-day {
  font-weight: 700; font-size: 14px; margin: 14px 0 4px; letter-spacing: .02em;
}
.schedule ul { list-style: none; padding: 0; margin: 0; }
.schedule li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.schedule-score {
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--red);
}

/* Cup teaser */
.cup-card {
  display: grid; grid-template-columns: 1.1fr .9fr;
  background: var(--white); color: var(--ink);
  overflow: hidden; box-shadow: var(--shadow);
}
.cup-card-body { padding: 40px; }
.cup-card h3 { font-size: 32px; margin: 8px 0 12px; }
.teams { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip {
  border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; font-weight: 700;
  background: var(--paper);
}
.cup-photo { min-height: 320px; background: #111 center/cover no-repeat; }

/* News */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.news-card {
  background: #fff; display: flex; flex-direction: column;
  min-height: 100%; box-shadow: 0 10px 30px rgba(22,18,20,.06);
  transition: transform .2s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card .thumb {
  aspect-ratio: 16/10; overflow: hidden; background: #222;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .cat { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.news-card h3 { font-size: 20px; margin: 0; line-height: 1.25; }
.news-card p { color: var(--muted); margin: 0; flex: 1; }
.news-card time { font-size: 13px; color: var(--muted); }
.news-card[hidden] { display: none !important; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filter {
  border: 1px solid var(--line); background: #fff; padding: 8px 14px;
  cursor: pointer; font-size: 13px; font-weight: 700;
}
.filter.is-on, .filter:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Social / join */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  min-width: 52px; height: 52px; padding: 0 10px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 700;
  font-size: 13px; letter-spacing: .04em;
}
.social:hover { background: var(--red); border-color: var(--red); }

/* Footer */
.site-footer {
  background: var(--ink); color: #fff; padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer h4 { margin: 0 0 12px; font-size: 16px; }
.site-footer a { opacity: .8; }
.site-footer a:hover { opacity: 1; color: var(--red-soft); }
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-nav a { display: block; line-height: 1.35; }
.footer-nav a.is-active::after,
.footer-nav a:hover::after { display: none; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; font-size: 13px; opacity: .65;
}

/* Inner pages */
.page-hero {
  position: relative; min-height: 42vh; color: #fff;
  display: flex; align-items: flex-end;
  background: #1a0a0d center/cover no-repeat;
  padding: 140px 0 48px;
}
.page-hero--bottom {
  min-height: 58vh;
  background-position: center bottom;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,6,8,.35), rgba(10,6,8,.72));
}
.page-hero--bottom::after {
  background: linear-gradient(180deg, rgba(10,6,8,.22) 0%, rgba(10,6,8,.42) 48%, rgba(10,6,8,.78) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 6vw, 68px); margin: 0; line-height: .95; }

.prose { max-width: 74ch; }
.prose p { font-size: 17px; color: #3a3432; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }
.people {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px;
  align-items: stretch;
}
.person {
  background: var(--paper); margin: 0;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow);
}
.person img { width: 100%; height: 380px; object-fit: cover; }
.person--onokov img { object-position: 50% 10%; }
.person--founders img { object-position: 50% 18%; }
.person figcaption { padding: 22px 24px 26px; flex: 1; }
.person strong { display: block; font-size: 20px; margin: 0 0 8px; line-height: 1.25; }
.person figcaption p { margin: 0; color: #3a3432; font-size: 16px; }
.person span { color: var(--muted); font-size: 14px; }
.gallery-about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px;
}
.gallery-about img { width: 100%; height: 280px; object-fit: cover; }
.gallery-about .wide {
  grid-column: 1 / -1;
  height: auto; min-height: 320px; aspect-ratio: 16 / 9;
  object-position: center bottom;
}
.president {
  max-width: 62ch;
  padding: 28px 32px;
  background: var(--paper);
  border-left: 4px solid var(--red);
}
.president h3 { font-size: 28px; margin: 6px 0 12px; }
.president p { margin: 0; color: #3a3432; font-size: 17px; }

.gallery {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 28px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { min-height: 520px; }
.gallery .stack { display: grid; gap: 12px; }

.founders {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.founder {
  background: #fff; padding: 28px 24px; min-height: 220px;
  border-top: 4px solid var(--red);
}
.founder .logo-slot {
  height: 64px; display: flex; align-items: center; margin-bottom: 16px;
  font-weight: 700; color: var(--navy);
}
.founder p { color: var(--muted); margin: 8px 0 0; }

.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); background: #fff;
  padding: 12px 14px; font-size: 15px; color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.form-ok { display: none; padding: 14px 16px; background: #e7f6ea; color: #165b2b; margin-top: 12px; }
.form-ok.is-show { display: block; }
.map {
  margin-top: 28px; min-height: 280px; background: var(--paper-2);
  display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px;
}

.single-post .section { padding-top: calc(var(--header) + 48px); }
.article { max-width: 820px; margin: 0 auto; }
.article-hero-img { width: 100%; max-height: 520px; object-fit: cover; margin: 0 0 28px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* Cookie */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: var(--ink); color: #fff;
  display: none; gap: 16px; align-items: center; justify-content: space-between;
  padding: 16px 18px; box-shadow: var(--shadow); max-width: 980px; margin: 0 auto;
}
.cookie.is-show { display: flex; }
.cookie p { margin: 0; font-size: 14px; opacity: .9; }
.cookie a { text-decoration: underline; }

/* Mobile */
@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header); left: 0; right: 0;
    background: rgba(22,18,20,.96); padding: 20px 24px 28px; gap: 16px;
  }
  .burger { display: grid; place-items: center; }
  .split, .cup-card, .news-grid, .people, .gallery, .founders, .contact-grid, .footer-grid, form .row {
    grid-template-columns: 1fr;
  }
  .frame, .gallery .tall { min-height: 320px; }
  .person img { height: 300px; }
  .page-hero--bottom { min-height: 48vh; }
  .gallery-about .wide { min-height: 220px; }
  .section { padding: 64px 0; }
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-top: var(--header);
  }
  .hero-inner {
    padding: 0 0 16px;
    transform: none;
  }
  .cookie { flex-direction: column; align-items: stretch; }
  .section-memory::before {
    left: 50%;
    width: 70vw;
    transform: translate(-50%, -50%);
    opacity: 0.06;
  }
}
