/*
Theme Name: Wandering Purpose
Theme URI: https://wanderingpurpose.com
Author: Red Moon Media
Author URI: https://redmoon.media
Description: Custom splash + proposal theme for Wandering Purpose LLC — the consulting practice of Sarah Neiderer, MPH. Includes a front-page splash and a dedicated Potomac Conservancy proposal page template.
Version: 1.6.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: wandering-purpose
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --cream: #FAF7EF;
  --paper: #F3EDDF;
  --tan: #EBE1CC;
  --tan-soft: #F1EADA;
  --ink: #2B2A21;
  --ink-soft: #4A4838;
  --olive: #3E4A33;
  --olive-deep: #2F3826;
  --moss: #E2EACB;
  --moss-ink: #3E5222;
  --ember: #C25E2A;
  --line: #D9CFB8;
  --white: #FFFFFF;
  /* Blueprint appendix sub-palette (DC Water excerpt) */
  --dc-blue: #2F7DC1;
  --dc-blue-deep: #1F5E99;
  --dc-blue-soft: #DCEBF7;
  --dc-green: #7BA640;
  --dc-green-soft: #EAF2DA;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, Helvetica, Arial, sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 640;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
::selection { background: var(--moss); color: var(--olive-deep); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap--narrow { max-width: 800px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--olive); color: var(--cream); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   SITE HEADER / FOOTER
   ============================================================ */
.site-head { padding: 28px 0 0; }
.site-head__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.015em;
}
.wordmark:hover { color: var(--olive); }
.head-contact { font-size: 0.95rem; }

.site-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 32px 0 44px; }
.site-foot__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.9rem; color: var(--ink-soft);
}

/* ============================================================
   SPLASH (front page)
   ============================================================ */
.hero { padding: clamp(64px, 11vw, 140px) 0 clamp(48px, 7vw, 88px); }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 680;
  max-width: 15ch;
  margin-bottom: 0.45em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--olive);
}
.hero__lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  max-width: 56ch;
  color: var(--ink-soft);
  margin-bottom: 1.8em;
}
.btn {
  display: inline-block;
  background: var(--olive);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--olive);
}
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--olive); }
.btn--ghost:hover { background: var(--moss); color: var(--olive-deep); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px 32px;
}
.proof__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 660;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 6px;
}
.proof__item span { font-size: 0.95rem; color: var(--ink-soft); }

.splash-section { padding: clamp(56px, 8vw, 96px) 0 0; }
.splash-section > .wrap > h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.9em;
}
.splash-intro { max-width: 62ch; color: var(--ink-soft); margin-bottom: 2em; }

.practice-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.practice-list li {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  gap: 8px 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.practice-list h3 { font-size: 1.15rem; margin: 0; }
.practice-list p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 640px) { .practice-list li { grid-template-columns: 1fr; } }

.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.work-card {
  background: var(--tan-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
}
.work-card .org {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ember);
  margin-bottom: 10px;
}
.work-card h3 { font-size: 1.25rem; }
.work-card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  background: var(--moss);
  color: var(--moss-ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-band {
  margin-top: clamp(64px, 9vw, 110px);
  background: var(--olive);
  color: var(--cream);
  border-radius: 20px;
  padding: clamp(36px, 6vw, 64px);
}
.contact-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--cream); }
.contact-band p { color: #DDE3CF; max-width: 52ch; }
.contact-band a.btn { background: var(--cream); border-color: var(--cream); color: var(--olive-deep); }
.contact-band a.btn:hover { background: var(--moss); border-color: var(--moss); }
.contact-band .contact-lines { margin-top: 22px; font-size: 1.05rem; }
.contact-band .contact-lines a { color: var(--cream); }

/* ============================================================
   PROPOSAL PAGE
   ============================================================ */
.pp { font-size: 1rem; }
.pp .wrap { max-width: 880px; }

/* Doc header bar */
.pp-docbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 10px; padding: 26px 0 18px; border-bottom: 2px solid var(--ink);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-soft);
}
.pp-docbar .client { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; color: var(--ink); }

/* Cover */
.pp-cover {
  background: var(--tan);
  border-radius: 18px;
  padding: clamp(32px, 6vw, 64px);
  margin: 40px 0 8px;
}
.pp-cover .kicker { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 14px; }
.pp-cover h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 700; margin-bottom: 0.35em; }
.pp-cover .sub { font-size: 1.1rem; max-width: 46ch; color: var(--ink-soft); }
.pp-cover__meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #D8CBAE;
}
.pp-cover__meta .label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 6px; }
.pp-cover__meta .val { font-family: var(--font-display); font-weight: 660; font-size: 1.2rem; }
.pp-cover__meta .val small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; }

.pp-runline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; color: var(--ink-soft);
  padding: 14px 0 40px;
}

/* Cover letter */
.pp-letter { border-top: 3px solid var(--ink); padding-top: 20px; margin-bottom: 72px; }
.pp-letter__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
.pp-letter__head .from { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.pp-letter__head .meta { text-align: right; font-size: 0.88rem; color: var(--ink-soft); }
.pp-letter .sig { margin-top: 40px; }
.pp-letter .sig .name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--ink); display: inline-block; padding-top: 10px; min-width: 220px; }
.pp-letter .sig p { margin: 2px 0; font-size: 0.92rem; color: var(--ink-soft); }

/* Section scaffolding */
.pp-section { margin: 72px 0 0; }
.pp-sechead { display: flex; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 26px; }
.pp-sechead .num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-soft); }
.pp-sechead h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; margin: 0; }
.pp h3 { font-size: 1.3rem; margin-top: 1.6em; }
.pp h3:first-of-type { margin-top: 0; }
.pp p { color: var(--ink-soft); }
.pp .lead { color: var(--ink); }

/* Lists with ember bullets */
.pp ul.dots { list-style: none; margin: 0 0 1.2em; padding: 0; }
.pp ul.dots > li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--ink-soft); }
.pp ul.dots > li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ember);
}
.pp ul.dots ul { list-style: none; margin: 8px 0 0; padding: 0; }
.pp ul.dots ul li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: 0.97rem; }
.pp ul.dots ul li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--ember); background: transparent;
}

/* Cards */
.pp-card { background: var(--tan-soft); border-radius: 12px; padding: 22px 24px; margin: 0 0 14px; }
.pp-card--tan { background: var(--tan); }
.pp-card .cardlabel { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 8px; }
.pp-card .cardtitle { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.pp-card p { margin: 6px 0 0; font-size: 0.95rem; }

.pp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .pp-grid2, .pp-grid3 { grid-template-columns: 1fr; } }

.pp-callout {
  background: var(--moss);
  border-radius: 12px;
  padding: 26px 28px;
  font-family: var(--font-display);
  font-weight: 660;
  font-size: 1.2rem;
  color: var(--moss-ink);
  margin: 28px 0;
}
.pp-banner {
  background: var(--olive-deep);
  color: var(--cream);
  border-radius: 999px;
  padding: 20px 30px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 660;
  font-size: 1.15rem;
  margin: 32px 0 0;
}

/* Data tables */
.pp-table { width: 100%; border-collapse: collapse; margin: 12px 0 28px; font-size: 0.94rem; }
.pp-table th {
  text-align: left; font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 700;
  color: var(--ink-soft); padding: 10px 12px 8px; border-bottom: 1.5px solid var(--ink);
}
.pp-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.pp-table td:first-child { color: var(--ink); }
.pp-table .rowhead { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.pp-table .rowhead small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: var(--ink-soft); }
.pp-table .num-r { text-align: right; white-space: nowrap; }
.pp-table tr.total td { border-top: 2px solid var(--ink); border-bottom: none; font-weight: 700; color: var(--ink); }
.pp-tablewrap { overflow-x: auto; }

/* Journey cards */
.pp-journeytimeline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.pp-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 8px; }
@media (max-width: 760px) { .pp-journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pp-journey { grid-template-columns: 1fr; } }
.pp-journey .jcard { background: var(--tan-soft); border-radius: 12px; padding: 18px; }
.pp-journey .jcard .jnum {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--ember); color: var(--white);
  font-weight: 700; font-size: 0.85rem; margin-bottom: 10px;
}
.pp-journey .jcard h4 { font-size: 1rem; margin: 0 0 6px; }
.pp-journey .jcard p { font-size: 0.85rem; margin: 0; }
.pp-journey .jcard--outline { background: transparent; border: 1.5px dashed var(--ink-soft); }
.pp-journey .jcard--outcome { background: var(--white); border: 1.5px solid var(--line); }
.pp-journey .tag {
  display: inline-block; border: 1.5px solid var(--ember); color: var(--ember);
  border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; padding: 2px 10px; margin-top: 8px;
}

