/* CPO Engagement Deck component styles — integration overlay only */

:root {
  --deck-card-title-font: var(--font-display, "Outfit", sans-serif);
  --deck-card-title-size: var(--fs-h5, 1.1rem);
  --deck-card-title-weight: var(--fw-semibold, 600);
  --deck-card-title-color: var(--portfolio-copy, #f7f7f7);
  --deck-card-body-color: var(--portfolio-copy-soft, rgba(247, 247, 247, 0.76));
  --deck-arrow-color: var(--portfolio-blue, #2d7bff);
  --deck-card-bg: linear-gradient(145deg, rgba(47, 61, 82, 0.42), rgba(17, 26, 51, 0.72));
  --deck-card-border: rgba(214, 214, 214, 0.14);
  --deck-card-radius: var(--radius-lg, 16px);
  --deck-card-padding: 1.35rem;
  --deck-card-min-height: 8.5rem;
}

/* Shared deck card shell */
.deck-card {
  background: var(--deck-card-bg);
  border: 1px solid var(--deck-card-border);
  border-radius: var(--deck-card-radius);
  padding: var(--deck-card-padding);
  min-height: var(--deck-card-min-height);
  height: 100%;
  box-shadow: 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.deck-card__title {
  font-family: var(--deck-card-title-font);
  font-size: var(--deck-card-title-size);
  font-weight: var(--deck-card-title-weight);
  color: var(--deck-card-title-color);
  margin: 0 0 0.5rem;
  line-height: 1.3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.deck-card__title-text {
  min-width: 0;
  grid-column: 2;
}

.deck-card__icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--deck-arrow-color);
  grid-column: 1;
  grid-row: 1;
}

.deck-card__icon svg {
  width: 100%;
  height: 100%;
}

.deck-card__title:not(:has(.deck-card__icon)) .deck-card__title-text {
  grid-column: 1;
}


.deck-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deck-arrow-color);
}

a.deck-card.proof-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

a.deck-card.proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 123, 255, 0.35);
  box-shadow: var(--shadow-hover, 0 12px 32px rgba(0, 0, 0, 0.25));
}

.deck-card__arrow {
  font-size: 0.85em;
  color: var(--deck-arrow-color);
  flex-shrink: 0;
}

.deck-card__row--title {
  width: 100%;
  min-width: 0;
}

.deck-card__row--title:has(.deck-card__arrow) {
  position: relative;
  padding-right: 1.75rem;
}

.deck-card__row--title .deck-card__arrow {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}

.resume-main h2 + .deck-card-grid {
  margin-top: 1rem;
}

.deck-card__body {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--deck-card-body-color);
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

/*
 * Deck card grid contract
 * Layout modifiers (explicit on every UL):
 *   --layout-3 / --cols-3-fixed  → 3 per row desktop
 *   --layout-2x2                 → 2×2 desktop
 *   --layout-auto                → 3+2 centered (5-item)
 *   --layout-single              → one card, same width as --layout-3 cards (⅓ → ½ → full)
 *   --roles                      → 4 → 2 → 1
 * Breakpoints: ≤56rem → 2 columns; ≤40rem → 1 column (all grids).
 */
.deck-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}

.deck-card-grid > li {
  display: flex;
  min-width: 0;
}

.deck-card-grid > li > .deck-card {
  width: 100%;
  min-width: 0;
}

/* --layout-3 (alias: --cols-3-fixed, --cols-3) */
.deck-card-grid--layout-3,
.deck-card-grid--cols-3-fixed,
.deck-card-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deck-card-grid--layout-3 > li,
.deck-card-grid--cols-3-fixed > li,
.deck-card-grid--cols-3 > li {
  grid-column: auto;
}

/* --layout-2x2 */
.deck-card-grid--layout-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deck-card-grid--layout-2x2 > li {
  grid-column: auto;
}

