/* Massie Capital Management, LLC — site stylesheet */

:root {
  --charcoal: #1C1F24;
  --charcoal-deep: #101113;
  --gold: #A68852;
  --gold-light: #C6AA78;
  --gray: #5E5E5E;
  --sand: #F6F3ED;
  --sand-deep: #DCD6CC;
  --white: #FFFFFF;
  --serif: "Cambria", Georgia, "Times New Roman", serif;
  --sans: "Calibri", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: var(--serif); margin: 0; color: var(--charcoal); }
p { margin: 0 0 1em 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 96px 0; }
.section-label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 8px;
}
.section-intro {
  font-size: 15px;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 48px;
}
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--charcoal); color: var(--sand); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark .section-intro { color: #B9B6AE; }
.bg-dark p { color: #D8D5CD; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(28, 31, 36, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 30px; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--sand);
  font-size: 13.5px;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold);
  color: var(--charcoal-deep) !important;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 700 !important;
}
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,17,19,0.78) 0%, rgba(16,17,19,0.62) 45%, rgba(16,17,19,0.88) 100%);
}
.hero-content {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  width: 100%;
}
.hero-logo { height: 46px; margin-bottom: 40px; }
.hero-content h1 {
  color: var(--white);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 6px;
}
.hero-kicker {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 22px;
  display: block;
}
.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: #E7E4DC;
  max-width: 560px;
  margin: 28px 0 34px;
  line-height: 1.55;
}
.hero-byline {
  font-size: 14px;
  color: #C9C6BE;
  margin-bottom: 34px;
}
.hero-byline strong { color: var(--white); }
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal-deep);
  padding: 14px 30px;
  font-size: 13.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 13px 29px;
  font-size: 13.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  margin-left: 14px;
}

/* ---------- Stats ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 700;
}

/* ---------- Mission / Focus ---------- */
.mission-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.5;
  color: var(--white);
  max-width: 760px;
  margin-bottom: 56px;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
.focus-card {
  background: var(--charcoal-deep);
  padding: 30px 26px;
}
.focus-card h4 {
  font-size: 16px;
  color: var(--gold-light);
  font-weight: 700;
  font-family: var(--sans);
  letter-spacing: 0.3px;
}

/* ---------- Who we serve ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  padding: 26px 20px;
  text-align: center;
}
.client-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.client-card span { font-size: 13.5px; font-weight: 600; color: var(--charcoal); }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  padding: 34px 28px;
}
.service-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 19px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.service-card ul {
  margin: 0; padding: 0;
  list-style: none;
}
.service-card li {
  font-size: 13.5px;
  color: var(--gray);
  padding: 7px 0 7px 18px;
  position: relative;
  border-top: 1px solid var(--sand);
}
.service-card li:first-child { border-top: none; }
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 1px;
  background: var(--gold);
}
.disclaimer {
  font-size: 12.5px;
  color: var(--gray);
  font-style: italic;
  margin-top: 36px;
}

/* ---------- Engagement models ---------- */
.engage-list {
  display: flex;
  flex-direction: column;
}
.engage-row {
  display: grid;
  grid-template-columns: 90px 1fr 2fr;
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--sand-deep);
}
.engage-row:last-child { border-bottom: 1px solid var(--sand-deep); }
.engage-index {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--sand-deep);
}
.engage-row h4 { font-size: 17px; }
.engage-row p { font-size: 14px; color: var(--gray); margin: 0; }

/* ---------- Track record ---------- */
.track-table-wrap { overflow-x: auto; margin-bottom: 24px; }
table.track {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
table.track th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
table.track td {
  padding: 15px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #E7E4DC;
}
table.track tr td:first-child { font-weight: 700; color: var(--white); }
table.track td:not(:first-child), table.track th:not(:first-child) { text-align: right; }
.track-footnote { font-size: 12.5px; color: #A6A39B; font-style: italic; }
.track-caption { font-size: 13.5px; color: #C9C6BE; margin-top: 18px; }

/* ---------- Projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.project-card { position: relative; }
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card h4 {
  font-size: 14.5px;
  margin-top: 14px;
  color: var(--charcoal);
}
.project-card .loc {
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 3px;
}
.project-footnote {
  font-size: 12.5px;
  color: var(--gray);
  font-style: italic;
  margin-top: 28px;
}

/* ---------- Expertise ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  border: 1px solid var(--sand-deep);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
}
.expertise-block { margin-bottom: 34px; }
.expertise-block h4 {
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---------- Investment Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.approach-card {
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  padding: 30px 24px;
}
.approach-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.approach-card p {
  font-size: 13.5px;
  color: var(--gray);
  margin: 0;
}

/* ---------- Leadership ---------- */
.leader-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.leader-photo-wrap {
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  padding: 24px 24px 0;
  overflow: hidden;
}
.leader-photo-wrap img { width: 100%; }
.leader-name { font-size: 22px; margin-bottom: 2px; }
.leader-title { font-size: 13px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 22px; }
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-top: 28px;
}
.diff-item {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  color: var(--charcoal);
}
.diff-item::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- Why MCM / closing ---------- */
.closing {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.closing-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.closing-overlay {
  position: absolute; inset: 0;
  background: rgba(16,17,19,0.82);
}
.closing-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 32px;
}
.closing h2 { font-size: 30px; margin-bottom: 20px; color: var(--white); }
.closing p { font-size: 16px; color: #D8D5CD; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-item { margin-bottom: 22px; }
.contact-label {
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.contact-value { font-size: 17px; }
.contact-value a { border-bottom: 1px solid var(--sand-deep); }
.contact-value a:hover { border-color: var(--gold); }

/* ---------- Footer ---------- */
footer {
  background: var(--charcoal-deep);
  color: #9C998F;
  padding: 32px 0;
  font-size: 12.5px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .overview-grid, .expertise-grid, .leader-grid, .contact-grid { grid-template-columns: 1fr; }
  .stat-grid, .client-grid, .service-grid, .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .engage-row { grid-template-columns: 50px 1fr; }
  .engage-row > p { grid-column: 2 / 3; }
  .hero-content h1 { font-size: 32px; }
  section { padding: 64px 0; }
  .leader-photo-wrap { max-width: 280px; }
}
@media (max-width: 560px) {
  .stat-grid, .client-grid, .service-grid, .focus-grid, .project-grid, .approach-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .hero-content h1 { font-size: 26px; }
}
