/* ==========================================================================
   Samarish Darts Club — samarish.rockchat1.ru
   Дизайн-система: тёмный хвойный + кремовый + латунь + вольная Волга
   ========================================================================== */

/* ---------- Шрифты (self-hosted, subset cyrillic+latin) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-600-cyrillic.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-500i-cyrillic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-500i-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Prata';
  src: url('../assets/fonts/Prata-400-cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Prata';
  src: url('../assets/fonts/Prata-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-400-cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-600-cyrillic.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-700-cyrillic.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-700-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  --ink: #081A14;
  --green-900: #0A2019;
  --green-850: #0C271E;
  --green-800: #103026;
  --green-700: #173E31;
  --green-600: #1F5240;
  --moss: #2E6A51;
  --cream: #F3EADA;
  --cream-2: #EADFC9;
  --cream-3: #DED0B4;
  --brass: #C9A24B;
  --brass-soft: #E3C77E;
  --ember: #D9502A;
  --volga: #3E7F7C;

  --font-display: 'Cormorant Garamond', 'Playfair Display', 'Times New Roman', serif;
  --font-name: Copperplate, 'Copperplate Gothic Light', 'Copperplate Gothic Bold', Prata, Georgia, serif;
  --font-body: Manrope, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --wrap: min(1180px, 100% - clamp(2rem, 6vw, 5rem));
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-1: 0 1px 0 rgba(243, 234, 218, .06), 0 18px 40px -24px rgba(0, 0, 0, .8);
  --shadow-2: 0 30px 80px -40px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--brass) var(--green-900); }
body {
  margin: 0;
  background: var(--green-900);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(15px, .55vw + 13.4px, 17px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass-soft); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass); color: var(--ink); }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--ink);
  font-weight: 700; border-radius: var(--radius); transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Сетка и базовая типографика ---------- */
