/* ihorkushnir.kyiv.ua — light warm cream + navy + brick
   Distinct from .net (dark slate + Spectral/Manrope).
   Type: Lora (serif) + IBM Plex Sans (UI). */

:root {
  --c-bg: #faf6ef;
  --c-surface: #f3ebdc;
  --c-text: #1c2536;
  --c-text-soft: #455368;
  --c-text-mute: #8a7a6e;
  --c-accent: #8a3a2b;
  --c-navy: #1c2536;
  --c-line: #e8dfd2;
  --w-content: 1200px;
  --w-narrow: 720px;
  --f-display: 'Lora', Georgia, serif;
  --f-ui: 'IBM Plex Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-weight: 400;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.kk-container { max-width: var(--w-content); margin: 0 auto; padding: 0 24px; }
.kk-narrow { max-width: var(--w-narrow); margin: 0 auto; }

/* ===== HEADER ===== */
.kk-header {
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg);
  position: sticky; top: 0; z-index: 100;
}
.kk-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.kk-brand { display: flex; flex-direction: column; line-height: 1.2; }
.kk-brand__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-navy);
  letter-spacing: 0.01em;
}
.kk-brand__sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-top: 2px;
}
.kk-nav { display: flex; gap: 32px; }
.kk-nav__link {
  font-size: 14px;
  color: var(--c-text-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.kk-nav__link:hover { color: var(--c-accent); text-decoration: none; }

@media (max-width: 760px) {
  .kk-header__row { flex-direction: column; gap: 12px; }
  .kk-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
}

/* ===== HERO ===== */
.kk-hero {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  padding: 100px 0;
}
.kk-hero__inner { max-width: 860px; }
.kk-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.kk-hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--c-navy);
}
.kk-hero__title em {
  font-style: italic;
  color: var(--c-accent);
}
.kk-hero__lede {
  font-size: 19px;
  color: var(--c-text-soft);
  max-width: 640px;
  margin: 0 0 36px;
  line-height: 1.6;
}
.kk-hero__cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--c-navy);
  color: var(--c-bg);
  font-family: var(--f-ui);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  border: 1px solid var(--c-navy);
  transition: all 0.2s;
}
.kk-hero__cta:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  text-decoration: none;
}

/* ===== SECTIONS ===== */
.kk-section { padding: 96px 0; }
.kk-section--cream { background: var(--c-surface); border-top: 1px solid var(--c-line); }

.kk-section__eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 14px;
  display: block; font-weight: 500;
}
.kk-section__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--c-navy);
}
.kk-section__lede {
  font-size: 18px;
  color: var(--c-text-soft);
  max-width: 720px;
  margin: 0 0 56px;
}

/* ===== CARDS GRID ===== */
.kk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.kk-card {
  background: #fff;
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.kk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(28, 37, 54, 0.08);
  text-decoration: none;
}
.kk-card__img {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-color: var(--c-surface);
}
.kk-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.kk-card__alt {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-text-mute); margin-bottom: 12px; font-weight: 500;
}
.kk-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--c-navy);
}
.kk-card__excerpt {
  font-size: 15px;
  color: var(--c-text-soft);
  margin: 0 0 20px;
  flex: 1;
}
.kk-card__more {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
}

/* ===== ARTICLE ===== */
.kk-article { padding: 64px 0 96px; }
.kk-article__header { margin-bottom: 48px; }
.kk-article__eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 14px; font-weight: 500;
}
.kk-article__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--c-navy);
}
.kk-article__meta {
  font-size: 16px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.55;
}
.kk-article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  margin-bottom: 48px;
  background-color: var(--c-surface);
}

.kk-prose { font-size: 17px; line-height: 1.78; color: var(--c-text-soft); }
.kk-prose p { margin: 0 0 24px; }
.kk-prose h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--c-navy);
  margin: 56px 0 18px;
  line-height: 1.25;
}
.kk-prose h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--c-navy);
  margin: 40px 0 14px;
}
.kk-prose ul, .kk-prose ol { padding-left: 24px; margin: 0 0 24px; }
.kk-prose li { margin-bottom: 8px; }
.kk-prose blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--c-navy);
}
.kk-prose a { color: var(--c-accent); border-bottom: 1px solid currentColor; }

/* ===== FOOTER ===== */
.kk-footer {
  background: var(--c-navy);
  color: #c7ceda;
  padding: 56px 0;
}
.kk-footer__inner { text-align: center; }
.kk-footer__line { margin: 0 0 6px; font-size: 14px; }
.kk-footer__muted a { color: #e8dfd2; }
.kk-footer__muted a:hover { color: #fff; }
