/* ==========================================================================
   Page-level components — solutions / case-studies / about
   Reuses tokens, buttons, .head-ekg, .icon3d, .case-card, .method from the
   shared stylesheets; adds only what these interior pages need.
   ========================================================================== */

/* ---- Page hero (interior pages) ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(7rem, 5rem + 8vw, 11rem);
  padding-bottom: var(--space-section);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  margin-bottom: var(--space-md);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-hero);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 18ch;
  margin: 0;
}
.page-hero__sub {
  margin-top: var(--space-lg);
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 54ch;
}
.page-hero__cta {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
/* let the heartbeat cross the hero heading */
.page-hero .head-ekg {
  top: 42%;
}

/* ---- Generic intro / lead block ---- */
.lead-block {
  max-width: 60ch;
}
.lead-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead-block p {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: var(--muted);
}

/* ---- Solution detail blocks (alternating media / copy) ---- */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: var(--space-2xl);
}
.solution + .solution {
  border-top: 1px solid var(--line);
}
.solution__body {
  max-width: 46ch;
}
.solution__icon {
  width: 76px;
  height: 76px;
  margin-bottom: var(--space-md);
}
.solution__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(30, 42, 51, 0.18));
}
.solution__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.solution__body > p {
  margin-top: var(--space-sm);
  color: var(--muted);
  font-size: var(--text-base);
}
.solution__cta {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.solution__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur-fast);
}
.solution__cta:hover svg {
  transform: translateX(3px);
}

/* visual panel on the opposite column */
.solution__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.solution__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solution:nth-child(even) .solution__media {
  order: -1;
}

@media (max-width: 820px) {
  .solution {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-block: var(--space-xl);
  }
  .solution:nth-child(even) .solution__media {
    order: 0;
  }
}

/* ---- Checklist (deliverables) ---- */
.checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  display: grid;
  gap: 0.65rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--brand-ink);
}
.checklist svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  fill: none;
  stroke: var(--brand-green-600);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- "How we stack up" comparison ---- */
.stack__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.stack__col {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
}
.stack__col--them {
  background: var(--surface-2);
}
.stack__col--us {
  background: var(--brand-blue);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.stack__col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}
.stack__col--them h3 {
  color: var(--muted);
}
.stack__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-md);
}
.stack__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.stack__col--them li {
  color: var(--muted);
}
.stack__ico {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stack__col--them .stack__ico {
  stroke: var(--line-strong);
}
.stack__col--us .stack__ico {
  stroke: var(--brand-green);
}
@media (max-width: 760px) {
  .stack__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Filter pills (case studies) ---- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}
.filter__pill {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--brand-ink);
  cursor: default;
}
.filter__pill--active {
  background: var(--brand-blue);
  border-color: transparent;
  color: #fff;
}

/* cases grid reuse + a wider gallery */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- About: story + values + team ---- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-story__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
  position: relative;
}
.about-story__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 820px) {
  .about-story {
    grid-template-columns: 1fr;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--dur-normal) var(--ease-out-quint), box-shadow var(--dur-normal);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
}
.value-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(30, 42, 51, 0.16));
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: 0.4rem;
}
.value-card p {
  font-size: var(--text-base);
  color: var(--muted);
}
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.team-card {
  text-align: center;
}
.team-card__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.team-card__avatar span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--brand-blue);
}
.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}
.team-card__role {
  font-size: var(--text-xs);
  color: var(--muted);
}
@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Region / pricing strip ---- */
.region {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.region__item {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}
.region__item b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--brand-blue);
  line-height: 1;
}
.region__item span {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--text-sm);
  color: var(--muted);
}
@media (max-width: 700px) {
  .region {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ---- Podcast feature (Walk-Ins Welcome) ---- */
.podcast {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.podcast__art {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--brand-blue);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: var(--space-xl);
  color: #fff;
}
.podcast__art img {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.3));
}
.podcast__art b {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.05;
}
.podcast__art em {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.podcast__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: flex-end;
  height: 26px;
  opacity: 0.55;
}
.podcast__wave i {
  width: 4px;
  border-radius: 2px;
  background: var(--brand-green);
}
.podcast__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
}
.podcast__body p {
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: var(--text-lg);
  max-width: 50ch;
}
.podcast__actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
}
.podcast__platform {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.podcast__platform svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 680px) {
  .podcast {
    grid-template-columns: 1fr;
  }
  .podcast__art {
    max-width: 280px;
    margin-inline: auto;
  }
}

/* small inline CTA helper used on the Meet-the-Pros teaser */
.btn-row {
  margin-top: var(--space-xl);
}

