/* Блог VN Capital — стилі з дизайн-експорту 2026-09-08 (редакція 17).
   Джерело: design-export/3-blog-spysok-ua.html (<style> цілком).
   Свої правки — тільки в блоці «доповнення движка» наприкінці файлу. */

:root {
  --terracotta: #8B3A1F;
  --terracotta-deep: #6B2C17;
  --olive: #9C9646;
  --olive-soft: #C4BE7F;
  --cream: #FAF7F0;
  --cream-deep: #F2EDE0;
  --surface: #FFFFFF;
  --ink: #2A2620;
  --ink-soft: #4A4438;
  --muted: #8B847A;
  --hairline: rgba(156, 150, 70, 0.22);
  --shadow-soft: 0 1px 2px rgba(42,38,32,0.04), 0 8px 24px rgba(42,38,32,0.06);
  --shadow-card: 0 1px 2px rgba(42,38,32,0.04), 0 16px 40px rgba(42,38,32,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ============ NAVIGATION ============ */
nav {
  position: relative;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--terracotta);
}

.nav-mark {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mark img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-wordmark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  display: none; /* logo image contains wordmark */
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-cta {
  background: var(--terracotta);
  color: var(--cream);
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--terracotta-deep); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-mark { height: 92px; }
}

@media (max-width: 540px) {
  .nav-mark { height: 67px; }
  .nav-inner { padding: 4px 22px; }
}

/* ============ SHARED ============ */
.section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--olive);
}

.section-label .roman {
  color: var(--terracotta);
  font-weight: 700;
}

.section-label .line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
  max-width: 80px;
}

.section-title {
  font-weight: 200;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.section-title em {
  color: var(--terracotta);
  font-style: normal;
  font-weight: 300;
}

.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
  gap: 16px;
}

.leaf-divider .line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.leaf-divider svg {
  width: 24px;
  height: 24px;
  color: var(--olive);
  opacity: 0.7;
}

/* ============ HERO ============ */
.hero {
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, var(--cream-deep) 0%, var(--cream) 60%);
  z-index: 0;
}

.hero-grid {
  display: block;
  position: relative;
  z-index: 1;
}

.hero-photo-wrap {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  animation: fadeUp 1s 0.25s both ease-out;
}

.hero-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(42,38,32,0.18);
  z-index: 1;
}

/* Title block — sits cleanly below photo */
.hero-title-overlay {
  position: relative;
  z-index: 3;
  margin-top: 48px;
  text-align: center;
  padding: 0 20px;
  animation: fadeUp 1s 0.5s both ease-out;
}

.hero-title-overlay .hero-title {
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.98;
  font-weight: 200;
  font-style: italic;
  letter-spacing: -0.035em;
  color: var(--olive);
  margin: 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-overlay .hero-title .accent {
  color: var(--terracotta);
  font-weight: 300;
  font-style: italic;
  display: inline-block;
  position: relative;
}

/* tagline + CTAs sit cleanly below */
.hero-meta {
  margin-top: 56px;
  text-align: center;
  animation: fadeUp 1s 0.85s both ease-out;
}

.hero-meta .hero-tagline {
  margin: 0 auto 36px;
  max-width: 640px;
}

.hero-meta .hero-ctas {
  justify-content: center;
}

.hero-eyebrow-center {
  text-align: center;
  margin-bottom: 36px;
  animation: fadeUp 0.9s 0.1s both ease-out;
}

.hero-bg-mark {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-mark img {
  width: 100%;
  height: auto;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding: 24px 0;
}

/* photo container with layered offset accent */
.hero-photo-wrap {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s 0.55s both ease-out;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  background: var(--terracotta);
  border-radius: 8px;
  z-index: 0;
  opacity: 0.92;
}

.hero-photo-wrap::after {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--olive);
  border-left: 2px solid var(--olive);
  border-top-left-radius: 8px;
  z-index: 3;
  pointer-events: none;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 3.6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(42,38,32,0.18);
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.hero-photo:hover img {
  transform: scale(1.02);
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 75%, rgba(42,38,32,0.12) 100%);
  pointer-events: none;
}

.hero-photo-caption {
  position: absolute;
  bottom: 22px;
  left: 26px;
  z-index: 2;
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero-photo-caption::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--olive-soft);
  vertical-align: middle;
  margin-right: 10px;
}

