:root {
  --primary: #5c6b2f;
  --bg: #f7f6ec;
  --ink: #23260f;
  --accent: #bc8a2e;
  --paper: #ffffff;
  --line: #e0dfc8;
  --mute: #5a5c38;
  --deep: #363d18;
  --display: 'Jost', system-ui, sans-serif;
  --body: 'Jost', system-ui, sans-serif;
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1160px, 92vw); margin-inline: auto; }
h1 { font-size: clamp(28px, 4.5vw, 50px); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 700; line-height: 1.1; }
h3 { font-size: 18px; font-weight: 700; }
p { color: var(--mute); font-size: 15px; }

.dm-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}

/* header */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247,246,236,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo {
  font-weight: 800; font-size: 20px;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.logo__pipe { color: var(--accent); font-size: 24px; font-weight: 300; }
.hnav { display: flex; gap: 22px; margin-left: auto; }
.hnav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--mute); transition: color .15s; }
.hnav a:hover { color: var(--primary); }

/* hbtn */
.hbtn {
  display: inline-flex; align-items: center;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r);
  border: none; cursor: pointer;
  white-space: nowrap;
  transition: background .15s, transform .12s;
}
.hbtn:hover { background: var(--deep); transform: translateY(-1px); }
.hbtn--line {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.hbtn--line:hover { background: var(--primary); color: #fff; }
.hbtn--white { background: #fff; color: var(--primary); }
.hbtn--white:hover { background: #f0efdf; }
.hbtn--lg { padding: 16px 30px; font-size: 15px; }

/* hero mosaic */
.hero-mosaic { padding: clamp(44px, 6vw, 80px) 0; }
.hero-mosaic__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-mosaic__info > p { max-width: 48ch; margin: 14px 0 28px; }
.hero-mosaic__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto auto;
  gap: 12px;
}
.mosaic-cell { border-radius: var(--r); overflow: hidden; }
.mosaic-cell--img {
  grid-column: 1 / -1;
  height: clamp(220px, 28vw, 340px);
}
.mosaic-cell--img img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-cell--stat {
  background: var(--ink);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mc-val { font-size: 28px; font-weight: 900; color: var(--accent); line-height: 1; }
.mc-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); margin-top: 4px; }
.mosaic-cell--tag {
  grid-column: 1 / -1;
  background: var(--primary);
  padding: 12px 18px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
}

/* tables section */
.tables-section { padding: clamp(52px, 7vw, 84px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.section-title { max-width: 54ch; margin-bottom: 36px; }
.section-title p { margin-top: 8px; }
.tables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.table-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.table-card__kind {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tc-kind--rus  { background: rgba(92,107,47,.12); color: var(--primary); }
.tc-kind--pool { background: rgba(188,138,46,.12); color: var(--accent); }
.tc-kind--snooker { background: rgba(35,38,15,.1); color: var(--ink); }
.tc-kind--vip  { background: rgba(188,138,46,.2); color: var(--accent); }
.table-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.table-card p { font-size: 13.5px; flex: 1; }
.table-card__price { margin-top: 14px; font-weight: 700; color: var(--accent); font-size: 15px; }

/* tournament section */
.tournament-section { padding: clamp(52px, 7vw, 84px) 0; background: var(--ink); }
.tournament-section__in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.tournament-section__text h2 { color: #fff; margin: 8px 0 14px; }
.tournament-section__text > p { color: rgba(255,255,255,.72); max-width: 44ch; margin-bottom: 20px; }
.tournament-facts { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.tournament-facts li { font-size: 14px; color: rgba(255,255,255,.75); padding-left: 16px; position: relative; }
.tournament-facts li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); font-size: 12px; top: 2px; }
.tournament-facts strong { color: var(--accent); }
.bracket-preview { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 24px; }
.bracket-round { margin-bottom: 20px; }
.br-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.br-match {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  gap: 4px;
}
.br-match span { font-size: 13px; color: rgba(255,255,255,.7); }
.br-match--active { border-color: rgba(188,138,46,.4); }
.br-match--final { border-color: var(--accent); background: rgba(188,138,46,.08); }
.br-match--final span { color: var(--accent); font-weight: 700; }
.bracket-note { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 12px; }

/* membership section */
.membership-section { padding: clamp(52px, 7vw, 84px) 0; }
.membership-section__sub { color: var(--mute); max-width: 52ch; margin: 10px 0 32px; }
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  position: relative;
}
.mem-card--accent { border-color: var(--accent); background: rgba(188,138,46,.04); }
.mem-card__popular {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.mem-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.mem-card p { font-size: 14px; flex: 1; }
.mem-card__price { margin-top: 16px; font-size: 20px; font-weight: 800; color: var(--ink); }

/* cta bar */
.cta-bar { padding: clamp(44px, 6vw, 72px) 0; }
.cta-bar__in {
  background: linear-gradient(130deg, var(--primary), var(--deep));
  border-radius: calc(var(--r) + 6px);
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-bar__in h2 { color: #fff; }
.cta-bar__in > div > p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 14px; }

/* foot */
.foot { background: var(--ink); padding: 28px 0; }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .hero-mosaic__wrap { grid-template-columns: 1fr; }
  .tables-grid { grid-template-columns: repeat(2, 1fr); }
  .tournament-section__in { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr 1fr; }
  .hnav { display: none; }
}
@media (max-width: 520px) {
  .tables-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
}
