/* ==========================================================================
   Portfolio Moguls — Sell With Us
   Flattened from raw/Sell With Us.dc.html.

   Note: the source's fees band uses the superseded warm palette (#F7F5F0 /
   #E5E1D6). Reconciled to the site's cool alternate band, per the locked
   palette decision — see the checkpoint.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · Hero
   -------------------------------------------------------------------------- */

.pm-sellhero {
  background: var(--pm-navy);
  color: var(--pm-on-navy);
  padding-block: 78px 74px;
}

.pm-sellhero__measure { max-width: 780px; }

.pm-sellhero__eyebrow {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 13px;
  border-radius: 3px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #DCE5EE;
  font-weight: 700;
}

.pm-sellhero__h1 {
  font-family: var(--pm-font-body);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.pm-sellhero__sub {
  font-family: var(--pm-font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: #E2E7EF;
  margin: 20px 0 0;
  max-width: 620px;
  text-wrap: pretty;
}

.pm-sellhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

@media (min-width: 900px) {
  .pm-sellhero { padding-block: 120px 110px; }
  .pm-sellhero__h1 { font-size: 60px; }
  .pm-sellhero__sub { font-size: 19px; }
}

/* --------------------------------------------------------------------------
   2 · Commitment Mandate
   -------------------------------------------------------------------------- */

.pm-mandate { padding-block: 52px; }

.pm-mandate__panel {
  background: var(--pm-navy);
  color: var(--pm-on-navy);
  border-radius: var(--pm-radius-lg);
  padding: 28px 24px 26px;
  overflow: hidden;
}

.pm-mandate__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-mandate__head .pm-eyebrow {
  letter-spacing: 0.2em;
  font-size: 11px;
}

.pm-mandate__heading {
  font-family: var(--pm-font-body);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  margin: 16px 0 0;
  max-width: 700px;
  text-wrap: pretty;
}

/* Gold is sanctioned here — a thin rule. */
.pm-mandate__rule {
  display: block;
  width: 52px;
  height: 1px;
  background: var(--pm-gold);
  margin: 22px 0 26px;
}

.pm-mandate__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pm-mandate__term {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 18px;
}

.pm-mandate__key {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-on-navy-accent);
  font-weight: 700;
  margin: 0;
}

.pm-mandate__figure {
  font-family: var(--pm-font-ui);
  font-weight: 700;
  font-size: 30px;
  color: var(--pm-white);
  margin: 8px 0 0;
  line-height: 1.05;
}

.pm-mandate__note {
  font-size: 13.5px;
  color: var(--pm-on-navy-soft);
  margin: 8px 0 0;
  line-height: 1.45;
}

.pm-mandate__foot {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--pm-on-navy-rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-mandate__tagline {
  font-family: var(--pm-font-body);
  font-style: italic;
  font-size: 17px;
  color: var(--pm-white);
  margin: 0;
}

.pm-mandate__terms {
  font-size: 12px;
  color: var(--pm-on-navy-muted);
  margin: 0;
}

@media (min-width: 900px) {
  .pm-mandate { padding-block: 68px; }
  .pm-mandate__panel { padding: 44px 48px 38px; }
  .pm-mandate__heading { font-size: 34px; }
  .pm-mandate__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
  .pm-mandate__figure { font-size: 36px; }
  .pm-mandate__tagline { font-size: 19px; }
}

/* --------------------------------------------------------------------------
   3 · Valuation form
   -------------------------------------------------------------------------- */

.pm-valuation {
  background: var(--pm-surface-alt);
  border-block: 1px solid var(--pm-border-faint);
  padding-block: 52px;
  scroll-margin-top: calc(var(--pm-header-h) + 14px);
}

.pm-valuation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.pm-valuation__intro { max-width: 460px; }

.pm-valuation__intro .pm-eyebrow {
  letter-spacing: 0.2em;
  font-size: 11px;
}

.pm-valuation__heading {
  font-family: var(--pm-font-ui);
  font-weight: 600;
  font-size: 24px;
  color: var(--pm-navy);
  margin: 10px 0 0;
  text-wrap: pretty;
}

.pm-valuation__body {
  font-family: var(--pm-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--pm-text);
  margin: 16px 0 0;
}

.pm-valuation__points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--pm-muted-cool);
}