@media (max-width: 980px) {
  .hero-photo {
    aspect-ratio: 4 / 3;
  }
  .hero-title-overlay {
    margin-top: 32px;
  }
  .hero-photo-wrap::before {
    top: 10px; left: 10px; right: -10px; bottom: -10px;
  }
}

@media (max-width: 640px) {
  .hero-title-overlay {
    margin-top: 24px;
  }
  .hero-photo {
    aspect-ratio: 5 / 4;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.9s 0.1s both ease-out;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--olive);
}

.hero-title {
  font-weight: 200;
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 32px;
  animation: fadeUp 0.9s 0.25s both ease-out;
}

.hero-title .accent {
  font-weight: 300;
  font-style: italic;
  color: var(--terracotta);
}

.hero-tagline {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 48px;
  font-weight: 300;
  animation: fadeUp 0.9s 0.4s both ease-out;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.55s both ease-out;
}

.btn {
  padding: 16px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
}

.btn-secondary:hover {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ WHO WE ARE ============ */
.who {
  background: var(--cream-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.who-body {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
}

.who-body strong {
  color: var(--ink);
  font-weight: 500;
}

.who-body p + p {
  margin-top: 24px;
}

@media (max-width: 880px) {
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ FOUNDERS ============ */
.founders {
  background: var(--cream);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 60px;
}

.founder {
  background: var(--surface);
  padding: 48px 44px;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.founder-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--hairline);
  box-shadow: 0 4px 16px rgba(42,38,32,0.06);
  background: var(--cream-deep);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-name {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}

.founder-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  font-style: italic;
}

.founder-section {
  margin-bottom: 24px;
}

.founder-section:last-child {
  margin-bottom: 0;
}

.founder-section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--olive);
  margin-bottom: 10px;
}

.founder-section-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 400;
}

.founder-section-body strong {
  color: var(--ink);
  font-weight: 600;
}

.founder-section-body p + p {
  margin-top: 10px;
}

.founder-list {
  margin-top: 8px;
  padding-left: 0;
  list-style: none;
}

.founder-list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.founder-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--olive);
}

@media (max-width: 880px) {
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder { padding: 36px 28px; }
}

/* ============ ADVISORS ============ */
.advisors {
  background: var(--cream-deep);
  border-top: 1px solid var(--hairline);
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.advisor {
  background: var(--surface);
  padding: 36px 32px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advisor:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.advisor-portrait {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--hairline);
  background: var(--cream-deep);
}
.advisor-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.advisor-name {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

.advisor-role {
  font-size: 12px;
  color: var(--terracotta);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  font-style: italic;
  font-weight: 500;
}

.advisor-list {
  list-style: none;
  padding: 0;
}

.advisor-list li {
  padding: 8px 0;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.advisor-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.advisor-list li strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 980px) {
  .advisor-grid { grid-template-columns: 1fr; }
}

/* ============ TRACK RECORD ============ */
.track {
  background: var(--cream);
}

.track-carousel-wrap {
  position: relative;
  margin-top: 60px;
}

.track-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 32px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--olive-soft) transparent;
}

.track-grid::-webkit-scrollbar {
  height: 6px;
}
.track-grid::-webkit-scrollbar-track {
  background: transparent;
}
.track-grid::-webkit-scrollbar-thumb {
  background: var(--olive-soft);
  border-radius: 3px;
}

.track-card {
  flex: 0 0 calc(50% - 14px);
  scroll-snap-align: start;
  min-width: 280px;
}

