/* ============================================================
   SEDEGOV THEME — Executive Editorial Dark
   ============================================================ */

:root {
  --bg: #0C0C0C;
  --bg-2: #111111;
  --bg-3: #181818;
  --border: rgba(255,255,255,0.08);
  --accent: #C9A96E;
  --accent-dim: rgba(201,169,110,0.15);
  --text: #E8E8E8;
  --text-muted: rgba(232,232,232,0.5);
  --text-dim: rgba(232,232,232,0.25);
  --ff-head: 'Archivo Black', sans-serif;
  --ff-body: 'IBM Plex Sans', sans-serif;
  --max-w: 1280px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --radius: 2px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p { max-width: 68ch; }

code {
  font-family: var(--ff-body);
  background: var(--bg-3);
  color: var(--accent);
  padding: 0.15em 0.4em;
  border-radius: var(--radius);
  font-size: 0.9em;
}

/* ── Utility ── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.label-number {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.label-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #0C0C0C;
}
.btn-primary:hover {
  background: #d9b97e;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(12,12,12,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 60px;
}

.site-logo {
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img { height: 40px; width: auto; }
.site-title-text {
  white-space: nowrap;
  color: #F0EDE6;
  font-size: 18px;
  font-weight: 400;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-nav a:hover, .site-nav .nav-current a {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(80px + 4rem) var(--gutter) 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.hero-photo {
  position: relative;
  order: 2;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  opacity: 0.3;
  transform: translate(8px, 8px);
  pointer-events: none;
  z-index: -1;
}

.hero-photo img {
  width: 100%;
  max-height: 75vh;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.05);
}

.hero-content { order: 1; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  max-width: none;
}

.hero-title {
  color: #fff;
  margin-bottom: 2rem;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.accent-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ═══════════════════════════════════
   ABOUT
═══════════════════════════════════ */
.section-about {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 5vw, 7rem);
  margin-bottom: 5rem;
}

.about-headline h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.about-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════
   EXPERTISE
═══════════════════════════════════ */
.section-expertise {
  padding: 8rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.expertise-card {
  background: var(--bg-2);
  padding: 3rem 2.5rem;
  position: relative;
  transition: background var(--transition);
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.expertise-card:hover { background: var(--bg-3); }
.expertise-card:hover::before { width: 100%; }

.expertise-index {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.expertise-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.expertise-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
}

/* ═══════════════════════════════════
   ARTICLES
═══════════════════════════════════ */
.section-articles {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.articles-header {
  margin-bottom: 4rem;
}

.articles-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.article-card {
  background: var(--bg);
  transition: background var(--transition);
  overflow: hidden;
}

.article-card:hover { background: var(--bg-2); }

.article-card--featured {
  grid-row: 1 / 3;
}

.article-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.article-card--featured .article-card-image {
  aspect-ratio: 4/3;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.03);
}

.article-card-content {
  padding: 2rem;
}

.article-card--featured .article-card-content {
  padding: 2.5rem;
}

.article-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.article-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.article-card--featured .article-card-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.article-card-title a:hover { color: var(--accent); }

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
  margin-bottom: 1.25rem;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.articles-more { text-align: center; }

.no-posts {
  padding: 3rem;
  color: var(--text-muted);
  grid-column: 1/-1;
}

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
.section-contact {
  padding: 8rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 7vw, 10rem);
  align-items: start;
}

.contact-headline h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.contact-subline {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  max-width: none;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-2);
  padding: 2rem 2.5rem;
  transition: background var(--transition);
  gap: 2rem;
}

.contact-link:hover {
  background: var(--bg-3);
}

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

.contact-link-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.contact-link-value {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  color: #fff;
  transition: color var(--transition);
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: 0.82rem; color: var(--text-muted); transition: color var(--transition); }
.footer-nav a:hover { color: var(--accent); }

.footer-copy p {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: none;
}

/* ═══════════════════════════════════
   POST / PAGE
═══════════════════════════════════ */
.post-main, .page-main, .error-main {
  min-height: 100vh;
  padding-top: 80px;
}

.post-header, .page-header {
  padding: 6rem var(--gutter) 4rem;
  border-bottom: 1px solid var(--border);
}

.post-header-inner, .page-header-inner {
  max-width: 820px;
  margin: 0 auto;
}

.post-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201,169,110,0.3);
  padding: 0.3em 0.8em;
  border-radius: var(--radius);
}

