/* Section landing — one template for every section. Theme comes from :root vars set by the renderer. */
@font-face { font-family: "TikTok Sans"; src: url("fonts/tiktok-sans-cyrillic.woff2?v=12tFosxc1jZQ66jF") format("woff2"); font-weight: 300 900; font-stretch: 75% 150%; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "TikTok Sans"; src: url("fonts/tiktok-sans-latin.woff2?v=wzsX9xfRIvpwvv4K") format("woff2"); font-weight: 300 900; font-stretch: 75% 150%; 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("fonts/onest-cyrillic.woff2?v=w_QiMEb7liOg6SQU") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("fonts/onest-latin.woff2?v=zGHL1jK7Z3zVXw7s") format("woff2"); font-weight: 100 900; 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b0b0c; --bg-2: #141416; --ink: #f4f2ee; --muted: #9a978f; --line: rgba(244, 242, 238, .14);
  --accent: #ff4a1c; --on-accent: #0b0b0c;
  --display: "TikTok Sans", "Arial Narrow", sans-serif; --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px); --max: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--display); font-weight: 600; font-stretch: 75%; text-transform: uppercase; line-height: .94; letter-spacing: -.03em; margin: 0; }
/* every other place set in the display face follows the same cut */
.bar-name, .ticker span, .stat-num, .manifesto-text, .quality, .path-card .n, .path-card h3, .fact dd, .need-title, .faq summary { font-stretch: 75%; letter-spacing: -.03em; }
.eyebrow { font: 500 12px/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow b { color: var(--accent); font-weight: 500; }
.accent { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--text); text-decoration: none; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(11, 11, 12, .35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* top bar */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); transition: background .3s ease, padding .3s ease; }
.bar.solid { background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bar-name { font: 600 22px/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.bar-logo img { display: block; height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.foot-logo { height: 28px; width: auto; max-width: 140px; object-fit: contain; opacity: .9; }
.bar-links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.bar-links a:not(.btn) { text-decoration: none; color: var(--muted); }
.bar-links a:not(.btn):hover { color: var(--ink); }
.bar .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 860px) { .bar-links a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroPush 14s ease-out forwards; filter: brightness(.6) saturate(.85) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.6) 0%, rgba(11,11,12,.1) 30%, rgba(11,11,12,.55) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 65%); }
@keyframes heroPush { to { transform: scale(1); } }
.hero-inner { width: 100%; padding-bottom: clamp(36px, 7vh, 80px); padding-top: 120px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; background: rgba(11,11,12,.4); backdrop-filter: blur(8px); }
.tag.hot { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }
.hero h1 { font-size: clamp(54px, min(9.4vw, 15.5vh), 176px); max-width: 15ch; }
.hero h1 .accent { display: inline; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 34px; }
.hero-lead { max-width: 520px; font-size: clamp(17px, 1.4vw, 20px); color: #dcd9d2; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ticker */
/* два одинаковых трека едут вплотную: один трек двойной ширины на Retina больше слоя, который Safari держит целиком, и куски текста пропадали */
.ticker { display: flex; border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; background: var(--bg); }
.ticker-track { flex: none; display: inline-flex; gap: 0; animation: tick 38s linear infinite; padding: 18px 0; will-change: transform; }
.ticker span { font: 600 clamp(22px, 2.6vw, 36px)/1 var(--display); text-transform: uppercase; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes tick { to { transform: translateX(-100%); } }

/* sections */
section { position: relative; }
.block { padding: clamp(64px, 8.5vw, 128px) 0; }
.block-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.block-head h2 { font-size: clamp(48px, 7.4vw, 124px); }
.block-head p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .block-head { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat-num { font: 600 clamp(64px, 8.4vw, 148px)/.9 var(--display); color: var(--ink); white-space: nowrap; }
.stat-num small { font-size: .42em; color: var(--accent); margin-left: 4px; }
.stat-label { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 22ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* manifesto */
.manifesto { background: var(--bg); }
.manifesto-text { font: 600 clamp(30px, 4.3vw, 68px)/1 var(--display); text-transform: uppercase; margin: 0; max-width: 22ch; }
.manifesto-text em { font-style: normal; color: var(--accent); }
.qualities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.quality { font: 600 clamp(18px, 1.8vw, 26px)/1 var(--display); text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 14px 22px; }

/* split photo + text */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.frame { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.frame:hover img { transform: scale(1.03); }
.frame-cap { position: absolute; left: 14px; bottom: 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: rgba(11,11,12,.62); backdrop-filter: blur(6px); padding: 7px 11px; border-radius: 3px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* coach */
.coach h2 { font-size: clamp(52px, 7vw, 118px); margin-bottom: 26px; }
.coach-role { color: var(--accent); font: 500 14px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.creds { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.creds li { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.creds li::before { content: counter(c, decimal-leading-zero); counter-increment: c; font: 500 13px/1 var(--text); color: var(--accent); min-width: 22px; }
.creds { counter-reset: c; }
.quote { margin: 36px 0 0; padding-left: 22px; border-left: 3px solid var(--accent); font: 500 clamp(20px, 1.8vw, 26px)/1.3 var(--text); color: #e7e4dd; }

/* life (path) cards */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.path-card { position: relative; min-height: 340px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.path-card .n { font: 600 72px/1 var(--display); color: var(--accent); }
.path-card h3 { font: 600 30px/1 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.path-card p { margin: 0; color: var(--muted); font-size: 15px; }
.path-card.photo { padding: 0; }
.path-card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.path.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .path, .path.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } .path.five .photo { grid-column: span 2; min-height: 420px; } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } .path-card { min-height: 240px; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 21vw, 300px); gap: 14px; }
.gallery .frame:nth-child(1) { grid-column: 1 / 9; grid-row: 1 / 3; }
.gallery .frame:nth-child(2) { grid-column: 9 / 13; grid-row: 1 / 3; }
.gallery .frame:nth-child(3) { grid-column: 1 / 7; grid-row: 3 / 5; }
.gallery .frame:nth-child(4) { grid-column: 7 / 13; grid-row: 3 / 5; }
.gallery .frame img { position: absolute; inset: 0; }
@media (max-width: 860px) { .gallery { grid-auto-rows: auto; } .gallery .frame { grid-column: 1 / -1 !important; grid-row: auto !important; aspect-ratio: 4 / 3; } }

/* video */
.film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.film video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; background: var(--bg-2); }
.film h2 { font-size: clamp(48px, 6.6vw, 112px); }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } .film video { max-width: 420px; } }

/* training facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-right: 32px; }
.fact:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.fact dt { color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding-top: 6px; }
.fact dd { margin: 0; font: 600 clamp(24px, 2.4vw, 36px)/1.1 var(--display); text-transform: uppercase; }
.fact dd small { display: block; font: 400 15px/1.4 var(--text); text-transform: none; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .fact:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; } .fact { grid-template-columns: 1fr; gap: 6px; } }

/* support */
.support { background: var(--accent); color: var(--on-accent); overflow: hidden; }
.support .eyebrow { color: currentColor; opacity: .7; }
.support h2 { font-size: clamp(60px, 10vw, 176px); max-width: 11ch; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.support p { font-size: 18px; margin: 0 0 18px; max-width: 46ch; }
.support ul { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid rgba(0,0,0,.2); }
.support li { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.2); font-weight: 500; }
.support .btn-accent { background: var(--on-accent); color: var(--accent); }
.need { margin: 0 0 26px; }
.need-title { font: 600 30px/1.05 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.need-bar { height: 10px; border-radius: 99px; background: rgba(0,0,0,.18); overflow: hidden; }
.need-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--on-accent); border-radius: inherit; transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.need-row { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 600; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font: 600 clamp(22px, 2.2vw, 32px)/1.1 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.2em; line-height: .8; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; max-width: 70ch; color: #d3d0c8; }

/* contacts + footer */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.contact h2 { font-size: clamp(56px, 9vw, 160px); }
.contact-list { display: grid; gap: 18px; font-size: 18px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 14px; display: flex; justify-content: space-between; gap: 18px; }
.contact-list a:hover { color: var(--accent); }
.contact-list span { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.made { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
.made b { color: var(--accent); font-weight: 600; }
/* значок Вайбика в футере — обычный элемент строки, а не плашка поверх страницы */
.foot #vaibik-made { position: static; box-shadow: 0 0 0 1px var(--line); border-radius: 999px; background: transparent; }

/* mobile sticky cta */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .sticky-cta .btn { flex: 1; justify-content: center; min-height: 50px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
  body { padding-bottom: 76px; }
  .hero-cta { display: none; }
  .hero-inner { padding-bottom: 96px; }
}

/* motion: only when JS is present, so content is always visible to crawlers and no-JS readers */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.js [data-reveal="mask"].in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}
