/* =============================================================
   Q-Vision Solutions LLC — Site Stylesheet
   Invisible Systems. Visible Outcomes.

   Single stylesheet. Mobile-first. WCAG 2.2 AA contrast throughout.
   Brand tokens locked per Q-Vision Solutions LLC governance.
   ============================================================= */

/* -------- Design tokens -------- */
:root {
  /* Primary palette */
  --navy: #001F3F;
  --teal: #008080;
  --paper: #FFFFFF;
  --soft: #F7F9FB;
  --ink-mute: #3D4A5C;
  --rule: #E5E7EB;

  /* Quadrant accents — used sparingly on Four-Qs and relevant pillar */
  --q1-green: #228B22;
  --q2-blue: #000080;
  --q3-purple: #4B0082;
  --q4-orange: #FF4500;

  /* Soft tints for restrained accent fills */
  --q1-soft: #E8F2E5;
  --q2-soft: #E1E5F2;
  --q3-soft: #ECE3F3;
  --q4-soft: #FCE8DD;

  /* Typography */
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* Spacing scale (rem) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.5rem;

  /* Misc */
  --rule-thin: 1px;
  --rule-strong: 2px;
  --transition: 180ms ease;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  background: var(--navy);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  z-index: 1000;
  font-weight: 600;
  border-radius: 4px;
  transition: top var(--transition);
}
.skip-link:focus { top: var(--sp-3); text-decoration: none; }

/* -------- Layout primitives -------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

section { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
@media (min-width: 1024px) {
  section { padding-top: var(--sp-9); padding-bottom: var(--sp-9); }
}

.section-soft { background: var(--soft); }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 var(--sp-4);
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.625rem, 2.5vw + 0.5rem, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 var(--sp-4);
  max-width: 36ch;
}

.section-lede {
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  color: var(--ink-mute);
  margin: 0 0 var(--sp-6);
  max-width: 65ch;
}

/* -------- Header / Nav -------- */
.site-header {
  background: var(--paper);
  border-bottom: var(--rule-thin) solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
}

.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo {
  height: 44px;
  width: auto;
  display: block;
}

.primary-nav { display: flex; align-items: center; gap: var(--sp-5); }

.nav-list {
  list-style: none;
  display: none;
  align-items: center;
  gap: var(--sp-6);
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: var(--sp-2) 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
.nav-list a:hover { border-bottom-color: var(--teal); text-decoration: none; }

.header-cta { display: none; }

.nav-toggle {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu (when open) */
.nav-list.open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: var(--sp-3) var(--container-pad) var(--sp-5);
  box-shadow: 0 4px 12px rgba(0, 31, 63, 0.06);
}
.nav-list.open li { width: 100%; }
.nav-list.open a {
  display: block;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--rule);
}
.nav-list.open .header-cta-mobile {
  margin-top: var(--sp-3);
  text-align: center;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; }
  .header-cta { display: inline-flex; }
  .header-cta-mobile { display: none; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.btn-primary:hover { background: #001530; border-color: #001530; }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--paper); }

.btn-arrow::after {
  content: "→";
  margin-left: var(--sp-2);
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* -------- Hero (homepage) -------- */
.hero {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  position: relative;
}
@media (min-width: 1024px) {
  .hero { padding-top: var(--sp-10); padding-bottom: var(--sp-10); }
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 var(--sp-4);
}

.hero-headline {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 var(--sp-5);
  max-width: 18ch;
}

.hero-subhead {
  font-size: clamp(1.0625rem, 1vw + 0.875rem, 1.375rem);
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 var(--sp-5);
  max-width: 60ch;
  font-weight: 400;
}

.hero-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 0 0 var(--sp-6);
  max-width: 60ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.hero-rule {
  height: 2px;
  background: var(--teal);
  width: 80px;
  margin-top: var(--sp-7);
}

/* -------- Pillar page hero -------- */
.pillar-hero {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-7);
  border-top: 6px solid var(--q-accent, var(--teal));
}
@media (min-width: 1024px) {
  .pillar-hero { padding-top: var(--sp-9); padding-bottom: var(--sp-8); }
}

.pillar-hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q-accent, var(--teal));
  margin: 0 0 var(--sp-4);
}