/* Task blocks */
.pp-task { margin: 48px 0 0; }
.pp-taskhead {
  display: flex; align-items: center; gap: 16px;
  background: var(--tan); border-radius: 999px; padding: 12px 22px 12px 12px; margin-bottom: 20px;
}
.pp-taskhead .tnum {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ember); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
}
.pp-taskhead .tnum--dashed { background: transparent; border: 2px dashed var(--ember); color: var(--ember); }
.pp-taskhead .tlabel { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-soft); }
.pp-taskhead h3 { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.pp-taskhead .valuetag {
  border: 1.5px solid var(--ember); color: var(--ember); border-radius: 999px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.09em; padding: 2px 9px; margin-left: 8px; vertical-align: middle;
}
.pp-task h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.07em;
  border-bottom: 1px solid var(--ink); padding-bottom: 6px; margin: 26px 0 14px;
}

/* Toolkit */
.pp-toolkit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 8px; }
@media (max-width: 760px) { .pp-toolkit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pp-toolkit { grid-template-columns: 1fr; } }
.pp-toolkit .tk-colhead {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  background: var(--olive-deep); color: var(--cream);
  border-radius: 999px; padding: 8px 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.pp-toolkit .tk-colhead small { opacity: 0.75; font-size: 0.62rem; }
.pp-toolkit .tkcard { background: var(--tan-soft); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.pp-toolkit .tkcard h5 { font-size: 0.98rem; margin: 0 0 4px; }
.pp-toolkit .tkcard p { font-size: 0.82rem; margin: 0; }

/* Objectives matrix */
.pp-matrix td, .pp-matrix th { text-align: center; }
.pp-matrix td:first-child, .pp-matrix th:first-child { text-align: left; }
.pp-matrix .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); }
.pp-matrix .dot--off { background: var(--line); width: 6px; height: 6px; }
.pp-matrixlegend { font-size: 0.82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; margin: -14px 0 24px; }
.pp-matrixlegend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); }

/* Deliverable cards */
.pp-delivs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .pp-delivs { grid-template-columns: 1fr; } }
.pp-delivs .dcard {
  background: var(--tan-soft); border-radius: 10px; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
}
.pp-delivs .dcard h5 { font-size: 1rem; margin: 0 0 3px; }
.pp-delivs .dcard p { font-size: 0.8rem; margin: 0; }
.pp-delivs .dtag {
  flex: none; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  border-radius: 999px; padding: 3px 9px; background: var(--moss); color: var(--moss-ink);
}
.pp-delivs .dtag--value { background: transparent; border: 1.5px solid var(--ember); color: var(--ember); }

/* Schedule (gantt) */
.pp-gantt { margin: 16px 0 8px; }
.pp-gantt .g-months, .pp-gantt .g-row {
  display: grid; grid-template-columns: minmax(140px, 1.6fr) repeat(13, 1fr);
  align-items: center; gap: 2px;
}
.pp-gantt .g-months { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 6px; }
.pp-gantt .g-months span { text-align: center; }
.pp-gantt .g-row { padding: 5px 0; border-bottom: 1px solid rgba(217,207,184,0.5); }
.pp-gantt .g-name { font-size: 0.8rem; font-weight: 700; padding-right: 10px; }
.pp-gantt .g-name small { display: block; font-weight: 400; color: var(--ink-soft); }
.pp-gantt .bar { height: 16px; border-radius: 999px; background: var(--olive); grid-row: auto; }
.pp-gantt .bar--dashed { background: transparent; border: 2px dashed var(--olive); }
.pp-gantt .pdot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); margin: 0 auto; }
.pp-gantt .pdot--faint { background: var(--line); width: 5px; height: 5px; }
.pp-gantt .g-plabel { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-soft); padding: 12px 0 4px; }
.pp-ganttwrap { overflow-x: auto; }
.pp-ganttwrap .pp-gantt { min-width: 640px; }

/* Budget stat cards */
.pp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 28px; }
@media (max-width: 700px) { .pp-stats { grid-template-columns: 1fr; } }
.pp-stats .stat { background: var(--tan); border-radius: 12px; padding: 20px 22px; }
.pp-stats .stat--green { background: var(--moss); }
.pp-stats .label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 8px; }
.pp-stats .amount { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.pp-stats small { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--ink-soft); }