.post-title, .page-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.post-excerpt, .page-excerpt {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.post-meta-right { display: flex; align-items: center; gap: 0.5rem; }
.sep { color: var(--border); }

.post-feature-image, .page-feature-image {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem var(--gutter);
}

.post-feature-image img, .page-feature-image img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
}

.post-feature-image figcaption, .page-feature-image figcaption {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  text-align: center;
}

/* ── Ghost Content Styles ── */
.gh-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem var(--gutter);
}

.gh-content > * + * { margin-top: 1.5em; }

.gh-content h2 { margin-top: 2.5em; }
.gh-content h3 { margin-top: 2em; }

.gh-content p {
  color: rgba(232,232,232,0.85);
  font-size: 1.05rem;
  line-height: 1.8;
}

.gh-content a { color: var(--accent); border-bottom: 1px solid rgba(201,169,110,0.3); transition: border-color var(--transition); }
.gh-content a:hover { border-color: var(--accent); }

.gh-content blockquote {
  border-left: 2px solid var(--accent);
  padding: 1rem 2rem;
  margin: 2em 0;
  background: var(--bg-2);
}

.gh-content blockquote p { font-style: italic; font-size: 1.1rem; color: var(--text-muted); }

.gh-content pre {
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.88rem;
}

.gh-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3em 0;
}

.gh-content ul, .gh-content ol {
  padding-left: 1.5rem;
  color: rgba(232,232,232,0.85);
}

.gh-content li + li { margin-top: 0.5em; }

.gh-content img {
  border-radius: var(--radius);
  width: 100%;
}

.gh-content figure { margin: 2em 0; }
.gh-content figcaption { font-size: 0.8rem; color: var(--text-dim); text-align: center; margin-top: 0.5rem; }

/* Post Footer */
.post-footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem var(--gutter) 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.post-tags a {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.3em 0.8em;
  border-radius: var(--radius);
  margin: 0.25rem;
  transition: border-color var(--transition), color var(--transition);
}
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

.post-share { display: flex; gap: 0.75rem; }

.share-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Subscribe */
.post-subscribe {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 6rem var(--gutter);
}
.subscribe-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.subscribe-inner h3 { margin-bottom: 1rem; }
.subscribe-inner p { color: var(--text-muted); margin-bottom: 2rem; margin-left: auto; margin-right: auto; }
.subscribe-inner form {
  display: flex;
  gap: 0.75rem;
}
.subscribe-inner input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1.25rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.subscribe-inner input:focus { border-color: var(--accent); }
.subscribe-inner input::placeholder { color: var(--text-dim); }

/* Error Page */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-inner {
  text-align: center;
  padding: var(--gutter);
}

.error-code {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(6rem, 15vw, 14rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.error-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card--featured { grid-column: 1/-1; grid-row: auto; }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-photo {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-tagline { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-scroll-hint { display: none; }

  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }
  .site-nav.is-open ul { flex-direction: column; align-items: center; gap: 2rem; }
  .site-nav.is-open a { font-size: 1.5rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .about-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
  .stat-item:last-child { border-bottom: none; }

  .expertise-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .subscribe-inner form { flex-direction: column; }
  .post-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --gutter: 1.25rem; }
}

/* ═══════════════════════════════════
   KOENIG CARD STYLES (required)
═══════════════════════════════════ */
.gh-content .kg-width-wide {
  margin-left: calc(50% - 50vw + var(--gutter));
  margin-right: calc(50% - 50vw + var(--gutter));
  max-width: calc(100vw - 2 * var(--gutter));
}

.gh-content .kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

.gh-content .kg-image { width: 100%; border-radius: var(--radius); }

.gh-content .kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gh-content .kg-gallery-row {
  display: flex;
  gap: 0.5rem;
}

.gh-content .kg-gallery-image {
  flex: 1;
  overflow: hidden;
}

.gh-content .kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gh-content .kg-bookmark-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gh-content .kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: var(--text);
}

.gh-content .kg-bookmark-content {
  flex: 1;
  padding: 1.5rem;
}

.gh-content .kg-bookmark-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.gh-content .kg-bookmark-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: none;
}

.gh-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.gh-content .kg-bookmark-thumbnail {
  width: 160px;
  flex-shrink: 0;
}

.gh-content .kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gh-content .kg-callout-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-2);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
}