.wrap { width: var(--wrap); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4rem, 9vw, 8rem); }
.section--dark { background: var(--green-900); color: var(--cream); }
.section--deep { background: var(--green-850); color: var(--cream); }
.section--cream { background: var(--cream); color: var(--green-900); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--font-name); font-size: .74rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brass);
}
.eyebrow::before {
  content: ''; width: 2.1rem; height: 1px; background: currentColor; opacity: .8;
}
.section--cream .eyebrow { color: #8A6A24; }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--brass-soft); }
.section--cream .h2 em { color: var(--moss); }

.lead {
  font-size: clamp(1.02rem, .5vw + .9rem, 1.22rem);
  line-height: 1.7;
  color: rgba(243, 234, 218, .82);
  max-width: 62ch;
}
.section--cream .lead { color: rgba(8, 26, 20, .78); }

/* бумажная фактура */
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .28; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--brass); --btn-fg: #14100A; --btn-bd: var(--brass);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .85rem 1.55rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  box-shadow: 0 10px 26px -14px rgba(201, 162, 75, .85);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); background: var(--brass-soft); box-shadow: 0 16px 34px -16px rgba(227, 199, 126, .9); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(243, 234, 218, .32);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(243, 234, 218, .08); border-color: rgba(243, 234, 218, .55); box-shadow: none; }
.section--cream .btn--ghost { --btn-fg: var(--green-900); --btn-bd: rgba(8, 26, 20, .28); }
.section--cream .btn--ghost:hover { background: rgba(8, 26, 20, .06); border-color: rgba(8, 26, 20, .5); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.link-underline {
  display: inline-flex; align-items: center; gap: .45rem;
  border-bottom: 1px solid rgba(201, 162, 75, .5); padding-bottom: .15rem;
  color: var(--brass-soft); font-weight: 600; transition: border-color .2s, color .2s;
  flex: none; white-space: nowrap;
}
.link-underline svg { width: .95em; height: .95em; flex: none; }
.link-underline:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Хедер ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-block: clamp(.7rem, 1.6vw, 1.1rem);
  background: linear-gradient(to bottom, rgba(8, 26, 20, .82), rgba(8, 26, 20, 0));
  transition: background .35s var(--ease), box-shadow .35s, padding .35s;
}
.site-header.is-stuck {
  background: rgba(8, 26, 20, .92);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 1px 0 rgba(243, 234, 218, .09);
  padding-block: .55rem;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand img { width: auto; height: clamp(38px, 4.6vw, 52px); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.brand-text { display: grid; gap: .15rem; line-height: 1; }
.brand-text img:first-child { height: clamp(15px, 1.6vw, 19px); width: auto; }
.brand-text img:last-child { height: clamp(6px, .7vw, 8px); width: auto; opacity: .72; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.9rem); }
.nav a {
  position: relative; font-size: .79rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(243, 234, 218, .78); padding-block: .35rem; transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover, .nav a[aria-current='true'] { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current='true']::after { transform: scaleX(1); }
.header-cta { flex: none; }
.header-cta .btn { min-height: 2.6rem; padding: .55rem 1.15rem; font-size: .74rem; }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(7rem, 15vh, 10rem) clamp(3.5rem, 8vh, 6rem);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(46, 106, 81, .55) 0%, rgba(10, 32, 25, 0) 60%),
    radial-gradient(70% 60% at 12% 92%, rgba(62, 127, 124, .28) 0%, rgba(10, 32, 25, 0) 65%),
    linear-gradient(180deg, #0B241C 0%, #0A2019 62%, #081A14 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  position: relative; z-index: 2;
}
.hero-copy { display: grid; gap: clamp(1.2rem, 2.4vw, 1.9rem); justify-items: start; }
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: .98; letter-spacing: -.02em;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--brass-soft); }
.hero-title span { display: block; }
.hero-title-sub {
  margin-top: clamp(.4rem, 1vw, .8rem);
  font-size: .38em; line-height: 1.1; font-style: italic; font-weight: 500;
  letter-spacing: 0;
  color: rgba(243, 234, 218, .72);
}
.hero-sub { max-width: 46ch; color: rgba(243, 234, 218, .78); font-size: clamp(.98rem, .4vw + .9rem, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: center;
  font-family: var(--font-name); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(243, 234, 218, .55);
}
.hero-meta i { width: 3px; height: 3px; background: var(--brass); border-radius: 50%; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-art::before {
  content: ''; position: absolute; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, .22);
  box-shadow: inset 0 0 0 12px rgba(201, 162, 75, .04), inset 0 0 90px rgba(201, 162, 75, .12);
}
.hero-art::after {
  content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(243, 234, 218, .12); animation: spin 90s linear infinite;
}
.hero-crest {
  position: relative; z-index: 2; width: min(86%, 420px); height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  animation: float 9s ease-in-out infinite;
}
.hero-board {
  position: absolute; z-index: 1; width: min(46%, 210px); right: -8%; bottom: -12%;
  opacity: .32; transform: rotate(-8deg); filter: saturate(.8);
}
.hero-stamp {
  position: absolute; z-index: 3; left: 0; bottom: 6%;
  display: grid; gap: .2rem; padding: .75rem 1rem;
  border-left: 2px solid var(--brass);
  background: linear-gradient(90deg, rgba(8, 26, 20, .9), rgba(8, 26, 20, 0));
  font-family: var(--font-name); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(243, 234, 218, .7);
}
.hero-stamp strong { font-family: var(--font-body); font-size: .92rem; letter-spacing: .04em; color: var(--cream); text-transform: none; }

.hero-waves { position: absolute; inset: auto 0 0; height: clamp(90px, 14vw, 190px); z-index: 1; opacity: .5; pointer-events: none; }
.hero-waves path { animation: drift 26s ease-in-out infinite alternate; }

/* ---------- Бегущая строка ---------- */
.ticker {
  position: relative; z-index: 3;
  border-block: 1px solid rgba(201, 162, 75, .28);
  background: linear-gradient(90deg, rgba(201, 162, 75, .1), rgba(201, 162, 75, .04));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex; width: max-content; gap: 2.2rem; padding-block: .85rem;
  animation: marquee 42s linear infinite;
  font-family: var(--font-name); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(243, 234, 218, .62); white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 2.2rem; }
.ticker-track i { width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); display: inline-block; }

/* ---------- История ---------- */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.story-copy { display: grid; gap: 1.4rem; }
.story-copy .h2 { margin-bottom: .2rem; }
.story-copy p { color: rgba(8, 26, 20, .8); max-width: 60ch; }
.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-weight: 600;
  font-size: 3.9em; line-height: .78; padding: .08em .12em 0 0; color: #8A6A24;
}
.pullquote {
  margin-top: .6rem; padding: 1.6rem 0 0 1.6rem;
  border-left: 2px solid rgba(138, 106, 36, .45);
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 1.6vw, 1.6rem); line-height: 1.4; color: var(--green-800);
}
.pullquote cite {
  display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #7A5F22;
}

