/* ============================================================
   M&M Ventures LTD — brand system derived from company invoice
   Navy   #1B2A4A  (logo square / wordmark)
   Gold   #C5A55A  (brand rule / accents)
   Slate  #5A6A7A  (tagline / secondary text)
   Paper  #F7F6F2  (warm off-white panels)
============================================================ */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-var.woff2") format("woff2");
}

:root {
  --navy: #1B2A4A;
  --navy-deep: #14213C;
  --navy-soft: #2A3C61;
  --gold: #C5A55A;
  --gold-soft: #D9C189;
  --slate: #5A6A7A;
  --ink: #232B38;
  --paper: #F7F6F2;
  --line: #E4E1D8;
  --white: #FFFFFF;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(27, 42, 74, 0.08);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.18; }

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.08rem; font-weight: 600; }

a { color: var(--navy); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow labels (echo the letterspaced tagline) ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.75); }
.eyebrow-gold { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-small { padding: 9px 20px; font-size: 0.88rem; }

.btn:focus-visible, a:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand img { width: 200px; height: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-menu a:not(.btn) {
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s ease;
}
.nav-menu a:not(.btn):hover { color: var(--gold); }

.nav-toggle { display: none; }

/* ============================================================
   Hero
============================================================ */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(197, 165, 90, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(42, 60, 97, 0.85), transparent 65%),
    var(--navy);
  color: var(--white);
}
.hero-inner {
  padding: clamp(84px, 11vw, 150px) 24px;
  max-width: 880px;
  margin: 0 auto;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 700px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-divisions {
  margin-top: 48px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   Positioning statement strip
============================================================ */
.positioning {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 72px) 0;
}
.positioning p {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.positioning em {
  font-style: normal;
  border-bottom: 2px solid var(--gold);
}

/* ============================================================
   Sections
============================================================ */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.78); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-lede { font-size: 1.06rem; color: var(--slate); margin-top: 16px; }
.section-dark .section-lede { color: rgba(255, 255, 255, 0.78); }
.section-note {
  margin-top: 36px;
  max-width: 680px;
  color: var(--slate);
  font-size: 0.98rem;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

/* ---------- Split (text + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-text p { margin-bottom: 16px; }
.split-text h2 { margin-bottom: 20px; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.check-list { list-style: none; margin-top: 8px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--gold);
  border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Card grids ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(197, 165, 90, 0.55);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.94rem; color: var(--slate); }
.card-compact { padding: 24px 24px; display: flex; align-items: center; gap: 16px; }
.card-compact .card-icon { margin-bottom: 0; flex-shrink: 0; }
.card-compact h3 { margin-bottom: 0; font-size: 1.02rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(27, 42, 74, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mini cards (due diligence, on navy) */
.dd-grid { margin-top: 56px; }
.mini-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
}
.mini-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 0; }

.banner-media { margin-bottom: 40px; }
.banner-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 21 / 8;
}

/* ---------- Due diligence regulatory note (subtle) ---------- */
.dd-note {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 880px;
}

/* ---------- Who we work with ---------- */
.who-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.who-grid li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px 18px 50px;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--navy);
}
.who-grid li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 26px;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--gold);
  border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- How we work (steps) ---------- */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.steps-grid h3 { margin-bottom: 6px; }
.steps-grid p { font-size: 0.92rem; color: var(--slate); }

/* ---------- Why M&M (value list) ---------- */
.value-list { list-style: none; max-width: 860px; }
.value-list li {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.value-list li:last-child { border-bottom: none; }
.value-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 52px;
  line-height: 1.3;
}
.value-list h3 { margin-bottom: 4px; }
.value-list p { font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact-panel {
  background:
    radial-gradient(700px 360px at 90% -20%, rgba(197, 165, 90, 0.18), transparent 60%),
    var(--navy);
  border-radius: 14px;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 88px);
  text-align: center;
}
.contact-panel .eyebrow::after { margin-left: auto; margin-right: auto; }
.contact-panel h2 { color: var(--white); margin-bottom: 16px; }
.contact-text {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 32px;
}
.btn-large { padding: 17px 40px; font-size: 1.02rem; }
.contact-email { margin-top: 22px; }
.contact-email a {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-soft);
  text-decoration: none;
}
.contact-email a:hover { text-decoration: underline; }

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 36px;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
.footer-tagline {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 4px;
}
.footer-meta { text-align: right; line-height: 1.9; }
.footer-meta a { color: var(--gold-soft); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.footer-legal { padding-top: 26px; }
.footer-legal p { margin-bottom: 8px; }
.footer-disclaimer { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); max-width: 760px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 165, 90, 0.5);
  padding-bottom: 1px;
}
.footer-links a:hover { color: var(--gold-soft); }

/* ============================================================
   Legal pages (privacy / terms / cookies)
============================================================ */
.legal-main { padding: clamp(48px, 7vw, 90px) 0; }
.legal-main .container { max-width: 820px; }
.legal-main h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.legal-updated { color: var(--slate); font-size: 0.9rem; margin-bottom: 40px; }
.legal-main h2 {
  font-size: 1.25rem;
  margin: 38px 0 12px;
  padding-top: 6px;
}
.legal-main p, .legal-main li { font-size: 0.97rem; color: var(--ink); margin-bottom: 12px; }
.legal-main ul { padding-left: 22px; margin-bottom: 14px; }
.legal-main li { margin-bottom: 6px; }
.legal-main a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal-back { display: inline-block; margin-top: 44px; font-weight: 600; font-size: 0.93rem; text-decoration: none !important; color: var(--navy); }
.legal-back::before { content: "← "; color: var(--gold); }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 980px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .card-grid-3 { grid-template-columns: 1fr; }
  .who-grid, .steps-grid { grid-template-columns: 1fr; }
  .brand img { width: 168px; }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a:not(.btn) {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-menu .btn { margin-top: 16px; }
  .value-list li { gap: 18px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .tag-card, .btn { transition: none; }
}
