@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #0c120d;
  --bg-2: #121a14;
  --line: rgba(243, 236, 220, 0.1);
  --text: #f3ecdc;
  --muted: #a5ad9f;
  --accent: #ffb03a;
  --accent-ink: #2a1702;
  --glow: rgba(255, 168, 60, 0.22);
  --display: "Unbounded", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* тени — тёплые, как ключевой свет сцены сверху-справа */
  --shadow-1: 0 1px 0 rgba(255, 220, 160, 0.06) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-cta: 0 10px 30px -8px rgba(255, 150, 30, 0.55), 0 2px 0 rgba(255, 240, 200, 0.5) inset;
  --r: 22px;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--display); letter-spacing: 0; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-play { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-cta); }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(255, 150, 30, 0.7), 0 2px 0 rgba(255, 240, 200, 0.5) inset; }
.btn-play svg { width: 16px; height: 16px; }
.btn-ghost { color: var(--text); border: 1px solid rgba(243, 236, 220, 0.28); background: rgba(12, 18, 13, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--text); }
.btn:focus-visible, .lang a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* ---------- шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--pad);
  background: rgba(12, 18, 13, 0.55); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.brand { font: 700 15px/1 var(--display); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.top nav { display: flex; align-items: center; gap: 10px; }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a, .lang span { font: 600 13px/1 var(--display); padding: 10px 12px; text-decoration: none; color: var(--muted); }
.lang [aria-current] { color: var(--accent-ink); background: var(--text); }
@media (max-width: 640px) {
  .top .btn-ghost { display: none; }
  .brand span { display: none; }
}

/* ---------- 3D-сцена (одна на страницу, фиксированная под контентом) ---------- */
.stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #4f93dc 0%, #a9cbe6 38%, #dbe9ec 52%, #6fae4a 53%, #3f7a35 100%);
  transition: opacity .6s ease;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.stage.ready canvas { opacity: 1; }
.stage .poster {
  position: absolute; inset: 0; background: url("../img/farm-day.webp") center / cover no-repeat;
  transition: opacity 1s ease;
}
.stage.ready .poster { opacity: 0; }
.stage.off { opacity: 0; }
.stage::after { /* виньетка для читаемости текста */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 13, 0.62) 0%, rgba(12, 18, 13, 0.18) 38%, rgba(12, 18, 13, 0) 55%),
              linear-gradient(0deg, rgba(12, 18, 13, 0.55), rgba(12, 18, 13, 0) 26%);
}

main { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) clamp(40px, 9vh, 96px); }
.hero-inner { max-width: 760px; }
.kicker { font: 600 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero h1, .hook, .kicker, .final h2, .final p { text-shadow: 0 2px 24px rgba(8, 14, 9, 0.45); }
.hero h1 { font-size: clamp(46px, 8.4vw, 124px); font-weight: 800; }
.hero h1 .num { color: var(--accent); }
.hook { margin-top: 22px; font-size: clamp(18px, 2vw, 23px); color: var(--text); max-width: 34ch; line-height: 1.45; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.scroll-cue { position: absolute; right: var(--pad); bottom: 40px; font: 600 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); display: block; }
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-top: 50svh; }
  .scroll-cue { display: none; }
  .stage::after { background: linear-gradient(0deg, rgba(12, 18, 13, 0.88) 0%, rgba(12, 18, 13, 0.45) 38%, rgba(12, 18, 13, 0) 58%); }
}

/* ---------- скролл-история ---------- */
.story { position: relative; }
.step { min-height: 100svh; display: flex; align-items: center; padding: 0 var(--pad); }
.step-card {
  max-width: 470px; padding: 34px 34px 30px; border-radius: var(--r);
  background: rgba(14, 21, 15, 0.72); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.step:nth-child(even) { justify-content: flex-end; }
.step-n { font: 700 13px/1 var(--display); color: var(--accent); letter-spacing: .12em; }
.step h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 14px 0 16px; }
.step p { color: #d9d4c6; }
.step ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.step li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 10px 2px 0; }
@media (max-width: 760px) {
  .step { align-items: flex-end; padding-bottom: 8svh; }
  .step:nth-child(even) { justify-content: flex-start; }
  .step-card { padding: 24px; }
}

/* ---------- секции на сплошном фоне ---------- */
.solid { background: var(--bg); position: relative; }
.solid::before { content: ""; position: absolute; left: 0; right: 0; top: -160px; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.section { padding: clamp(80px, 12vw, 150px) var(--pad); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 64px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 56ch; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 30px 26px 28px; border-radius: var(--r); min-height: 300px;
  background: linear-gradient(160deg, #18221a, #111812); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
}
.card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 176, 58, 0.12); color: var(--accent); margin-bottom: auto; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; margin: 34px 0 12px; line-height: 1.2; }
.card p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

.shots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.shot { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .8s ease; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { padding: 14px 18px 16px; color: var(--muted); font-size: 14.5px; }
.shot figcaption b { color: var(--text); font-weight: 600; }
.shot.wide { grid-column: span 7; }
.shot.narrow { grid-column: span 5; }
@media (max-width: 860px) { .shot.wide, .shot.narrow { grid-column: span 12; } }

.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.live-grid a { display: block; border-radius: 16px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); aspect-ratio: 1; position: relative; }
.live-grid img, .live-grid video { width: 100%; height: 100%; object-fit: cover; }
.live-grid .vid::after { content: ""; position: absolute; right: 12px; top: 12px; width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff5a3a; margin-right: 12px; box-shadow: 0 0 0 0 rgba(255, 90, 58, .6); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 90, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 58, 0); } }

/* ---------- финал ---------- */
.final { min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad); }
.final h2 { font-size: clamp(40px, 6.6vw, 96px); max-width: 12ch; }
.final p { margin-top: 20px; color: #d9d4c6; font-size: 19px; max-width: 40ch; }
@media (max-width: 760px) { .final { align-items: flex-end; padding-bottom: 12svh; } }

/* появление текста — только украшение: без JS всё видно сразу */
.js .reveal { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .live-dot { animation: none; }
  .btn, .shot img { transition: none; }
}