/* --layout-auto: 5-item 3+2 centered (alias: --five, --cols-3-centered) */
.deck-card-grid--layout-auto,
.deck-card-grid--five,
.deck-card-grid--cols-3-centered {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.deck-card-grid--layout-auto > li,
.deck-card-grid--five > li,
.deck-card-grid--cols-3-centered > li {
  grid-column: span 2;
}

.deck-card-grid--layout-auto > li:nth-child(3n + 1):nth-last-child(1),
.deck-card-grid--five > li:nth-child(3n + 1):nth-last-child(1),
.deck-card-grid--cols-3-centered > li:nth-child(3n + 1):nth-last-child(1) {
  grid-column: 3 / span 2;
}

.deck-card-grid--layout-auto > li:nth-child(3n + 1):nth-last-child(2),
.deck-card-grid--five > li:nth-child(3n + 1):nth-last-child(2),
.deck-card-grid--cols-3-centered > li:nth-child(3n + 1):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.deck-card-grid--layout-auto > li:nth-child(3n + 2):nth-last-child(1),
.deck-card-grid--five > li:nth-child(3n + 2):nth-last-child(1),
.deck-card-grid--cols-3-centered > li:nth-child(3n + 2):nth-last-child(1) {
  grid-column: 4 / span 2;
}

/* --layout-single: one card, same column width as --layout-3 */
.deck-card-grid--layout-single {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deck-card-grid--layout-single > li {
  grid-column: 1;
  width: 100%;
}

.deck-card--horizontal {
  min-height: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.deck-card--horizontal .deck-card__title {
  margin: 0;
}

.deck-card--horizontal .deck-card__row--meta {
  color: var(--deck-card-body-color);
  font-size: var(--fs-body, 1rem);
}

.deck-card--horizontal.proof-card,
.deck-card--horizontal.case-study-card,
.deck-card--horizontal.featured-essay-card,
.deck-card--horizontal.role-card {
  min-height: var(--deck-card-min-height);
  flex: 1;
}

.proof-card > a {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.proof-card > a:hover {
  transform: translateY(-3px);
}

.proof-card:hover {
  border-color: rgba(45, 123, 255, 0.35);
  box-shadow: var(--shadow-hover, 0 12px 32px rgba(0, 0, 0, 0.25));
}

.proof-at-a-glance__group .deck-card-grid {
  margin-top: 0;
}

.pattern-grid.deck-card-grid,
.role-cards.deck-card-grid {
  margin: 1rem 0 2rem;
}

.deck-card-grid--roles,
.role-cards.deck-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
}

.deck-card-grid--roles > li,
.role-cards.deck-card-grid > li {
  grid-column: auto;
}

.agent-os__proof.deck-card-grid {
  margin: 0;
  max-width: 100%;
  width: 100%;
}

.metric-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(214, 214, 214, 0.14);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}

.metric-tile--accent {
  background: rgba(45, 123, 255, 0.1);
  border-color: rgba(45, 123, 255, 0.35);
}

.metric-tile__value {
  display: block;
  font-family: var(--font-display, "Outfit", sans-serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.metric-tile--accent .metric-tile__value {
  color: #2d7bff;
}

.metric-tile__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: rgba(230, 228, 244, 0.72);
  line-height: 1.35;
}

.metric-tile__label-text {
  min-width: 0;
}

.metric-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  min-width: 0.95rem;
  min-height: 0.95rem;
  color: var(--deck-arrow-color);
  opacity: 0.9;
}

.metric-tile__icon svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  max-width: 0.95rem;
  max-height: 0.95rem;
  stroke-width: 1.5;
}

/* Proof strip — compact metric cards + subtle employer footer in section heroes */
.proof-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
}

.metric-tiles--hero-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 44rem);
  margin: 0 auto;
}

.metric-tiles--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 34rem);
}

.metric-tiles--count-2,
.proof-strip--compact .metric-tiles--hero-proof.metric-tiles--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 22rem);
  margin-left: auto;
  margin-right: auto;
}

.skills-hero-proof-panel {
  width: 100%;
}

.proof-strip .metric-tile {
  gap: 0.2rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(214, 214, 214, 0.1);
}

