/* =========================================================
   Ironbridge Strategies LLC — Shared Stylesheet
   Palette: Navy / Slate / Steel-gray
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-deep: #08172e;
  --slate: #334e68;
  --slate-light: #486581;
  --steel: #8a9bae;
  --steel-light: #c7d0db;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #1a2433;
  --muted: #5b6b80;
  --line: #e3e8ef;
  --accent: #4a6b8a;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 6px 24px rgba(11, 37, 69, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--ink); }

a { color: var(--slate-light); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.muted { color: var(--muted); }

/* =========================================================
   Navigation
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover { text-decoration: none; color: var(--navy-deep); }

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
}

.nav-links a:hover {
  background: var(--bg);
  color: var(--navy);
  text-decoration: none;
}

.nav-links a.active {
  background: var(--navy);
  color: #fff;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(74, 107, 138, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--slate) 100%);
  color: #eaf0f7;
  padding: 5rem 0 5.5rem;
}

.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero p { color: #d6dde8; max-width: 720px; font-size: 1.1rem; }
.hero .tagline {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(199, 208, 219, 0.3);
  border-radius: 999px;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page header (sub-hero on inner pages) */
.page-header {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.page-header h1 { color: #fff; margin-bottom: 0.35em; }
.page-header p { color: #d6dde8; max-width: 720px; margin: 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-primary:hover {
  background: var(--steel-light);
  color: var(--navy-deep);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  text-decoration: none;
}

.btn-solid {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-solid:hover {
  background: var(--navy-deep);
  color: #fff;
  text-decoration: none;
}

/* =========================================================
   Sections
   ========================================================= */
section { padding: 4rem 0; }

.section-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-intro h2 { margin-bottom: 0.4em; }
.section-intro p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* =========================================================
   Cards / Grids
   ========================================================= */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--steel-light);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5em;
}

.card .icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  padding: 7px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
}

.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Service category */
.service-category {
  margin-bottom: 3rem;
}

.service-category-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--line);
}

.service-category-head .icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
}

.service-category-head h2 { margin: 0; }

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
}

.service-card h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.service-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* =========================================================
   About page
   ========================================================= */
.about-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 820px) {
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
}

.leadership-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.leadership-card h3 { margin-top: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.value {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
}

.value .icon {
  width: 36px;
  height: 36px;
  padding: 7px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.value h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.value p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* =========================================================
   Capabilities Statement
   ========================================================= */
.cap-doc {
  background: #fff;
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 3rem 3.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.cap-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--navy);
  gap: 1rem;
  flex-wrap: wrap;
}

.cap-doc-head h1 {
  margin: 0;
  font-size: 1.85rem;
  color: var(--navy);
}

.cap-doc-head .cap-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.cap-mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.cap-section {
  margin-bottom: 2rem;
}

.cap-section h2 {
  font-size: 1.1rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.cap-competencies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.cap-competency {
  background: var(--bg);
  border-left: 3px solid var(--navy);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.cap-list { margin: 0; padding-left: 1.25rem; }
.cap-list li { margin-bottom: 0.55rem; color: var(--ink); }

.cap-data {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
}
.cap-data dt { font-weight: 700; color: var(--navy); }
.cap-data dd { margin: 0; color: var(--ink); }

.cap-actions {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

@media print {
  body { background: #fff; }
  .site-nav, .site-footer, .cap-actions { display: none !important; }
  .cap-doc {
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0.5in;
    max-width: 100%;
  }
  .cap-doc-head { border-bottom-color: #000; }
  section { padding: 0; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-info p { color: var(--ink); }
.contact-info .contact-email {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.25rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.contact-info ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-info ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--steel-light);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--slate-light);
  box-shadow: 0 0 0 3px rgba(74, 107, 138, 0.15);
}

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

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  color: #c7d0db;
  padding: 2.5rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.site-footer p { margin: 0; color: #97a4b5; font-size: 0.9rem; }
.site-footer a { color: #c7d0db; }
.site-footer a:hover { color: #fff; }

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 640px) {
  .nav-inner { padding: 0.75rem 1rem; }
  .brand span.brand-long { display: none; }
  .nav-links a { padding: 0.4rem 0.6rem; font-size: 0.88rem; }
  .hero { padding: 3.5rem 0 4rem; }
  section { padding: 3rem 0; }
  .cap-doc { padding: 1.75rem 1.25rem; margin: 1.25rem; }
  .cap-doc-head h1 { font-size: 1.4rem; }
}