/* How We Stack Up comparison table (pricing) */
.stackup { margin-top: var(--space-2xl); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stackup__table { width: 100%; border-collapse: collapse; min-width: 720px; }
.stackup__table th, .stackup__table td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.stackup__table thead th { background: #f4f6f8; font-family: var(--font-display); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.stackup__table tbody th { font-weight: 700; white-space: nowrap; }
.stackup__table tbody tr:last-child th, .stackup__table tbody tr:last-child td { border-bottom: 0; }
.stackup__us { background: #eff5ff; }
.stackup__us th { color: var(--brand-blue); }
.blog-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-xl); }
.blog-filter__chip { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.blog-filter__chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.blog-filter__chip.is-active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }

/* ==========================================================================
   PCMP REDESIGN — inner-page depth & composition layer (added 2026-09-05)
   Additive only. New classes; nothing above is modified. Inner pages already
   load home.css/sections.css/pages.css, so all existing components
   (tile/tile--*, wall-row/wall-unit, method/phase, stackup, about-story,
   values-grid, checklist, chart, msticker) are ALREADY available to compose.
   These classes add the missing DEPTH + per-page HERO identity + do/don't grid.
   ========================================================================== */

/* --- Per-page service accent (page sets --page-accent on <body> or the hero) --- */
:root { --page-accent: var(--brand-orange); }
.page-hero .eyebrow,
.section .eyebrow { --eyebrow-accent: var(--page-accent); }
.page-hero__inner .eyebrow { color: var(--page-accent); }
.head-ekg .he-spark { stroke: var(--page-accent); }

/* --- Full-bleed color band: breaks the white/98%-white zebra monotony --- */
.section--band { background: var(--brand-blue); color: #fff; }
.section--band .eyebrow { color: #cfe0ec; }
.section--band h2,
.section--band h3 { color: #fff; }
.section--band h2 { font-size: var(--text-3xl); line-height: var(--leading-tight); }
.section--band p { color: rgba(255,255,255,0.86); }
.section--band .lead-block p { color: rgba(255,255,255,0.86); }
.section--band .checklist li { color: #fff; }
.section--band .checklist svg { stroke: var(--brand-green); }
.section--band--accent { background: var(--page-accent); }
.section--band--accent .eyebrow { color: rgba(255,255,255,0.9); }

/* --- Elevated card surface: real layering instead of tint zebra --- */
.section--card { background: var(--surface-2); }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}
.panel + .panel { margin-top: var(--space-lg); }

/* --- Overlap: pull the first content section up over the hero's edge --- */
.section--overlap { margin-top: clamp(-2rem, -1rem - 2vw, -3.5rem); position: relative; z-index: var(--z-base); }
.section--overlap > .container > .panel { box-shadow: var(--shadow-lg); }

/* --- Hero visual slot: asymmetric hero like the homepage --- */
.page-hero--split .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
}
.page-hero--split .page-hero__visual { justify-self: end; width: 100%; max-width: 460px; }
.page-hero--split .page-hero__visual img { width: 100%; height: auto; border-radius: var(--radius-lg); }
@media (max-width: 900px) {
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero--split .page-hero__visual { display: none; }
}

/* --- Do / Don't grid (re-wraps "why campaigns fail" prose into 2 columns) --- */
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
@media (max-width: 720px) { .dodont { grid-template-columns: 1fr; } }
.dodont__col { border-radius: var(--radius-md); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); }
.dodont__col--dont { border-left: 4px solid var(--brand-orange); background: var(--tint-orange-050); }
.dodont__col--do { border-left: 4px solid var(--brand-green); background: var(--tint-green-050); }
.dodont__col h3 { margin: 0 0 var(--space-sm); font-size: var(--text-lg); }
.dodont__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.dodont__col li { position: relative; padding-left: 1.6rem; line-height: var(--leading-normal); }
.dodont__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.dodont__col--dont li::before { content: "✕"; color: var(--brand-orange-600); }
.dodont__col--do li::before { content: "✓"; color: var(--brand-green-600); }

/* --- Stagger helper for card grids (reuses existing .reveal system) --- */
.reveal[data-delay] { transition-delay: calc(var(--reveal-delay, 0) * 1ms); }

/* --- section--band contrast hardening (any colored stat/number → white on blue) --- */
.section--band .region__item b,
.section--band .value-item__stat,
.section--band .stat b,
.section--band strong { color: #fff; }
.section--band .region__item span,
.section--band .value-item__stat span { color: rgba(255,255,255,0.82); }
.section--band .service-card__link,
.section--band a:not(.btn) { color: #fff; }
