/* CAVIARSHOW v2 — токены из BRIEF.md */

@font-face { font-family: "Geologica"; font-weight: 500; font-display: swap;
  src: url(assets/fonts/geologica-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 500; font-display: swap;
  src: url(assets/fonts/geologica-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Geologica"; font-weight: 700; font-display: swap;
  src: url(assets/fonts/geologica-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 700; font-display: swap;
  src: url(assets/fonts/geologica-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap;
  src: url(assets/fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap;
  src: url(assets/fonts/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap;
  src: url(assets/fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap;
  src: url(assets/fonts/onest-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

:root {
  --bg: #1a1411;
  --bg-2: #241c17;
  --line: #3a2e26;
  --text: #ece4da;
  --text-2: #a8998a;
  --accent: #c4532f;
  --accent-hi: #d8643e;
  --gold: #d4a94a;

  --f-display: "Geologica", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, sans-serif;

  --s-1: 16px; --s-2: 20px; --s-3: 25px; --s-4: 39px; --s-5: 61px;
  --gap-section: clamp(72px, 10vw, 140px);
  --pad-x: clamp(16px, 5vw, 64px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--s-1)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(var(--s-4), 5vw, var(--s-5)); line-height: 1.05; }
h3 { font-size: var(--s-2); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--text-2); }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }

/* кнопка: прямоугольник, не таблетка */
.btn {
  display: inline-block; padding: 14px 24px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff4ec; font: 500 var(--s-1)/1.2 var(--f-body);
  text-decoration: none; cursor: pointer; transition: background-color .15s;
}
.btn:hover { background: var(--accent-hi); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* ── шапка ── */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px; padding: 20px var(--pad-x);
}
.wordmark { font: 700 var(--s-2)/1 var(--f-display); letter-spacing: 0.04em; text-decoration: none; }
.bar-nav { display: none; gap: 28px; margin-left: auto; }
.bar-nav a, .bar-phone { text-decoration: none; color: var(--text); opacity: .85; }
.bar-nav a:hover, .bar-phone:hover { opacity: 1; }
.bar-phone { margin-left: auto; font-size: 15px; }
@media (min-width: 900px) {
  .bar-nav { display: flex; }
  .bar-phone { margin-left: 0; }
}

/* ── hero ── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #120e0c;
}
.hero-photo, .hero-photo img, .hero-lens {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero { --hero-pos: 22% 62%; }
@media (min-aspect-ratio: 1/1) { .hero { --hero-pos: 50% 40%; } }
.hero-photo img { object-fit: cover; object-position: var(--hero-pos); }
.hero-lens { display: block; opacity: 0; transition: opacity .6s; }
.hero-lens.on { opacity: 1; }
/* затемнение снизу под текст, не градиент ради градиента */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 38% at 50% 47%, rgba(14,12,20,.62), rgba(14,12,20,0) 100%);
}
.hero-copy {
  position: relative; z-index: 2; width: 100%;
  padding: 0 var(--pad-x) 12vh;
  display: grid; gap: 16px; justify-items: center; text-align: center; pointer-events: none;
}
.hero-copy a { pointer-events: auto; }
.hero h1 { font-size: clamp(38px, 6.4vw, 92px); line-height: .95; letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(10,8,14,.55); }
.hero-sub { max-width: 44ch; color: var(--text); font-size: 17px; text-shadow: 0 1px 12px rgba(10,8,14,.8); }
.hero-act { display: grid; justify-items: center; gap: 12px; margin-top: 8px; }
.hero-facts { color: #d8ccbf; font-size: 15px; text-shadow: 0 1px 10px rgba(10,8,14,.8); }

/* ── площадки ── */
.venues { padding-block: var(--gap-section) calc(var(--gap-section) * .6); }
.venues h2 { margin-bottom: 40px; max-width: 14ch; }
.venue-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; }
.venue img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.venue-cap { padding-top: 12px; display: grid; gap: 2px; }
.venue-cap p { color: var(--text-2); font-size: 15px; }
@media (min-width: 900px) {
  .venue-grid { grid-template-columns: repeat(6, 1fr); }
  .venue { grid-column: span 2; }
  .venue--lead { grid-column: 1 / span 4; grid-row: span 2; }
  .venue--lead .art { height: calc(100% - 64px); }
  .venue--lead img { aspect-ratio: auto; height: 100%; }
  .venue--lead h3 { font-size: var(--s-3); }
}

/* ── шоу: поле икры ── */
.field { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; background: #0f0b09; }
.field-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.field-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.field.webgl .field-canvas { display: block; }
.field.webgl .field-fallback { display: none; }
.field::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, rgba(15,11,9,.9) 0%, rgba(15,11,9,.65) 38%, rgba(15,11,9,0) 62%);
}
.field-copy { position: relative; z-index: 2; width: 100%; padding-block: 56px; pointer-events: none; }
.field-copy h2 { max-width: 16ch; }
.field-copy p { margin-top: 16px; max-width: 40ch; color: var(--text); font-size: 17px; }

.steps { list-style: none; margin: 0; padding: var(--gap-section) 0 0; display: grid; gap: clamp(56px, 8vw, 112px); }
.step { display: grid; gap: 20px; }
.step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.step-text { display: grid; gap: 10px; max-width: 42ch; }
.step-text h3 { font-size: var(--s-3); }
.step-text p { color: var(--text-2); }
@media (min-width: 900px) {
  .step { grid-template-columns: 9fr 4fr; align-items: end; gap: 48px; margin-inline: calc(var(--pad-x) * -1); }
  .step:nth-child(even) { grid-template-columns: 4fr 9fr; }
  .step:nth-child(even) img { order: 2; }
  .step-text { padding-bottom: 12px; }
}

/* ── цена ── */
.price { padding-block: var(--gap-section); }
.price-inner { display: grid; gap: 28px; border-top: 1px solid var(--line); padding-top: 40px; }
.price-num { font: 700 clamp(48px, 9vw, 120px)/.95 var(--f-display); letter-spacing: -0.04em; }
.price-text { display: grid; gap: 14px; max-width: 52ch; }
.price-text h2 { font-size: var(--s-3); }
@media (min-width: 900px) { .price-inner { grid-template-columns: 7fr 5fr; align-items: end; } }

/* ── заявка ── */
.lead { padding-block: 0 var(--gap-section); }
.lead-inner { display: grid; gap: 32px; background: var(--bg-2); padding-block: 48px; border-radius: var(--radius); }
.lead h2 { font-size: clamp(var(--s-3), 4vw, var(--s-4)); margin-bottom: 12px; }
.lead a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; color: var(--text-2); }
.form input:not([type=checkbox]), .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font: 400 var(--s-1)/1.4 var(--f-body);
}
.form textarea { resize: vertical; }
.form ::placeholder { color: #7d6f63; }
.form .consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.form .btn { justify-self: start; }
.form-status { min-height: 1.6em; font-size: 15px; }
.form-status.err { color: #e98a6b; }
@media (min-width: 900px) { .lead-inner { grid-template-columns: 5fr 7fr; padding: 64px; } }

/* ── футер ── */
.foot { border-top: 1px solid var(--line); padding-block: 32px; font-size: 15px; color: var(--text-2); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot .wordmark { color: var(--text); margin-right: auto; font-size: var(--s-1); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ── икринка за курсором ── */
.roe {
  position: fixed; left: 0; top: 0; z-index: 50; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s, width .2s, height .2s, margin .2s;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,248,235,.9) 0 7%, rgba(255,248,235,0) 14%),
    radial-gradient(circle at 60% 68%, rgba(150,80,35,.35), rgba(150,80,35,0) 45%),
    radial-gradient(circle at 50% 50%, #120b08 0 55%, #040202 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
}
.roe.on { opacity: 1; }
.roe.hide { opacity: 0; }
.roe.gilded {
  background:
    radial-gradient(circle at 34% 30%, #fffbe8 0 9%, rgba(255,251,232,0) 18%),
    radial-gradient(circle at 50% 50%, #f1cf73 0 30%, #b8862c 70%, #6e4a12 100%);
}
.gold { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 49; pointer-events: none; }

/* ── картина маслом, под курсором проступает реальное фото ── */
@property --rr { syntax: "<length>"; inherits: true; initial-value: 0px; }
.art { position: relative; --rr: 0px; --mx: 50%; --my: 50%; transition: --rr .45s cubic-bezier(.2,.7,.2,1); }
.art .real {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--rr) * .55), transparent var(--rr));
          mask-image: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--rr) * .55), transparent var(--rr));
}
@media (pointer: fine) { .art:hover { --rr: 130px; } }

.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── орнамент-росчерк у шагов ── */
.step { position: relative; }
.orn { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orn path { fill: none; stroke: #b98c45; stroke-width: 1.3; stroke-linecap: round; opacity: .85; }
.orn path.draw { transition: stroke-dashoffset 2.2s cubic-bezier(.45,.05,.2,1); }

/* ── логотип: осётр обнимает вордмарк ── */
.logo { position: relative; display: block; width: 150px; container-type: inline-size; text-decoration: none; flex: none; }
.logo img { width: 100%; height: auto; filter: drop-shadow(0 0 14px rgba(236, 200, 130, .22)) drop-shadow(0 4px 12px rgba(8, 6, 10, .5)); }
.logo span {
  position: absolute; left: 45%; top: 62%; transform: translate(-50%, -50%);
  font: 700 7.9cqw/1 var(--f-display); letter-spacing: .07em; white-space: nowrap;
  color: #ecd9a6; text-shadow: 0 1px 8px rgba(8, 6, 10, .7);
}
@media (min-width: 900px) { .bar .logo { width: 230px; } }
.bar { padding-top: 12px; }
.logo--foot { width: 320px; margin-right: auto; }
@media (max-width: 600px) { .logo--foot { width: 240px; } }

.bar::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(12,10,16,.55), rgba(12,10,16,0)); }
