/* Quest Venture Partners — Modern Design System & Styles */

/* ==========================================================================
   1. Self-Hosted Typography (@font-face with font-display: swap)
   ========================================================================== */
/* IBM Plex Mono - Latin subsets */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/font-5.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/font-10.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/font-15.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Libre Franklin - Latin subsets */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/font-20.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/font-25.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/font-30.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/font-35.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/font-40.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Design Tokens & CSS Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #14243D;
  --navy-deep: #0E1B30;
  --blue: #2D6CB2;
  --blue-dark: #1F5796;
  --blue-light: #9CC0E6;
  --ink: #1E2A3D;
  --muted: #4A5568;
  --muted-on-navy: #93A4BA;
  --panel: #F4F6F8;
  --line: #E1E6EC;
  --paper: #FFFFFF;
  --sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

/* ==========================================================================
   3. Shared Typography & Micro-Components
   ========================================================================== */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-dark);
}

.eyebrow.light,
.section.navy .eyebrow,
.section.deep .eyebrow,
.hero .eyebrow {
  color: var(--blue-light);
}

.eyebrow.dim {
  color: #c3d2e6;
}

.rule {
  height: 2px;
  width: 72px;
  background: var(--blue);
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  border: 1px solid var(--blue);
  padding: 4px 11px;
  border-radius: 2px;
  line-height: 1;
}

.tag.lt {
  color: var(--blue-light);
  border-color: var(--blue-light);
}

/* BUTTONS */
.btn {
  font-family: var(--mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  padding: 15px 38px;
  transition: opacity .2s ease, transform .15s ease, background-color .2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover {
  opacity: .95;
  transform: translateY(-1px);
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

nav {
  width: 100%;
  height: 72px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand a {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 36px;
  width: auto;
  max-height: 36px;
  display: block;
  filter: invert(1) hue-rotate(180deg) brightness(1.2);
  opacity: .94;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a4b3c6;
  font-weight: 500;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-light);
}

/* MOBILE MENU TOGGLE */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #a4b3c6;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--blue-light);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--blue-light);
}

/* ==========================================================================
   5. Layout & Sections
   ========================================================================== */
main {
  flex: 1 0 auto;
}

.section {
  padding: 96px 64px;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.section.light {
  background: var(--panel);
}

.section.navy {
  background: var(--navy);
}

.section.deep {
  background: var(--navy-deep);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
footer {
  background: var(--navy-deep);
  padding: 36px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-on-navy);
  letter-spacing: .06em;
  text-align: center;
  line-height: 1.8;
}

.footer-btn {
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  display: inline;
}

.footer-btn:hover {
  color: var(--blue-light);
}

/* ==========================================================================
   7. Responsive Styles
   ========================================================================== */
@media (max-width: 860px) {
  nav {
    padding: 0 28px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.1);
    height: calc(100vh - 72px);
    overflow-y: auto;
    gap: 0;
    transform: translateY(-150%);
    transition: transform .4s cubic-bezier(.16,1,.3,1);
    padding: 32px 28px 64px;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    text-align: center;
  }
}