.fact-stack { display: grid; gap: 1px; background: rgba(8, 26, 20, .14); border-block: 1px solid rgba(8, 26, 20, .14); }
.fact {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline;
  padding: 1.15rem .2rem; background: var(--cream);
}
.fact dt {
  font-family: var(--font-name); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #7A5F22;
}
.fact dd { margin: 0; font-weight: 600; color: var(--green-800); line-height: 1.4; }
.fact dd small { display: block; margin-top: .25rem; font-weight: 400; font-size: .8rem; color: rgba(8, 26, 20, .6); }

/* ---------- Карточки ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(243, 234, 218, .13); border-block: 1px solid rgba(243, 234, 218, .13); }
.card {
  position: relative; padding: clamp(1.6rem, 3vw, 2.5rem); background: var(--green-900);
  display: grid; gap: .9rem; align-content: start; isolation: isolate; overflow: hidden;
  transition: background .35s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(90% 120% at 0% 0%, rgba(46, 106, 81, .55), transparent 70%);
  transition: opacity .4s var(--ease);
}
.card:hover::before { opacity: 1; }
.card-icon { width: 2.4rem; height: 2.4rem; color: var(--brass); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.15; }
.card p { color: rgba(243, 234, 218, .7); font-size: .95rem; }
.card-num {
  position: absolute; right: 1.2rem; top: .6rem; z-index: -1;
  font-family: var(--font-display); font-size: 4.6rem; line-height: 1; color: rgba(243, 234, 218, .06);
}

/* ---------- Формат ---------- */
.format-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.steps { display: grid; gap: 1px; background: rgba(8, 26, 20, .14); border-block: 1px solid rgba(8, 26, 20, .14); }
.step {
  display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.15rem .4rem; background: var(--cream);
  transition: background .3s, padding-left .3s var(--ease);
}
.step:hover { background: #F8F1E4; padding-left: .9rem; }
.step-num { font-family: var(--font-name); font-size: .8rem; letter-spacing: .1em; color: #8A6A24; }
.step h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--green-900); }
.step p { margin-top: .15rem; font-size: .86rem; color: rgba(8, 26, 20, .62); }
.step-badge {
  font-family: var(--font-name); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-800); border: 1px solid rgba(8, 26, 20, .2); border-radius: 999px; padding: .3rem .7rem; white-space: nowrap;
}
.format-note { margin-top: 1.2rem; font-size: .82rem; color: rgba(8, 26, 20, .55); max-width: 46ch; }

.bracket { width: 100%; height: auto; color: var(--green-800); }
.bracket .b-line { stroke: currentColor; stroke-width: 1.2; opacity: .28; fill: none; }
.bracket .b-node { fill: var(--cream); stroke: currentColor; stroke-width: 1.2; opacity: .95; }
.bracket .b-win { fill: var(--brass); stroke: none; }
.bracket text { font-family: var(--font-body); font-size: 9px; font-weight: 600; fill: currentColor; opacity: .72; letter-spacing: .06em; }
.bracket .b-label { font-family: var(--font-name); font-size: 8px; letter-spacing: .2em; opacity: .55; }

/* ---------- Архив ---------- */
.archive-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; border: 1px solid rgba(243, 234, 218, .16); border-radius: 999px; }
.tab {
  padding: .5rem 1.1rem; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(243, 234, 218, .62); transition: background .25s, color .25s;
}
.tab[aria-selected='true'] { background: var(--brass); color: #14100A; }
.tab:hover:not([aria-selected='true']) { color: var(--cream); background: rgba(243, 234, 218, .07); }

.table-wrap { margin-top: 2rem; overflow-x: auto; }
.tour-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.tour-table caption { text-align: left; padding-bottom: 1rem; color: rgba(243, 234, 218, .55); font-size: .8rem; }
.tour-table th {
  text-align: left; padding: .7rem .8rem; font-family: var(--font-name); font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 234, 218, .5);
  border-bottom: 1px solid rgba(243, 234, 218, .18); font-weight: 400; white-space: nowrap;
}
.tour-table td { padding: .95rem .8rem; border-bottom: 1px solid rgba(243, 234, 218, .1); vertical-align: baseline; }
.tour-table tbody tr { transition: background .2s; }
.tour-table tbody tr:hover { background: rgba(243, 234, 218, .04); }
.tour-table .t-date { font-family: var(--font-name); font-size: .8rem; color: var(--brass-soft); white-space: nowrap; }
.tour-table .t-name { font-weight: 600; color: var(--cream); }
.tour-table .t-name small { display: block; margin-top: .2rem; font-weight: 400; font-size: .78rem; color: rgba(243, 234, 218, .5); }
.tour-table .t-win { color: rgba(243, 234, 218, .85); }
.tour-table .t-win b { color: var(--cream); font-weight: 700; }
.tour-table .t-count { text-align: right; font-variant-numeric: tabular-nums; color: rgba(243, 234, 218, .65); }
.tour-table td.t-count { text-align: right; }
.archive-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; font-size: .82rem; color: rgba(243, 234, 218, .55); }

