/* VG editorial refinement; paper, ink, Newsreader and existing content retained. */
:root { --vg-accent: #1e3a8a; --vg-rule: #d4d4d8; }
html { scroll-padding-top: 96px; }
a { text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--vg-accent); outline-offset: 4px; }
input, textarea { caret-color: var(--vg-accent); }
input::placeholder, textarea::placeholder { color: #65656d !important; opacity: 1; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
section[id] { scroll-margin-top: 96px; }
body > header > div { max-width: 1280px !important; height: 80px !important; gap: 20px; }
header nav { gap: 20px !important; font-size: 12px !important; }
header a, header button { min-height: 44px; }
header nav a { display: inline-flex; align-items: center; }
#langToggle { padding: 10px 12px; }
main > section { padding-top: 88px; padding-bottom: 88px; }
main > section > div { min-width: 0; }
main section h2.font-serif { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.13; }
main h3 { line-height: 1.35; }
main p { line-height: 1.75; }
main section > div > div.mb-16 { margin-bottom: 40px; }
main > section.vg-home-hero { padding: 64px 0 56px; }
.vg-home-hero .vg-hero-grid { max-width: 1280px !important; text-align: left; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: 'status visual' 'title visual' 'description visual' 'actions visual' 'trust trust'; column-gap: 56px; align-items: start; }
.vg-home-hero .vg-hero-status { grid-area: status; justify-self: start; margin-bottom: 24px; font-size: 10px; }
.vg-home-hero .vg-hero-status .animate-pulse { animation: none; }
.vg-home-hero .vg-hero-title { grid-area: title; font-size: clamp(42px, 4.5vw, 64px); line-height: 1.04; margin-bottom: 24px; }
.vg-home-hero .vg-hero-title > span { display: inline; }
.vg-home-hero .vg-hero-title > span.italic { display: block; margin-top: 14px; }
.vg-home-hero .vg-hero-title br { display: none; }
.vg-home-hero .vg-hero-description { grid-area: description; font-size: 15px; line-height: 1.8; margin: 0 0 28px; max-width: 60ch; }
.vg-home-hero .vg-hero-actions { grid-area: actions; align-items: stretch; justify-content: flex-start; gap: 12px; margin: 0; flex-direction: column; }
.vg-home-hero .vg-hero-actions a { width: fit-content; max-width: 100%; min-height: 48px; border-radius: 8px; padding: 14px 20px; }
.vg-home-hero .vg-hero-actions a + a { border-color: transparent; background: transparent; justify-content: flex-start; padding-left: 0; box-shadow: none; }
.vg-home-hero .vg-hero-actions a + a:hover { text-decoration: underline; }
.vg-home-hero .vg-hero-visual { grid-area: visual; margin: 0; align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.vg-home-hero .vg-hero-visual figure { flex: 1; min-height: 470px; border-radius: 12px; border-color: var(--vg-rule); }
.vg-home-hero .vg-hero-visual picture { display: block; height: 100%; }
.vg-home-hero .vg-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; aspect-ratio: auto !important; }
.vg-home-hero .vg-hero-visual > p { margin-top: 12px; text-align: left; font-size: 10px; }
.vg-home-hero .vg-hero-trust { grid-area: trust; margin-top: 44px; padding-top: 22px; color: #52525b; }
.vg-home-hero .vg-hero-trust > div { justify-content: flex-start; }
#leadForm input:not([type='hidden']), #leadForm select, #leadForm textarea { min-height: 48px; font-size: 16px; border-radius: 8px; border-color: var(--vg-rule); }
#leadForm label { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: .02em; }
#submitBtn { min-height: 52px; border-radius: 8px; }
#discoveryOptions button { border-radius: 10px; }
#discoveryOptions button:focus-visible { outline-offset: -4px; }
#waLauncher, #aiChatLauncher { width: 52px; height: 52px; }
#cookieBanner { bottom: 88px; border-color: var(--vg-rule); background: #fff; }
#cookieBanner button { min-width: 44px; min-height: 44px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1024px) and (max-width: 1199px) {
 header nav { gap: 12px !important; }
 body > header > div { gap: 12px; }
 header > div > a > div.flex-col > span:last-child { display: none; }
 .vg-home-hero .vg-hero-grid { column-gap: 32px; }
}
@media (max-width: 767px) {
 html { scroll-padding-top: 84px; }
 body > header > div { height: 68px !important; gap: 8px; }
 main > section { padding-top: 56px; padding-bottom: 56px; }
 main section h2.font-serif { font-size: 32px; }
 main section > div > div.mb-16 { margin-bottom: 32px; }
 .vg-home-hero .vg-hero-grid { display: flex; flex-direction: column; gap: 0; }
 .vg-home-hero .vg-hero-status { font-size: 9px; justify-content: flex-start; border: 0; border-radius: 0; background: transparent; padding: 0; margin-bottom: 24px; }
 .vg-home-hero .vg-hero-title { font-size: clamp(36px, 7vw, 48px); line-height: 1.08; }
 .vg-home-hero .vg-hero-title > span.italic { margin-top: 12px; }
 .vg-home-hero .vg-hero-description { font-size: 15px; }
 .vg-home-hero .vg-hero-actions { width: 100%; gap: 4px; }
 .vg-home-hero .vg-hero-actions a { width: 100%; font-size: 13px; padding-inline: 12px; }
 .vg-home-hero .vg-hero-actions a + a { justify-content: center; padding-left: 12px; }
 .vg-home-hero .vg-hero-trust { width: 100%; margin-top: 24px; padding-top: 20px; grid-template-columns: 1fr; gap: 12px; }
 .vg-home-hero .vg-hero-visual { width: 100%; margin: 28px 0 0; }
 .vg-home-hero .vg-hero-visual figure { min-height: 0; flex: none; }
 .vg-home-hero .vg-hero-visual img { height: 300px; }
 #kesif-formu > div > div.p-8, .res-panel { padding: 24px !important; }
 #kesif-formu a[href^='tel:'] { white-space: normal; }
 a, button { min-height: 44px; min-width: 44px; }
 main a, footer a { align-items: center; }
 main a:not(.flex):not(.inline-flex), footer a { display: inline-flex; }
 input, select, textarea { max-width: 100%; }
 #waWidget { left: 16px; bottom: 16px; }
 #aiChatWidget { right: 16px; bottom: 16px; }
 #cookieBanner { bottom: 84px; max-height: calc(100dvh - 160px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* === VG Refined Editorial Footer (2026-10-28) === */
footer.vg-site-footer {
  background: #f4f3ee;
  border-top: 1px solid #dedfd8;
  padding: 56px 0 44px;
  color: #18181b;
}
.vg-refreshed footer.vg-site-footer {
  padding-bottom: 48px;
}
footer.vg-site-footer a,
footer.vg-site-footer button,
.vg-contact-section a.vg-wa-cta,
.vg-contact-form a.vg-wa-cta {
  min-height: 0 !important;
  min-width: 0 !important;
}
.vg-footer-shell {
  width: min(1200px, calc(100% - 48px)) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
.vg-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.08fr;
  gap: 36px;
  align-items: stretch;
  padding-bottom: 36px;
  border-bottom: 1px solid #dedfd8;
}
.vg-footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding-right: 12px;
}
.vg-footer-brand-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vg-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vg-footer-monogram {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #18181b;
  color: #faf9f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.vg-footer-brand-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #18181b;
  display: block;
  line-height: 1.25;
}
.vg-footer-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #71717a;
  display: block;
  margin-top: 2px;
}
.vg-footer-desc {
  font-size: 12.5px;
  line-height: 1.72;
  color: #52525b;
  max-width: 42ch;
  margin: 0;
}
.vg-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding-top: 4px;
}
.vg-footer-nav a {
  display: inline-flex !important;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  color: #52525b;
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.15s ease;
}
.vg-footer-nav a:hover {
  color: #18181b;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vg-footer-office {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border-left: 1px solid #dedfd8;
  padding-left: 28px;
}
.vg-office-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vg-office-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.vg-office-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #18181b;
  line-height: 1.2;
}
.vg-flag-icon {
  width: 18px !important;
  height: 12px !important;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, 0.12);
  flex-shrink: 0;
  display: inline-block;
}
.vg-office-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #52525b;
  background: #e9e8e1;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.vg-office-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #059669;
  flex-shrink: 0;
}
.vg-office-badge-dot--uk {
  background: #2563eb;
}
.vg-office-address {
  margin: 0;
  min-height: 38px;
}
.vg-office-address-main {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #18181b;
  line-height: 1.4;
}
.vg-office-address-sub {
  display: block;
  font-size: 11.5px;
  color: #65656d;
  line-height: 1.45;
  margin-top: 2px;
}
.vg-office-contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  padding-top: 2px;
}
.vg-office-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #18181b;
  text-decoration: none;
  line-height: 1.4;
  width: fit-content;
}
.vg-office-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vg-office-link--mail {
  font-size: 11.5px;
  font-weight: 400;
  color: #52525b;
}
.vg-office-link svg {
  width: 13.5px !important;
  height: 13.5px !important;
  color: #71717a;
  flex-shrink: 0;
}
.vg-office-actions {
  padding-top: 2px;
}
a.vg-wa-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 0 13px;
  border-radius: 8px;
  background: #059669;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  width: fit-content;
  white-space: nowrap;
}
a.vg-wa-cta:hover {
  background: #047857;
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.26);
  transform: translateY(-1px);
}
a.vg-wa-cta .vg-wa-icon {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor;
  flex-shrink: 0;
}
a.vg-wa-cta .vg-wa-flag {
  width: 15px !important;
  height: 10px !important;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  display: inline-block;
}
a.vg-wa-cta .vg-wa-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  opacity: 0.85;
  margin-left: 1px;
}
.vg-footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vg-footer-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  color: #65656d;
}
.vg-footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
  white-space: nowrap;
}
.vg-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 10px;
  line-height: 1.5;
  white-space: nowrap;
}
.vg-footer-legal a,
.vg-footer-legal button {
  display: inline-flex !important;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #52525b;
  background: transparent;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}
