/* ==========================================================================
   emcloanexpert.com — Base Stylesheet
   Christopher Hovenier | EMC Loan Expert
   ========================================================================== */

:root {
  --navy: #0C1E35;
  --navy-light: #162D4A;
  --gold: #C49A28;
  --gold-hover: #A8821F;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --ink: #1A2033;
  --muted: #64748B;
  --border: rgba(12, 30, 53, 0.10);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1200px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(12, 30, 53, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 30, 53, 0.14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 36px; font-weight: 600; }
h3 { font-size: 22px; font-family: var(--font-body); font-weight: 600; color: var(--navy); }

p { color: var(--ink); }

.eyebrow, .label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-hover);
}

.lede { font-size: 19px; color: var(--muted); line-height: 1.6; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-tight { padding: 64px 0; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-center { text-align: center; }

.grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 480px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Responsive Type ---------- */
@media (max-width: 760px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .section { padding: 56px 0; }
  .lede { font-size: 17px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-nav, .site-footer .social-links { display: none; }
}