.pillar-hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 var(--sp-3);
  max-width: 22ch;
}

.pillar-hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  color: var(--ink-mute);
  margin: 0 0 var(--sp-5);
  max-width: 60ch;
}

.pillar-hero-positioning {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  margin: 0 0 var(--sp-6);
  max-width: 65ch;
}

/* -------- Page hero (about, contact) -------- */
.page-hero {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-6);
}
@media (min-width: 1024px) {
  .page-hero { padding-top: var(--sp-9); padding-bottom: var(--sp-7); }
}
.page-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 var(--sp-4);
}
.page-hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 var(--sp-4);
  max-width: 22ch;
}

/* -------- Grids -------- */
.grid {
  display: grid;
  gap: var(--sp-5);
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

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

/* -------- Card -------- */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--sp-5) var(--sp-5) var(--sp-5);
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { border-color: var(--ink-mute); }

.card-accent-stripe {
  border-left: 4px solid var(--q-accent, var(--teal));
  padding-left: calc(var(--sp-5) - 4px);
}
.card-accent-stripe:hover { border-left-color: var(--q-accent, var(--teal)); }

.card-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-accent, var(--teal));
  margin: 0 0 var(--sp-3);
}

.card-title {
  font-weight: 700;
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 var(--sp-3);
}

.card-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0 0 var(--sp-4);
  flex: 1;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  align-self: flex-start;
}
.card-link::after {
  content: " →";
  transition: transform var(--transition);
  display: inline-block;
}
.card-link:hover { text-decoration: none; color: var(--navy); }
.card-link:hover::after { transform: translateX(3px); }

/* Pillar cards (homepage) — accent stripe + clickable */
a.card {
  text-decoration: none;
  color: inherit;
}
a.card:hover { text-decoration: none; }

/* -------- Four Qs framework -------- */
.qframework { display: grid; gap: 0; }
.qrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--rule);
}
.qrow:first-child { border-top: 1px solid var(--rule); }

@media (min-width: 768px) {
  .qrow {
    grid-template-columns: 14rem 1fr 1fr;
    gap: var(--sp-5);
    align-items: baseline;
  }
}

.qrow-label {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}
.qrow-marker {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--q-accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.qrow-focus {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
}
.qrow-focus-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: var(--sp-1);
}

/* -------- How it works / numbered process -------- */
.process {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 2px solid var(--teal);
}
.process-step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.process-step-title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
  margin: 0;
}
.process-step-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}

/* -------- Audience list (Who Q-Vision Supports) -------- */
.audience-list { list-style: none; padding: 0; margin: 0; }
.audience-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--rule);
}
.audience-item:first-child { border-top: 1px solid var(--rule); }

@media (min-width: 768px) {
  .audience-item {
    grid-template-columns: 18rem 1fr;
    gap: var(--sp-6);
    align-items: baseline;
  }
}
.audience-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.audience-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* -------- Outcome tiles -------- */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--sp-3);
}
@media (min-width: 640px) {
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .outcome-grid { grid-template-columns: repeat(3, 1fr); }
}
.outcome-tile {
  background: var(--soft);
  border-left: 3px solid var(--teal);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.4;
}

/* -------- Founder voice -------- */
.founder-block {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
}
.founder-headline {
  font-weight: 700;
  font-size: clamp(1.375rem, 1.5vw + 0.5rem, 1.75rem);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 var(--sp-5);
  letter-spacing: -0.01em;
}
.founder-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 1vw + 0.875rem, 1.375rem);
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 0 0 var(--sp-4);
}
.founder-attribution {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--teal);
  text-transform: uppercase;
  margin: 0;
}

