/* ihorkushnir.org.ua — light gray + emerald accent
   Type: Source Serif 4 (display) + Inter (UI).
   Distinct from .net (dark slate) and .kyiv.ua (cream/navy). */

:root {
  --c-bg: #f7f8f9;
  --c-surface: #ffffff;
  --c-surface-2: #ecf0f3;
  --c-text: #161c24;
  --c-text-soft: #3a4754;
  --c-text-mute: #6b7886;
  --c-accent: #0e7c5a;
  --c-accent-soft: #d4ede0;
  --c-line: #dee4ea;
  --w-content: 1180px;
  --w-narrow: 740px;
  --f-display: 'Source Serif 4', Georgia, serif;
  --f-ui: 'Inter', 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.6;
  -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; }

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

/* ===== HEADER ===== */
.oo-header {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  position: sticky; top: 0; z-index: 100;
}
.oo-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.oo-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.oo-brand__sigil {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent);
  color: var(--c-bg);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
}
.oo-brand__name {
  display: flex; flex-direction: column;
  font-family: var(--f-ui);
}
.oo-brand__name > span:first-child {
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text);
}
.oo-brand__sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-top: 1px;
}
.oo-nav { display: flex; gap: 28px; }
.oo-nav__link {
  font-size: 14px;
  color: var(--c-text-soft);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.oo-nav__link:hover { border-color: var(--c-accent); text-decoration: none; }

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

/* ===== HERO ===== */
.oo-hero {
  padding: 96px 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.oo-hero__inner { max-width: 880px; }
.oo-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
  font-weight: 600;
}
.oo-hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--c-text);
}
.oo-hero__title em {
  font-style: italic;
  color: var(--c-accent);
}
.oo-hero__lede {
  font-size: 19px;
  color: var(--c-text-soft);
  max-width: 640px;
  margin: 0 0 36px;
  line-height: 1.55;
}
.oo-hero__cta {
  display: inline-block;
  padding: 12px 26px;
  background: var(--c-accent);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 14px;
  border: 0;
  transition: background 0.2s;
}
.oo-hero__cta:hover { background: #0a5d44; text-decoration: none; }

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

.oo-section__eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 14px;
  display: block; font-weight: 600;
}
.oo-section__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.18;
  margin: 0 0 24px;
  color: var(--c-text);
}
.oo-section__lede {
  font-size: 18px;
  color: var(--c-text-soft);
  max-width: 700px;
  margin: 0 0 48px;
}

/* ===== CARDS GRID ===== */
.oo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}
.oo-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column;
  transition: all 0.25s;
  text-decoration: none;
}
.oo-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  text-decoration: none;
}
.oo-card__img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--c-surface-2);
}
.oo-card__body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.oo-card__alt {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 10px; font-weight: 600;
}
.oo-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--c-text);
}
.oo-card__excerpt {
  font-size: 15px;
  color: var(--c-text-soft);
  margin: 0 0 20px;
  flex: 1;
}
.oo-card__more {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
}

/* ===== ARTICLE ===== */
.oo-article { padding: 64px 0 96px; }
.oo-article__header { margin-bottom: 40px; }
.oo-article__eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 14px; font-weight: 600;
}
.oo-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-text);
  letter-spacing: -0.01em;
}
.oo-article__meta {
  font-size: 17px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.5;
}
.oo-article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  margin: 0 0 48px;
  background-color: var(--c-surface-2);
}

.oo-prose { font-size: 17px; line-height: 1.78; color: var(--c-text-soft); }
.oo-prose > p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 3.4em;
  line-height: 0.9;
  float: left;
  margin: 0.1em 0.12em 0 0;
  color: var(--c-accent);
}
.oo-prose p { margin: 0 0 22px; }
.oo-prose h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--c-text);
  margin: 48px 0 18px;
  line-height: 1.25;
}
.oo-prose h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--c-text);
  margin: 36px 0 14px;
}
.oo-prose ul, .oo-prose ol { padding-left: 22px; margin: 0 0 22px; }
.oo-prose li { margin-bottom: 6px; }
.oo-prose blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--c-text);
}
.oo-prose a { color: var(--c-accent); border-bottom: 1px solid rgba(14, 124, 90, 0.35); }

/* ===== FOOTER ===== */
.oo-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  padding: 48px 0;
}
.oo-footer__inner { text-align: center; }
.oo-footer__line { margin: 0 0 4px; font-size: 14px; color: var(--c-text-mute); }
.oo-footer__muted a { color: var(--c-text-soft); }