/* Carousel nav arrows */
.carousel-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.carousel-arrow:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.carousel-arrow svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 1024px) {
  .track-card {
    flex: 0 0 calc(33.333% - 19px);
  }
}

@media (max-width: 640px) {
  .track-card {
    flex: 0 0 calc(85% - 14px);
  }
}

.track-card {
  background: var(--surface);
  padding: 36px 32px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.track-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.track-logo {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--cream) 100%);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  font-size: 16px;
  margin-bottom: 24px;
}

.track-sector {
  font-size: 14px;
  color: var(--olive);
  letter-spacing: 0;
  margin-bottom: 20px;
  font-weight: 600;
}

.track-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============ HOW WE HELP ============ */
.help {
  background: var(--cream-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.help-item {
  padding: 36px 32px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--cream);
  transition: background 0.25s ease;
}

.help-item:hover {
  background: var(--surface);
}

.help-title {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.help-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .help-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .help-grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT ============ */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.contact-text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 40px;
}

.contact-direct {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
}

.contact-direct-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--olive);
  margin-bottom: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.contact-link:hover { color: var(--terracotta); }

.contact-link svg {
  color: var(--olive);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-form {
  background: var(--surface);
  padding: 44px 40px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--surface);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  background: var(--terracotta);
  color: var(--cream);
  padding: 16px;
  border-radius: 4px;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s ease;
  text-transform: uppercase;
  margin-top: 8px;
}

.form-submit:hover { background: var(--terracotta-deep); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 32px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-text {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--olive-soft);
}

.footer-meta {
  font-size: 13px;
  color: var(--muted);
}

/* ============ SECTION SIZES ============ */
@media (max-width: 880px) {
  .section { padding: 40px 0; }
  .container { padding: 0 22px; }
  .nav-inner { padding: 4px 22px; }
}


.hero-eyebrow-center .hero-eyebrow {
  margin-bottom: 0;
  display: inline-flex;
}

.hero-title-overlay .hero-title .soft-italic {
  font-weight: 300;
  font-style: italic;
  color: var(--olive);
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.founder-linkedin:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}
.founder-linkedin svg {
  width: 16px;
  height: 16px;
}

/* ===== Track Record logo container ===== */
.track-logo {
  width: 100%;
  max-width: 140px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: none;
  padding: 0;
}
.track-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.track-logo .logo-fallback {
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  font-size: 16px;
}

/* ============ NAV — logo scale ============ */
.nav-mark { height: 72px; }
.nav-inner { padding: 8px 32px; }
@media (max-width: 880px) { .nav-mark { height: 60px; } .nav-inner { padding: 6px 22px; } }
@media (max-width: 540px) { .nav-mark { height: 52px; } }

/* ============ HERO — editorial split: photo left, oversized headline right ============ */
.hero { padding: 56px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  align-items: center; column-gap: 72px;
}
.hero-photo-wrap { max-width: none; margin: 0; }
.hero-photo { aspect-ratio: 4 / 4.2; }
.hero-photo img { object-position: 100% 50%; }
.hero-copy { position: relative; z-index: 3; animation: fadeUp 1s 0.45s both ease-out; }
.hero-copy .hero-eyebrow { margin-bottom: 28px; animation: none; }
.hero-copy .hero-title {
  font-size: clamp(52px, 7.2vw, 104px); line-height: 0.95; font-weight: 200; font-style: italic;
  letter-spacing: -0.035em; color: var(--olive); margin: 0 0 36px; animation: none;
}
.hero-copy .hero-title .accent { color: var(--terracotta); font-weight: 300; font-style: italic; }
.hero-copy .hero-tagline { max-width: 520px; margin-bottom: 40px; animation: none; }
.hero-copy .hero-ctas { animation: none; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 48px; }
  .hero-photo { aspect-ratio: 4 / 4.2; }
  .hero-copy .hero-title { font-size: clamp(44px, 6.4vw, 72px); }
}
@media (max-width: 880px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; row-gap: 44px; }
  .hero-photo-wrap { max-width: 520px; }
  .hero-photo { aspect-ratio: 4 / 3.6; }
  .hero-copy .hero-title { font-size: clamp(48px, 11vw, 80px); }
}
@media (max-width: 640px) {
  .hero-photo { aspect-ratio: 4 / 3.6; }
  .hero-copy .hero-eyebrow { margin-bottom: 20px; }
  .hero-copy .hero-title { margin-bottom: 28px; }
}