.vg-footer-legal a.vg-mono-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.vg-footer-legal a:hover,
.vg-footer-legal button:hover {
  color: #18181b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vg-footer-sep {
  color: #a1a1aa;
  user-select: none;
}
.vg-footer-privacy-note {
  margin: 0 !important;
  max-width: none !important;
  padding: 12px 0 0 !important;
  border-top: 1px dashed #dfdfd9;
  font-size: 11px !important;
  line-height: 1.6 !important;
  color: #71717a;
}
.vg-footer-privacy-note a {
  display: inline !important;
  color: #3f3f46;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.vg-footer-privacy-note a:hover {
  color: #18181b;
}
@media (max-width: 960px) {
  .vg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .vg-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #dedfd8;
  }
  .vg-footer-office:first-of-type {
    border-left: 0;
    padding-left: 0;
  }
  .vg-footer-desc {
    max-width: 62ch;
  }
  .vg-footer-bar {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  footer.vg-site-footer {
    padding: 40px 0 96px;
  }
  .vg-footer-shell {
    width: calc(100% - 32px) !important;
  }
  .vg-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }
  .vg-footer-office {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid #e4e4de;
    padding-top: 18px;
  }
  .vg-footer-brand {
    border-bottom: 0;
    padding-bottom: 4px;
  }
  .vg-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .vg-footer-copy,
  .vg-footer-legal {
    white-space: normal;
    justify-content: flex-start;
  }
  a.vg-wa-cta {
    width: 100%;
    height: 38px;
    min-height: 38px !important;
  }
}

