/**
 * PMC Founder Statement — split editorial layout, soft card (no top accent line).
 * Visual tokens are set as CSS variables on the root element from module.html.
 */

.pmc-founder-statement,
.pmc-founder-statement *,
.pmc-founder-statement *::before,
.pmc-founder-statement *::after {
  box-sizing: border-box;
}

.pmc-founder-statement {
  width: 100%;
  background: var(--pmc-fs-section-bg, transparent);
  padding: var(--pmc-fs-pad-sec-d-t) var(--pmc-fs-pad-sec-d-r) var(--pmc-fs-pad-sec-d-b) var(--pmc-fs-pad-sec-d-l);
  color: var(--pmc-fs-body, #404040);
}

.pmc-founder-statement__shell {
  width: 100%;
  max-width: var(--pmc-fs-max, 1200px);
  margin: 0 auto;
}

.pmc-founder-statement__card {
  width: 100%;
  display: block;
  padding: var(--pmc-fs-pad-d-t) var(--pmc-fs-pad-d-r) var(--pmc-fs-pad-d-b) var(--pmc-fs-pad-d-l);
  background: var(--pmc-fs-card-bg, rgba(255, 255, 255, 0.92));
  border: var(--pmc-fs-border-w, 1px) solid var(--pmc-fs-border, rgba(37, 105, 187, 0.12));
  border-radius: var(--pmc-fs-radius-d, 28px);
  backdrop-filter: var(--pmc-fs-blur, blur(6px));
  -webkit-backdrop-filter: var(--pmc-fs-blur, blur(6px));
  transition:
    transform var(--pmc-fs-transition, 220ms) ease,
    box-shadow var(--pmc-fs-transition, 220ms) ease;
}

.pmc-founder-statement--hover .pmc-founder-statement__card:hover {
  transform: translateY(calc(-1 * var(--pmc-fs-hover-y, 2px)));
}

.pmc-founder-statement__grid {
  display: grid;
  grid-template-columns: var(
    --pmc-fs-grid-cols,
    minmax(260px, 0.9fr) minmax(0, 1.4fr)
  );
  grid-template-rows: auto;
  column-gap: var(--pmc-fs-gap-d, 32px);
  row-gap: 0;
  align-items: stretch;
}

/* Title + statement share one row; eyebrow on the row above; author block spans full width below */
.pmc-founder-statement__meta {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  text-align: left;
}

.pmc-founder-statement__content {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  max-width: var(--pmc-fs-content-max, 760px);
}

.pmc-founder-statement__grid--has-eyebrow {
  grid-template-rows: auto auto;
}

.pmc-founder-statement__grid--has-eyebrow.pmc-founder-statement__grid--has-footer {
  grid-template-rows: auto auto auto;
}

.pmc-founder-statement__grid--has-footer:not(.pmc-founder-statement__grid--has-eyebrow) {
  grid-template-rows: auto auto;
}

.pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__eyebrow {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
}

.pmc-founder-statement__eyebrow-gutter {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  min-height: 0;
  pointer-events: none;
  align-self: start;
}

.pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__meta {
  grid-column: 1;
  grid-row: 2;
}

.pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__content {
  grid-column: 2;
  grid-row: 2;
}

.pmc-founder-statement__footer {
  grid-column: 1 / -1;
  margin-top: var(--pmc-fs-mb-title, 24px);
  padding: 0;
  text-align: left;
  align-self: start;
  width: 100%;
}

.pmc-founder-statement__grid--has-footer:not(.pmc-founder-statement__grid--has-eyebrow) .pmc-founder-statement__footer {
  grid-row: 2;
}

.pmc-founder-statement__grid--has-eyebrow.pmc-founder-statement__grid--has-footer .pmc-founder-statement__footer {
  grid-row: 3;
}

.pmc-founder-statement__grid--has-footer:not(.pmc-founder-statement__grid--has-eyebrow) .pmc-founder-statement__meta {
  grid-row: 1;
  grid-column: 1;
}

.pmc-founder-statement__grid--has-footer:not(.pmc-founder-statement__grid--has-eyebrow) .pmc-founder-statement__content {
  grid-row: 1;
  grid-column: 2;
}

.pmc-founder-statement__meta--sticky {
  position: sticky;
  top: var(--pmc-fs-sticky-top, 32px);
}

.pmc-founder-statement__eyebrow {
  display: inline-block;
  margin: 0 0 var(--pmc-fs-mb-eyebrow, 16px);
  padding: 0.45em 1.05em;
  width: fit-content;
  max-width: max-content;
  font-size: var(--pmc-fs-eyebrow-fs-d, 12px);
  font-weight: var(--pmc-fs-eyebrow-w, 700);
  letter-spacing: var(--pmc-fs-eyebrow-track, 0.14em);
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--pmc-fs-eyebrow, #2569bb);
  vertical-align: top;
  border-radius: 9999px;
  background: rgba(37, 105, 187, 0.09);
  border: 1px solid rgba(37, 105, 187, 0.2);
  box-shadow: 0 1px 2px rgba(24, 55, 91, 0.06);
}

/* Tie pill tint and stroke to editor eyebrow color when supported */
@supports (background: color-mix(in srgb, white, black)) {
  .pmc-founder-statement__eyebrow {
    background: color-mix(in srgb, var(--pmc-fs-eyebrow, #2569bb) 11%, transparent);
    border-color: color-mix(in srgb, var(--pmc-fs-eyebrow, #2569bb) 28%, transparent);
  }
}

.pmc-founder-statement__title {
  margin: 0;
  max-width: 12ch;
  font-size: var(--pmc-fs-title-fs-d, 48px);
  line-height: var(--pmc-fs-title-lh, 1.08);
  font-weight: var(--pmc-fs-title-w, 700);
  color: var(--pmc-fs-heading, #404040);
  text-align: left;
}

.pmc-founder-statement__title--uppercase {
  text-transform: uppercase;
}

.pmc-founder-statement__line {
  width: 120px;
  height: 2px;
  margin-bottom: var(--pmc-fs-mb-line, 28px);
  background: linear-gradient(
    90deg,
    var(--pmc-fs-divider, #2569bb) 0%,
    rgba(37, 105, 187, 0.18) 60%,
    rgba(37, 105, 187, 0) 100%
  );
}

.pmc-founder-statement__author {
  margin: 0 0 var(--pmc-fs-footer-gap, 4px);
  font-size: var(--pmc-fs-author-fs, 16px);
  font-weight: 700;
  color: var(--pmc-fs-author, #404040);
}

.pmc-founder-statement__role {
  margin: 0;
  font-size: var(--pmc-fs-role-fs, 15px);
  color: var(--pmc-fs-role, #6a7280);
}

.pmc-founder-statement__text--rich {
  font-size: var(--pmc-fs-body-fs-d, 18px);
  line-height: var(--pmc-fs-body-lh, 1.92);
  color: var(--pmc-fs-body, #404040);
  text-align: justify;
}

.pmc-founder-statement__text--rich p {
  margin: 0 0 1em;
}

.pmc-founder-statement__text--rich p:first-child {
  margin-top: 0;
}

.pmc-founder-statement__text--rich p:last-child {
  margin-bottom: 0;
}

/* Tablet */
@media (max-width: 991px) {
  .pmc-founder-statement {
    padding: var(--pmc-fs-pad-sec-tab-t) var(--pmc-fs-pad-sec-tab-r) var(--pmc-fs-pad-sec-tab-b) var(--pmc-fs-pad-sec-tab-l);
  }

  .pmc-founder-statement__meta--sticky {
    position: static;
    top: auto;
  }

  .pmc-founder-statement__card {
    padding: var(--pmc-fs-pad-tab-t) var(--pmc-fs-pad-tab-r) var(--pmc-fs-pad-tab-b) var(--pmc-fs-pad-tab-l);
    border-radius: var(--pmc-fs-radius-t, 22px);
  }

  .pmc-founder-statement__grid,
  .pmc-founder-statement__grid--has-eyebrow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    column-gap: 0;
    row-gap: 0;
    gap: var(--pmc-fs-stack-t, 20px);
  }

  .pmc-founder-statement__grid .pmc-founder-statement__eyebrow,
  .pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__eyebrow {
    grid-column: 1;
    grid-row: auto;
  }

  .pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__eyebrow-gutter {
    display: none;
  }

  .pmc-founder-statement__grid .pmc-founder-statement__meta,
  .pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__meta {
    grid-column: 1;
    grid-row: auto;
  }

  .pmc-founder-statement__grid .pmc-founder-statement__content,
  .pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__content {
    grid-column: 1;
    grid-row: auto;
  }

  .pmc-founder-statement__grid .pmc-founder-statement__footer,
  .pmc-founder-statement__grid--has-eyebrow .pmc-founder-statement__footer {
    grid-column: 1;
    grid-row: auto;
  }

  .pmc-founder-statement__meta {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .pmc-founder-statement__title {
    max-width: 100%;
    font-size: var(--pmc-fs-title-fs-t, 40px);
  }

  .pmc-founder-statement__eyebrow {
    font-size: var(--pmc-fs-eyebrow-fs-t, 12px);
  }

  .pmc-founder-statement__text--rich {
    font-size: var(--pmc-fs-body-fs-t, 16px);
    line-height: 1.82;
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .pmc-founder-statement {
    padding: var(--pmc-fs-pad-sec-m-t) var(--pmc-fs-pad-sec-m-r) var(--pmc-fs-pad-sec-m-b) var(--pmc-fs-pad-sec-m-l);
  }

  .pmc-founder-statement__card {
    padding: var(--pmc-fs-pad-m-t) var(--pmc-fs-pad-m-r) var(--pmc-fs-pad-m-b) var(--pmc-fs-pad-m-l);
    border-radius: var(--pmc-fs-radius-m, 18px);
  }

  .pmc-founder-statement__grid,
  .pmc-founder-statement__grid--has-eyebrow {
    gap: var(--pmc-fs-stack-m, 16px);
  }

  .pmc-founder-statement__title {
    font-size: var(--pmc-fs-title-fs-m, 32px);
  }

  .pmc-founder-statement__eyebrow {
    font-size: var(--pmc-fs-eyebrow-fs-m, 11px);
  }

  .pmc-founder-statement__text--rich {
    font-size: var(--pmc-fs-body-fs-m, 16px);
    line-height: 1.78;
  }
}