/* ---------- Игроки ---------- */
.players { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 2.5rem; }
.player { display: grid; gap: .9rem; align-items: start; }
.player-mono {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 190px; width: 100%;
  border: 1px solid rgba(8, 26, 20, .18); border-radius: 50%;
  background: radial-gradient(80% 80% at 30% 25%, #FBF6EA, #E7DAC2);
  font-family: var(--font-name); font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--green-800);
  letter-spacing: .06em;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.player:hover .player-mono { transform: translateY(-4px); border-color: rgba(201, 162, 75, .7); box-shadow: 0 18px 34px -24px rgba(8, 26, 20, .8); }
.player-mono::after {
  content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(8, 26, 20, .2);
}
.player-name { font-family: var(--font-name); font-size: .95rem; letter-spacing: .05em; color: var(--green-900); line-height: 1.25; }
.player-rank {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #7A5F22;
}
.player-rank::before { content: ''; width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }
.players-note { margin-top: 2rem; font-size: .8rem; color: rgba(8, 26, 20, .55); max-width: 70ch; }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(243, 234, 218, .14); border-block: 1px solid rgba(243, 234, 218, .14); }
.stat { padding: clamp(1.4rem, 2.6vw, 2.2rem); background: var(--green-900); display: grid; gap: .35rem; }
.stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1; color: var(--brass-soft); }
.stat span { font-size: .84rem; color: rgba(243, 234, 218, .72); }
.stat small { font-size: .72rem; color: rgba(243, 234, 218, .42); }

/* ---------- Контакты ---------- */
.contact-panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(2rem, 4.5vw, 3.6rem);
  border: 1px solid rgba(201, 162, 75, .3); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(46, 106, 81, .5), transparent 60%),
    linear-gradient(160deg, #0C271E, #081A14);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.contact-panel::after {
  content: ''; position: absolute; right: -6%; bottom: -22%; width: min(46%, 380px); aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 75, .25); border-radius: 50%; pointer-events: none;
}
.contact-copy { display: grid; gap: 1.1rem; justify-items: start; position: relative; z-index: 1; }
.contact-list { display: grid; gap: .9rem; margin-top: .4rem; }
.contact-item { display: grid; gap: .3rem; }
.contact-item dt { display: flex; align-items: center; gap: .55rem; font-family: var(--font-name); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 234, 218, .5); }
.contact-item dt svg { width: 1.05rem; height: 1.05rem; color: var(--brass); flex: none; }
.contact-item dd { margin: 0; font-weight: 600; color: var(--cream); font-size: .98rem; }
.contact-item dd a { border-bottom: 1px solid rgba(201, 162, 75, .45); }
.contact-item dd a:hover { color: var(--brass-soft); border-color: var(--brass-soft); }
.contact-note { margin-top: .4rem; font-size: .8rem; color: rgba(243, 234, 218, .5); max-width: 42ch; }
.contact-map {
  position: relative; z-index: 1; display: grid; gap: .8rem; justify-items: center; text-align: center;
  padding: 1.4rem; border: 1px dashed rgba(243, 234, 218, .2); border-radius: var(--radius);
  font-size: .84rem; color: rgba(243, 234, 218, .6);
}
.contact-map b { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--cream); letter-spacing: .01em; }