.proof-strip .metric-tile__value {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.proof-strip .metric-tile__label {
  font-size: 0.72rem;
  color: rgba(230, 228, 244, 0.58);
  gap: 0.35rem;
}

.proof-strip .metric-tile__icon {
  width: 0.8rem;
  height: 0.8rem;
  min-width: 0.8rem;
  min-height: 0.8rem;
  opacity: 0.75;
}

.page-section:first-child .proof-strip .proof-strip__footer,
.page-hero__proof .proof-strip__footer,
.proof-strip .proof-strip__footer {
  display: block;
  margin: 0.4rem 0 0;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  color: rgba(230, 228, 244, 0.58);
}

/* Hero + proof footer shell */
.home-hero--with-proof {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
  grid-template-columns: unset;
}

.home-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.home-hero__proof {
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(214, 214, 214, 0.1);
}

.page-hero--with-proof {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

.page-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.page-hero--skills .page-hero__main {
  display: block;
}

.page-hero__proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(214, 214, 214, 0.1);
}

.page-hero--about .page-hero__visual {
  min-height: auto;
}

.page-hero--about .page-hero__illustration {
  width: min(100%, 22rem);
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 52rem) {
  .home-hero__main,
  .page-hero__main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .metric-tiles--hero-proof,
  .proof-strip--compact .metric-tiles--hero-proof,
  .metric-tiles--count-3,
  .metric-tiles--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .metric-tiles--count-3 .metric-tile:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.325rem);
    justify-self: center;
  }
}

.deck-chip {
  display: inline-block;
  background: rgba(60, 36, 95, 0.42);
  color: #c9b6ec;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.3;
  margin: 0.15rem 0.35rem 0.15rem 0;
}

/* Executive scope */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  margin: 1rem auto 2rem;
  max-width: var(--portfolio-container, 72rem);
  padding: 0;
  list-style: none;
}

.scope-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.scope-item__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  color: #b79ae6;
}

.scope-item__icon svg {
  width: 100%;
  height: 100%;
}

.scope-item__label {
  font-size: 0.98rem;
  line-height: 1.4;
  color: rgba(230, 228, 244, 0.82);
}

/* Resume experience */
.resume-experience {
  margin: 2rem 0;
}

.resume-role {
  border-top: 1px solid rgba(214, 214, 214, 0.14);
  padding-top: 1.35rem;
  margin-bottom: 1.35rem;
}

.resume-role--earlier .resume-role__heading {
  font-size: 1.05rem;
}

.resume-role--earlier .resume-role__company {
  font-size: 0.95rem;
}

.resume-role__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 0.65rem;
}

.resume-role__heading {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
}

.resume-role__company {
  color: #b79ae6;
  font-weight: 600;
}

.resume-role__aside {
  flex-shrink: 0;
  text-align: right;
}

.resume-role__dates {
  font-size: 0.92rem;
  color: rgba(230, 228, 244, 0.55);
  white-space: nowrap;
}

.resume-role__chip {
  display: inline-block;
  margin-top: 0.5rem;
  background: rgba(45, 123, 255, 0.13);
  border: 1px solid rgba(45, 123, 255, 0.4);
  color: #7db0ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.resume-role__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resume-role__bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(230, 228, 244, 0.78);
}

.resume-role__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: #b79ae6;
}

/* Skills deck */
.technical-capabilities {
  margin: 0;
}

.skills-deck-section {
  margin-bottom: 2.5rem;
}

.skills-deck-section:last-child {
  margin-bottom: 0;
}

.skills-deck-section .deck-card-grid {
  margin-top: 0;
  margin-bottom: 1rem;
}

.skills-deck-section .deck-card-grid:last-child {
  margin-bottom: 0;
}

.deck-card-grid.deck-card-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deck-card-grid.deck-card-grid--cols-2 > li {
  grid-column: auto;
}

.deck-card-grid.deck-card-grid--pair {
  max-width: calc(66.666% + 0.67rem);
  margin-inline: auto;
}

/* Legacy aliases: --five / --cols-3-centered match --layout-auto */

.deck-section-gap {
  margin-bottom: var(--deck-section-gap, 2.5rem);
}

.deck-heading {
  margin: 0 0 1rem;
}

.deck-followup {
  margin-top: 1.5rem;
}

.skills-deck-card.deck-card--horizontal {
  min-height: var(--deck-card-min-height);
  flex: 1;
}

.skills-deck__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skills-deck__bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--deck-card-body-color);
}

