/* ============================================================
   Eagles Consulting LLC — site stylesheet
   Palette: ink navy #1F3A52 · slate #4A6B8A · paper #FAFAF8
            line #DCE3E9 · amber #E8A33D · body #2B3947
   Type:    Archivo (display) · Public Sans (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --ink: #1F3A52;
  --slate: #4A6B8A;
  --slate-soft: #6E8CA6;
  --paper: #FAFAF8;
  --card: #FFFFFF;
  --line: #DCE3E9;
  --amber: #E8A33D;
  --amber-deep: #C9821B;
  --body: #2B3947;
  --muted: #5C6B7A;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Archivo', sans-serif; color: var(--ink); line-height: 1.15; }

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

a { color: var(--slate); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; display: block; }
.wordmark { line-height: 1.05; }
.wordmark .top {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 21px; letter-spacing: 0.16em; color: var(--ink); display: block;
}
.wordmark .bottom {
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: 12.5px; letter-spacing: 0.42em; color: var(--slate); display: block;
}
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a {
  text-decoration: none; color: var(--body); font-weight: 500; font-size: 15px;
}
nav.main a:hover { color: var(--ink); }
nav.main a.cta {
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 4px;
}
nav.main a.cta:hover { background: var(--slate); }
@media (max-width: 700px) {
  nav.main { gap: 14px; }
  nav.main a.hide-m { display: none; }
  .wordmark .top { font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--line); background:
  linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%); }
.hero .kicker { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.015em;
  max-width: 17ch;
}
.hero h1 .amber { color: var(--amber-deep); }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 22px 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 4px; border: 1px solid transparent;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--slate); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: #EFF3F6; }

/* meter strip under hero */
.meter-strip { display: flex; gap: 0; margin-top: 56px; border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; background: var(--card); flex-wrap: wrap; }
.meter { flex: 1 1 200px; padding: 18px 22px; border-right: 1px solid var(--line); }
.meter:last-child { border-right: none; }
.meter .label { display: block; margin-bottom: 4px; }
.meter .value { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-top: 10px; }
.section-head p { color: var(--muted); max-width: 62ch; margin-top: 10px; }

/* ---------- Services: bill line-items ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; background: var(--card); }
.service {
  padding: 30px 30px 28px; border-bottom: 1px solid var(--line);
  display: flex; gap: 20px; align-items: flex-start;
}
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-last-child(-n+2) { border-bottom: none; }
.service:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
@media (max-width: 800px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(odd) { border-right: none; }
  .service:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: none; }
}
.service .icon { flex: 0 0 44px; }
.service .icon svg { width: 44px; height: 44px; }
.service h3 { font-size: 19px; font-weight: 700; margin: 2px 0 6px; }
.service p { font-size: 15.5px; color: var(--muted); }
.service .tag { margin-bottom: 2px; }

/* ---------- Process (numbered — a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.step .num {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--amber-deep);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 18px; margin: 10px 0 8px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid p { margin-bottom: 16px; }
.fact-card { background: var(--ink); color: #E8EEF3; border-radius: 6px; padding: 30px; }
.fact-card .mono { color: var(--amber); }
.fact-card ul { list-style: none; margin-top: 14px; }
.fact-card li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 15px; }
.fact-card li:last-child { border-bottom: none; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 26px; text-decoration: none; display: block; color: var(--body);
  transition: border-color .15s ease;
}
.post-card:hover { border-color: var(--slate); }
.post-card h3 { font-size: 19px; margin: 10px 0 8px; }
.post-card p { font-size: 15px; color: var(--muted); }
.post-card .date { margin-top: 14px; display: block; color: var(--muted); }

/* ---------- Article pages ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 10px; }
.article .byline { color: var(--muted); font-size: 15px; margin-bottom: 34px; }
.article h2 { font-size: 24px; margin: 36px 0 12px; }
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; }
.article .callout {
  background: #F2F6F9; border-left: 3px solid var(--amber); padding: 18px 22px;
  border-radius: 0 6px 6px 0; margin: 26px 0;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 20px; margin-bottom: 10px; }
.contact-info p { color: var(--muted); margin-bottom: 20px; }
.contact-line { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-line .mono { flex: 0 0 90px; }
.contact-line a, .contact-line span { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 17px; }
.contact-line a:hover { color: var(--slate); }

form.contact { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 30px; }
form.contact label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin: 16px 0 6px; }
form.contact label:first-of-type { margin-top: 0; }
form.contact input, form.contact textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px;
  font: inherit; font-size: 15.5px; background: var(--paper); color: var(--body);
}
form.contact input:focus, form.contact textarea:focus { border-color: var(--slate); }
form.contact button {
  margin-top: 22px; width: 100%; background: var(--ink); color: #fff; border: none;
  padding: 14px; border-radius: 4px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
form.contact button:hover { background: var(--slate); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink); color: #C7D3DD; padding: 44px 0 34px; margin-top: 0;
}
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .fm .top { color: #fff; font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: 0.14em; font-size: 16px; display: block; }
footer .fm .bottom { color: #8FA5B8; font-family: 'Archivo', sans-serif; letter-spacing: 0.4em; font-size: 10.5px; display: block; }
footer a { color: #C7D3DD; text-decoration: none; }
footer a:hover { color: #fff; }
footer .links { display: flex; gap: 22px; font-size: 14.5px; }
footer .legal { width: 100%; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 13px; color: #8FA5B8; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 55vh; display: flex; align-items: center; }
.thanks .inner { max-width: 560px; }
.thanks h1 { font-size: 36px; margin: 12px 0 14px; }
