@layer components {

.kn-hero-block {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  border-bottom: 2px solid var(--border-strong);
  padding: 1px 0;
}
.kn-hero-block--home {
  background: var(--bg);
}
.kn-hero-block--home::before,
.kn-hero-block--home::after {
  content: none;
}

.kn-hero__grid,
.kn-hero__spot,
.kn-hero__frame {
  display: none;
}

.kn-hero {
  position: relative;
  z-index: 1;
  padding: 60px 32px 52px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}
.kn-hero--no-photo { grid-template-columns: 86%; }
.kn-hero--home { padding-top: 56px; }

.kn-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.kn-hero__kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.kn-hero__title {
  margin-bottom: 14px;
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.25rem + 2.2vw, 3.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-primary);
}
.kn-hero__accent { color: var(--text-primary); text-decoration: underline; text-decoration-color: var(--accent-ink); text-decoration-thickness: 5px; text-underline-offset: 8px; }
.kn-hero__lead {
  margin-bottom: 20px;
  max-width: var(--measure);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.kn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.kn-hero__cta {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--border-strong);
  border-radius: 0;
  background: var(--border-strong);
  color: #FFFFFF;
  cursor: pointer;
}
.kn-hero__cta:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.kn-hero__cta:active { transform: translateY(1px); }
.kn-hero__cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.kn-hero__avatar-wrap { width: 380px; height: 475px; justify-self: end; position: relative; }
.kn-hero__avatar { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--border-strong); border-radius: 0; display: block; }

@media (max-width: 900px) {
  .kn-hero { grid-template-columns: 1fr; padding: 56px 20px 48px; gap: 32px; }
  .kn-hero--home { padding-top: 40px; }
  .kn-hero__content { text-align: center; min-width: 0; }
  .kn-hero__title { font-size: clamp(1.65rem, 0.9rem + 4.5vw, 2.2rem); }
  .kn-hero__kicker { justify-content: center; }
  .kn-hero__kicker::before { display: none; }
  .kn-hero__lead { margin-inline: auto; }
  .kn-hero__actions { justify-content: center; }
  .is-anim .kn-hero__title .kn-hero__accent::after { content: none; animation: none; }
  .kn-hero__avatar-wrap { width: 300px; height: auto; justify-self: center; margin-bottom: 0; }
  .kn-hero__avatar { height: 375px; border-radius: 0; }
}

/* Вариант C: entrance-анимаций в hero нет - контент виден сразу. */

}
