/* =============================================================
   Mali Richlen — Enterprise Value Advisor
   Global Stylesheet
   ============================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FFFFFF;
  color: #1F2A44;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #1F2A44;
  line-height: 1.25;
  font-weight: normal;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1.25rem;
  color: #1F2A44;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #0F4D3F;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #C6A76E;
}

strong {
  font-weight: 600;
}

/* --- Section Header Label (green) -------------------------- */
.section-label {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0F4D3F;
  margin-bottom: 0.75rem;
}

/* --- Camel Accent Subline ---------------------------------- */
.subline {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  color: #C6A76E;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* --- Horizontal Rules ------------------------------------- */
hr,
.rule {
  border: none;
  border-top: 1px solid #C6A76E;
  margin: 3rem 0;
  opacity: 0.45;
}

.rule--light {
  border-color: #EAEAEA;
  opacity: 1;
}

/* --- Container -------------------------------------------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Sections --------------------------------------------- */
.section {
  padding: 4rem 0;
}

.section--gray {
  background-color: #F9F9F9;
}

.section--navy {
  background-color: #1F2A44;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy p,
.section--navy .section-label {
  color: #FFFFFF;
}

.section--navy .section-label {
  color: #C6A76E;
}

.section--navy .subline {
  color: #C6A76E;
}

/* --- Navigation ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid #EAEAEA;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
}

.nav-logo {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  color: #1F2A44;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-logo span {
  color: #C6A76E;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1F2A44;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0F4D3F;
  border-bottom-color: #C6A76E;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1F2A44;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #EAEAEA;
    padding: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #EAEAEA;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: none;
  }

  .nav-links a:hover {
    background-color: #F9F9F9;
  }
}

/* --- Hero ------------------------------------------------- */
.hero {
  padding: 4rem 0;
  border-bottom: 1px solid #EAEAEA;
}

.hero__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0F4D3F;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: normal;
  color: #1F2A44;
  line-height: 1.2;
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  color: #C6A76E;
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__body {
  max-width: 560px;
  font-size: 1rem;
  color: #1F2A44;
  margin-bottom: 2.5rem;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background-color: #1F2A44;
  color: #FFFFFF;
}

.btn--primary:hover {
  background-color: #0F4D3F;
  color: #FFFFFF;
}

.btn--outline {
  background-color: transparent;
  color: #1F2A44;
  border: 1px solid #1F2A44;
}

.btn--outline:hover {
  background-color: #1F2A44;
  color: #FFFFFF;
}

.btn--camel {
  background-color: #C6A76E;
  color: #FFFFFF;
}

.btn--camel:hover {
  background-color: #b0935a;
  color: #FFFFFF;
}

/* --- Cards ------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  border: 1px solid #EAEAEA;
  padding: 2rem;
  background-color: #FFFFFF;
}

.card__number {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  color: #C6A76E;
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.card__title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.15rem;
  color: #1F2A44;
  margin-bottom: 0.75rem;
}

.card__body {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Two-column layout ------------------------------------ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- Pull Quote ------------------------------------------- */
.pull-quote {
  border-left: 3px solid #C6A76E;
  padding: 1rem 0 1rem 1.75rem;
  margin: 2.5rem 0;
}

.pull-quote p {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #1F2A44;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- List styles ------------------------------------------ */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.styled-list li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  border-bottom: 1px solid #EAEAEA;
  font-size: 0.97rem;
  color: #1F2A44;
}

.styled-list li:first-child {
  border-top: 1px solid #EAEAEA;
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #C6A76E;
  border-radius: 50%;
}

/* --- Stat block ------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid #EAEAEA;
}

.stat-item__number {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2.75rem;
  color: #0F4D3F;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background-color: #1F2A44;
  color: #FFFFFF;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: #C6A76E;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #9AAABF;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-contact a {
  display: block;
  font-size: 0.9rem;
  color: #9AAABF;
  text-decoration: none;
  margin-bottom: 0.35rem;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #C6A76E;
}

.footer-nav-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C6A76E;
  margin-bottom: 1rem;
}

.footer-nav-links {
  list-style: none;
}

.footer-nav-links li {
  margin-bottom: 0.5rem;
}

.footer-nav-links a {
  font-size: 0.88rem;
  color: #9AAABF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #6A7D9A;
  margin-bottom: 0;
}

/* --- Page Hero (inner pages) ------------------------------ */
.page-hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid #EAEAEA;
}

.page-hero .section-label {
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
  max-width: 600px;
}

.page-hero .subline {
  max-width: 560px;
}

/* --- Case Study card -------------------------------------- */
.case-card {
  border: 1px solid #EAEAEA;
  padding: 2.5rem;
  margin-bottom: 2rem;
  background-color: #FFFFFF;
}

.case-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0F4D3F;
  margin-bottom: 0.75rem;
}

.case-card__title {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  color: #1F2A44;
  margin-bottom: 0.75rem;
}

.case-card__body {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.case-card__result {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1F2A44;
  letter-spacing: 0.03em;
}

.case-card__result span {
  color: #0F4D3F;
}

/* --- Insight / Blog card ---------------------------------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.insight-card {
  border: 1px solid #EAEAEA;
  padding: 2rem;
  background-color: #FFFFFF;
}

.insight-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0F4D3F;
  margin-bottom: 0.75rem;
}

.insight-card__title {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: #1F2A44;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.insight-card__excerpt {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.insight-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1F2A44;
  text-decoration: none;
  border-bottom: 1px solid #C6A76E;
  padding-bottom: 1px;
}

.insight-card__link:hover {
  color: #0F4D3F;
}

/* --- Contact form ----------------------------------------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1F2A44;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #EAEAEA;
  background-color: #FFFFFF;
  color: #1F2A44;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.97rem;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: #C6A76E;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* --- Utility --------------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 600px) {
  .section { padding: 2.5rem 0; }
  .hero    { padding: 2.5rem 0; }
  .container, .container--narrow { padding: 0 1.25rem; }
}

/* --- About page layout ----------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.about-layout__image {
  position: sticky;
  top: 6rem;
}

.about-headshot {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-layout__image {
    position: static;
    max-width: 360px;
  }
}