/* ============ ADVISORS — cards keep their natural height ============ */
.advisor-grid { align-items: start; }
@media (max-width: 980px) {
  .advisor-grid {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 4px 24px; margin: 48px -4px 0;
    scrollbar-width: thin; scrollbar-color: var(--olive-soft) transparent;
  }
  .advisor-grid::-webkit-scrollbar { height: 6px; }
  .advisor-grid::-webkit-scrollbar-thumb { background: var(--olive-soft); border-radius: 3px; }
  .advisor { flex: 0 0 320px; scroll-snap-align: start; padding: 30px 26px; }
}
@media (max-width: 640px) {
  .advisor-grid { display: grid; grid-template-columns: 1fr; gap: 20px; overflow: visible; padding: 0; margin: 40px 0 0; }
  .advisor { flex: none; }
}

/* ============ NAV — additions (blog, language) ============ */
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links a.is-active { color: var(--terracotta); }
.nav-links a.nav-lang { color: var(--muted); letter-spacing: 0.08em; font-weight: 600; font-size: 13px; }
.nav-links a.nav-lang:hover { color: var(--terracotta); }
.nav-m { display: none; }
@media (max-width: 880px) {
  .nav-m { display: flex; align-items: center; gap: 2px; }
  .nav-m a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600;
  }
  .nav-m a.nav-lang { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
  .nav-m a:hover { color: var(--terracotta); }
}
@media (max-width: 540px) {
  .nav-cta { padding: 10px 14px; font-size: 12px; }
  .nav-m a { padding: 0 8px; }
}

/* ============ FOOTER — additions ============ */
footer { padding: 28px 0; }
.footer-inner { gap: 16px 32px; }
.footer-logo {
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); border-radius: 4px; padding: 6px 10px; height: 48px;
}
.footer-meta { font-size: 12px; }
@media (max-width: 640px) {
  footer { padding: 24px 0; }
  .footer-inner { gap: 14px 24px; }
}
.footer-logo img { height: 100%; width: auto; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
.footer-links a { color: var(--olive-soft); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--cream); }

/* ============ HOME — blog carousel ============ */
.home-blog { background: var(--cream-deep); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.home-blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.home-blog-head .section-title { margin-bottom: 0; }
.home-blog-tools { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.home-blog-tools .carousel-nav { margin-bottom: 0; }
.blog-carousel {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 4px 32px; margin: 40px -4px 0;
  scrollbar-width: thin; scrollbar-color: var(--olive-soft) transparent;
}
.blog-carousel::-webkit-scrollbar { height: 6px; }
.blog-carousel::-webkit-scrollbar-thumb { background: var(--olive-soft); border-radius: 3px; }
.blog-carousel .post-card { flex: 0 0 calc(33.333% - 19px); min-width: 280px; scroll-snap-align: start; }
@media (max-width: 1023px) { .blog-carousel .post-card { flex: 0 0 calc(50% - 14px); } }
@media (max-width: 640px) {
  .blog-carousel { gap: 16px; margin-top: 28px; }
  .blog-carousel .post-card { flex: 0 0 min(320px, 85%); }
  .home-blog-tools { width: 100%; justify-content: space-between; }
}

/* ============ BLOG — list ============ */
.blog-hero { padding: 56px 0 24px; }
.blog-hero .section-title { margin-bottom: 16px; }
.blog-intro {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-soft);
  font-weight: 300; max-width: 640px;
}
.post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px;
}
.post-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 6px; padding: 32px 28px;
  text-decoration: none; color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.post-card-cover {
  aspect-ratio: 16 / 9; margin: -32px -28px 24px; overflow: hidden;
  border-bottom: 1px solid var(--hairline); background: var(--cream-deep);
  border-radius: 6px 6px 0 0;
}
.post-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-date { font-size: 13px; font-weight: 600; color: var(--olive); margin-bottom: 14px; }
.post-card-title {
  font-size: 20px; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 12px; transition: color 0.2s ease; overflow-wrap: break-word;
}
.post-card:hover .post-card-title { color: var(--terracotta); }
.post-card-excerpt {
  font-size: 14px; line-height: 1.65; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-more {
  margin-top: auto; padding-top: 22px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--terracotta); display: inline-flex; gap: 8px; align-items: center;
}
.post-card-more .btn-arrow { transition: transform 0.25s ease; }
.post-card:hover .post-card-more .btn-arrow { transform: translateX(4px); }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.page-num, .page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 4px;
  text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.25s ease;
}
.page-num { background: var(--surface); border: 1px solid var(--hairline); color: var(--ink); }
.page-num:hover { border-color: var(--terracotta); color: var(--terracotta); }
.page-num.current { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.page-btn { color: var(--terracotta); }
.empty-state {
  text-align: center; color: var(--muted); padding: 70px 24px; background: var(--surface);
  border-radius: 6px; border: 1px dashed var(--hairline); margin-top: 40px;
}

@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-card { padding: 28px 24px; }
  .post-card-cover { margin: -28px -24px 22px; }
  .blog-hero { padding: 36px 0 12px; }
}

/* ============ BLOG — article ============ */
.post-wrap { padding-bottom: 96px; }
.blog-list { padding-bottom: 96px; }
.post { max-width: 760px; margin: 0 auto; }
.post-head { padding: 48px 0 0; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 32px;
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; padding: 6px 0; }
.crumbs a:hover { color: var(--terracotta); }
.crumb-sep { color: var(--olive-soft); }
.crumb-here { color: var(--ink-soft); }
.post-title {
  font-weight: 200; font-size: clamp(34px, 5vw, 56px); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 28px; overflow-wrap: break-word;
}
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-size: 13px; font-weight: 600; color: var(--olive);
  padding-bottom: 28px; border-bottom: 1px solid var(--hairline); margin-bottom: 40px;
}
.post-meta .byline { color: var(--ink-soft); }
.post-meta .dot { color: var(--olive-soft); }
.post-cover {
  border-radius: 8px; overflow: hidden; margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(42,38,32,0.10); background: var(--cream-deep);
}
.post-cover img { width: 100%; height: auto; display: block; }
.disclaimer {
  font-size: 13px; color: var(--muted); line-height: 1.6; padding: 12px 16px;
  border-left: 2px solid var(--olive-soft); background: var(--surface); margin-bottom: 32px;
}

