/* vangadvisory.com — Vang brand (v4)
   Brand: Vang Capital_Brand Guidelines (Drive)
   Colors: Deep Navy #0a1641 + Purple #4b04af + Teal #0ea5a5
   Type: Montserrat (headers/wordmark) + Open Sans (body)
*/

:root {
  --navy: #0a1641;
  --navy-soft: #2a3461;
  --navy-faint: #6a7493;
  --purple: #4b04af;
  --purple-soft: #8a5cd6;
  --teal: #0ea5a5;
  --rule: #d6dbe6;
  --section-bg: #f2f2f2;
  --paper: #ffffff;
  --headline: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 0.15s ease, color 0.15s ease;
}
a:hover { text-decoration-thickness: 2px; color: var(--navy); }

main {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* MASTHEAD */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 0 1.25rem;
  margin-bottom: 5rem;
}

.wordmark { display: inline-block; text-decoration: none; }
.wordmark img { height: 38px; display: block; }

.masthead-meta {
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--navy-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* THESIS */
.thesis {
  margin: 0 0 7rem;
  max-width: 56rem;
}

.thesis h1 {
  font-family: var(--headline);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 2rem;
  color: var(--navy);
}

.thesis h1 em {
  font-style: normal;
  color: var(--purple);
  font-weight: 700;
}

.thesis-sub {
  font-family: var(--body);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 38rem;
  color: var(--navy-soft);
  margin: 0;
  font-weight: 400;
}

/* BLOCK */
.block {
  margin: 0 0 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.rubric {
  font-family: var(--headline);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 1.75rem;
}

.prose {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: var(--measure);
  margin: 0 0 1rem;
  color: var(--navy);
}

.prose:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }

/* SERVICES — 4-bucket service offering */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3rem;
  margin: 0 0 1.5rem;
}

.service h3 {
  font-family: var(--headline);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.005em;
  margin: 0 0 0.85rem;
  color: var(--purple);
}

.service ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service li {
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.55;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--navy);
}

.service li:last-child { border-bottom: none; }

@media (max-width: 700px) {
  .services {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* CASE — engagement entries as named paragraphs */
.case {
  margin: 0 0 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  max-width: 50rem;
}

.case:last-of-type { border-bottom: none; }

.case-meta {
  font-family: var(--headline);
  font-size: 0.75rem;
  color: var(--navy-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.case-name {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.85rem;
  color: var(--navy);
}

.case p:not(.case-meta) {
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
  max-width: 42rem;
  color: var(--navy);
}

.case-overflow {
  font-family: var(--body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--navy-soft);
  max-width: 42rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.colophon { text-align: left; }

/* FOOTER */
.site-foot {
  border-top: 1px solid var(--rule);
  margin: 6rem auto 0;
  padding: 1.75rem var(--gutter) 2rem;
  max-width: 70rem;
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--navy-faint);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.site-foot p { margin: 0; }
.site-foot a { color: var(--navy-soft); }
.site-foot a:hover { color: var(--purple); }

/* RESPONSIVE */
@media (max-width: 800px) {
  .masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 0;
  }
  .wordmark img { height: 32px; }
  .thesis { margin-bottom: 5rem; }
  .case-name { font-size: 1.55rem; }
}

@media (max-width: 500px) {
  body { font-size: 16px; }
  .thesis h1 { font-size: 1.95rem; line-height: 1.18; }
  .rubric { font-size: 0.72rem; }
}
