﻿/* ============================================================
   M&M IPO Advisory — stylesheet
   Bold modern: deep forest green + brass accent, hard edges,
   diagonal color-blocked sections, ticker-style stat bars.
   ============================================================ */

:root {
  --navy-dark:  #0E1F17;
  --navy:       #0E1F17;
  --navy-mid:   #1B362A;
  --navy-light: #35543F;

  --gold-dark:  #8C6B2E;
  --gold:       #B08D3E;
  --gold-light: #D9BD7E;

  --cream:      #F3F1E7;
  --border:     #DDD7C4;
  --border-light: #EAE6D9;

  --slate-dark: #16211B;
  --slate:      #5C5B4E;
  --white:      #FFFFFF;

  --radius:     6px;
  --radius-lg:  10px;
  --radius-xl:  14px;

  --shadow-sm:  0 1px 0 rgba(14,31,23,.05);
  --shadow-md:  6px 6px 0 rgba(14,31,23,.10);
  --shadow-lg:  10px 10px 0 rgba(14,31,23,.14);

  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans:  'Source Serif 4', Georgia, serif;

  --transition: all .22s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: -.01em;
  font-weight: 700;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.section-cream { background: var(--cream); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: transparent;
  border: 1.5px solid var(--gold-dark);
  padding: 6px 12px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.eyebrow::before { content: "["; opacity: .55; }
.eyebrow::after { content: "]"; opacity: .55; }
.section-navy .eyebrow, .eyebrow-light {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section-navy .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .92rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
}
.btn-gold:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--navy); }
.btn-outline-light {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .84rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 3px solid var(--navy);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { line-height: 1.1; }
.brand-text .name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: var(--navy);
}
.brand-text .name .amp { color: var(--gold-dark); }
.brand-text .tag {
  display: block;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 14px;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--slate-dark);
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); border-bottom-color: var(--gold-dark); }
.nav-links .btn-gold { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
  .nav-actions .btn-gold { display: none; }
  .nav-links .btn-gold { display: inline-flex; margin-top: 10px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 120px 0 130px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.hero-decor {
  position: absolute;
  top: -6%; right: -2%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.08);
  letter-spacing: -.03em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-weight: 700; font-size: clamp(2.3rem, 4.8vw, 3.7rem); max-width: 800px; }
.hero .accent-text { color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.72); max-width: 620px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 700px) {
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); padding: 96px 0 96px; }
}

/* ---------- Stats bar (full-width ticker strip) ---------- */
.stats-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 24px;
}
.stats-bar-inner > div {
  padding: 0 20px;
  border-left: 1px solid var(--border);
}
.stats-bar-inner > div:first-child { border-left: none; padding-left: 0; }
.stats-bar .stat-num { display: block; font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.stats-bar .stat-label { display: block; font-size: .8rem; color: var(--slate); letter-spacing: .01em; line-height: 1.35; margin-top: 4px; }
@media (max-width: 700px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stats-bar-inner > div:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .stats-bar-inner > div:nth-child(n+3) { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
}

/* legacy hero-grid/hero-stats selectors kept for safety, unused on redesigned hero */
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 100%; height: auto; }
.hero-inner { max-width: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-visual svg { max-width: 340px; } }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats .stat-num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.hero-stats .stat-label { font-size: .85rem; color: rgba(255,255,255,.7); letter-spacing: .01em; line-height: 1.35; }
@media (max-width: 700px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: 68px 0 76px;
  background: var(--navy);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px));
}
.page-hero .breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.8vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.72); max-width: 680px; font-size: 1.05rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover { box-shadow: 6px 6px 0 var(--navy); transform: translate(-3px,-3px); }
.card .icon-badge {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .95rem; margin-bottom: 0; }