.gh-content .kg-callout-emoji { font-size: 1.25rem; }

.gh-content .kg-video-card video,
.gh-content .kg-embed-card iframe {
  width: 100%;
  border-radius: var(--radius);
}

.gh-content .kg-header-card {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-2);
  border-radius: var(--radius);
}

.gh-content .kg-header-card-header { font-family: var(--ff-head); font-size: 2.5rem; }

.gh-content .kg-toggle-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gh-content .kg-toggle-heading {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
}

.gh-content .kg-product-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ═══════════════════════════════════
   METRICS (standalone 5-col row)
═══════════════════════════════════ */
.section-metrics {
  border-top: 1px solid var(--border);
}

.stats-row--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ═══════════════════════════════════
   WHAT I DO (light bg override)
═══════════════════════════════════ */
.section-what {
  background: var(--bg);
}

.expertise-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ═══════════════════════════════════
   RESULTS / NUMBERS
═══════════════════════════════════ */
.section-results {
  padding: 8rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.result-item {
  background: var(--bg-2);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: background var(--transition);
}

.result-item:hover {
  background: var(--bg-3);
}

.result-number {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.result-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════════
   RESPONSIVE — new sections
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .stats-row--5 { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .stats-row--5 { grid-template-columns: 1fr; }
  .expertise-grid--4 { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════ */
.page-about-main { padding-top: 6rem; }

.about-hero {
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.about-hero-photo {
  width: clamp(120px, 14vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-name {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-top: 0.5rem;
}

.about-bio {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.about-bio-grid {
  max-width: 780px;
}

.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-bio-text p { max-width: none; }

.about-experience {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.experience-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.experience-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.experience-period {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  min-height: 1em;
}

.experience-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.experience-company {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  color: #fff;
}

.experience-role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-results {
  padding: 6rem 0;
}

/* Hero title size override */
.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 3.25rem) !important;
}

/* Footer nav ul reset */
.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Responsive — about page */
@media (max-width: 768px) {
  .about-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .about-hero-photo { margin: 0 auto; }
  .experience-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .results-grid { grid-template-columns: 1fr; }
}

/* results-grid 3-col variant (about page) */
.results-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .results-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .results-grid--3 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════
   SOCIAL ICONS
═══════════════════════════════════ */
.social-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.social-icon:hover {
  background: rgba(201,169,110,0.1);
  border-color: rgba(201,169,110,0.7);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  overflow: visible;
}

/* LCP: hero photo rendering hint */
.hero-photo { content-visibility: auto; }

/* CLS fix: explicit aspect-ratio for hero photo */
.hero-photo img,
.hero-photo picture { width: 100%; height: auto; aspect-ratio: 3/4; }

/* Footer contrast */
.footer-description,
.footer-nav a,
.footer-copy p { color: #888780; }

/* Font display swap (CLS fix) */
@font-face { font-family: 'Archivo Black'; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; font-display: swap; }

/* Hero CLS: stable layout container */
.hero { contain: layout; }

/* Hero picture stable dimensions */
.hero picture,
.hero-photo {
  aspect-ratio: 560/747;
  width: 100%;
  max-width: 480px;
}

/* ═══════════════════════════════════
   NAV LAYOUT OVERRIDES
═══════════════════════════════════ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-direction: row-reverse;
}

.nav-logo {
  flex-shrink: 0;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

/* ── BLOG LIST ── */
.blog-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}
.blog-header {
  margin-bottom: 60px;
}
.blog-label {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A96E;
  display: block;
  margin-bottom: 12px;
}
.blog-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #F0EDE6;
  margin-bottom: 24px;
}
.blog-cats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-cat-link {
  font-size: 13px;
  color: #A8A49E;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 16px;
  transition: all 0.2s;
}
.blog-cat-link:hover {
  color: #C9A96E;
  border-color: rgba(201,169,110,0.4);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.blog-card {
  background: #0C0C0C;
  transition: background 0.2s;
}
.blog-card:hover { background: #141414; }
.blog-card-img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.03);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-card-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A96E;
  text-decoration: none;
  border: 1px solid rgba(201,169,110,0.3);
  padding: 3px 8px;
}
.blog-card-date {
  font-size: 12px;
  color: #5A5754;
}
.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-title a {
  color: #F0EDE6;
  text-decoration: none;
}
.blog-card-title a:hover { color: #C9A96E; }
.blog-card-excerpt {
  font-size: 13px;
  color: #A8A49E;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
}
.blog-page-num {
  font-size: 13px;
  color: #5A5754;
}

/* ── POST PAGE ── */
.post-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.post-header { margin-bottom: 40px; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.post-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A96E;
  border: 1px solid rgba(201,169,110,0.4);
  padding: 4px 10px;
  text-decoration: none;
}
.post-date { font-size: 13px; color: #A8A49E; }
.post-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #F0EDE6;
}
.post-excerpt {
  font-size: 18px;
  color: #A8A49E;
  line-height: 1.65;
  margin-top: 16px;
}
.post-cover { margin: 0 0 48px; }
.post-cover img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}
.post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #E0DDD6;
}
.post-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #F0EDE6;
  margin: 48px 0 16px;
}
.post-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #F0EDE6;
  margin: 36px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content a { color: #C9A96E; }
.post-content ul, .post-content ol {
  margin: 0 0 20px 24px;
}
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid #C9A96E;
  margin: 32px 0;
  padding: 16px 24px;
  background: rgba(201,169,110,0.05);
}
.post-content strong { color: #F0EDE6; font-weight: 700; }
.post-footer {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.post-footer-cta {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  text-align: center;
}
.post-footer-text {
  font-size: 16px;
  color: #A8A49E;
  margin-bottom: 24px;
}
.post-footer-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-page { padding: 100px 20px 60px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-footer-buttons { flex-direction: column; align-items: center; }
}

/* ── BTN SECONDARY ── */
.btn-secondary {
  display: inline-block;
  color: #A8A49E;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  color: #F0EDE6;
  border-color: rgba(255,255,255,0.35);
}

/* ── HOME POSTS SECTION v2 ── */
.home-posts-section {
  padding: 100px 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.home-posts-inner { max-width: 1200px; margin: 0 auto; }
.home-posts-top { margin-bottom: 40px; }
.home-posts-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #F0EDE6;
  line-height: 1.1;
  margin: 8px 0 20px;
}
.home-posts-title em {
  font-style: italic;
  color: #C9A96E;
  font-weight: 800;
}
.home-posts-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.home-cat-btn {
  font-size: 11px;
  color: #A8A49E;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 14px;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.home-cat-btn:hover { color: #C9A96E; border-color: rgba(201,169,110,0.4); }
.home-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.home-post-card {
  background: #0C0C0C;
  transition: background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.home-post-card:hover { background: #141414; }
.home-post-card--hero {
  grid-column: 1 / -1;
  border-right: none;
}
.home-post-card--hero .home-post-card-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
}
.home-post-card--hero .home-post-card-img { aspect-ratio: auto; height: 100%; min-height: 220px; }
.home-post-card--hero .home-post-card-title { font-size: 22px; }
.home-post-card--hero .home-post-card-excerpt { -webkit-line-clamp: 4; }
.home-post-card-link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.home-post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.home-post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.home-post-card:hover .home-post-card-img img { transform: scale(1.04); }
.home-post-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.home-post-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.home-post-card-tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A96E;
  border: 1px solid rgba(201,169,110,0.3);
  padding: 2px 7px;
}
.home-post-card-date { font-size: 11px; color: #5A5754; }
.home-post-card-title { font-size: 15px; font-weight: 700; color: #F0EDE6; line-height: 1.35; margin-bottom: 8px; }
.home-post-card-excerpt {
  font-size: 12px;
  color: #A8A49E;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}
.home-posts-footer { text-align: center; }
@media (max-width: 900px) {
  .home-posts-section { padding: 70px 20px; }
  .home-posts-grid { grid-template-columns: 1fr 1fr; }
  .home-post-card--hero { grid-column: 1 / -1; }
  .home-post-card--hero .home-post-card-link { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-posts-grid { grid-template-columns: 1fr; }
}
/* ── GHOST FILE CARD ── */
.kg-file-card {
  background: #141414 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 0 !important;
}
.kg-file-card-container {
  background: transparent !important;
}
.kg-file-card-title {
  color: #F0EDE6 !important;
  font-weight: 600 !important;
}
.kg-file-card-caption {
  color: #A8A49E !important;
}
.kg-file-card-metadata {
  color: #5A5754 !important;
}
.kg-file-card-icon {
  background: #1A1A1A !important;
  border-left: 1px solid rgba(255,255,255,0.08) !important;
}
.kg-file-card-icon svg path {
  stroke: #C9A96E !important;
}
/* ════════════════════════════════════════════════════════
   SEDEGOV THEME — ДОПОЛНЕНИЯ v2.0
   Добавить в конец /assets/css/screen.css
   ════════════════════════════════════════════════════════ */

/* ── METRICS STRIP (hero) ── */
.metrics-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.metric-chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.35em 0.9em;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}

.metric-chip:hover {
  color: var(--accent);
  border-color: rgba(201,169,110,0.4);
}

/* ── PAIN SECTION ── */
.section-pain {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.pain-intro {
  max-width: 780px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 3.5rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pain-card {
  background: var(--bg-2);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.pain-card--link {
  transition: background var(--transition);
}

.pain-card--link:hover {
  background: var(--bg-3);
}

.pain-card-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.2;
}

.pain-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ── SECTION INTRO ── */
.section-intro {
  margin-bottom: 3rem;
}

.section-intro h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  max-width: 760px;
  line-height: 1.2;
}

/* ── SECTION CTA ROW ── */
.section-cta-row {
  margin-top: 3rem;
  text-align: center;
}

/* ── EXPERTISE GRID 5 COLUMNS ── */
.expertise-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ── RESULT ITEMS — LINKED VARIANT ── */
.result-item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.result-item--link:hover {
  background: var(--bg-3);
}

.result-item--link:hover .result-number {
  color: #d9b97e;
}

/* ── FORMATS PAGE ── */
.page-formats-main {
  padding-top: 80px;
}

.formats-header {
  padding: 6rem var(--gutter) 4rem;
  border-bottom: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

.formats-h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.formats-intro {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.format-block {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.format-block-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(3rem, 5vw, 7rem);
}

.format-meta {
  padding-top: 0.25rem;
}

.format-index {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}

.format-title {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.format-audience {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.format-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.format-when {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: none;
}

.format-what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.format-what-col,
.format-result-col {
  background: var(--bg-2);
  padding: 1.75rem;
}

.format-col-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
  display: block;
}

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.format-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.format-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.format-materials {
  margin-top: 0.5rem;
}

.format-materials-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  display: block;
}

.format-materials-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.format-materials-links a {
  font-size: 0.88rem;
  color: var(--accent);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  transition: border-color var(--transition);
  padding-bottom: 0.1em;
}

.format-materials-links a:hover {
  border-bottom-color: var(--accent);
}

.format-cta {
  margin-top: 0.5rem;
}

.formats-footer-cta {
  padding: 6rem 0;
  text-align: center;
}

.formats-footer-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: none;
}

/* ── PROOF PAGE ── */
.page-proof-main {
  padding-top: 80px;
}

.proof-header {
  padding: 6rem var(--gutter) 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.proof-h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.proof-intro {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.proof-nav-bar {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: rgba(12,12,12,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.proof-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.proof-nav-inner::-webkit-scrollbar { display: none; }

.proof-nav-item {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 1.1rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.proof-nav-item:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.proof-block {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 140px;
}

.proof-block-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.proof-block-header {
  margin-bottom: 3rem;
}

.proof-block-title {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.proof-block-what {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  max-width: none;
}

.proof-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.proof-fact {
  background: var(--bg-2);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.proof-fact-number {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.proof-fact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.proof-materials {
  margin-bottom: 2rem;
}

.proof-materials-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  display: block;
}

.proof-materials-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.proof-materials-list a {
  font-size: 0.9rem;
  color: var(--accent);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  transition: border-color var(--transition);
  padding-bottom: 0.1em;
  display: inline;
}

.proof-materials-list a:hover {
  border-bottom-color: var(--accent);
}

.proof-block-cta {
  background: var(--bg-2);
  border-left: 2px solid var(--accent);
  padding: 1.25rem 1.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
}

/* ── CONTACT PAGE ── */
.page-contact-main {
  padding-top: 80px;
}

.contact-page-inner {
  padding-top: 6rem;
  padding-bottom: 8rem;
  max-width: 680px;
}

.contact-page-h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.contact-page-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 3.5rem;
  max-width: none;
}

.contact-links--full {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.contact-link-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-left: auto;
  letter-spacing: 0.05em;
}

.contact-page-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-page-note p { max-width: none; }

.contact-page-links-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── NAV CTA BUTTON ── */
/* Стилизует последний пункт меню как кнопку (Ghost Admin: добавить "Обсудить задачу" → /contact/) */
.site-nav li:last-child a {
  background: var(--accent);
  color: #0C0C0C !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.site-nav li:last-child a:hover {
  background: #d9b97e;
  color: #0C0C0C !important;
}

/* ── RESPONSIVE — ADDITIONS ── */
@media (max-width: 1200px) {
  .expertise-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .proof-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .format-block-inner { grid-template-columns: 1fr; gap: 2rem; }
  .expertise-grid--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
  .expertise-grid--5 { grid-template-columns: 1fr; }
  .format-what-grid { grid-template-columns: 1fr; }
  .contact-link-hint { display: none; }
  .contact-page-links-row { flex-direction: column; }
}

@media (max-width: 600px) {
  .proof-facts-grid { grid-template-columns: 1fr 1fr; }
  .metrics-strip { gap: 0.4rem; }
}

@media (max-width: 480px) {
  .proof-facts-grid { grid-template-columns: 1fr; }
}

/* results-grid--proof: 4 columns */
.results-grid--proof {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .results-grid--proof { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .results-grid--proof { grid-template-columns: 1fr; }
}

/* Hero article card */
.article-card--hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  margin-bottom: 1px;
}
.article-card--hero .article-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card--hero .article-card-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.article-card--hero .article-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.article-card-title--hero {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

/* Articles 3×2 grid */
.articles-grid--3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 1px;
}
@media (max-width: 768px) {
  .article-card--hero { grid-template-columns: 1fr; }
  .articles-grid--3x2 { grid-template-columns: 1fr; }
}

/* ── TELEGRAM CTA ── */
.tg-cta { border-top: 1px solid #2a2520; border-bottom: 1px solid #2a2520; margin: 48px 0; padding: 32px 0; }
.tg-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tg-cta__title { font-size: 16px; font-weight: 500; color: #e8e2d4; margin: 0 0 6px; }
.tg-cta__sub   { font-size: 13px; color: #6a6460; margin: 0; }
.tg-cta__actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn { display: inline-block; padding: 11px 24px; font-size: 14px; font-weight: 500; border-radius: 6px; text-decoration: none; }
.btn--gold    { background: #c9a84c; color: #111; }
.btn--outline { border: 1px solid #3a3530; color: #9a9488; }
@media (max-width: 680px) {
  .tg-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ── FOOTER 3-COLUMN GRID ── */
.site-footer { border-top: 1px solid #1e1c18; margin-top: 64px; }
.site-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 48px 40px 40px; max-width: 1280px; margin: 0 auto; }

.footer-name { font-size: 17px; font-weight: 500; color: #e8e2d4; margin: 0 0 6px; }
.footer-tagline { font-size: 13px; color: #6a6460; margin: 0 0 20px; line-height: 1.5; }

.footer-socials { display: flex; gap: 8px; }
.footer-social-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #2a2520; border-radius: 6px; color: #6a6460; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.footer-social-icon:hover { border-color: #c9a84c; color: #c9a84c; }
.footer-social-icon svg { width: 16px; height: 16px; }

.footer-col-heading { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #5a5450; margin: 0 0 16px; }

.footer-nav-links { list-style: none; padding: 0; margin: 0; }
.footer-nav-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav-links li { margin: 0 0 8px; }
.footer-nav-links a { font-size: 14px; color: #8a8478; text-decoration: none; transition: color 0.2s; }
.footer-nav-links a:hover { color: #e8e2d4; }
.footer-nav-links li:last-child a { color: #c9a84c; }
.footer-nav-links li:last-child a::after { content: " \2192"; }

.footer-cta-text { font-size: 13px; color: #6a6460; margin: 0 0 20px; line-height: 1.5; }
.footer-cta-btn { display: inline-block; padding: 11px 24px; font-size: 14px; font-weight: 500; border-radius: 6px; text-decoration: none; background: #c9a84c; color: #111; transition: background 0.2s; }
.footer-cta-btn:hover { background: #d9b97e; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; border-top: 1px solid #1e1c18; max-width: 1280px; margin: 0 auto; }
.footer-copy { font-size: 13px; color: #5a5450; }
.footer-domain { font-size: 13px; color: #3a3430; }

@media (max-width: 768px) {
  .site-footer-grid { grid-template-columns: 1fr; padding: 32px 20px 24px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 8px; align-items: flex-start; }
}