/* ---------- Подвал ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(243, 234, 218, .62); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
.footer-brand { display: grid; gap: 1rem; justify-items: start; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { font-size: .86rem; max-width: 30ch; color: rgba(243, 234, 218, .55); }
.footer-col h3 { font-family: var(--font-name); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid rgba(243, 234, 218, .1);
  font-size: .76rem; color: rgba(243, 234, 218, .42);
}
.to-top {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(243, 234, 218, .6); transition: color .2s;
}
.to-top:hover { color: var(--brass-soft); }
.to-top svg { width: .9em; height: .9em; }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: .08s; }
.reveal[data-delay='2'] { transition-delay: .16s; }
.reveal[data-delay='3'] { transition-delay: .24s; }

/* ---------- Анимации ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-2%) scaleY(1); } to { transform: translateX(2%) scaleY(1.08); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { order: -1; min-height: 260px; }
  .hero-crest { width: min(64%, 300px); }
  .hero-stamp { display: none; }
  .story-grid, .format-grid, .contact-panel { grid-template-columns: 1fr; }
  .players { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
/* меню на мобильных создаётся только в медиазапросе */
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .mobile-menu { display: grid; }
  .nav, .header-cta { display: none; }
  .burger {
    display: inline-flex; align-items: center; gap: .6rem; margin-inline-start: auto;
    padding: .55rem .9rem; border: 1px solid rgba(243, 234, 218, .22); border-radius: 999px;
    font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  }
  .burger-bars { display: grid; gap: 4px; }
  .burger-bars span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded='true'] .burger-bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .burger[aria-expanded='true'] .burger-bars span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded='true'] .burger-bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 55; display: grid; align-content: start; gap: .4rem;
    padding: 6rem var(--wrap) 2rem;
    background: linear-gradient(180deg, #0B241C, #07160F);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a {
    font-family: var(--font-display); font-size: 1.7rem; padding-block: .7rem;
    border-bottom: 1px solid rgba(243, 234, 218, .1);
  }
  .mobile-menu .btn { margin-top: 1.4rem; justify-self: start; }
  .mobile-menu small { margin-top: 1.6rem; color: rgba(243, 234, 218, .45); font-size: .8rem; }
  .cards { grid-template-columns: 1fr; }
  .players { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .archive-head { align-items: start; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .players { gap: 1rem .8rem; }
  .player-name { font-size: .86rem; }
  .tabs .tab { padding: .45rem .8rem; font-size: .68rem; }
  .step { grid-template-columns: 2.2rem 1fr; }
  .step-badge { grid-column: 2; justify-self: start; }
}

/* --- подпись бренда в шапке (Copperplate-подобная) --- */
.brand-sub {
  font-family: var(--font-name);
  font-size: clamp(.5rem, .55vw, .6rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(243, 234, 218, .66);
}

/* --- круговая надпись вокруг герба --- */
.hero-ring {
  position: absolute; z-index: 1; width: min(104%, 540px); height: auto;
  opacity: .55; animation: spin 120s linear infinite;
}
.ring-text {
  font-family: var(--font-name); font-size: 13px; letter-spacing: .26em;
  fill: rgba(201, 162, 75, .85); text-transform: uppercase;
}
@media (max-width: 1024px) { .hero-ring { width: min(92%, 420px); } }

/* --- утилиты отступов (вместо inline style: CSP без unsafe-inline) --- */
.stack-sm { margin-top: 1.2rem; }
.stack-md { margin-top: 2rem; }
.stack-lg { margin-top: clamp(2rem, 4vw, 3.2rem); }
.stack-stats { margin-top: 2.2rem; }
.h2-tight { margin-top: .6rem; }
.note-mt { margin-top: 1.2rem; }
.actions-mt { margin-top: .6rem; }
.section--flush { padding-block: 0; }
.numbers-inner { padding-block: clamp(3rem, 6vw, 5rem); }
.contact-board { width: min(78%, 240px); opacity: .85; }
.contact-map-meta { margin: 0; }
.tour-table th.t-right { text-align: right; }

/* --- карточка-вывеска в контактах --- */
.contact-title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.contact-map { display: grid; justify-items: center; gap: 1.1rem; padding: 0; border: 0; }
.contact-map-plate {
  position: relative; display: grid; place-items: center;
  width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, .38);
  background: radial-gradient(circle at 50% 40%, rgba(46, 106, 81, .45), rgba(8, 26, 20, .1) 70%);
  box-shadow: inset 0 0 0 10px rgba(201, 162, 75, .05), 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.contact-map-plate::after {
  content: ''; position: absolute; inset: 14px; border-radius: 50%;
  border: 1px dashed rgba(243, 234, 218, .16); animation: spin 90s linear infinite;
}
.contact-board { width: 72%; height: auto; opacity: .95; }
.contact-map-caption { display: grid; gap: .25rem; text-align: center; }
.contact-map-caption b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--cream); }
.contact-map-caption span { font-size: .84rem; color: rgba(243, 234, 218, .62); }
.contact-map-meta { font-family: var(--font-name); font-size: .62rem !important; letter-spacing: .2em; text-transform: uppercase; color: rgba(201, 162, 75, .8) !important; }