/* ---------- Timeline (Pre / During / Post IPO) ---------- */
.timeline-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .timeline-3 { grid-template-columns: 1fr; } }
.timeline-col {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--navy);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.timeline-col .tl-head {
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.timeline-col.during .tl-head { background: var(--gold-dark); border-bottom-color: var(--navy); }
.timeline-col ul { padding: 22px 24px 26px; }
.timeline-col li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 13px;
  font-size: .93rem;
  color: var(--slate-dark);
}
.timeline-col li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--gold-dark);
}
.timeline-col li:last-child { margin-bottom: 0; }

/* ---------- Team ---------- */
.team-card { display: flex; gap: 20px; align-items: flex-start; }
.avatar {
  width: 72px; height: 72px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card .role { color: var(--gold-dark); font-weight: 700; font-size: .85rem; margin-bottom: 8px; display: block; }
.team-card .cred { color: var(--slate); font-size: .82rem; margin-bottom: 10px; }
.team-card .contact-line { font-size: .82rem; color: var(--slate); }
.team-card .contact-line a:hover { color: var(--gold-dark); text-decoration: underline; }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
}
@media (max-width: 700px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stats-strip > div { padding: 0 24px; border-left: 1px solid var(--border); }
.stats-strip > div:first-child { border-left: none; padding-left: 0; }
.stats-strip .stat-num { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; color: var(--navy); }
.stats-strip .stat-label { color: var(--slate); font-size: .85rem; }

/* ---------- Values ---------- */
.value-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1.5px solid var(--navy);
  font-weight: 700; font-size: .9rem;
  color: var(--navy);
}
.value-chip .dot { width: 8px; height: 8px; background: var(--gold); }

/* ---------- Clientele grid ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 28px;
}
@media (max-width: 900px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .client-grid { grid-template-columns: 1fr; } }
.client-grid li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .93rem;
  color: var(--slate-dark);
}
.client-grid li .tick { color: var(--gold-dark); font-weight: 700; flex-shrink: 0; }

.hallmark-strip {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.hallmark-strip span {
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  padding: 9px 18px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
}
.hallmark-strip span:hover { background: var(--navy); color: var(--white); }

/* ---------- Timeline steps (about page) ---------- */
.milestones { position: relative; padding-left: 28px; border-left: 3px solid var(--navy); }
.milestone { position: relative; padding-bottom: 34px; }
.milestone:last-child { padding-bottom: 0; }
.milestone::before {
  content: "";
  position: absolute; left: -37px; top: 2px;
  width: 12px; height: 12px;
  background: var(--gold); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.milestone .yr { font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.milestone p { color: var(--slate); margin-top: 4px; font-size: .95rem; }

/* ---------- Branch list ---------- */
.branch-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.branch-pills span {
  background: var(--white);
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: .84rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--navy);
  border: 1.5px solid var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: none;
}
.contact-info-card h3 { color: var(--white); }
.contact-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-row .ci-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(176,141,62,.16);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .ci-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 3px; }
.contact-row div { color: rgba(255,255,255,.85); }
.contact-row a:hover { color: var(--gold-light); }
.social-row { display: flex; gap: 10px; margin-top: 26px; }
.social-row a {
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.form-card {
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--slate-dark);
  background: var(--cream);
  transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 3px rgba(176,141,62,.22);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 14px; }
.form-success {
  display: none;
  background: rgba(176,141,62,.12);
  border: 1.5px solid var(--gold-dark);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .88rem;
  margin-bottom: 16px;
}
.form-success.show { display: block; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--navy); margin-top: 24px; }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 22px, 22px 0);
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 28px; }
.cta-band .eyebrow { color: var(--gold-light); border-color: var(--gold-light); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding-top: 64px; border-top: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer .brand-text .name { color: var(--white); }
.site-footer .brand-text .name .amp { color: var(--gold); }
.site-footer .brand-text .tag { color: rgba(255,255,255,.55); }
.site-footer p.desc { font-size: .9rem; max-width: 320px; color: rgba(255,255,255,.6); }
.footer-links li { margin-bottom: 10px; font-size: .9rem; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding: 24px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom .social-row a { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.6); width: 34px; height: 34px; }

/* ---------- Reveal-on-scroll (content is always visible; this only adds a subtle settle-in) ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.pre-in { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }

