/* ════════════════════════════════════════════════════════════════
   MARSAD methodology — Direction C · Command
   Restyles the methodology pages' shared markup vocabulary
   (.hero/.crumb/.body/.callout/.pill/.card/.seealso/.glossary)
   on top of the site-wide tokens. One file, all 11 pages.
   ════════════════════════════════════════════════════════════════ */
@import url('../assets/site.css');
@import url('../assets/doc.css');

body { font-size: 15px; }
.container { max-width: 1260px; }
.prose { max-width: 820px; }

/* ── Hero (navy band, serif display, mono crumb) ── */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(194, 161, 77, 0.25);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(194,161,77,0.10) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero .container { position: relative; }
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-label);
  margin-bottom: 22px;
  font-weight: 500;
}
.crumb a { color: var(--sky-nav); }
.crumb a:hover { color: var(--brass-lt); text-decoration: none; }
.crumb .sep { color: var(--sky-dim); margin: 0 8px; }
.hero h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: 14px;
  color: var(--cream);
  text-wrap: pretty;
}
.hero p.dek {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--sky-muted);
  max-width: 62ch;
  font-weight: 400;
}

/* ── Body sections ── */
section.body { padding: 48px 0 8px; }
section.body:first-of-type { padding-top: 64px; }
section.body:last-of-type { padding-bottom: 72px; }

.body h2 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 12px;
}
.body h2::after {
  content: '';
  position: absolute; inset-inline-start: 0; bottom: 0;
  width: 44px; height: 2px; background: var(--brass);
}
.body p { margin-bottom: 14px; max-width: 72ch; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.body ul { margin: 12px 0 16px; padding: 0; max-width: 70ch; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.body ul li { font-size: 14px; line-height: 1.65; color: var(--ink-2); padding-inline-start: 18px; position: relative; }
.body ul li::before { content: ''; position: absolute; inset-inline-start: 0; top: 9px; width: 6px; height: 6px; background: var(--brass); }
.body strong { color: var(--ink); font-weight: 600; }
.body a { color: var(--brass-dark); border-bottom: 1px solid var(--brass-line); }
.body a:hover { color: var(--ink); border-color: var(--brass-dark); text-decoration: none; }

/* ── Index card grid (hairline navy grid, like the landing modules) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(194, 161, 77, 0.25);
  border: 1px solid rgba(194, 161, 77, 0.25);
  margin-top: 40px;
}
.card {
  background: var(--navy);
  border: 0;
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .2s ease;
}
.card:hover { background: var(--navy2); text-decoration: none; transform: none; box-shadow: none; }
.card .ord {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-label);
  font-weight: 500;
}
.card h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--cream); }
.card p { font-size: 13px; line-height: 1.6; color: var(--sky-muted); margin: 0; }
.card .more { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; font-weight: 500; color: var(--brass-lt); margin-top: 6px; }
.card:hover .more { color: var(--brass); }

/* ── Callouts ── */
.callout {
  background: var(--brass-tint);
  border: 1px solid var(--brass-line);
  border-inline-start: 3px solid var(--brass);
  padding: 16px 22px;
  margin: 22px 0;
  max-width: 72ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.callout strong { color: var(--ink); }

/* ── Feature pills ── */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; max-width: 760px; }
.pill {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--paper-3);
  background: var(--white);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ── See-also band ── */
.seealso {
  background: var(--white);
  border-top: 1px solid var(--paper-2);
  padding: 48px 0 56px;
}
.seealso h3 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.seealso .links { display: flex; flex-wrap: wrap; gap: 8px; }
.seealso .links a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--paper-2);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  background: var(--paper);
}
.seealso .links a:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  text-decoration: none;
}

/* ── Glossary ── */
dl.glossary { margin-top: 8px; max-width: 760px; }
dl.glossary > dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-top: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--paper-2);
}
dl.glossary > dd { margin: 7px 0 0; padding: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.gloss-letter {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--brass-dark);
  margin-top: 40px;
  margin-bottom: 2px;
}

@media (max-width: 760px) {
  .hero h1 { font-size: 32px; }
  .card-grid { grid-template-columns: 1fr; }
}
