/* ===== JAD Enterprises LLC — styles ===== */

:root {
  --navy: #1b2e54;
  --navy-dark: #142340;
  --gray: #8c9197;
  --gray-line: #d7dbe0;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --text: #2a2f3a;
  --muted: #5c6470;
  --max: 1080px;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(27, 46, 84, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; }

a { color: var(--navy); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.brand-logo { height: 38px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--navy-dark); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  padding: 84px 0 96px;
  text-align: center;
  border-bottom: 1px solid var(--gray-line);
}
.hero-logo { max-width: 420px; width: 70%; height: auto; }
.tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  color: var(--navy);
  margin: 28px 0 6px;
  letter-spacing: 0.3px;
}
.hero-sub { color: var(--muted); font-size: 1.1rem; margin: 0 auto 30px; max-width: 560px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-primary:active { transform: translateY(1px); }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); margin: 0 auto 36px; max-width: 640px; }
.lead { font-size: 1.18rem; color: var(--text); }

/* ===== Cards ===== */
.card-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ===== Focus pills ===== */
.pill-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.pill-list li {
  background: #fff;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 40px;
  font-weight: 500;
}

/* ===== Leadership ===== */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 880px;
  margin: 0 auto;
}
.bio {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.bio h3 { margin-bottom: 2px; }
.bio-title { color: var(--gray); font-weight: 600; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.82rem; }
.bio p:last-child { margin-bottom: 0; color: var(--muted); }

/* ===== Contact form ===== */
.contact-form { max-width: 680px; margin: 0 auto; }
.field-row { display: flex; gap: 18px; }
.field-row .field { flex: 1; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--text); }
.req { color: #b3261e; }
.field input, .field textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 46, 84, 0.12);
}
.contact-form .btn { width: 100%; margin-top: 4px; }

/* Honeypot — visually hidden */
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Alerts */
.alert { max-width: 680px; margin: 0 auto 22px; padding: 14px 18px; border-radius: var(--radius); font-weight: 500; }
.alert-success { background: #e7f4ea; border: 1px solid #aed6b8; color: #1e5631; }
.alert-error { background: #fbeae8; border: 1px solid #e6b3ad; color: #8a2018; }

/* Contact info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 680px;
  margin: 44px auto 0;
  text-align: center;
}
.contact-info h4 { color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-size: 0.78rem; margin-bottom: 6px; }
.contact-info p { margin: 0; color: var(--text); }
.contact-info a { color: var(--navy); }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #cdd4e0;
  padding: 40px 0;
  text-align: center;
}
.footer-name { font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; color: #fff; margin: 0 0 8px; letter-spacing: 1px; }
.footer-meta { margin: 4px 0; font-size: 0.92rem; }
.footer-copy { margin: 14px 0 0; font-size: 0.85rem; color: #9aa6bd; }
.site-footer a { color: #cdd4e0; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .field-row { flex-direction: column; gap: 0; }
  h2 { font-size: 1.7rem; }
  .hero { padding: 56px 0 64px; }
  .tagline { font-size: 1.4rem; }
}
