/* ============================================================
   MF ENERGY VENTURES — Premium Stylesheet
   Palette: Deep Navy / Charcoal / Platinum / Champagne Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@200;300;400;500;600&display=swap');

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

:root {
  --navy:        #080e1d;
  --navy-mid:    #0d1729;
  --navy-light:  #131f38;
  --charcoal:    #1a2235;
  --silver:      #b8c4d8;
  --silver-light:#d8e0ee;
  --white:       #f0f4fb;
  --gold:        #c9a96e;
  --gold-light:  #e0c898;
  --gold-dim:    #8a6e3e;
  --text-muted:  #6b7a96;
  --border:      rgba(201,169,110,0.18);
  --border-sub:  rgba(184,196,216,0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --transition:  all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--navy);
  color: var(--silver);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 300; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); }

p { color: var(--silver); font-weight: 300; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 2rem; }

.gold-line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.5rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section { padding: 7rem 0; }
.section--dark { background: var(--navy-mid); }
.section--darker { background: var(--navy); }
.section--charcoal { background: var(--charcoal); }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(8,14,29,0.96);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 1rem 0;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
}

.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  transition: var(--transition);
}

.nav-cta:hover {
  background: transparent;
  color: var(--gold) !important;
}

/* Mobile Nav */
.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: 1px;
  background: var(--silver);
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 8rem 0 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(13,23,41,0.8) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin-bottom: 1.75rem;
  font-style: italic;
  font-weight: 300;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--silver);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1rem 2.2rem;
  border: 1px solid var(--gold);
  transition: var(--transition);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  background: transparent;
  padding: 1rem 2.2rem;
  border: 1px solid var(--border-sub);
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat { text-align: center; padding: 0 2rem; }

.stat:not(:last-child) {
  border-right: 1px solid var(--border-sub);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Intro Text Block ── */
.intro-block { padding: 7rem 0; }
.intro-block .intro-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 300;
  color: var(--silver-light);
  line-height: 1.75;
  border-left: 1px solid var(--gold);
  padding-left: 2.5rem;
}

/* ── Service Cards (Home) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-sub);
  border: 1px solid var(--border-sub);
  margin-top: 4rem;
}

.service-card {
  background: var(--navy-mid);
  padding: 3rem 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--navy-light); }

.service-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* ── Full Width CTA Banner ── */
.cta-banner {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 1.25rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 0.95rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Services Page ── */
.service-full {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-sub);
}

.service-full:last-child { border-bottom: none; }

.service-full-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}

.service-full-meta h3 { font-size: 1.9rem; margin-bottom: 1rem; }
.service-full-meta .price-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  display: inline-block;
  margin-top: 1rem;
}

.service-full-content p { margin-bottom: 1.25rem; font-size: 0.95rem; }

.deliverables { margin-top: 2rem; }
.deliverables h4 { margin-bottom: 1rem; font-size: 0.68rem; }
.deliverables ul { list-style: none; }
.deliverables ul li {
  font-size: 0.9rem;
  color: var(--silver);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-sub);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.deliverables ul li::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Pricing Tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-sub);
  border: 1px solid var(--border-sub);
  margin-top: 3rem;
}

.pricing-card {
  background: var(--navy-mid);
  padding: 2.5rem 1.75rem;
  position: relative;
}

.pricing-card.featured {
  background: var(--navy-light);
}

.pricing-card.featured::before {
  content: 'Most Comprehensive';
  position: absolute;
  top: -1px; left: 0; right: 0;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.35rem;
}

.tier-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.tier-period {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.tier-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* Equity Tier */
.equity-tier {
  background: linear-gradient(135deg, var(--navy-light), var(--charcoal));
  border: 1px solid var(--border);
  padding: 3.5rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

.equity-tier::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
}

.equity-tier-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.equity-tier h3 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

/* ── About Page ── */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 6rem;
  background: var(--navy);
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(201,169,110,0.03));
  pointer-events: none;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-sub);
  margin-top: 4rem;
}

.team-card {
  background: var(--navy-mid);
  padding: 3.5rem 3rem;
  position: relative;
}

.team-card::after {
  content: '';
  position: absolute;
  top: 3.5rem; right: 3rem;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.team-role {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-sub);
}

.team-bio { font-size: 0.9rem; color: var(--silver); line-height: 1.85; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.value-item { padding: 2rem 0; border-top: 1px solid var(--border-sub); }
.value-item h4 { margin-bottom: 0.75rem; font-size: 0.7rem; }
.value-item p { font-size: 0.88rem; color: var(--text-muted); }

/* ── Contact Page ── */
.contact-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 5rem;
  background: var(--navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.contact-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 2.5rem; }

.contact-detail {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-sub);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail:last-child { border-bottom: 1px solid var(--border-sub); }
.contact-detail-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.contact-detail-value { font-size: 0.9rem; color: var(--silver-light); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--navy-light);
  border: 1px solid var(--border-sub);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1.1rem;
  width: 100%;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-dim);
  background: var(--charcoal);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-submit {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: transparent;
  color: var(--gold);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-sub);
}

.footer-brand .nav-logo { display: block; margin-bottom: 1rem; font-size: 1.1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); max-width: 260px; line-height: 1.8; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--silver-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--navy);
  border-bottom: 1px solid var(--border-sub);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 580px;
  line-height: 1.85;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .service-full-inner { grid-template-columns: 1fr; gap: 2rem; }
  .equity-tier-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--border-sub); padding-bottom: 1.5rem; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .pricing-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
