/* ========================================
   SMJ CONSULTING LLC — SHARED STYLES v2
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

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

:root {
  --navy:    #4f6f8f;
  --blue:    #6f90b2;
  --light:   #eef2f6;
  --lighter: #f7f9fc;
  --border:  #dce4ed;
  --text:    #1a2733;
  --muted:   #5a6a78;
  --white:   #ffffff;
  --dark:    #0f1e2b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { color: var(--muted); max-width: 68ch; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 700px) { .container { padding: 0 20px; } }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue) !important; }
@media (max-width: 800px) { .nav-links { gap: 18px; } .nav-links .nav-cta { display: none; } }
@media (max-width: 600px) { .nav-links { gap: 12px; } .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; } }

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(111,144,178,0.12), transparent 60%);
  pointer-events: none;
}
.hero .eyebrow { color: var(--blue); }
.hero h1 { color: var(--white); margin-bottom: 24px; max-width: 14ch; margin-top: 16px; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.6); display: block; }
.hero p { font-size: 1.1rem; margin-bottom: 40px; color: rgba(255,255,255,0.6); max-width: 56ch; }
.hero-rule {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  border-left: 2px solid rgba(111,144,178,0.4);
  padding-left: 20px;
  margin-bottom: 40px;
}
.hero-rule span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-rule .arrow { color: rgba(255,255,255,0.2); font-style: normal; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
  white-space: nowrap;
}
.trust-pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 3px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  margin-left: 14px;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: #1a3040; }

/* ── EYEBROW ── */
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--lighter); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--dark); padding: 80px 0; }
.section-dark .section-label { color: rgba(255,255,255,0.4); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.55); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ── SPLIT GRID ── */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ── BAND LIST ── */
.band-list { border-top: 1px solid var(--border); }
.band-item {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .band-item { grid-template-columns: 1fr; gap: 8px; } }
.band-item strong { color: var(--navy); font-family: 'DM Serif Display', serif; font-size: 1rem; font-weight: 400; }
.band-item p { font-size: 0.95rem; max-width: none; margin: 0; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; margin-top: 48px; background: var(--border); border: 1px solid var(--border); }
.card {
  background: var(--white);
  padding: 36px 32px;
  transition: background 0.2s;
}
.card:hover { background: var(--lighter); }
.card-icon { font-size: 1.4rem; margin-bottom: 16px; opacity: 0.6; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.93rem; margin-bottom: 20px; }
.card a { font-size: 0.85rem; font-weight: 600; color: var(--blue); letter-spacing: 0.03em; }
.card a:hover { color: var(--navy); }

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 64px;
}
.stat-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── WHY SMJ ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
}
.why-item {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-item:nth-child(2n) { border-right: none; }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .why-item { border-right: 1px solid var(--border); }
  .why-item:last-child { border-right: none; }
}
.why-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 14px;
}
.why-item h3 { font-size: 1rem; margin-bottom: 8px; }
.why-item p { font-size: 0.88rem; margin: 0; }

/* ── FOUNDER ── */
.founder-section { padding: 80px 0; background: var(--lighter); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.founder-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; margin-top: 40px; }
@media (max-width: 800px) { .founder-grid { grid-template-columns: 1fr; gap: 32px; } }
.founder-photo-wrap { position: relative; }
.founder-photo-wrap::after { content: ''; position: absolute; top: 12px; left: 12px; right: -12px; bottom: -12px; border: 1.5px solid var(--border); border-radius: 4px; z-index: 0; }
.founder-photo { position: relative; z-index: 1; width: 100%; border-radius: 4px; display: block; }
.founder-name { font-size: 2rem; color: var(--navy); margin-bottom: 4px; }
.founder-role { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 24px; font-family: 'DM Sans', sans-serif; }
.founder-bio p { font-size: 0.97rem; color: var(--muted); margin-bottom: 16px; max-width: 62ch; }

/* ── CAPABILITY GRID ── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.capability-item { padding: 32px 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.capability-item h3 { font-size: 1rem; margin-bottom: 10px; }
.capability-item p { font-size: 0.88rem; margin: 0; }

/* ── PAGE HERO ── */
.page-hero { background: var(--dark); padding: 72px 0 64px; }
.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { color: var(--white); margin-top: 12px; margin-bottom: 20px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.6); }

/* ── FORM ── */
.form-wrap { max-width: 600px; }
.form-group { margin-bottom: 22px; }
label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 7px; text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text);
  background: var(--white); transition: border-color 0.2s; appearance: none;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); }
textarea { resize: vertical; min-height: 130px; }
.form-submit {
  background: var(--navy); color: var(--white); border: none; padding: 15px 34px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600;
  border-radius: 4px; cursor: pointer; transition: background 0.2s; width: 100%;
  letter-spacing: 0.03em;
}
.form-submit:hover { background: var(--blue); }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.step { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.step:first-child { border-top: 1px solid var(--border); }
.step-num { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--border); line-height: 1; min-width: 36px; }
.step-body h3 { margin-bottom: 6px; }
.step-body p { font-size: 0.95rem; margin: 0; }

/* ── BLOG ── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 48px; }
.post-card { border-top: 3px solid var(--blue); padding-top: 24px; }
.post-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-card p { font-size: 0.93rem; margin-bottom: 16px; }
.post-card a.read-more { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,0.55); padding: 56px 0 32px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; } footer { padding: 40px 0 24px; } .footer-inner { padding: 0 20px; } }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 48px auto 0; padding: 22px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ── UTILS ── */
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; } .mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── VISUAL ENHANCEMENTS ── */
.dot-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(111,144,178,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.hero-convergence {
  position: absolute;
  top: -20px;
  right: -30px;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}
.hero .container,
.page-hero .container,
.section-dark .container { position: relative; z-index: 1; }
.section-dark { position: relative; overflow: hidden; }
.card-icon { margin-bottom: 16px; }
.card-icon svg { display: block; }