.pm-valuation__points li { padding-left: 18px; position: relative; }

.pm-valuation__points li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--pm-link-hover);
  font-weight: 700;
}

.pm-valuation__card {
  background: var(--pm-white);
  border: 1px solid var(--pm-border-soft);
  border-radius: var(--pm-radius-lg);
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.07);
  padding: 24px 20px;
}

/* Form */

.pm-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pm-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.pm-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pm-form__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pm-muted-cool);
  font-weight: 700;
}

.pm-form__control {
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  padding: 12px;
  font-family: var(--pm-font-ui);
  font-size: 15px;
  color: var(--pm-text);
  background: var(--pm-white);
  width: 100%;
}

.pm-form__control:focus {
  border-color: var(--pm-focus);
  outline: 2px solid var(--pm-focus);
  outline-offset: -1px;
}

.pm-form__submit {
  margin-top: 4px;
  padding: 15px;
  font-size: 16px;
}

.pm-form__disclaimer {
  font-size: 12.5px;
  color: var(--pm-muted-cool);
  text-align: center;
  margin: 0;
}

/* Honeypot — off-screen rather than display:none, which some bots detect. */
.pm-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pm-valuation__error {
  background: #FDF3F2;
  border: 1px solid #E8C4C0;
  border-left: 3px solid #B3453C;
  border-radius: var(--pm-radius-sm);
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
  color: #8A322B;
}

/* Success state */

.pm-valuation__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 8px 18px;
}

.pm-valuation__successicon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E9F0F5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-valuation__successheading {
  font-family: var(--pm-font-ui);
  font-weight: 700;
  font-size: 24px;
  color: var(--pm-navy);
  margin: 20px 0 0;
}

.pm-valuation__successbody {
  font-family: var(--pm-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pm-text);
  margin: 12px 0 0;
  max-width: 380px;
}

.pm-valuation__successlink {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--pm-hairline);
  width: 100%;
  font-size: 13px;
  color: var(--pm-muted-cool);
}

.pm-valuation__successlink a { font-weight: 600; }

.pm-valuation__again {
  margin: 16px 0 0;
  font-size: 12.5px;
}

.pm-valuation__again a {
  color: var(--pm-muted-cool);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .pm-valuation { padding-block: 68px; }
  .pm-valuation__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
  .pm-valuation__heading { font-size: 28px; }
  .pm-valuation__card { padding: 32px 34px; }
  .pm-form__row { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   4 · Sell-side process
   -------------------------------------------------------------------------- */

.pm-sellprocess { padding-block: 52px; }

.pm-sellprocess__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.pm-sellprocess__intro .pm-eyebrow {
  letter-spacing: 0.2em;
  font-size: 11px;
}

.pm-sellprocess__heading {
  font-family: var(--pm-font-ui);
  font-weight: 600;
  font-size: 24px;
  color: var(--pm-navy);
  margin: 10px 0 0;
  max-width: 380px;
  text-wrap: pretty;
}

.pm-sellprocess__body {
  font-family: var(--pm-font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--pm-muted-cool);
  margin: 16px 0 0;
  max-width: 400px;
}

.pm-sellsteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.pm-sellstep {
  display: flex;
  gap: 20px;
}

.pm-sellstep__rail {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pm-sellstep__num {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--pm-navy);
  background: var(--pm-white);
  color: var(--pm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.pm-sellstep__line {
  width: 1px;
  flex: 1;
  background: var(--pm-border-soft);
  min-height: 26px;
}

.pm-sellstep__body { padding-bottom: 30px; }
.pm-sellstep--last .pm-sellstep__body { padding-bottom: 6px; }

.pm-sellstep__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-sellstep__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--pm-navy);
}

.pm-sellstep__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pm-surface-green);
  color: var(--pm-green);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.pm-sellstep__note {
  display: block;
  font-size: 14px;
  color: var(--pm-muted-cool);
  margin-top: 5px;
  line-height: 1.5;
  max-width: 520px;
}

@media (min-width: 900px) {
  .pm-sellprocess { padding-block: 68px; }
  .pm-sellprocess__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
  .pm-sellprocess__heading { font-size: 28px; }
}

/* --------------------------------------------------------------------------
   5 · Fees
   -------------------------------------------------------------------------- */

.pm-sellfees { padding-block: 52px; }

.pm-sellfees__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.pm-sellfees__head .pm-eyebrow {
  letter-spacing: 0.2em;
  font-size: 11px;
}

.pm-sellfees__heading {
  font-family: var(--pm-font-ui);
  font-weight: 600;
  font-size: 24px;
  color: var(--pm-navy);
  margin: 10px 0 0;
}

.pm-sellfees__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pm-mandatecard {
  position: relative;
  background: var(--pm-white);
  border: 1px solid var(--pm-border-soft);
  border-radius: var(--pm-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pm-mandatecard--flagship { border: 2px solid var(--pm-navy); }

.pm-mandatecard__badge {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--pm-navy);
  color: var(--pm-white);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-mandatecard__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-muted-cool);
  font-weight: 700;
  margin: 0;
}

.pm-mandatecard__rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.pm-mandatecard__figure {
  font-family: var(--pm-font-ui);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--pm-navy);
}