/* === VG Archive.org Corporate References & Testimonials Section (2026-10-28) === */
.vg-references-section {
  background: #f6f5f0;
  border-bottom: 1px solid var(--vg-line, #dedfd8);
  padding: 80px 0;
}
.vg-refs-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid #dedfd8;
  margin-bottom: 40px;
}
.vg-refs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #285443;
  margin-bottom: 14px;
}
.vg-refs-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #285443;
  display: inline-block;
}
.vg-refs-top h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #18181b;
  margin: 0 0 16px;
  max-width: 20ch;
}
.vg-refs-lead {
  font-size: 15px;
  line-height: 1.75;
  color: #52525b;
  margin: 0;
  max-width: 60ch;
}
.vg-refs-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #faf9f6;
  border: 1px solid #dedfd8;
  border-radius: 12px;
  padding: 22px 24px;
}
.vg-refs-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vg-refs-metric + .vg-refs-metric {
  border-left: 1px solid #e4e4de;
  padding-left: 16px;
}
.vg-refs-metric-num {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #18181b;
}
.vg-refs-metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  line-height: 1.45;
  color: #65656d;
}

/* Brand Logo Matrix */
.vg-refs-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 52px;
}
.vg-ref-card {
  background: #ffffff;
  border: 1px solid #e2e2dc;
  border-radius: 10px;
  padding: 14px 12px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.vg-ref-card:hover {
  border-color: #a8afa2;
  box-shadow: 0 8px 20px rgba(24, 24, 27, 0.05);
  transform: translateY(-2px);
}
.vg-ref-logo-wrap {
  width: 100%;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vg-ref-logo-wrap img {
  max-height: 68px;
  max-width: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.vg-ref-card:hover .vg-ref-logo-wrap img {
  transform: scale(1.04);
}
.vg-ref-meta {
  width: 100%;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid #f1f1ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  line-height: 1.3;
}
.vg-ref-name {
  font-weight: 600;
  color: #27272a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vg-ref-sector {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: #71717a;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Verbatim Testimonials from Archive.org */
.vg-refs-quotes-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.vg-refs-quotes-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52525b;
  margin: 0;
}
.vg-refs-quotes-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #71717a;
  margin: 0;
}
.vg-refs-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.vg-ref-quote-card {
  background: #faf9f6;
  border: 1px solid #dedfd8;
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.vg-ref-quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vg-ref-quote-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.vg-ref-quote-brand img {
  width: 52px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e4e4de;
  padding: 2px 4px;
}
.vg-ref-quote-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #285443;
  background: #e9eee7;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 500;
}
.vg-ref-quote-text {
  font-family: Newsreader, Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  color: #18181b;
  margin: 0;
  font-style: italic;
}
.vg-ref-quote-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e6e6e0;
  font-size: 12px;
}
.vg-ref-person strong {
  display: block;
  font-weight: 600;
  color: #18181b;
}
.vg-ref-person span {
  display: block;
  font-size: 11px;
  color: #65656d;
  margin-top: 2px;
}

/* Additional Archive Portfolio Strip */
.vg-refs-footnote {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 10px;
  background: #efeee8;
  border: 1px solid #dedfd8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: #3f3f46;
}
.vg-refs-footnote strong {
  color: #18181b;
  font-weight: 600;
}
.vg-refs-footnote a.vg-refs-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #285443;
  text-decoration: none;
  min-height: 0 !important;
  min-width: 0 !important;
  white-space: nowrap;
}
.vg-refs-footnote a.vg-refs-cta:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1024px) {
  .vg-refs-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vg-refs-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .vg-references-section {
    padding: 52px 0;
  }
  .vg-refs-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px;
  }
  .vg-refs-metric + .vg-refs-metric {
    border-left: 0;
    border-top: 1px solid #e4e4de;
    padding-left: 0;
    padding-top: 12px;
  }
  .vg-refs-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 36px;
  }
  .vg-ref-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .vg-ref-name {
    white-space: normal;
  }
  .vg-refs-quotes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .vg-ref-quote-card {
    padding: 20px;
  }
}