.skills-deck__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: #b79ae6;
}

.skills-deck__heading {
  margin: 0 0 1rem;
  color: var(--portfolio-copy, #f7f7f7);
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold, 700);
  letter-spacing: var(--ls-tight, -0.02em);
  line-height: var(--lh-snug, 1.2);
}

/* Large screens: full-width span + reserved line boxes so audience pills do not jump.
   Aligns with the deck grid breakpoint (2-col at ≤56rem). Copy wraps naturally. */
@media (min-width: 56.01rem) {
  .skills-capabilities-heading-panel {
    min-height: calc(var(--lh-snug, 1.2) * 2.35rem);
  }

  .skills-capabilities-heading-panel .skills-deck__heading {
    white-space: nowrap;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
  }

  .skills-capabilities-body-panel .skills-deck__intro {
    max-width: none;
    width: 100%;
    min-height: calc(1.5 * 0.95rem * 2);
  }

  .skills-deck-card--capability .deck-card__title,
  .skills-deck-card--capability .deck-card__title-text {
    white-space: nowrap;
  }

  .skills-deck-card--capability .deck-card__body {
    max-width: none;
    width: 100%;
    min-height: calc(1.5 * 1rem * 3);
  }

  .skills-capabilities-body-panel .deck-card-grid--layout-2x2 {
    grid-auto-rows: 1fr;
  }

  .skills-deck-card--capability.deck-card--horizontal {
    min-height: 19rem;
  }
}

.skills-deck__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 228, 244, 0.55);
  margin: 0 0 0.5rem;
}

.skills-deck-card--launch .skills-deck-card__meta {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--deck-card-body-color);
}

/* Skills audience tuning */
.skills-audience-panel[hidden] {
  display: none !important;
}

.skills-audience-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--portfolio-container, 72rem);
}

.skills-audience-toggle--hero {
  margin: 0 0 2rem;
}

.skills-audience-toggle--capabilities {
  margin: 1rem 0;
}

