/* ============================================================
   Midnight Vice Venture Capital Inc. — style.css
   Palette: white / deep navy #0a192f / grey accents
   ============================================================ */

:root {
  --navy: #0a192f;
  --navy-soft: #112240;
  --navy-line: #1d2d4e;
  --white: #ffffff;
  --grey-050: #f6f8fa;
  --grey-100: #eef1f5;
  --grey-300: #cbd4e0;
  --grey-500: #7b8794;
  --grey-700: #4a5568;
  --line: #e3e8ef;
  --max-w: 1160px;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(10, 25, 47, 0.10);
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 14px;
}

.eyebrow-light { color: var(--grey-300); }

.accent { color: var(--grey-500); }

.lede {
  font-size: 1.08rem;
  color: var(--grey-700);
  max-width: 54ch;
  margin-top: 20px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 25, 47, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand-globe {
  width: 30px;
  height: 30px;
  transition: color 0.2s ease;
}

.brand:hover .brand-globe { color: var(--grey-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  text-decoration: none;
  color: var(--grey-700);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--navy-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 0;
  background:
    linear-gradient(180deg, var(--grey-050) 0%, var(--white) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 88px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover { background: var(--navy-soft); }

.btn-ghost {
  border: 1.5px solid var(--grey-300);
  color: var(--navy);
}

.btn-ghost:hover { border-color: var(--navy); }

.hero-meta {
  list-style: none;
  display: flex;
  gap: 44px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-meta li { display: flex; flex-direction: column; gap: 2px; }

.hero-meta strong { font-size: 0.98rem; font-weight: 700; }

.hero-meta span {
  font-size: 0.78rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.hero-logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  width: 100%;
  max-width: 380px;
}

.hero-logo-card img { width: 100%; height: auto; }

.hero-visual-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--grey-500);
  font-weight: 500;
}

.tick {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-block;
}

.hero-strip {
  background: var(--navy);
  color: var(--grey-300);
  padding: 18px 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strip-inner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--grey-500);
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2 { color: var(--white); }

.section-grey { background: var(--grey-050); }

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-sub {
  margin-top: 16px;
  color: var(--grey-500);
  font-size: 1.02rem;
}

.section-dark .section-sub { color: var(--grey-300); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-reverse .split-media { order: 2; }
.split-reverse .split-copy { order: 1; }

.split-media { position: relative; }

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.media-tag {
  position: absolute;
  bottom: -18px;
  left: 28px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 6px;
}

.split-copy p { color: var(--grey-700); margin-top: 18px; }

.split-copy em { color: var(--navy); font-style: normal; font-weight: 600; }

.firm-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.point {
  border-top: 2px solid var(--navy);
  padding-top: 16px;
}

.point p { font-size: 0.92rem; margin-top: 8px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--navy-soft);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--grey-500);
}

.card-num {
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-500);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--grey-300);
  margin-bottom: 22px;
}

.card h3 { color: var(--white); margin-bottom: 12px; }

.card p { color: var(--grey-300); font-size: 0.94rem; }

.card ul {
  list-style: none;
  margin-top: 20px;
  border-top: 1px solid var(--navy-line);
  padding-top: 18px;
}

.card li {
  color: var(--grey-300);
  font-size: 0.88rem;
  padding: 5px 0 5px 20px;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--grey-500);
}

/* ---------- Service lists ---------- */
.service-list {
  list-style: none;
  margin-top: 28px;
}

.service-list li {
  position: relative;
  padding: 9px 0 9px 34px;
  color: var(--grey-700);
  font-size: 0.96rem;
  border-bottom: 1px solid var(--line);
}

.service-list li:last-child { border-bottom: 0; }

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: rotate(-45deg) scale(0.85);
}

.split-copy .hero-actions { margin-top: 32px; }

/* ---------- Thesis ---------- */
blockquote {
  margin-top: 26px;
  padding-left: 22px;
  border-left: 3px solid var(--navy);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}

.thesis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.thesis-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-700);
  background: var(--grey-100);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
}

.stat-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--grey-500);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: start;
}

.contact-email {
  display: inline-block;
  margin-top: 34px;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--grey-500);
  padding-bottom: 6px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-email:hover {
  color: var(--grey-300);
  border-color: var(--white);
}

.contact-web { margin-top: 22px; }

.contact-web a {
  color: var(--grey-300);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.contact-web a:hover { color: var(--white); }

.contact-card {
  background: var(--navy-soft);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.contact-card h3 {
  color: var(--grey-300);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.contact-card address,
.contact-card p {
  font-style: normal;
  color: var(--white);
  line-height: 1.8;
  font-size: 0.98rem;
}

.contact-divider {
  height: 1px;
  background: var(--navy-line);
  margin: 30px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-brand img { height: 30px; width: auto; }

.footer-legal {
  color: var(--grey-500);
  font-size: 0.85rem;
}

.back-top {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.back-top:hover { color: var(--grey-500); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-reverse .split-media { order: 1; }
  .split-reverse .split-copy { order: 2; }

  .cards { grid-template-columns: 1fr; }

  .stats { grid-template-columns: repeat(2, 1fr); }

  .hero { padding-top: 130px; }

  .hero-visual { align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.08);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a { padding: 14px 28px; }

  .nav-cta { margin: 10px 28px 0; border-radius: 6px; }

  .nav-toggle { display: flex; }

  .hero-meta { flex-direction: column; gap: 18px; }

  .stats { grid-template-columns: 1fr; }

  .firm-points { grid-template-columns: 1fr; }

  .footer-inner { justify-content: center; text-align: center; }
}
