:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --card: #18181b;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f4f2;
  --muted: #9b9b9f;
  --accent: #fced79;
  --accent-2: #ffe14d;
  --ink: #111;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1240px;
  --font-h: "Unbounded", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 18px;
  font: 600 13px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: var(--ink); }
.h2 {
  margin: 0;
  font: 600 clamp(30px, 4.4vw, 56px)/1.08 var(--font-h);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(24px, 3vw, 38px); }
.h3 { margin: 0 0 12px; font: 600 clamp(20px, 2vw, 26px)/1.2 var(--font-h); letter-spacing: -.01em; }
.subhead { margin: 72px 0 24px; font: 600 22px/1.2 var(--font-h); }
.prose p { margin: 0 0 1.1em; color: #d6d6d8; }
.prose b { color: var(--text); }
.prose a, .insp a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(252, 237, 121, .4); }
.prose a:hover, .insp a:hover { border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--accent); color: var(--ink);
  font: 700 15px/1 var(--font);
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(252, 237, 121, .6); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn--dark { background: var(--ink); color: var(--accent); }
.btn--dark:hover { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(0, 0, 0, .35); }
.btn--line:hover { border-color: var(--ink); box-shadow: none; }

.tag {
  display: inline-block; padding: 7px 12px; border-radius: 999px;
  font: 600 12px/1 var(--font); letter-spacing: .02em;
  background: rgba(252, 237, 121, .12); color: var(--accent);
}
.tag--dark { background: rgba(0, 0, 0, .1); color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 12, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--ink); font: 700 17px/1 var(--font-h); letter-spacing: -.04em;
}
.logo__name { font: 600 13px/1.15 var(--font-h); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 14.5px; color: #cfcfd2; transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .07); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -250px; top: -300px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(252, 237, 121, .18), transparent 70%);
  filter: blur(10px);
}
.hero__in { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero__title {
  margin: 0 0 22px;
  font: 700 clamp(48px, 8.2vw, 118px)/.95 var(--font-h);
  letter-spacing: -.045em;
}
.hero__sub { margin: 0 0 22px; max-width: 560px; font: 500 clamp(20px, 2.1vw, 28px)/1.25 var(--font-h); letter-spacing: -.01em; }
.hero__lead { max-width: 560px; margin: 0 0 36px; font-size: 19px; color: #c9c9cc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { position: relative; margin: 0; }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; max-height: 76vh; object-fit: cover; object-position: 50% 20%;
  border-radius: 32px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.hero__photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 32px;
  border: 1.5px solid rgba(252, 237, 121, .35); z-index: -1;
}
.hero__badge {
  position: absolute; left: -36px; bottom: 36px;
  padding: 18px 22px; border-radius: 18px;
  background: rgba(20, 20, 22, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  display: grid; gap: 12px; width: 270px;
  animation: float 6s ease-in-out infinite;
}
.badge__slides { display: grid; }
.badge__slide { grid-area: 1 / 1; display: grid; gap: 6px; align-content: start; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.badge__slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__badge strong { font: 600 26px/1 var(--font-h); color: var(--accent); white-space: nowrap; }
.hero__badge span { font-size: 13.5px; line-height: 1.35; color: #c9c9cc; }
.badge__dots { display: flex; gap: 6px; }
.badge__dots button { width: 18px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .22); transition: background .3s, width .3s; }
.badge__dots button.is-on { width: 30px; background: var(--accent); }
@keyframes float { 50% { transform: translateY(-10px); } }

.stats {
  list-style: none; margin: 88px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.stats li { padding: 28px 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; white-space: nowrap; font: 600 clamp(24px, 2.5vw, 36px)/1 var(--font-h); letter-spacing: -.03em; margin-bottom: 10px; }
.stats span { font-size: 14px; color: var(--muted); }

.marquee { margin-top: 72px; padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 500 clamp(22px, 2.4vw, 32px)/1 var(--font-h); color: #e6e6e6; white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 128px 0; }
.section--alt { background: var(--bg-2); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px 64px; margin-bottom: 56px; flex-wrap: wrap; }
.head > div:first-child { max-width: 720px; }
.head__aside { max-width: 440px; margin: 0; color: var(--muted); }
.head--team { margin: 112px 0 36px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 36px; }
.card--accent { background: var(--accent); color: var(--ink); border-color: transparent; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about .h2 { margin-bottom: 32px; }
.about__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about__gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); transition: transform .6s var(--ease); }
.about__gallery img:first-child { grid-column: span 3; aspect-ratio: 16 / 10; }
.about__gallery img:hover { transform: scale(1.02); }

/* timeline */
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  counter-reset: v;
}
.timeline li {
  counter-increment: v;
  position: relative; padding: 24px 22px 22px; border-radius: var(--r-sm);
  background: var(--card); border: 1px solid var(--line);
  display: grid; gap: 4px;
  transition: border-color .3s, transform .3s var(--ease);
}
.timeline li:hover { border-color: rgba(252, 237, 121, .5); transform: translateY(-3px); }
.timeline li::after {
  content: counter(v, decimal-leading-zero); position: absolute; top: 22px; right: 22px;
  font: 500 12px/1 var(--font-h); color: #5a5a5f;
}
.tl__year { font: 600 28px/1 var(--font-h); color: var(--accent); margin-bottom: 14px; }
.timeline b { font-weight: 700; font-size: 16px; }
.timeline span:not(.tl__year) { color: var(--muted); font-size: 14.5px; }
.timeline em {
  position: absolute; bottom: 22px; right: 22px; font-style: normal;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 9px; border-radius: 999px; background: var(--accent); color: var(--ink);
}

.join {
  margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
}
.join img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; min-height: 320px; max-height: 520px; }
.join__text { padding: 48px; align-self: center; }
.join__text p { color: #c9c9cc; margin: 0 0 28px; }

/* team */
.scroll-btns { display: flex; gap: 10px; }
.round {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  font-size: 20px; transition: background .2s, color .2s, border-color .2s;
}
.round:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.team {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none;
}
.team::-webkit-scrollbar { display: none; }
.member {
  scroll-snap-align: start; text-align: left; padding: 0; border: 0; background: none;
  border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 3 / 4;
}
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.member::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .88)); }
.member:hover img { transform: scale(1.05); }
.member__cap { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; }
.member__cap b { display: block; font: 600 17px/1.2 var(--font-h); }
.member__cap span { display: block; font-size: 14px; color: var(--accent); margin-top: 4px; }
.member__more {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); font-size: 20px; transition: background .2s, color .2s;
}
.member:hover .member__more { background: var(--accent); color: var(--ink); }

