/* ============================================================
   John N. Craig, K.C. : Mediator & Arbitrator
   Pure-typography, substance-first. Ink navy on warm paper.
   ============================================================ */

:root {
  --ink:        #16243a;   /* deep navy, primary */
  --ink-soft:   #2b3a52;
  --paper:      #fbfaf8;   /* warm off-white */
  --paper-alt:  #f3f1ec;   /* alternating section band */
  --text:       #26303c;   /* body */
  --muted:      #6b7280;   /* small caps, meta */
  --accent:     #9c7c4a;   /* restrained brass, hairlines/accents only */
  --line:       #e3ddd2;   /* subtle rules */
  --maxw:       1140px;
  --narrow:     760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .wordmark {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--narrow); }
.nowrap { white-space: nowrap; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.wordmark {
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark .kc { color: var(--accent); }

.nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-menu a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav-menu .nav-cta {
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 8px 16px;
}
.nav-menu .nav-cta:hover { background: var(--ink); color: var(--paper); border-bottom-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 40px; height: 40px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .25s;
}

/* ---------------- Hero ---------------- */
.hero { padding-top: 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.04;
  margin: 0 0 24px;
}
.lede {
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-portrait img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 3px;
  filter: grayscale(8%);
  box-shadow: 0 18px 48px -22px rgba(22, 36, 58, 0.55);
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* Credibility strip */
.creds {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
}
.creds-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 20px 28px;
}
.cred {
  text-align: center;
  padding: 6px 20px;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.cred + .cred { border-left: 1px solid var(--line); }

/* ---------------- Sections ---------------- */
.section { padding: 92px 0; }
.section-alt { background: var(--paper-alt); }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  margin: 0 0 30px;
  max-width: 22ch;
}
.section p { margin: 0 0 20px; }
.section .first { font-size: 1.12rem; color: var(--ink-soft); }

/* About facts */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.fact h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.fact ul { margin: 0; padding: 0; list-style: none; }
.fact li { margin-bottom: 8px; font-size: 0.98rem; line-height: 1.5; }

/* Practice roles */
.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 14px 0 48px;
}
.role {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 28px 26px;
  border-radius: 2px;
}
.section-alt .role { background: #fff; }
.role h3 { font-size: 1.3rem; margin: 0 0 12px; }
.role p { margin: 0; color: var(--ink-soft); }

.areas-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin: 0 0 22px;
}
.areas { list-style: none; margin: 0; padding: 0; }
.areas li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.6;
}
.areas li:last-child { border-bottom: 1px solid var(--line); }
.area-name {
  display: block;
  font-family: "Lora", Georgia, serif;
  color: var(--ink);
  font-size: 1.18rem;
  margin-bottom: 6px;
}

/* Recognition */
.recognition { list-style: none; margin: 14px 0 0; padding: 0; }
.recognition li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  line-height: 1.55;
  color: var(--ink-soft);
}
.recognition li:last-child { border-bottom: 1px solid var(--line); }
.recognition strong { color: var(--ink); font-weight: 600; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin: 8px 0 40px;
}
.contact-block h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin: 22px 0 6px;
}
.contact-block h3:first-child { margin-top: 0; }
.contact-block p { margin: 0; font-size: 1.05rem; }
.contact-block a { text-decoration: none; border-bottom: 1px solid var(--accent); }
.contact-block a:hover { color: var(--accent); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--ink);
  color: #c9d2df;
  padding: 38px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.footer-name { font-family: "Lora", Georgia, serif; color: #fff; font-size: 1.05rem; }
.footer-meta { font-size: 0.85rem; color: #8e9bb0; letter-spacing: 0.02em; }

/* ---------------- Commentary index ---------------- */
.commentary-list { list-style: none; margin: 40px 0 0; padding: 0; }
.commentary-item {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.commentary-item:last-child { border-bottom: 1px solid var(--line); }
.commentary-date {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 10px;
}
.commentary-title {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.25;
  margin: 0 0 14px;
}
.commentary-title a {
  text-decoration: none;
  color: var(--ink);
  transition: color .2s;
}
.commentary-title a:hover { color: var(--accent); }
.commentary-summary { margin: 0 0 16px; color: var(--ink-soft); }
.commentary-summary em { font-style: italic; }
.commentary-readmore {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.commentary-readmore:hover { color: var(--accent); }

/* ---------------- Article page ---------------- */
.back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.back-link:hover { color: var(--accent); }
.article-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  margin: 0 0 14px;
  max-width: 26ch;
}
.article-meta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.article-body p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 24px;
}
.article-body em { font-style: italic; }
.article-disclaimer {
  margin: 36px 0 0;
  padding: 18px 22px;
  background: var(--paper-alt);
  border-left: 3px solid var(--accent);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 28px 22px;
    display: none;
    box-shadow: 0 16px 30px -20px rgba(0,0,0,.4);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-top: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 14px 0; }
  .nav-menu .nav-cta { border: 0; border-radius: 0; padding: 14px 0; color: var(--accent); }
  .nav-menu .nav-cta:hover { background: none; color: var(--accent); }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
  .hero-portrait { order: -1; }
  .hero-portrait img { width: 168px; height: 168px; }
  .lede { max-width: none; }

  .facts, .roles, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  .creds-inner { grid-template-columns: 1fr 1fr; }
  .cred { border-left: 0; padding: 12px 14px; border-top: 1px solid var(--line); }
  .cred:nth-child(-n+2) { border-top: 0; }
  .cred:nth-child(even) { border-left: 1px solid var(--line); }
}

@media (max-width: 480px) {
  .creds-inner { grid-template-columns: 1fr; }
  .cred { border-left: 0; border-top: 1px solid var(--line); padding: 12px 14px; }
  .cred:first-child { border-top: 0; }
}

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