@charset "utf-8";

/* ---------------------------------------------------------------
   Lenz Consulting Group -- base site styles
   Mobile-first, responsive replacement for oneColLiqCtrHdr.css
   --------------------------------------------------------------- */

:root {
  --color-accent: #861727;
  --color-accent-dark: #63101c;
  --color-text: #262322;
  --color-text-muted: #6b6660;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-border: #e6e1da;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--color-accent); text-decoration: underline; }
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #171412;
}

p { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.3em; }

/* ---------------- Skip link ---------------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6em 1em;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------------- Header / Nav ---------------- */

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

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9em 1.25em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-logo { display: block; line-height: 0; }
.site-logo img { width: 200px; height: auto; display: block; }

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.6em;
  line-height: 1;
  padding: 0.15em 0.3em;
  color: var(--color-text);
  user-select: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.6em;
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  letter-spacing: 0.02em;
  padding: 0.3em 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--color-accent); }

.site-nav a.currentSection {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

@media (max-width: 640px) {
  .nav-toggle-label { display: block; }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: 0.8em;
  }

  .site-nav ul { flex-direction: column; gap: 0; }

  .site-nav a {
    display: block;
    padding: 0.7em 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-toggle:checked ~ .site-nav { display: block; }
}

/* ---------------- Page title banner ---------------- */

.page-banner {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.6em 1.25em;
}

.page-banner h1 {
  margin: 0;
  font-size: 1.7em;
}

/* Home page doesn't need a redundant text banner over its hero */
.page-banner.is-home { display: none; }
.page-banner.is-subpage { display: none; }

/* ---------------- Main content ---------------- */

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.2em 1.25em 3em;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: #201c1b;
  color: #cfc9c4;
  margin-top: 2em;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2em 1.25em;
  display: flex;
  flex-wrap: wrap;
  gap: 1em 2em;
  justify-content: space-between;
  font-size: 0.85em;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-border); }

/* ---------------- Reusable components ---------------- */

.section-heading {
  font-weight: 700;
  font-size: 1.35em;
  margin: 1.25em 0 0.7em;
  color: #171412;
}

.section-heading:first-child { margin-top: 0; }

.hero-heading {
  font-size: 2em;
  line-height: 1.2;
  margin: 0 0 0.4em;
  color: #171412;
}

.lede {
  font-size: 1.25em;
  line-height: 1.5;
  margin-bottom: 1em;
}

.grid {
  display: grid;
  gap: 2em;
}

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-3 .card {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.grid-3 .card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.grid-3 .card > a:last-child {
  margin-top: auto;
  padding-top: 0.8em;
}

.grid-3 .card > a:last-child::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5em;
}

.card > img,
.card > a > img { display: block; margin: 0 auto 1em; max-width: 140px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

@media (min-width: 600px) {
  .check-list {
    column-count: 2;
    column-gap: 2em;
  }
}

.check-list li {
  padding: 0.35em 0 0.35em 1.7em;
  position: relative;
  break-inside: avoid;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.35em;
  color: var(--color-accent);
  font-weight: 700;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7em 1.4em;
  border-radius: 6px;
}
.btn:hover { background: var(--color-accent-dark); color: #fff; }

.contact-cta {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 2.2em;
  margin-top: 1em;
  text-align: center;
}
.contact-cta .section-heading { margin-bottom: 0.7em; }
.contact-cta .btn { margin-bottom: 1.6em; }
.contact-cta p { margin-bottom: 0.6em; }
.contact-cta p:last-child { margin-bottom: 0; }
.contact-cta-secondary {
  margin-top: 1em;
  color: var(--color-text-muted);
  font-size: 0.95em;
}

/* ---------------- Callout ---------------- */

.callout {
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 1.6em 1.8em;
  margin: 0 0 2em;
  text-align: center;
}

.callout p {
  margin: 0 0 0.4em;
  font-size: 1.15em;
  font-weight: 600;
  font-style: italic;
  color: var(--color-accent);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------------- Blockquotes ---------------- */

blockquote {
  margin: 0 0 1.2em;
  padding: 0.9em 1.2em;
  border-left: 4px solid var(--color-border);
  background: var(--color-bg-alt);
  border-radius: 0 8px 8px 0;
}
blockquote p:last-child { margin-bottom: 0; }