/* Qualifications */
.pp-qual { background: var(--tan-soft); border-radius: 12px; padding: 22px 24px; margin-bottom: 12px; display: grid; grid-template-columns: minmax(180px, 36%) 1fr; gap: 12px 28px; }
@media (max-width: 640px) { .pp-qual { grid-template-columns: 1fr; } }
.pp-qual .qhead { display: flex; gap: 12px; align-items: flex-start; }
.pp-qual .qnum {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--olive);
  color: var(--cream); font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.pp-qual h4 { font-size: 1.05rem; margin: 0; }
.pp-qual ul.dots { margin: 0; }
.pp-qual ul.dots li { font-size: 0.93rem; }

/* Resume */
.pp-resume .r-hero { background: var(--tan); border-radius: 14px; padding: 28px 30px; margin-bottom: 28px; }
.pp-resume .r-hero h3 { font-size: 1.7rem; margin: 0 0 4px; }
.pp-resume .r-hero .r-roles { font-weight: 700; color: var(--olive); margin-bottom: 4px; }
.pp-resume .r-hero .r-contact { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 16px; }
.pp-resume .r-hero p:last-child { margin: 0; }
.pp-resume .r-comp { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 34px; }
.pp-resume .r-orglabel { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin: 34px 0 14px; }
.pp-resume .r-role { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 18px 0 8px; }
.pp-resume .r-role h5 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin: 0; }
.pp-resume .r-role .dates { font-size: 0.85rem; color: var(--ink-soft); }
.pp-resume .r-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
@media (max-width: 640px) { .pp-resume .r-meta { grid-template-columns: 1fr; } }

/* References */
.pp-ref { background: var(--tan-soft); border-radius: 12px; padding: 22px 24px; margin-bottom: 12px; display: grid; grid-template-columns: minmax(200px, 42%) 1fr; gap: 12px 28px; }
@media (max-width: 640px) { .pp-ref { grid-template-columns: 1fr; } }
.pp-ref .r-orgtag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 6px; }
.pp-ref h4 { font-size: 1.1rem; margin: 0 0 4px; }
.pp-ref .r-title { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 10px; }
.pp-ref .r-contact { font-size: 0.9rem; }
.pp-ref .r-projlabel { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 4px; }
.pp-ref p { font-size: 0.93rem; margin: 0 0 10px; }

/* Sample project phases */
.pp-phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 16px 0 8px; }
@media (max-width: 820px) { .pp-phases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pp-phases { grid-template-columns: 1fr; } }
.pp-phases .phase { background: var(--tan-soft); border-radius: 10px; padding: 16px; }
.pp-phases .pnum {
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--cream);
  font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.pp-phases h5 { font-size: 0.95rem; margin: 0 0 6px; }
.pp-phases p { font-size: 0.78rem; margin: 0; }

.pp-service { display: grid; grid-template-columns: minmax(160px, 28%) 1fr; gap: 10px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .pp-service { grid-template-columns: 1fr; } }
.pp-service h4 { font-size: 1.05rem; margin: 0; }
.pp-service p { margin: 0; font-size: 0.96rem; }

/* Appendix heads */
.pp-appendixhead { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin: 72px 0 26px; }
.pp-appendixhead .num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-soft); }
.pp-appendixhead h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 0; }

/* ============================================================
   BLUEPRINT APPENDIX (DC Water excerpt sub-theme)
   ============================================================ */