/* -------- Final CTA block -------- */
.final-cta {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
}
.final-cta-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 2vw + 0.875rem, 2.5rem);
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 var(--sp-4);
  line-height: 1.2;
}
.final-cta-body {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #DAE3EE;
  margin: 0 auto var(--sp-6);
  max-width: 56ch;
}
.final-cta .btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper);
}
.final-cta .btn-primary:hover { background: #006666; border-color: #006666; }

/* -------- Body content (pillar pages, about) -------- */
.prose {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
}
.prose p { margin: 0 0 var(--sp-4); }
.prose h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 1.5vw + 0.5rem, 2rem);
  color: var(--navy);
  margin: var(--sp-7) 0 var(--sp-4);
  letter-spacing: -0.01em;
}
.prose h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  margin: var(--sp-5) 0 var(--sp-3);
}
.prose ul { padding-left: 1.25rem; margin: 0 0 var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }
.prose strong { color: var(--navy); font-weight: 700; }

/* Pillar "What It Delivers" service blocks */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-5);
}
.service-item {
  padding-left: var(--sp-5);
  border-left: 2px solid var(--rule);
}
.service-item strong {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.service-item-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* Bullet lists — clean, with teal markers */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--sp-3);
  line-height: 1.6;
  font-size: 0.9375rem;
  color: var(--navy);
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--teal);
}

/* Two-column layout for pillar pages */
.pillar-section {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .pillar-section {
    grid-template-columns: 14rem 1fr;
    gap: var(--sp-8);
  }
}
.pillar-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q-accent, var(--teal));
  margin: 0;
}
.pillar-section + .pillar-section { margin-top: var(--sp-7); padding-top: var(--sp-7); border-top: 1px solid var(--rule); }

/* Framework footer card (Where It Sits) */
.framework-note {
  background: var(--soft);
  border-left: 4px solid var(--q-accent, var(--teal));
  padding: var(--sp-5);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--navy);
}

/* -------- Contact form -------- */
.contact-form {
  display: grid;
  gap: var(--sp-4);
  max-width: 38rem;
}
.form-row { display: grid; gap: var(--sp-2); }
.form-row label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}
.form-row label .req { color: var(--q4-orange); font-weight: 700; }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  color: var(--navy);
  transition: border-color var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(0, 128, 128, 0.2);
  outline-offset: 0;
}
.form-row textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.form-notice {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  line-height: 1.5;
  padding: var(--sp-4);
  background: var(--soft);
  border-left: 3px solid var(--teal);
}
.form-mailto {
  font-size: 0.875rem;
  color: var(--ink-mute);
}
.form-mailto a { font-weight: 600; }

.honeypot { display: none; }

/* -------- About: what is / is not -------- */
.two-col-text {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .two-col-text { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}
.col-heading {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  margin: 0 0 var(--sp-3);
}

/* -------- Footer -------- */
.site-footer {
  background: var(--navy);
  color: #C7D1DD;
  padding: var(--sp-7) 0 var(--sp-7);
  margin-top: var(--sp-8);
}
@media (min-width: 1024px) {
  .site-footer { padding: var(--sp-8) 0 var(--sp-7); }
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-tagline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.footer-copy {
  font-size: 0.8125rem;
  color: #C7D1DD;
  margin: 0;
}
.footer-link { color: #C7D1DD; }
.footer-link:hover { color: var(--paper); }

/* -------- Utility -------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   Wall-D pathway components
   Scoped extensions for /pillars/sterile-processing-forensics.html
   (Wall-D introduction panel) and the two Wall-D pages.
   All use existing tokens; no new color values.
   ============================================================= */

/* Introduction panel on the pillar page */
.wall-d-intro {
  background: var(--soft);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--q2-blue);
  padding: var(--sp-6);
}
@media (min-width: 768px) {
  .wall-d-intro { padding: var(--sp-7); }
}
.wall-d-intro-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q2-blue);
  margin: 0 0 var(--sp-3);
}
.wall-d-intro-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 1.5vw + 0.5rem, 2rem);
  color: var(--navy);
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.wall-d-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  margin: 0 0 var(--sp-4);
  max-width: 65ch;
}
.wall-d-intro p:last-of-type { margin-bottom: var(--sp-5); }
.wall-d-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

