/* Pate Consulting — static site stylesheet */

:root {
  --bg: #ECEFEF;
  --panel: #FFFFFF;
  --ink: #101820;
  --muted: #5B6670;
  --line: #D3D9DA;
  --accent: #B8792A;
  --accent-ink: #7A4E17;
  --ok: #3F7A4E;
  --ok-bg: #E7F0E8;
  --focus: #2C6E8E;
  --radius: 2px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Archivo", "IBM Plex Sans", sans-serif;
  color: var(--ink);
  margin: 0 0 0.5em 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }

p { margin: 0 0 1em 0; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Top bar ---------- */

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.topbar__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.topbar__inner a { color: var(--muted); }
.topbar__inner a:hover { color: var(--accent-ink); }

.topbar__contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Header / nav ---------- */

header.site {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.site__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.brand__name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand__tag {
  font-size: 12.5px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}

nav.primary ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.primary a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

nav.primary a:hover {
  color: var(--accent-ink);
  border-bottom-color: var(--accent);
}

nav.primary a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 28px 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.hero__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  max-width: 14ch;
}

.hero__lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
  margin-top: 14px;
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-ink); color: #fff; }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* status panel */

.statuspanel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.statuspanel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--muted);
}

.statuspanel__head strong { color: var(--ink); font-weight: 600; }

.statuspanel__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.statuspanel__row:last-child { border-bottom: none; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.statuspanel__row span.label { flex: 1; }

.statuspanel__row span.meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ok);
}

/* ---------- Sections ---------- */

section.block {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

section.block:last-of-type { border-bottom: none; }

.block__intro {
  max-width: 62ch;
  margin-bottom: 34px;
}

.block__intro p { color: var(--muted); font-size: 16px; }

/* services grid */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  background: var(--panel);
  padding: 26px 26px 24px;
}

.service h3 {
  font-size: 17px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.service h3 .idx {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--accent-ink);
  font-weight: 500;
}

.service p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* spec / experience lists */

.spec-group {
  margin-bottom: 34px;
}

.spec-group h3 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips li {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: var(--radius);
}

/* testimonials */

.testimonial {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.testimonial:last-child { border-bottom: none; }

.testimonial blockquote {
  margin: 0 0 14px 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 68ch;
}

.testimonial cite {
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
  display: block;
}

.testimonial cite strong { color: var(--ink); font-weight: 600; }

/* about / list content */

.plain-list {
  margin: 0 0 1.4em 0;
  padding-left: 20px;
}
.plain-list li { margin-bottom: 8px; color: var(--muted); }

.cert {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cert:last-child { border-bottom: none; }
.cert h3 { font-size: 15.5px; margin-bottom: 4px; }
.cert p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* contact */

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 32px;
  max-width: 480px;
}

.contact-card dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
.contact-card dt:first-child { margin-top: 0; }

.contact-card dd {
  margin: 4px 0 0 0;
  font-size: 18px;
  font-weight: 600;
}

/* footer */

footer.site {
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.site__foot {
  max-width: 1040px;
  margin: 0 auto;
  padding: 30px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.site__foot nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site__foot nav a { color: var(--muted); font-size: 13px; }
.site__foot nav a:hover { color: var(--accent-ink); }

/* page header for inner pages */

.pagehead {
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--line);
}

.pagehead__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.pagehead p {
  color: var(--muted);
  max-width: 58ch;
  font-size: 16px;
}

@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  nav.primary ul { gap: 0; }
}