/* === VG Unified Header Rules (2026-10-28) === */
.vg-tools-mobile {
  display: none;
}
@media (max-width: 1023px) {
  .vg-tools-mobile {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: #52525b;
    padding: 4px 8px;
    text-decoration: none;
  }
}


/* Unified Header Mobile Sections Accordion (Hidden on Desktop >= 1024px) */
.vg-mobile-sections {
  display: none;
}
@media (max-width: 1023px) {
  .vg-mobile-sections {
    display: block;
    position: relative;
    padding: 8px 24px;
    border-top: 1px solid #e2e0da;
    font-size: 13px;
    background: #faf9f6;
  }
  .vg-mobile-sections summary {
    cursor: pointer;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    font-weight: 500;
    color: #27272a;
  }
  .vg-mobile-sections summary::-webkit-details-marker {
    display: none;
  }
  .vg-mobile-sections summary::after {
    content: "+";
    font-family: "JetBrains Mono", monospace;
    font-size: 15px;
    color: #52525b;
  }
  .vg-mobile-sections[open] summary::after {
    content: "−";
  }
  .vg-mobile-sections nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px !important;
    padding: 12px 0;
  }
  .vg-mobile-sections nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: #3f3f46;
    text-decoration: none;
  }
  .vg-mobile-sections nav a:hover {
    color: #18181b;
    text-decoration: underline;
  }
}