.bp { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 40px); margin-top: 18px; }
.bp, .bp p, .bp li { font-family: var(--font-body); color: #3A4A5A; }
.bp h3, .bp h4, .bp h5 { font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }
.bp .bp-panel { border: 1px solid #E0E8F0; border-radius: 12px; padding: 22px 24px; margin-bottom: 18px; }
.bp .bp-panelhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.bp .bp-paneltitle { color: var(--dc-blue); font-weight: 800; font-size: 1.35rem; }
.bp .bp-cover { border-radius: 12px; overflow: hidden; border: 1px solid #E0E8F0; margin-bottom: 18px; }
.bp .bp-coverimg { height: 120px; background: linear-gradient(120deg, #A8C8E8, #6FA3D6 55%, #C9DCEF); }
.bp .bp-coverbody { padding: 24px 26px; }
.bp .bp-covertitle { color: var(--dc-blue); font-weight: 800; font-size: 1.5rem; line-height: 1.2; margin-bottom: 8px; }
.bp .conf {
  display: inline-block; border: 1.5px solid #C0392B; color: #C0392B;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
}
.bp .bp-byline { font-size: 0.85rem; color: var(--dc-blue-deep); }
.bp .bp-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; color: #7B8A99; margin: 14px 0 8px; }
.bp .bp-chip {
  display: inline-block; background: var(--dc-blue-soft); color: var(--dc-blue-deep);
  border-radius: 6px; padding: 5px 12px; font-size: 0.8rem; font-weight: 700; margin: 0 6px 6px 0;
}
.bp .bp-chip--green { background: var(--dc-green-soft); color: #4E6E1E; }
.bp .bp-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%; background: var(--dc-green); color: #fff;
  font-size: 0.75rem; font-weight: 800; margin-right: 10px;
}
.bp ul.bdots { list-style: none; margin: 0 0 1em; padding: 0; }
.bp ul.bdots li { position: relative; padding-left: 18px; margin-bottom: 7px; font-size: 0.92rem; }
.bp ul.bdots li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--dc-green); }
.bp ul.bdots--blue li::before { background: var(--dc-blue); }
.bp .bp-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .bp .bp-vm { grid-template-columns: 1fr; } }
.bp .bp-vm .vm { border-radius: 10px; padding: 22px; color: #fff; }
.bp .bp-vm .vm .bp-label { color: rgba(255,255,255,0.85); margin-top: 0; }
.bp .bp-vm .vm--vision { background: var(--dc-blue); }
.bp .bp-vm .vm--mission { background: var(--dc-green); }
.bp .bp-vm p { color: #fff; font-weight: 600; margin: 0; }
.bp .bp-prog { border: 1px solid #E0E8F0; border-radius: 10px; padding: 18px 20px; }
.bp .bp-prog .bp-progtitle { display: flex; align-items: center; color: var(--dc-blue-deep); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.03em; margin-bottom: 10px; }
.bp .bp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .bp .bp-grid2 { grid-template-columns: 1fr; } }
.bp .bp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .bp .bp-grid3 { grid-template-columns: 1fr; } }
.bp .bp-mini { border-top: 3px solid var(--dc-blue); background: #F7FAFD; padding: 14px 16px; border-radius: 0 0 8px 8px; }
.bp .bp-mini h5 { color: var(--dc-blue-deep); font-size: 0.95rem; margin: 0 0 6px; }
.bp .bp-mini p { font-size: 0.85rem; margin: 0; }
.bp .bp-gov { border-left: 3px solid var(--dc-green); background: #FAFCF6; padding: 16px 20px; border-radius: 0 8px 8px 0; }
.bp .bp-govgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
@media (max-width: 640px) { .bp .bp-govgrid { grid-template-columns: 1fr; } }

/* Proposal footer runline */
.pp-endline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  border-top: 1px solid var(--line); margin-top: 80px; padding: 18px 0 40px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; color: var(--ink-soft);
}

/* Fallback content (index.php) */
.plain-content { padding: 64px 0; }

/* Hero photo (v2) */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__photo { margin: 0; }
.hero__photo img {
  display: block; width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  filter: grayscale(1);
}
.hero__photo figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--ink-soft); }

/* Proposal client logo (v2) */
.pp-clientlogo { width: 132px; height: auto; }

/* ============ v3 — hero composition ============ */
.hero { padding: clamp(32px, 5.5vw, 64px) 0 clamp(44px, 6vw, 76px); }
.hero__grid { align-items: stretch; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); }
.hero__text { display: flex; flex-direction: column; justify-content: center; }
.hero__photo { position: relative; display: flex; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--line); filter: grayscale(1);
}
.hero__photo figcaption {
  position: absolute; left: 14px; bottom: 14px; margin: 0;
  background: var(--cream); color: var(--ink);
  border-radius: 999px; padding: 7px 16px;
  font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 1px 0 var(--line);
}
@media (max-width: 820px) {
  .hero__photo img { max-height: 440px; }
}