.pm-mandatecard__basis {
  font-size: 13.5px;
  color: var(--pm-muted-cool);
}

.pm-mandatecard__body {
  font-family: var(--pm-font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--pm-muted-cool);
  margin: 16px 0 0;
}

.pm-sellfees__note {
  font-family: var(--pm-font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--pm-muted-cool);
  margin: 20px 0 0;
}

@media (min-width: 900px) {
  .pm-sellfees { padding-block: 68px; }
  .pm-sellfees__heading { font-size: 28px; }
  .pm-sellfees__grid { grid-template-columns: 1fr 1fr; }
  .pm-mandatecard__figure { font-size: 46px; }
}

/* --------------------------------------------------------------------------
   6 · The people
   -------------------------------------------------------------------------- */

.pm-people { padding-block: 52px; }

.pm-people .pm-eyebrow {
  letter-spacing: 0.2em;
  font-size: 11px;
}

.pm-people__heading {
  font-family: var(--pm-font-ui);
  font-weight: 600;
  font-size: 24px;
  color: var(--pm-navy);
  margin: 10px 0 28px;
  max-width: 560px;
  text-wrap: pretty;
}

.pm-people__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.pm-person {
  border: 1px solid var(--pm-border-soft);
  border-radius: var(--pm-radius-lg);
  overflow: hidden;
  background: var(--pm-white);
  margin: 0;
}

.pm-person__frame {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--pm-surface-deep);
}

.pm-person__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-person__frame--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-person__icon { line-height: 0; }

.pm-person__caption {
  display: block;
  padding: 16px 18px 18px;
}

.pm-person__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--pm-navy);
}

.pm-person__role {
  display: block;
  font-size: 12.5px;
  color: var(--pm-muted-cool);
  margin-top: 3px;
}

@media (min-width: 900px) {
  .pm-people { padding-block: 68px; }
  .pm-people__heading { font-size: 28px; }
  .pm-people__grid { grid-template-columns: repeat(3, minmax(0, 320px)); }
}

/* --------------------------------------------------------------------------
   7 · Closing band
   -------------------------------------------------------------------------- */

.pm-sellcta {
  background: var(--pm-navy);
  color: var(--pm-on-navy);
}

.pm-sellcta__inner {
  padding-block: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.pm-sellcta__heading {
  font-family: var(--pm-font-body);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}

.pm-sellcta__body {
  font-size: 15px;
  color: var(--pm-on-navy-soft);
  margin: 12px 0 0;
  max-width: 520px;
}

.pm-sellcta__button { flex: none; }

@media (min-width: 900px) {
  .pm-sellcta__inner { padding-block: 64px; }
  .pm-sellcta__heading { font-size: 38px; }
}

/* The person cards became doorways to the founder bio pages. As anchors they
   need the link furniture switched off; the card itself is the affordance. */
.pm-person--link {
  display: block;
  text-decoration: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.pm-person--link:hover,
.pm-person--link:focus-visible {
  border-color: var(--pm-navy);
  box-shadow: var(--pm-shadow-card);
}

.pm-person--link .pm-person__caption { display: block; }
