/* Концепт «Кінетика»: швейцарська типографіка — величезні слова на весь екран, колір тла з пелюсток розетки змінюється під час прокрутки. */
.c-kinetyka { --ink: #0d1020; --paper: #f3f0ea; background: var(--paper); color: var(--ink); }
.c-kinetyka { --lead-accent: #c01a1a; --lead-r: 0; }
.kn-top { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(16px, 4vw, 48px); }
.kn-logo { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 8px; background: #fff; color: var(--ink); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.kn-logo .rosette { width: 30px; height: 30px; }
.kn-cta-sm { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.kn-eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.kn-intro { min-height: 100svh; display: grid; align-content: center; gap: 20px; padding: 100px clamp(16px, 4vw, 48px) 40px; }
.kn-intro h1 { font-size: clamp(2.8rem, 1rem + 8vw, 9rem); font-weight: 800; letter-spacing: -.055em; line-height: .92; }
.kn-intro h1 em, .kn-huge em { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; color: #c01a1a; }
.kn-down { font-size: 2rem; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(10px); } }

/* історія: липка сцена, слово змінюється з прокруткою */
.kn-story { height: calc(var(--n) * 90vh + 100vh); }
.kn-stage { --bg: #C01A1A; --fg: #fff; position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); color: var(--fg); transition: background .7s var(--ease), color .7s var(--ease); }
.kn-words li { position: absolute; inset: 0; display: grid; align-content: center; padding: 0 clamp(16px, 4vw, 48px); opacity: 0; transform: translateY(14vh); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.kn-words li.past { transform: translateY(-14vh); }
.kn-words li.on { opacity: 1; transform: none; }
.kn-word { font-size: clamp(3.4rem, 1rem + 14vw, 17rem); font-weight: 800; letter-spacing: -.065em; line-height: .86; overflow-wrap: anywhere; }
.kn-en { margin-top: 2vh; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1rem + 3vw, 3.6rem); line-height: 1; opacity: .9; }
.kn-line { margin-top: 3vh; max-width: 30rem; font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem); font-weight: 500; }
.kn-bar { position: absolute; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px); bottom: 28px; display: flex; gap: 6px; }
.kn-bar i { flex: 1; height: 4px; background: currentColor; opacity: .25; transition: opacity .4s; }
.kn-bar i.on { opacity: 1; }

.kn-turn, .kn-courses, .kn-final { padding: clamp(72px, 12vw, 160px) clamp(16px, 4vw, 48px); }
.kn-huge { font-size: clamp(3rem, 1rem + 9vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.kn-turn-sub { margin-top: 28px; max-width: 36rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.kn-btn { display: inline-flex; align-items: center; min-height: 60px; margin-top: 36px; padding: 0 32px; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.125rem; text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.kn-btn:hover { background: #c01a1a; transform: translateY(-3px); }
.kn-btn-inv { background: #fff; color: var(--ink); }
.kn-btn-inv:hover { background: #f1b711; color: var(--ink); }

.kn-courses { background: var(--ink); color: #fff; }
.kn-courses ol { margin-top: 24px; border-top: 2px solid #fff; }
.kn-courses a { position: relative; display: grid; gap: 8px; padding: clamp(18px, 3vw, 32px) 0; border-bottom: 2px solid #fff; text-decoration: none; overflow: hidden; }
.kn-courses a::before { content: ""; position: absolute; inset: 0; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: 0; }
.kn-courses a:hover::before { transform: none; }
.kn-ct, .kn-cf { position: relative; z-index: 1; }
.kn-ct { font-size: clamp(2rem, .9rem + 4.4vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; color: transparent; -webkit-text-stroke: 2px #fff; transition: color .4s; }
.kn-courses a:hover .kn-ct { color: #fff; -webkit-text-stroke-color: transparent; }
.kn-cf { max-width: 40rem; color: #c9cfe0; }
@media (hover: none) { .kn-ct { color: #fff; -webkit-text-stroke: 0; } }

.kn-facts { display: grid; gap: 0; background: #F1B711; color: var(--ink); }
.kn-facts div { padding: 28px clamp(16px, 4vw, 48px); border-bottom: 2px solid var(--ink); display: grid; gap: 6px; }
.kn-facts b { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
@media (min-width: 1000px) { .kn-facts { grid-template-columns: repeat(5, 1fr); } .kn-facts div { border-bottom: 0; border-right: 2px solid var(--ink); padding: 36px 24px; } .kn-facts div:last-child { border-right: 0; } }

.kn-final { background: #c01a1a; color: #fff; }
.c-kinetyka .idea-nav { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .kn-story { height: auto; } .kn-stage { position: relative; height: auto; } .kn-words li { position: relative; opacity: 1; transform: none; padding-block: 60px; } }