.skills-audience-toggle__pill {
  appearance: none;
  border: 1px solid rgba(214, 214, 214, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--portfolio-copy-soft, rgba(247, 247, 247, 0.76));
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.skills-audience-toggle__pill:hover {
  border-color: rgba(45, 123, 255, 0.45);
  color: var(--portfolio-copy, #f7f7f7);
}

.skills-audience-toggle__pill--selected,
.skills-audience-toggle__pill[aria-selected="true"] {
  border-color: rgba(45, 123, 255, 0.55);
  background: rgba(45, 123, 255, 0.12);
  color: var(--portfolio-copy, #f7f7f7);
}

.skills-audience-toggle__pill--static {
  cursor: default;
  pointer-events: none;
  border-color: rgba(45, 123, 255, 0.55);
  background: rgba(45, 123, 255, 0.12);
  color: var(--portfolio-copy, #f7f7f7);
}

.skills-audience-toggle__pill--static:hover {
  border-color: rgba(45, 123, 255, 0.55);
  color: var(--portfolio-copy, #f7f7f7);
}

.prompt-library-category {
  margin: 0 0 0.5rem;
}

.prompt-library-category--hero {
  margin: 0 0 1.25rem;
}

.skills-deck__intro {
  margin: 0 0 1rem;
  max-width: var(--portfolio-reading, 46rem);
  color: var(--deck-card-body-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-skills .skills-capabilities-body-panel .skills-deck__intro,
.skills-capabilities-body-panel .skills-deck__intro {
  max-width: none;
}

.skills-deck-card--capability .deck-card__row--meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skills-deck-card--capability .deck-card__body,
.skills-deck-card--capability .skills-deck__bullets,
.skills-deck-card--capability .deck-card__stack {
  margin: 0;
}

.skills-deck-card--capability .skills-deck__bullets li:last-child {
  margin-bottom: 0;
}

.deck-card__stack {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(230, 228, 244, 0.55);
}

.skills-capabilities-heading-panel {
  margin-bottom: 0;
}

.skills-capabilities-heading-panel .skills-deck__heading {
  margin-bottom: 0;
}

.skills-capabilities-body-panel {
  margin-top: 0;
}

.skills-capabilities-body-panel .skills-deck__intro {
  margin-top: 0;
}

/* Agent OS */
.agent-os h2 {
  margin: 0 0 1rem;
}

.agent-os__intro {
  max-width: 49rem;
  margin: 0 0 1.5rem;
  color: var(--deck-card-body-color);
  font-size: 1.05rem;
  line-height: 1.55;
}

.agent-os__proof .deck-card__body p {
  margin: 0;
}

.agent-os__diagram {
  max-width: 100%;
  color: var(--deck-card-body-color);
  font-size: 0.95rem;
}

/* Proof at a glance section labels */
.proof-at-a-glance__intro {
  max-width: var(--portfolio-reading, 46rem);
  margin: 0 0 2rem;
  color: var(--deck-card-body-color);
}

.proof-at-a-glance__group {
  max-width: var(--portfolio-container, 72rem);
  margin: 0 auto 2rem;
}

.proof-at-a-glance__group h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deck-card-title-color);
}

.proof-at-a-glance__group .deck-card-grid {
  margin-top: 0;
  margin-bottom: 1rem;
}

.proof-at-a-glance__group .deck-card-grid:last-child {
  margin-bottom: 0;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(60, 36, 95, 0.42);
  color: #c9b6ec;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(106, 77, 154, 0.35);
}

.link-pill:hover {
  background: rgba(60, 36, 95, 0.55);
}

.link-pill__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-pill__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.linkedin-cta {
  margin: 0.75rem 0 1rem;
}

.linkedin-connect {
  max-width: var(--portfolio-reading, 46rem);
}

.linkedin-connect__intro {
  margin: 0 0 1.25rem;
  color: var(--deck-card-body-color);
  line-height: 1.6;
}

.resume-header-block {
  text-align: center;
  margin-bottom: 2rem;
}

.resume-tagline {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin: 0.35rem 0 0.65rem;
}

.resume-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  align-items: center;
  font-size: 0.95rem;
}

.resume-education__block {
  margin-bottom: 1.25rem;
}

.resume-education__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

/* About Selected results — CPO deck slide 4 surface diagram:
   outer panel, title-only 4-up row, stem, purple pattern bar, outcomes below. */
.about-selected-results {
  --about-results-gap: 1.375rem;
  margin: 0;
  width: 100%;
  max-width: none;
}

.about-selected-results__heading {
  margin: 0 0 1.25rem;
  color: var(--portfolio-copy, #f7f7f7);
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold, 700);
  letter-spacing: var(--ls-tight, -0.02em);
  line-height: var(--lh-snug, 1.2);
}

.about-selected-results__panel {
  margin: 0;
  padding: 2.25rem 2.5rem 2.35rem;
  border-radius: 18px;
  border: 1px solid rgba(214, 214, 214, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.about-selected-results__panel-eyebrow {
  margin: 0 0 0.4rem;
  /* CPO deck slide 4 --eyebrow */
  color: #b79ae6;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-selected-results__panel-subtitle {
  margin: 0 0 1.5rem;
  color: rgba(247, 247, 247, 0.72);
  font-size: 1.05rem;
  line-height: 1.5;
}

.about-selected-results__row,
.about-selected-results__details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--about-results-gap);
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.about-selected-results__card {
  margin: 0;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 214, 214, 0.14);
  background: linear-gradient(
    145deg,
    rgba(47, 61, 82, 0.42),
    rgba(17, 26, 51, 0.72)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 4.25rem;
  box-sizing: border-box;
}

.about-selected-results__category {
  margin: 0;
  color: var(--portfolio-copy, #f7f7f7);
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1.05rem;
  font-weight: var(--fw-semibold, 600);
  letter-spacing: var(--ls-tight, -0.01em);
  line-height: 1.3;
  text-align: center;
}

.about-selected-results__stem {
  width: 3px;
  height: 2.25rem;
  margin: 0 auto;
  background: #b79ae6;
}

.about-selected-results__pattern {
  margin: 0;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(183, 154, 230, 0.35);
  background: linear-gradient(135deg, #3c245f, #241a44);
  text-align: start;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 3.25rem;
}

.about-selected-results__pattern-body {
  margin: 0;
  color: var(--portfolio-copy, #f7f7f7);
  font-size: clamp(0.88rem, 1.05vw, 1.02rem);
  font-weight: 500;
  line-height: 1.45;
  text-align: start;
  white-space: nowrap;
}

.about-selected-results__details {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(214, 214, 214, 0.12);
}

.about-selected-results__outcomes-wrap {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}

.about-selected-results__outcomes-summary {
  display: none;
  list-style: none;
  cursor: pointer;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 214, 214, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--portfolio-copy, #f7f7f7);
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 0.95rem;
  font-weight: var(--fw-semibold, 600);
  line-height: 1.3;
}

.about-selected-results__outcomes-summary::-webkit-details-marker {
  display: none;
}

.about-selected-results__outcomes-summary::after {
  content: "+";
  float: right;
  color: #b79ae6;
  font-weight: 600;
}

.about-selected-results__outcomes-wrap[open] > .about-selected-results__outcomes-summary::after {
  content: "–";
}

.about-selected-results__detail {
  margin: 0;
  min-width: 0;
}

.about-selected-results__detail-title {
  margin: 0 0 0.65rem;
  color: var(--portfolio-copy, #f7f7f7);
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 0.92rem;
  font-weight: var(--fw-semibold, 600);
  line-height: 1.3;
}

.about-selected-results__outcomes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.about-selected-results__outcomes li {
  position: relative;
  margin: 0;
  padding-left: 0.9rem;
  color: rgba(247, 247, 247, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.about-selected-results__outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(183, 154, 230, 0.9);
}

.page-about .page-section:has(.about-selected-results) .page-section__inner {
  width: min(100%, var(--portfolio-container, 72rem));
}

/* Beat .page-section ul:not(.deck-card-grid) { max-width: reading } so the
   4-up tiles span the same width as the purple pattern bar. */
.page-section ul.about-selected-results__row,
.page-section .about-selected-results__details,
.page-section .about-selected-results__outcomes {
  max-width: none;
  width: 100%;
  padding-left: 0;
  color: inherit;
}

.page-section ul.about-selected-results__row > li.about-selected-results__card {
  margin: 0;
  width: 100%;
}

.page-section .about-selected-results__category,
.page-section .about-selected-results__pattern-body,
.page-section .about-selected-results__panel-eyebrow,
.page-section .about-selected-results__panel-subtitle,
.page-section .about-selected-results__detail-title {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
}

.page-section .about-selected-results__panel-eyebrow {
  color: #b79ae6;
}

.page-section .about-selected-results__panel-subtitle {
  margin-bottom: 1.5rem;
}

.page-section .about-selected-results__detail-title {
  margin-bottom: 0.65rem;
}

.page-section .about-selected-results__pattern-body {
  max-width: none;
}

.page-section .about-selected-results__outcomes-summary {
  max-width: none;
  color: var(--portfolio-copy, #f7f7f7);
}

@media (max-width: 48rem) {
  .about-selected-results__panel {
    padding: 1.5rem 1.35rem 1.6rem;
  }

  .about-selected-results__row,
  .about-selected-results__details {
    grid-template-columns: 1fr;
  }

  .about-selected-results__stem {
    display: none;
  }

  /* Match tile-to-tile gap when the stem is hidden */
  .about-selected-results__pattern {
    margin-top: var(--about-results-gap);
  }

  .about-selected-results__pattern-body {
    white-space: normal;
  }

  .about-selected-results__outcomes-summary {
    display: block;
  }

  .about-selected-results__outcomes-wrap[open] > .about-selected-results__details {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .about-selected-results__outcomes-wrap:not([open]) > .about-selected-results__details {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }
}

.on-the-ground {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 214, 214, 0.12);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem;
}

.on-the-ground h2 {
  margin: 0 0 1rem;
  color: var(--portfolio-copy, #f7f7f7);
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold, 700);
  letter-spacing: var(--ls-tight, -0.02em);
  line-height: var(--lh-snug, 1.2);
}

.about-personal {
  margin: 1.5rem 0 2rem;
  width: 100%;
  max-width: none;
}

.about-personal__heading {
  margin: 0 0 1.25rem;
  color: var(--portfolio-copy, #f7f7f7);
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold, 700);
  letter-spacing: var(--ls-tight, -0.02em);
  line-height: var(--lh-snug, 1.2);
}

.about-personal__panel {
  margin: 0 0 1.25rem;
  padding: 2rem 2.25rem 2.1rem;
  border-radius: 18px;
  border: 1px solid rgba(214, 214, 214, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.about-personal__panel:last-child {
  margin-bottom: 0;
}

.about-personal__eyebrow {
  margin: 0 0 1rem;
  color: #b79ae6;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-personal__panel p {
  margin: 0 0 0.875rem;
  color: rgba(247, 247, 247, 0.88);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: none;
}

.about-personal__panel p:last-of-type {
  margin-bottom: 0;
}

.about-personal__gallery {
  margin: 1.35rem 0 0;
}

.about-personal__gallery > li {
  display: flex;
  min-width: 0;
}

.about-personal__figure {
  margin: 0;
  width: 100%;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 214, 214, 0.14);
  background: linear-gradient(
    145deg,
    rgba(47, 61, 82, 0.42),
    rgba(17, 26, 51, 0.72)
  );
  overflow: hidden;
  box-sizing: border-box;
}

.about-personal__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-section .about-personal__gallery,
.page-section ul.about-personal__gallery {
  max-width: none;
  width: 100%;
  padding-left: 0;
}

.page-section .about-personal__panel p {
  max-width: none;
}

@media (max-width: 48rem) {
  .about-personal__panel {
    padding: 1.5rem 1.35rem 1.6rem;
  }
}

.page-about .page-section:first-child .page-section__inner:has(.page-hero) {
  display: block;
  grid-template-columns: unset;
  grid-template-rows: unset;
  gap: 0;
}

@media (max-width: 56rem) {
  .deck-card-grid,
  .deck-card-grid--layout-3,
  .deck-card-grid--cols-3-fixed,
  .deck-card-grid--cols-3,
  .deck-card-grid--layout-2x2,
  .deck-card-grid--layout-single {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-card-grid--layout-auto > li,
  .deck-card-grid--five > li,
  .deck-card-grid--cols-3-centered > li,
  .deck-card-grid--layout-auto > li:nth-child(3n + 1):nth-last-child(1),
  .deck-card-grid--five > li:nth-child(3n + 1):nth-last-child(1),
  .deck-card-grid--cols-3-centered > li:nth-child(3n + 1):nth-last-child(1),
  .deck-card-grid--layout-auto > li:nth-child(3n + 1):nth-last-child(2),
  .deck-card-grid--five > li:nth-child(3n + 1):nth-last-child(2),
  .deck-card-grid--cols-3-centered > li:nth-child(3n + 1):nth-last-child(2),
  .deck-card-grid--layout-auto > li:nth-child(3n + 2):nth-last-child(1),
  .deck-card-grid--five > li:nth-child(3n + 2):nth-last-child(1),
  .deck-card-grid--cols-3-centered > li:nth-child(3n + 2):nth-last-child(1) {
    grid-column: auto;
  }

  .deck-card-grid.deck-card-grid--pair {
    max-width: 100%;
    margin-inline: 0;
  }
}

@media (max-width: 40rem) {
  .deck-card-grid,
  .deck-card-grid--layout-3,
  .deck-card-grid--cols-3-fixed,
  .deck-card-grid--cols-3,
  .deck-card-grid--layout-2x2,
  .deck-card-grid--layout-auto,
  .deck-card-grid--five,
  .deck-card-grid--cols-3-centered,
  .deck-card-grid--layout-single,
  .deck-card-grid.deck-card-grid--cols-2,
  .deck-card-grid--roles,
  .role-cards.deck-card-grid {
    grid-template-columns: 1fr;
  }

  .deck-card-grid > li,
  .deck-card-grid--layout-auto > li,
  .deck-card-grid--five > li,
  .deck-card-grid--cols-3-centered > li,
  .deck-card-grid--layout-single > li {
    grid-column: auto;
  }

  .metric-tiles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .metric-tiles,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .resume-role__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .resume-role__aside {
    text-align: left;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .metric-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
