/* ============================================
   MESHRA FINANCE GROUP — SHARED STYLES
   Used across all pages on meshrafg.com.au
   ============================================ */

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

:root {
  --ink: #0A0A0A;
  --ink-soft: #1a1a1a;
  --paper: #F5F2ED;
  --paper-warm: #EFEAE0;
  --stone: #A89F8E;
  --stone-light: #D4CCBE;
  --rule: rgba(10, 10, 10, 0.12);
  --rule-strong: rgba(10, 10, 10, 0.3);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --display: 'Inter', sans-serif; /* matches business card weight */
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 242, 237, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.mfg-mark { width: 36px; height: 36px; display: inline-flex; flex-shrink: 0; }
.mfg-mark svg { width: 100%; height: 100%; }
.nav-name { font-family: var(--sans); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; }
.nav-name span { display: block; font-size: 9px; color: var(--stone); margin-top: 2px; letter-spacing: 3px; font-weight: 400; }
.nav-menu { display: flex; gap: 32px; list-style: none; }
.nav-menu a { color: var(--ink); text-decoration: none; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400; transition: opacity 0.2s; }
.nav-menu a:hover, .nav-menu a.active { opacity: 0.5; }
.nav-cta { padding: 12px 28px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; transition: background 0.3s; }
.nav-cta:hover { background: var(--ink-soft); }

/* ============ COMMON ELEMENTS ============ */
.section-eyebrow { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--stone); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.section-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--stone); }
.section-title { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -1.5px; max-width: 700px; }
.section-title em { font-style: italic; color: var(--stone); }

.btn-primary { padding: 18px 40px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 12px; transition: gap 0.3s; border: none; cursor: pointer; font-family: var(--sans); }
.btn-primary:hover { gap: 20px; }
.btn-primary svg { width: 14px; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-text { color: var(--ink); text-decoration: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* ============ FOOTER ============ */
footer { background: var(--ink); color: var(--paper); padding: 80px 48px 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(245,242,237,0.1); max-width: 1400px; margin: 0 auto; }
.footer-brand h3 { font-family: var(--serif); font-size: 36px; font-weight: 300; letter-spacing: -1px; margin-bottom: 12px; }
.footer-brand h3 em { font-style: italic; color: var(--stone-light); }
.footer-brand p { color: var(--stone-light); font-size: 14px; max-width: 380px; line-height: 1.6; margin-top: 20px; }
.footer-col h4 { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--stone); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--paper); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--stone-light); }
.footer-col p { color: var(--paper); font-size: 14px; line-height: 1.6; }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; }
.footer-disclaimer { font-size: 11px; color: var(--stone); line-height: 1.7; max-width: 800px; }
.footer-copy { font-size: 11px; color: var(--stone); letter-spacing: 1px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-menu { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding: 0 24px 60px; }
  .footer-bottom { padding: 32px 24px 0; }
  footer { padding: 60px 0 32px; }
}