/* Signal-not-a-verdict callout */
.signal-callout {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem);
  line-height: 1.4;
  color: var(--navy);
  border-left: 3px solid var(--q2-blue);
  padding: var(--sp-3) var(--sp-5);
  margin: var(--sp-5) 0 var(--sp-6);
  max-width: 50ch;
}

/* Five-column process grid (Contain / Capture / Classify / Coordinate / Prove or Disprove) */
.process-5 {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .process-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-5 { grid-template-columns: repeat(5, 1fr); }
}
.process-5 .process-step-num { color: var(--q2-blue); }
.process-5 .process-step { border-top-color: var(--q2-blue); }

/* Walt collaboration block — portrait + text */
.collab-block {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) {
  .collab-block {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: var(--sp-7);
  }
}

/* Side-by-side Walt portrait + Quality Mark.
   Stacks on very narrow screens (<420px), side-by-side at all other widths.
   Replaces the prior vertically-stacked .collab-portrait / .collab-mark. */
.collab-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  max-width: 22rem;
}
@media (min-width: 420px) {
  .collab-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
  }
}
.collab-figures figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.collab-figures img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: var(--paper);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.collab-figures figcaption {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  margin-top: var(--sp-3);
  line-height: 1.4;
}
.collab-figures figcaption strong {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.875rem;
  margin-bottom: 2px;
}
.collab-figures figcaption .sub {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* LEFT HAND zones — five-row list for Walt's methodology.
   Sibling pattern to .audience-item but Q2-blue accented and zone-specific. */
.lefthand-zones {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lefthand-zones .zone-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--rule);
}
.lefthand-zones .zone-item:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 768px) {
  .lefthand-zones .zone-item {
    grid-template-columns: 16rem 1fr;
    gap: var(--sp-6);
    align-items: baseline;
  }
}
.zone-finger {
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q2-blue);
  margin-bottom: var(--sp-1);
}
.zone-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.3;
}
.zone-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-mute);
}
.zone-body p { margin: 0 0 var(--sp-2); }
.zone-watch {
  font-size: 0.875rem;
  color: var(--navy);
  margin-top: var(--sp-2);
}
.zone-watch strong { color: var(--navy); font-weight: 700; }

/* Standards reference list */
.standards-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .standards-grid { grid-template-columns: repeat(3, 1fr); }
}
.standards-item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--q2-blue);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.4;
}

/* Wall-D page hero — slightly distinct from pillar-hero, uses Q2 accent */
.walld-hero {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-7);
  border-top: 6px solid var(--q2-blue);
}
@media (min-width: 1024px) {
  .walld-hero { padding-top: var(--sp-9); padding-bottom: var(--sp-8); }
}
.walld-hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q2-blue);
  margin: 0 0 var(--sp-4);
}
.walld-hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 var(--sp-4);
  max-width: 24ch;
}
.walld-hero-subhead {
  font-size: clamp(1.0625rem, 0.75vw + 0.875rem, 1.25rem);
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 var(--sp-5);
  max-width: 56ch;
  font-weight: 500;
}
.walld-hero-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 0 0 var(--sp-4);
  max-width: 62ch;
}
.walld-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* Internal cross-link footer band */
.crosslink-band {
  background: var(--soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.crosslink-band .container {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
@media (min-width: 768px) {
  .crosslink-band .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
  }
}
.crosslink-band-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q2-blue);
  margin: 0;
}
.crosslink-band-text {
  font-size: 0.9375rem;
  color: var(--navy);
  margin: 0;
  font-weight: 500;
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .header-cta { display: none; }
  body { color: #000; }
}