/* modal */
.modal {
  width: min(880px, 100% - 32px); max-height: min(88vh, 900px); padding: 0; border: 1px solid var(--line);
  border-radius: 28px; background: var(--card); color: var(--text); overflow: auto;
}
.modal::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal__in { display: grid; grid-template-columns: 300px 1fr; }
.modal__in img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.modal__text { padding: 44px 40px; }
.modal__text p { margin: 0 0 1em; color: #d0d0d3; white-space: pre-line; }
.modal__role { color: var(--accent); font-weight: 600; margin: -4px 0 20px !important; }
.modal__close {
  position: sticky; float: right; top: 14px; margin: 14px 14px -58px 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); font-size: 26px; line-height: 1;
}

/* materials */
.mat { display: grid; grid-template-columns: .8fr 1.4fr; gap: 16px; align-items: start; }
.mat__books { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 100%; }
.mat__books .h3 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 10px; }
.mat__books p { margin: 0 0 auto; padding-bottom: 28px; }
.mat__course-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.mat__course-head .h3 { margin-top: 14px; }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.lessons a {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14.5px;
  transition: color .2s;
}
.lessons a:hover { color: var(--accent); }
.lessons .n { font: 500 12px/1 var(--font-h); color: #66666b; }
.lessons .d { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: var(--r-sm); border: 1px solid var(--line); background: #000; }

/* consult */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic { padding: 30px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.topic:hover { border-color: rgba(252, 237, 121, .5); transform: translateY(-4px); }
.topic__n { font: 500 13px/1 var(--font-h); color: var(--accent); }
.topic h3 { margin: 48px 0 12px; font: 600 19px/1.25 var(--font-h); }
.topic p { margin: 0; color: var(--muted); font-size: 15px; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.price {
  position: relative; padding: 36px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name sum" "time btn"; gap: 8px 24px; align-items: center;
}
.price__name { grid-area: name; margin: 0; font: 600 20px/1.2 var(--font-h); }
.price__time { grid-area: time; margin: 0; color: var(--muted); }
.price__sum { grid-area: sum; margin: 0; font: 600 clamp(26px, 2.6vw, 34px)/1 var(--font-h); text-align: right; }
.price__sum s { display: block; margin-top: 6px; font-size: 15px; opacity: .5; }
.price .btn { grid-area: btn; justify-self: end; }
.price--hot { background: var(--accent); color: var(--ink); border-color: transparent; }
.price--hot .price__time { color: rgba(0, 0, 0, .6); }
.price__flag {
  position: absolute; top: -12px; left: 36px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.reviews { columns: 2; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.review blockquote { margin: 0 0 22px; font-size: 16.5px; color: #dcdcde; }
.review blockquote::before { content: "“"; display: block; font: 700 48px/0.6 var(--font-h); color: var(--accent); margin-bottom: 14px; }
.review figcaption b { display: block; }
.review figcaption span { color: var(--muted); font-size: 14px; }

/* media */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 600; color: #cfcfd2; transition: all .2s; }
.chip:hover { border-color: rgba(255, 255, 255, .3); }
.chip.is-on { background: var(--text); color: var(--ink); border-color: var(--text); }
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.feat {
  display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: var(--r); text-decoration: none;
  background: var(--accent); color: var(--ink); min-height: 340px; transition: transform .3s var(--ease);
}
.feat:hover { transform: translateY(-4px); }
.feat .tag { align-self: flex-start; }
.feat h3 { margin: 8px 0 0; font: 600 clamp(22px, 2.3vw, 30px)/1.15 var(--font-h); letter-spacing: -.01em; }
.feat p { margin: 0; opacity: .75; }
.feat__more { margin-top: auto; font-weight: 700; }
.feat--img { background: var(--card); color: var(--text); border: 1px solid var(--line); padding: 0; overflow: hidden; gap: 0; }
.feat--img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform .7s var(--ease); }
.feat--img:hover img { transform: scale(1.03); }
.feat--img > div { padding: 26px 32px 32px; display: grid; gap: 12px; justify-items: start; }
.feat--img h3 { margin: 0; font-size: clamp(19px, 1.8vw, 24px); }

.media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post {
  display: flex; flex-direction: column; gap: 18px; min-height: 220px; padding: 28px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s var(--ease);
}
.post:hover { border-color: rgba(252, 237, 121, .55); transform: translateY(-4px); }
.post h3 { margin: 0; font: 600 17px/1.35 var(--font-h); letter-spacing: -.005em; }
.post__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.post__arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: all .25s; }
.post:hover .post__arrow { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: rotate(-45deg); }
.post.is-hidden { display: none; }
.post--new .tag { background: var(--accent); color: var(--ink); }

/* inspiration */
#inspiration .h2 { margin-bottom: 56px; }
.insp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.insp__item { grid-column: span 3; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.insp__item:nth-child(n+3) { grid-column: span 2; }
.insp__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.insp__body { padding: 28px; }
.insp__body h3 { margin: 0 0 14px; font: 600 22px/1.2 var(--font-h); }
.insp__body p { margin: 0 0 .9em; color: #bdbdc1; font-size: 15.5px; }

/* contacts */
.contacts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.contacts__main { padding: 48px; }
.contacts__main .h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 16px; }
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 36px 0 22px; }
.social {
  display: grid; gap: 6px; padding: 22px; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .25s, background .25s;
}
.social:hover { border-color: var(--accent); background: rgba(252, 237, 121, .06); }
.social span { font: 600 17px/1 var(--font-h); }
.social small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.fine { margin: 0; font-size: 12.5px; color: #6f6f74; }
.contacts__side { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; }
.contacts__side .h3 { font-size: clamp(24px, 2.4vw, 32px); }
.contacts__side p { margin: 0 0 28px; font-size: 17px; }
.contacts__side .row { margin-top: auto; position: relative; z-index: 1; }

.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.footer__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }


/* source label with logo */
.src { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 13.5px; font-weight: 700; color: #d8d8db; }
.src img, .src i { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex: none; background: #fff; }
.src i { display: grid; place-items: center; font: 700 13px/1 var(--font-h); font-style: normal; background: #2a2a2e; color: var(--accent); }
.src em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.src--dark { color: var(--ink); }
.logos { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.logos li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 14.5px; }
.logos img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #fff; }

/* KLB */
.klb { position: relative; overflow: hidden; }
.klb::before {
  content: ""; position: absolute; inset: auto -200px -300px auto; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252, 237, 121, .14), transparent 70%); pointer-events: none;
}
.klb__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; position: relative; }
.klb .h2 { margin-bottom: 28px; }
.klb .prose { margin-bottom: 32px; }
.klb__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.klb__stats li { padding: 26px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.klb__stats li:first-child { grid-column: span 2; background: var(--accent); color: var(--ink); border-color: transparent; }
.klb__stats li:first-child span { color: rgba(0, 0, 0, .65); }
.klb__stats li:last-child { grid-column: span 2; }
.klb__stats b { display: block; font: 600 clamp(30px, 3.4vw, 48px)/1 var(--font-h); letter-spacing: -.03em; margin-bottom: 10px; }
.klb__stats span { color: var(--muted); font-size: 14.5px; }

/* Bowlsoft */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.product:hover { border-color: rgba(252, 237, 121, .5); transform: translateY(-4px); }
.product__n { font: 500 12px/1.3 var(--font-h); color: var(--accent); letter-spacing: .02em; }
.product h3 { margin: 40px 0 12px; font: 600 21px/1.2 var(--font-h); }
.product p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.product__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.product__links a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: all .2s; }
.product__links a:hover { border-color: var(--accent); color: var(--accent); }

/* speaking */
.speak { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.speak__intro { position: sticky; top: 110px; }
.speak__intro .h2 { margin-bottom: 22px; }
.speak__lead { margin: 0; color: #c9c9cc; font-size: 18px; }
.subhead--sm { margin: 40px 0 16px; font-size: 18px; }
.speak__topics { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.speak__topics li { position: relative; padding-left: 28px; color: #d6d6d8; font-size: 15.5px; }
.speak__topics li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--accent); }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r-sm);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .25s var(--ease);
}
.event:hover { border-color: rgba(252, 237, 121, .55); transform: translateX(4px); }
.event__logo img, .event__logo i { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: #fff; display: grid; place-items: center; }
.event__logo i { background: #2a2a2e; color: var(--accent); font: 700 18px/1 var(--font-h); font-style: normal; }
.event__body b { display: block; font-size: 16px; margin-bottom: 2px; }
.event__body span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.event__y { font: 500 13px/1 var(--font-h); color: var(--accent); }

@media (max-width: 1100px) {
  .products { grid-template-columns: 1fr 1fr; }
  .klb__grid, .speak { grid-template-columns: 1fr; gap: 48px; }
  .speak__intro { position: static; }
}
@media (max-width: 640px) {
  .products { grid-template-columns: 1fr; }
  .klb__stats { grid-template-columns: 1fr 1fr; }
  .klb__stats li:last-child { grid-column: span 2; }
  .event { grid-template-columns: 40px 1fr; padding: 16px; gap: 14px; }
  .event__logo img, .event__logo i { width: 40px; height: 40px; }
  .event { position: relative; }
  .event__body { padding-right: 44px; }
  .event__y { position: absolute; top: 18px; right: 16px; }
  .logos li { font-size: 13px; padding-right: 12px; }
  .logos img { width: 26px; height: 26px; }
}

.speak__contact { margin: 0 0 20px; color: #d6d6d8; font-size: 15.5px; }
.speak__contact a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(252, 237, 121, .4); }
.contacts__note { margin: 20px 0 0 !important; font-size: 14.5px !important; opacity: .8; }
.contacts__note a { color: var(--ink); font-weight: 700; }

/* consult asks */
.asks__label { margin: 0 0 14px; font-weight: 700; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.asks { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.asks li { padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(252, 237, 121, .35); background: rgba(252, 237, 121, .06); font-weight: 600; font-size: 15px; }
.topic--main { background: var(--accent); color: var(--ink); border-color: transparent; }
.topic--main .topic__n { color: var(--ink); }
.topic--main p { color: rgba(0, 0, 0, .7); }

/* speaking video */
.speak__video { margin-top: 28px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.speak__video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* press */
.press { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start; }
.press__bios { display: grid; gap: 16px; }
.bio { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.bio__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.bio h3 { margin: 0; font: 600 17px/1.25 var(--font-h); }
.bio p { margin: 0 0 .8em; color: #d6d6d8; font-size: 15.5px; }
.bio p:last-child { margin-bottom: 0; }
.copy { flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 700; transition: all .2s; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.copy.is-done { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.facts { margin: 0; padding: 8px 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.press__side { display: grid; gap: 16px; position: sticky; top: 100px; }
.press__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.press__photos a { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; text-decoration: none; }
.press__photos a:first-child { grid-row: span 2; }
.press__photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .6s var(--ease); }
.press__photos a:not(:first-child) img { aspect-ratio: 4 / 3; }
.press__photos a:hover img { transform: scale(1.04); }
.press__photos span { position: absolute; left: 10px; bottom: 10px; padding: 7px 11px; border-radius: 999px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; }
.press__photos span::before { content: "↓ "; color: var(--accent); }
.press__contacts p { margin: 0 0 10px; font-size: 15.5px; }
.press__contacts p:last-child { margin-bottom: 0; }
.press__contacts a { color: var(--ink); font-weight: 700; }
.footer__links a { text-decoration: none; }
@media (max-width: 960px) {
  .press { grid-template-columns: 1fr; }
  .press__side { position: static; }
}
@media (max-width: 640px) {
  .facts { padding: 4px 22px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .bio { padding: 24px; }
  .bio__head { flex-direction: column; align-items: flex-start; }
  .asks li { font-size: 14px; }
}

/* Боулсофт: экосистема гостя */
.flow { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: f; }
.flow li { position: relative; padding: 18px 16px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); display: grid; gap: 4px; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; }
.flow li:nth-child(4) { background: var(--accent); color: var(--ink); border-color: transparent; }
.flow li:nth-child(4) span { color: rgba(0, 0, 0, .65); }
.flow b { font: 600 15px/1.2 var(--font-h); }
.flow span { font-size: 13px; color: var(--muted); }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc__card { padding: 30px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.svc__card:hover { border-color: rgba(252, 237, 121, .5); transform: translateY(-4px); }
.svc__card h3 { margin: 28px 0 12px; font: 600 20px/1.2 var(--font-h); }
.svc__card p { margin: 0 0 .8em; color: var(--muted); font-size: 15px; }
.svc__card p:last-child { margin-bottom: 0; }
.svc__card b { color: var(--text); }
.svc__card--core { grid-column: span 2; grid-row: span 1; background: var(--accent); color: var(--ink); border-color: transparent; }
.svc__card--core .product__n { color: var(--ink); opacity: .7; }
.svc__card--core p, .svc__card--core b { color: rgba(0, 0, 0, .78); }
.svc__card--core b { color: var(--ink); }
.svc__card:last-child { grid-column: span 3; }
.steps { margin-top: 16px; padding: 30px; border-radius: var(--r); border: 1px dashed rgba(252, 237, 121, .35); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; }
.steps li b { color: var(--text); font: 600 16px/1.2 var(--font-h); }
.steps li b::before { content: counter(st) ". "; color: var(--accent); }
@media (max-width: 1100px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3)::after { display: none; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc__card:last-child { grid-column: span 2; }
  .steps ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3)::after { display: grid; }
  .flow li:nth-child(even)::after { display: none; }
  .svc, .steps ol { grid-template-columns: 1fr; }
  .svc__card--core, .svc__card:last-child { grid-column: auto; }
  .steps { padding: 24px; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .topics { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li:nth-child(4) { border-left: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .mat { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 12px 20px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); min-height: calc(100vh - 76px);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 16px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-left: auto; }
  .burger { display: block; }
  .nav.menu-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links a.is-active { background: none; color: var(--accent); }
}
@media (max-width: 960px) {
  .hero { padding-top: 116px; }
  .hero__in, .about, .join, .contacts { grid-template-columns: 1fr; }
  .hero__photo { max-width: 460px; }
  .hero__badge { left: 16px; bottom: 16px; width: min(270px, calc(100% - 32px)); }
  .about { gap: 48px; }
  .media { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; }
  .insp__item, .insp__item:nth-child(n+3) { grid-column: span 3; }
  .reviews { columns: 1; }
  .modal__in { grid-template-columns: 1fr; }
  .modal__in img { max-height: 380px; min-height: 0; object-position: top; }
  .section { padding: 96px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 11.5px; letter-spacing: .1em; line-height: 1.3; }
  .wrap { width: calc(100% - 32px); }
  .nav__cta { display: none; }
  .burger { margin-left: auto; }
  .hero__lead { font-size: 17px; }
  .hero__photo::before { inset: 14px -10px -14px 10px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .stats li { padding: 22px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats li:last-child { grid-column: span 2; border-left: 0; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 10px; }
  .timeline li { padding: 18px 16px; }
  .tl__year { font-size: 22px; margin-bottom: 8px; }
  .timeline b { font-size: 14.5px; }
  .timeline li::after { top: 18px; right: 16px; }
  .timeline em { position: static; justify-self: start; margin-top: 8px; }
  .join__text, .card, .contacts__main, .contacts__side { padding: 28px; }
  .topics, .pricing, .media, .shots, .lessons, .socials { grid-template-columns: 1fr; }
  .insp { grid-template-columns: 1fr; }
  .insp__item, .insp__item:nth-child(n+3) { grid-column: auto; }
  .team { grid-auto-columns: 78%; }
  .scroll-btns { display: none; }
  .head--team { margin-top: 80px; }
  .mat__course-head { flex-direction: column; }
  .price { grid-template-columns: 1fr; grid-template-areas: "name" "time" "sum" "btn"; padding: 30px 26px; }
  .price__sum { text-align: left; margin-top: 12px; }
  .price .btn { justify-self: stretch; margin-top: 12px; }
  .modal__text { padding: 30px 24px; }
  .subhead { margin-top: 56px; }
  .section { padding: 80px 0; }
}
