/* walden.css — additive components for the Walden consulting site.
   Loaded AFTER styles.css; reuses its tokens and base components.
   Keep this small: prefer reusing existing classes over adding new ones. */

/* Inner-page intro: a lighter hero for non-home pages */
.page-intro {
  padding: 56px 0 8px;
}
.page-intro .container { max-width: var(--max); margin: 0 auto; }
.page-intro h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
  color: var(--ink);
}
.page-intro .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Method principle callout (e.g. "one increment active at a time") */
.principle-callout {
  margin: 26px auto 0;
  max-width: var(--max);
  border-left: 4px solid var(--teal);
  background: var(--teal-pale);
  color: var(--teal-dark);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Founder/method context on the homepage */
.founder-section {
  padding: 76px 0;
  background: var(--paper);
}
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}
.founder-grid h2 {
  max-width: 15ch;
}
.founder-grid p:last-child {
  color: var(--ink-soft);
}

/* "Illustrative example" badge — borrows the status-label look */
.status-illustrative {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--gold-pale);
  border: 1px solid #f5deb3;
  padding: 3px 9px;
  border-radius: 999px;
}

/* Increment card grid (How Engagements Work) — reuses .assessment-example styling */
.increment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
@media (max-width: 760px) { .increment-grid { grid-template-columns: 1fr; } }

/* Credibility band — reuses .problem-grid article look but lighter */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
@media (max-width: 760px) { .cred-grid { grid-template-columns: 1fr; } }
.cred-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.cred-grid article strong { display: block; color: var(--ink); margin-bottom: 6px; }
.cred-grid article p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Case-study card */
.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.case-card .case-head {
  display: flex; align-items: center; gap: 12px;
  justify-content: space-between; margin-bottom: 12px;
}
.case-card h3 { margin: 0; font-size: 1.2rem; }
.case-card .case-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.case-card .case-row div { background: var(--canvas); border-radius: 10px; padding: 12px 14px; }
.case-card .case-row span { display:block; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.case-card .case-row strong { color: var(--ink); }

/* A subdued note paragraph */
.fine-note { color: var(--muted); font-size: 0.88rem; max-width: 70ch; }

/* Assessment workflow */
.assessment-flow-heading {
  margin-top: 58px;
}
.assessment-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.assessment-flow article {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.assessment-flow span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.assessment-flow h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.assessment-flow p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
@media (max-width: 900px) { .assessment-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .assessment-flow { grid-template-columns: 1fr; } }

/* Form status messages */
.form-status-ok { color: var(--green); font-weight: 600; }
.form-status-err { color: var(--red); font-weight: 600; }

/* ── Round 2: conversion improvements ───────────────────── */

/* Quick facts (The Assessment "at a glance" card) */
.assess-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}
.assess-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.assess-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.assess-facts span {
  flex: none;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.assess-facts strong { color: var(--ink); font-size: 0.9rem; text-align: right; }

/* "What you'll receive" band */
.deliverables-section { padding: 60px 0; background: var(--canvas); }
.deliverables {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.deliverables li {
  padding: 20px 18px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.deliverables li::before {
  content: "";
  display: block;
  width: 13px; height: 7px;
  margin-bottom: 16px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.deliverables strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.97rem; }
.deliverables span { color: var(--muted); font-size: 0.83rem; }
@media (max-width: 980px) { .deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .deliverables { grid-template-columns: 1fr; } }

/* Measurable Increment Method — visual flow diagram (sits above the detailed list) */
.method-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 0;
  margin: 0 0 44px;
}
.method-flow span {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  color: #fff;
  font-weight: 750;
  font-size: 0.9rem;
}
.method-flow span:not(:last-of-type)::after {
  content: "→";
  margin: 0 13px;
  color: #5eead4;
  font-weight: 800;
}
.method-flow em {
  margin-left: 14px;
  color: #5eead4;
  font-style: normal;
  font-weight: 750;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* Contact intro: two columns so the space beside the lede is used */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 26px; } }

@media (max-width: 760px) {
  .founder-section {
    padding: 54px 0;
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .founder-grid h2 {
    max-width: 100%;
  }
  .hero {
    padding: 54px 0 48px;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
    line-height: 1.03;
  }
  .hero-lede {
    margin-bottom: 22px;
    font-size: 1.06rem;
  }
  .hero-actions {
    gap: 14px 20px;
  }
  .assessment-flow-heading {
    margin-top: 42px;
  }
}

/* ── Round 3: feedback follow-ups ───────────────────────── */

/* Secondary "ghost" button — header "Book a Call" link */
.button-ghost {
  min-height: 40px;
  padding: 0 16px;
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.button-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

/* Before → After framing on engagement example cards */
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.ba > div {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.ba-before { background: var(--canvas); }
.ba-after { background: var(--teal-pale); border-color: #bfe7df; }
.ba span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ba-before span { color: var(--muted); }
.ba-after span { color: var(--teal-dark); }
.ba p { margin: 0; font-size: 0.9rem; color: var(--ink); }
@media (max-width: 440px) { .ba { grid-template-columns: 1fr; } }
