/* Venture Legal Hub — shared stylesheet */
/* pure static, no frameworks. colors are hardcoded on purpose. */

/* base */
html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 64px 0 0 0; /* room for fixed header */
  background: #F5F1EB;
  color: #1A1F2E;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, .legal-head {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #1A1F2E;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #1A1F2E;
}

/* fixed header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #F5F1EB;
  border-bottom: 1px solid #D4CFC7;
  z-index: 500;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: 25px;
  color: #1A1F2E;
  text-decoration: none;
  letter-spacing: 0.2px;
}

#logo:hover {
  color: #A07C2B;
}

#main-nav {
  display: flex;
  align-items: center;
}

#main-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #1A1F2E;
  text-decoration: none;
  margin-left: 20px;
}

#main-nav a:hover {
  color: #A07C2B;
  text-decoration: underline;
}

/* hamburger — hidden on desktop */
#menu-toggle {
  display: none;
  font-size: 24px;
  color: #1A1F2E;
  text-decoration: none;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid #D4CFC7;
}

/* pipeline draw */
.pipeline-wrap {
  max-width: 820px;
  margin: 28px auto 8px auto;
  padding: 0 16px;
}

#deal-pipeline svg,
#dilution-waterfall svg {
  width: 100%;
  height: auto;
  display: block;
  background: #FFFFFF;
  border: 1px solid #D4CFC7;
}

.waterfall-wrap {
  max-width: 820px;
  margin: 28px auto;
  padding: 0 16px;
}

/* essay column */
.essay {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 20px 0 20px;
  font-size: 18px;
  line-height: 1.85;
  color: #1A1F2E;
}

.essay p {
  margin: 0 0 1.25em 0;
}

.essay h2.legal-head {
  font-size: 29px;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.8em 0 0.6em 0;
}

.essay h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 1.4em 0 0.5em 0;
}

.essay ul, .essay ol {
  margin: 0 0 1.25em 0;
  padding-left: 1.4em;
}

.essay li {
  margin-bottom: 0.45em;
}

/* CTA text links — never buttons */
.cta-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: #C9A84C !important;
  text-decoration: none;
}

.cta-link:hover {
  color: #A07C2B !important;
  text-decoration: underline;
}

/* office conditions boxes */
.offices-row {
  max-width: 960px;
  margin: 44px auto 10px auto;
  padding: 0 20px;
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.office-conditions {
  background: #FFFFFF;
  border: 1px solid #D4CFC7;
  padding: 16px 18px 14px 18px;
  flex: 1 1 0;
  min-width: 0;
}

.office-conditions .oc-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8B7D6B;
  margin: 0 0 6px 0;
}

.office-conditions h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.office-conditions .oc-row {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: #4A5568;
}

.office-conditions .oc-row span {
  color: #1A1F2E;
  font-weight: 600;
}

/* doc-photo layout block (resource pages) */
.doc-photo-block {
  max-width: 960px;
  margin: 28px auto 10px auto;
  padding: 0 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.doc-photo-img {
  width: 60%;
  flex: 0 0 60%;
}

.doc-photo-img img {
  width: 100%;
  display: block;
  border: 1px solid #D4CFC7;
}

.doc-photo-side {
  flex: 1 1 auto;
  min-width: 0;
}

.doc-photo-side .office-conditions {
  flex: none;
  width: auto;
}

/* disclaimer — every page */
.disclaimer {
  max-width: 720px;
  margin: 44px auto 0 auto;
  padding: 0 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  color: #8B7D6B;
  text-align: center;
  line-height: 1.5;
}

/* footer */
#site-footer {
  background: #1A1F2E;
  color: #E8E2D8;
  border-top: 3px solid #C9A84C;
  margin-top: 60px;
  padding: 42px 20px 90px 20px; /* extra bottom so cookie bar doesn't cover links */
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

.footer-col {
  flex: 1 1 0;
  min-width: 0;
}

.footer-col h4 {
  font-size: 19px;
  font-weight: 600;
  color: #C9A84C;
  margin: 0 0 12px 0;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px 0;
  color: #E8E2D8;
}

.footer-col a {
  color: #E8E2D8;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #C9A84C;
  text-decoration: underline;
}

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

.footer-col li {
  margin-bottom: 7px;
}

/* cookie bar */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #D4CFC7;
  padding: 12px 20px;
  display: none; /* js shows it */
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 900;
  font-size: 14px;
  color: #1A1F2E;
  text-align: center;
}

#cookie-bar p {
  margin: 0;
  display: inline;
}

#cookie-bar a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #C9A84C !important;
  text-decoration: none !important;
  margin-left: 4px;
}

#cookie-bar a:hover {
  color: #A07C2B !important;
  text-decoration: underline !important;
}

/* mobile */
@media (max-width: 860px) {
  #menu-toggle {
    display: block;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: #F5F1EB;
    border-bottom: 1px solid #D4CFC7;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px 14px 20px;
  }

  #main-nav.nav-open {
    display: flex !important;
  }

  #main-nav a {
    margin: 7px 0;
    font-size: 16px;
  }

  .offices-row {
    flex-direction: column;
  }

  .doc-photo-block {
    flex-direction: column;
  }

  .doc-photo-img {
    width: 100%;
    flex: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 26px;
  }
}