/* ============ v3 — proposal section color system ============ */
.pp-sechead {
  border-bottom: none; background: var(--olive);
  padding: 16px 24px; border-radius: 14px; margin-bottom: 30px;
}
.pp-sechead .num { color: rgba(250, 247, 239, 0.72); }
.pp-sechead h2 { color: var(--cream); }
.pp-sechead--ember { background: var(--ember); }
.pp-sechead--moss { background: var(--moss-ink); }
.pp-sechead--deep { background: var(--olive-deep); }
.pp-sechead--quiet { background: var(--tan); }
.pp-sechead--quiet .num { color: var(--ink-soft); }
.pp-sechead--quiet h2 { color: var(--ink); }
.pp-appendixhead {
  border-bottom: none; background: var(--tan);
  padding: 14px 22px; border-radius: 14px;
}
.pp-section--sage {
  background: #EFF3E2; border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
}
.pp-section--sage .pp-sechead, .pp-section--sage .pp-appendixhead { margin-top: 0; }
.pp-section--sage .pp-appendixhead { margin-bottom: 26px; background: var(--white); }

/* ============ v5 — Potomac blue (proposal) ============ */
:root {
  --pc-blue: #0E7DC1;
  --pc-blue-soft: #E3F0FA;
  --pc-navy: #16344F;
  --red: #A82E26;
  --red-deep: #8C241E;
  --red-ink: #7C241F;
  --blush: #F3DCD4;
}
.pp-sechead--moss { background: var(--pc-blue); }
.pp-sechead--deep { background: var(--pc-navy); }
.pp-section--sage { background: var(--pc-blue-soft); }
.pp-toolkit .tk-colhead { background: var(--pc-navy); }
.pp-callout { background: var(--pc-blue-soft); color: var(--pc-navy); }
.pp-banner { background: var(--pc-navy); }
.pp-card--info { background: var(--pc-blue-soft); }
.pp-card--info p { color: var(--pc-navy); margin: 0; }
.pp-stats .stat--green { background: var(--pc-blue-soft); }
.pp-delivs .dtag { background: var(--pc-blue-soft); color: var(--pc-navy); }

/* ============ v5 — red splash (scoped to front page) ============ */
.home a { color: var(--red); }
.home a:hover { color: var(--red-deep); }
.home .hero h1 em { color: var(--red); }
.home .proof__item strong { color: var(--red); }
.home .btn { background: var(--red); border-color: var(--red); color: var(--cream); }
.home .btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--cream); }
.home .btn--ghost { background: transparent; color: var(--red); }
.home .btn--ghost:hover { background: var(--blush); color: var(--red-deep); }
.home .chip { background: var(--blush); color: var(--red-ink); }
.home ::selection { background: var(--blush); color: var(--red-deep); }
.home .contact-band { background: var(--red-deep); }
.home .contact-band p { color: #F1D6CE; }
.home .contact-band a.btn { background: var(--cream); border-color: var(--cream); color: var(--red-deep); }
.home .contact-band a.btn:hover { background: var(--blush); border-color: var(--blush); color: var(--red-deep); }
.home .contact-band .contact-lines a { color: var(--cream); }
.home a:focus-visible, .home button:focus-visible { outline-color: var(--red); }
.home .wordmark { color: var(--ink); }
.home .wordmark:hover { color: var(--red); }

/* ============ v6 — white band variant ============ */
.pp-section--white {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(24px, 4vw, 44px);
}
.pp-section--white .pp-sechead, .pp-section--white .pp-appendixhead { margin-top: 0; }
.pp-section--white .pp-appendixhead { margin-bottom: 26px; background: var(--tan); }

/* ============ v7 — unified proposal scheme: navy structure + ember accents + one blue tint ============ */
.pp-sechead,
.pp-sechead--ember,
.pp-sechead--moss,
.pp-sechead--deep { background: var(--pc-navy); }
.pp-sechead--quiet { background: var(--tan); }
.pp a { color: var(--pc-blue); }
.pp a:hover { color: var(--pc-navy); }
.pp-section[id], .pp .pp-task[id], .pp h3[id] { scroll-margin-top: 24px; }

/* ============ v9 — task pullout cards (summary page) ============ */
.pp-taskcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .pp-taskcards { grid-template-columns: 1fr; } }
.pp-taskcard { background: var(--tan-soft); border-radius: 12px; padding: 20px 22px; }
.pp-taskcard .tc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pp-taskcard .tc-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ember); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.pp-taskcard .tc-num--dashed { background: transparent; border: 2px dashed var(--ember); color: var(--ember); }
.pp-taskcard h4 { margin: 0; font-size: 1.05rem; }
.pp-taskcard p { margin: 0; font-size: 0.92rem; }
