/* Weblysoft Leadership (/leadership/) — page-local, scoped to body.ldx-page */
.ldx-page [id][tabindex="-1"] { scroll-margin-top: calc(var(--ws-header) + 24px); }
.ldx-page [id][tabindex="-1"]:focus { outline: none; }
.ldx-page [id][tabindex="-1"]:focus-visible { outline: 2.5px solid var(--ws-focus); outline-offset: 6px; }

/* hero */
.ldx-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: end; }
.ldx-h1 { max-width: 13ch; }
.ldx-hero-side .ws-lead { margin-top: 0; }
.ldx-facts { display: grid; grid-template-columns: auto 1fr; gap: 0; margin-top: 30px; border-top: 1px solid var(--ws-line); }
.ldx-facts > div { display: contents; }
.ldx-facts dt, .ldx-facts dd { padding: 12px 0; border-bottom: 1px solid var(--ws-line); }
.ldx-facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-muted); padding-right: 28px; }
.ldx-facts dd { font-size: 15px; font-weight: 500; color: var(--ws-ink); }

/* overview cards */
.ldx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); margin-top: 56px; }
.ldx-card { display: flex; flex-direction: column; position: relative; }
.ldx-photo { background: var(--ws-ice); border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; }
.ldx-photo img, .ldx-profile-media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ws-ease); }
.ldx-card:hover .ldx-photo img, .ldx-card:focus-within .ldx-photo img { transform: scale(1.02); }
.ldx-idx { display: block; font: 500 12.5px ui-monospace, Menlo, monospace; color: var(--ws-navy); margin: 18px 0 8px; letter-spacing: .04em; }
.ldx-name { font-size: 22px; line-height: 1.15; color: var(--ws-ink); }
.ldx-role { font-size: 13.5px; font-weight: 600; color: var(--ws-navy); margin-top: 6px; letter-spacing: .005em; }
.ldx-focus { font-size: 15px; line-height: 1.5; color: var(--ws-text-2); margin-top: 10px; }
.ldx-jump { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ws-navy); }
.ldx-jump > span:first-child { border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.ldx-jump .ws-arr { transition: transform .25s var(--ws-ease); }
.ldx-jump:hover .ws-arr, .ldx-jump:focus-visible .ws-arr { transform: translateY(3px); }
.ldx-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--ws-navy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ws-ease); }
.ldx-card:hover::before, .ldx-card:focus-within::before { transform: scaleX(1); }

/* biographies */
.ldx-bios-head { margin-bottom: 24px; }
.ldx-profile { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 64px); padding: 48px 0; border-top: 1px solid var(--ws-line); align-items: start; }
.ldx-profile:last-child { padding-bottom: 0; }
.ldx-profile-media { background: var(--ws-ice); border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--ws-header) + 28px); }
.ldx-profile-body .ldx-idx { margin-top: 0; }
.ldx-pname { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; color: var(--ws-ink); }
.ldx-profile-body .ldx-role { font-size: 14.5px; }
.ldx-text { margin-top: 22px; }
.ldx-tags { list-style: none; padding: 0; }

/* perspectives */
.ldx-note { margin-top: 18px; font-size: 14.5px; color: #B9D0F5 !important; border-left: 2px solid #9DBDF0; padding-left: 14px; }
.ldx-disc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--ws-line-dark); }
.ldx-disc li { padding: 28px 24px 4px 0; display: grid; gap: 8px; align-content: start; }
.ldx-disc li + li { padding-left: 24px; border-left: 1px solid var(--ws-line-dark); }
.ldx-disc-k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9DBDF0; }
.ldx-disc b { font-size: 20px; letter-spacing: -.018em; color: #fff; font-weight: 620; }
.ldx-disc p { font-size: 15px; line-height: 1.55; }

/* responsibilities */
.ldx-mt { margin-top: 22px; }
.ldx-work .ws-head { max-width: 850px; }
.ldx-resp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ws-line); margin-top: 40px; }
.ldx-resp li { padding: 28px 28px 0 0; }
.ldx-resp li + li { border-left: 1px solid var(--ws-line); padding-left: 28px; }
.ldx-n { display: block; margin-bottom: 20px; font: 600 28px/1 'Inter', sans-serif; letter-spacing: -.04em; color: var(--ws-signal); }
.ldx-resp p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--ws-text-2); }
.ldx-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.ldx-links .ws-link { min-height: 44px; box-sizing: border-box; align-items: flex-end; }
.ldx-page .ws-cta-paths a { min-height: 44px; }

@media (max-width: 1100px) {
  .ldx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .ldx-disc { grid-template-columns: 1fr 1fr; }
  .ldx-disc li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ldx-disc li:nth-child(n+3) { border-top: 1px solid var(--ws-line-dark); margin-top: 20px; }
}
@media (max-width: 860px) {
  .ldx-hero-grid { grid-template-columns: 1fr; }
  .ldx-profile { grid-template-columns: 160px 1fr; }
  .ldx-resp { grid-template-columns: 1fr; }
  .ldx-resp li, .ldx-resp li + li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--ws-line); }
  .ldx-n { margin-bottom: 0; }
}
@media (max-width: 760px) {
  .ldx-page .ws-split, .ldx-page .ws-split-2-3, .ldx-page .ws-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ldx-cards { grid-template-columns: 1fr; max-width: 360px; }
  .ldx-profile { grid-template-columns: 1fr; padding: 36px 0; }
  .ldx-profile-media { position: static; max-width: 200px; }
  .ldx-disc { grid-template-columns: 1fr; }
  .ldx-disc li, .ldx-disc li + li { padding: 22px 0 6px; border-left: 0; margin-top: 0; }
  .ldx-disc li + li { border-top: 1px solid var(--ws-line-dark); }
  .ldx-resp li { grid-template-columns: 44px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ldx-page .ldx-photo img, .ldx-page .ldx-card::before, .ldx-page .ldx-jump .ws-arr { transition: none !important; }
  .ldx-card:hover .ldx-photo img, .ldx-card:focus-within .ldx-photo img { transform: none; }
}
