/* ===========================================================================
   AL-SAEED ECONOMIC GROUP  —  pages/p-leadership.css
   ---------------------------------------------------------------------------
   Leadership. The fourth distinct visual key in the set:
     Home      teal eyebrows on white, framed photography, expanding panels
     About     gold eyebrows on cream, a timeline on one rule, white cards
     Chairman  the letter on the dark ground, numbered rows on hairlines
     Leadership  an OUTLINED eyebrow, and an editorial portrait grid with no
                 card boxes at all - the portraits themselves carry the layout
                 and a teal rule draws under each name on hover.

   No portrait photographs exist for the group yet, so each person renders a
   monogram tile instead: clearly a placeholder, and swapping in a real image
   later means replacing one element per person. Every one is marked with
   data-placeholder so `grep -r data-placeholder` finds them all.
   Direction-agnostic: logical properties throughout.
   =========================================================================== */

.page-leadership{
  --eyebrow-bg:transparent;
  --eyebrow-fg:var(--ink);
  --page-bg:var(--white);
}
/* outlined rather than filled - the fourth eyebrow treatment in the set */
.page-leadership .eyebrow{box-shadow:inset 0 0 0 .0625rem var(--line)}
.page-leadership .eyebrow--onDark{
  box-shadow:none;background:rgba(4,159,169,.16);color:#7FDDE4;
  border:.0625rem solid rgba(4,159,169,.42);
}

/* ---------------------------------------------------------------------------
   INTRO
   --------------------------------------------------------------------------- */
.lead-intro{background:var(--white)}
.lead-intro__text{color:var(--muted);max-width:min(42rem,100%);font-size:var(--fs-lg)}

/* ---------------------------------------------------------------------------
   PEOPLE GRID
   --------------------------------------------------------------------------- */
.people{background:var(--white)}
.people--alt{background:var(--cream)}

.people__grid{
  display:grid;gap:clamp(1.75rem,1.2rem + 2vw,3rem) var(--gutter);
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (min-width:48rem){
  .people__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:62rem){
  .people__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* no card box: the portrait is the whole object */
.person{display:flex;flex-direction:column;gap:var(--s-2)}
.person__media{
  position:relative;aspect-ratio:3/4;overflow:hidden;
  border-radius:var(--r-md);background:var(--cream);
}
.person__media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform var(--dur-slow) var(--ease);
}
.person:hover .person__media img{transform:scale(1.04)}

/* monogram stand-in, used until real portraits arrive */
.person__ph{
  position:absolute;inset:0;display:grid;place-items:center;
  background:linear-gradient(150deg,var(--dark-3) 0%,var(--dark) 100%);
  color:var(--gold-lt);
  font-family:var(--ff-head, inherit);font-weight:700;
  font-size:clamp(1.75rem,1.2rem + 2.4vw,3rem);letter-spacing:.04em;
  direction:ltr;
}
.person__ph::after{
  content:"";position:absolute;inset-inline:0;bottom:0;height:.1875rem;
  background:var(--teal);opacity:.75;
}

.person__body{display:flex;flex-direction:column;gap:.25rem}
.person__name{
  font-size:var(--fs-h4);margin:0;position:relative;
  display:inline-block;padding-bottom:.375rem;
}
/* the teal rule that draws in on hover, mirrored for RTL by logical inset */
.person__name::after{
  content:"";position:absolute;inset-inline-start:0;bottom:0;
  width:0;height:.125rem;background:var(--teal);
  transition:width var(--dur) var(--ease);
}
.person:hover .person__name::after,
.person:focus-within .person__name::after{width:2.5rem}
.person__role{color:var(--muted);font-size:var(--fs-sm);margin:0}
.person__scope{
  font-size:var(--fs-xs);color:var(--teal-dp);font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;
}

/* ---------------------------------------------------------------------------
   COMPACT ROWS — used for the sector leads
   Six portrait cards on a four-column grid would leave a ragged row of two,
   so the sector leads take a denser form: a small round monogram beside the
   name. It also gives the page two registers instead of one repeated grid.
   --------------------------------------------------------------------------- */
.leads{
  display:grid;gap:0;
  grid-template-columns:1fr;
}
@media (min-width:48rem){
  .leads{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:clamp(1.5rem,1rem + 3vw,4rem);
  }
}
.lead-row{
  display:flex;align-items:center;gap:var(--s-2);
  padding-block:clamp(1rem,.85rem + .7vw,1.375rem);
  border-bottom:.0625rem solid var(--line);
  transition:padding-inline-start var(--dur) var(--ease);
}
.lead-row:hover{padding-inline-start:.5rem}
.lead-row__ph{
  flex:0 0 auto;width:3.25rem;height:3.25rem;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(150deg,var(--dark-3) 0%,var(--dark) 100%);
  color:var(--gold-lt);
  font-family:var(--ff-head, inherit);font-weight:700;font-size:var(--fs-body);
  letter-spacing:.03em;direction:ltr;
  box-shadow:inset 0 -.125rem 0 var(--teal);
}
.lead-row__body{min-width:0}
.lead-row__name{font-size:var(--fs-lg);margin:0;font-weight:600}
.lead-row__sector{
  font-size:var(--fs-xs);color:var(--teal-dp);font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;
}

/* The review notice band now lives in core.css as .notice - it is shared
   with sector-details and any other page still carrying content slots. */