.toc { background: var(--surface); border: 1px solid var(--hairline); border-radius: 6px; padding: 14px 20px; margin-bottom: 32px; }
.toc summary { font-size: 13px; font-weight: 600; color: var(--olive); cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.toc ol { margin: 10px 0 4px; padding-left: 20px; font-size: 15px; }
.toc a { color: var(--ink-soft); text-decoration: none; display: inline-block; padding: 4px 0; }
.toc a:hover { color: var(--terracotta); }

.prose { font-size: 18px; line-height: 1.7; color: var(--ink-soft); font-weight: 400; }
.prose > p:first-child { font-size: 21px; line-height: 1.55; font-weight: 300; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.prose a:hover { border-bottom-color: var(--terracotta); }
.prose h2 {
  font-weight: 300; font-size: clamp(26px, 3vw, 32px); line-height: 1.2;
  letter-spacing: -0.015em; color: var(--ink); margin: 52px 0 18px;
}
.prose h3 { font-weight: 500; font-size: 20px; line-height: 1.35; color: var(--ink); margin: 34px 0 12px; letter-spacing: -0.005em; }
.prose p { margin: 0 0 18px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 1px; background: var(--olive); }
.prose ol { padding-left: 24px; margin: 0 0 18px; }
.prose ol li { margin-bottom: 10px; padding-left: 6px; }
.prose ol li::marker { color: var(--terracotta); font-weight: 600; }
.prose > ul:first-of-type {
  background: var(--cream-deep); border: 1px solid var(--hairline); border-radius: 6px;
  padding: 24px 28px 24px 28px; margin: 0 0 28px; font-size: 17px;
}
.prose > ul:first-of-type li { padding-left: 22px; }
.prose > ul:first-of-type li::before { top: 14px; }
.prose > ul:first-of-type li:last-child { margin-bottom: 0; }
.prose blockquote {
  margin: 28px 0; padding: 20px 26px; background: var(--surface);
  border: 1px solid var(--hairline); border-left: 2px solid var(--olive);
  border-radius: 0 6px 6px 0; color: var(--ink-soft); font-weight: 300; font-size: 17px; line-height: 1.6;
}
.prose blockquote p { margin: 0; }
.prose code { background: var(--cream-deep); border-radius: 4px; padding: 2px 6px; font-size: 0.9em; }
.prose pre { background: var(--ink); color: var(--cream); padding: 18px; border-radius: 6px; overflow-x: auto; font-size: 14px; }
.prose pre code { background: none; color: inherit; }
.prose img { max-width: 100%; height: auto; border-radius: 6px; }
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 6px; border: 1px solid var(--hairline); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 480px; background: var(--surface); }
.table-wrap th, .table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--hairline); text-align: left; font-size: 15px; }
.table-wrap th { background: var(--cream-deep); font-weight: 600; color: var(--ink); font-size: 13px; }

.faq-block { margin-top: 24px; }
.faq-block h2 { border-top: 1px solid var(--hairline); padding-top: 40px; }

.author-box {
  display: flex; gap: 20px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 6px; padding: 28px; margin-top: 48px;
}
.author-box .advisor-portrait { margin: 0; flex-shrink: 0; width: 72px; height: 72px; }
.author-name { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.author-role { font-size: 12px; color: var(--terracotta); font-style: italic; font-weight: 500; letter-spacing: 0.06em; margin-bottom: 10px; }
.author-bio { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

.post-cta {
  margin-top: 56px; padding: 44px 40px; background: var(--cream-deep);
  border: 1px solid var(--hairline); border-radius: 6px; text-align: center;
}
.post-cta h2 { font-weight: 300; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 12px; }
.post-cta h2 em { color: var(--terracotta); font-style: normal; }
.post-cta p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); font-weight: 300; max-width: 520px; margin: 0 auto 28px; }
.post-cta .hero-ctas { justify-content: center; animation: none; }

.related { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--hairline); }
.related .section-title { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 0; }
.related .post-grid { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }

@media (max-width: 880px) {
  .post-head { padding: 32px 0 0; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 19px; }
  .prose h2 { margin: 40px 0 14px; }
  .prose > ul:first-of-type { padding: 20px 20px; }
  .prose blockquote { padding: 16px 20px; }
  .post-cta { padding: 32px 24px; }
  .related { margin-top: 56px; padding-top: 36px; }
  .post-wrap, .blog-list { padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .related .post-grid { grid-template-columns: 1fr; }
  .author-box { padding: 22px; gap: 16px; }
  .crumb-here { display: none; }
}

/* ============ доповнення движка (немає в експорті) ============ */
.page-ellipsis { padding: 0 6px; color: var(--muted); align-self: center; }
.shown-line {
  margin-top: 14px; text-align: center;
  font-size: 13px; color: var(--muted); letter-spacing: 0.02em;
}
