/* ==========================================================================
   CORPORATE OFFICERS — PAGE-SCOPED STYLES
   Linked only from corporate-officers.html. Not part of the shared
   stylesheet; nothing here is referenced by any other page.
   Reuses the existing design tokens (--navy, --blue, --green, --gold,
   --slate, --font-display, --font-body) and the Board page's
   .leader-card / .leader-feature / .board-commitment patterns for visual
   consistency.
   ========================================================================== */

/* The boardroom hero photo has its mountain horizon near the top of the
   frame; the shared .board-hero rule's default background-position:center
   crops that off. Nudge the visible window upward for this page only. */
.officer-hero .hero-background {
  background-position: center 15%;
}

/* ---- Officer card grid (six officers, 3-top/3-bottom) ----
   .leader-grid's shared desktop rule (>=1280px) hard-codes nth-child(1..5)
   column spans built for the Board page's 2+3 five-member layout — with
   six cards that would double up track assignments and leave two cards
   overlapping. .officer-grid-six resets every child's grid-column back to
   auto and lays out a plain 3-column grid instead, so DOM order (Albert,
   Johnnie, Katherine / Donald, Charline, Gloria) maps directly onto two
   even rows of three. Below 1280px the shared 2-column wrap already
   produces three clean rows of two for an even six-card count, so no
   tablet-specific override is needed (unlike the five-card case, there's
   no odd lone card to center). */
@media (min-width: 1280px) {
  .officer-grid-six.leader-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
  .officer-grid-six.leader-grid > .leader-card:nth-child(n) {
    grid-column: auto;
  }
}

/* Headshots are square (1:1) rather than the Board page's portrait-crop
   photos; a plain center crop on .leader-photo's wide/short box clips
   the chin, so officer photos get their own aspect-ratio box instead of
   the fixed 360px height, with a slightly higher focal point. */
.officer-card .leader-photo {
  height: auto;
  aspect-ratio: 1 / 1;
}

.officer-card .leader-photo img {
  object-position: center 30%;
}

/* Gloria Taylor's portrait has not been supplied yet — reuses the site's
   existing (previously unused) .placeholder-badge pattern rather than
   fabricating a photo of a real person. Sized/centered to sit inside the
   same 1:1 .leader-photo box as the photographed officers. */
.officer-card .leader-photo.officer-photo-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #E4E7EA;
}

/* ---- AI-Powered Director badge (officer cards) ---- */
.officer-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 3px;
  background: rgba(5,43,82,0.06);
  border: 1px solid rgba(5,43,82,0.18);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.officer-legacy-line {
  margin: 2px 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--blue);
}

/* ---- Officer bios: responsibilities list + reports-to / caveat lines ---- */
.officer-responsibilities-label {
  margin: 18px 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.officer-responsibilities {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.7;
}

.officer-responsibilities li { margin-bottom: 2px; }

.officer-reports-to {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.officer-caveat {
  margin: 0 0 8px;
  padding: 10px 14px;
  background: rgba(217,163,33,0.08);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--slate);
  line-height: 1.55;
}

/* ---- A Family Legacy. A Mission That Lives On. ----
   Deliberately distinct from both the officer cards above and the
   .board-commitment disclosure below: a warm, editorial, narrative
   section rather than a data card or a policy notice. */
.legacy-feature {
  padding: 24px 0 56px;
  background: var(--warm, #F1EEE6);
  text-align: center;
  box-shadow: 0 1px 0 rgba(5,43,82,0.06);
}

.legacy-feature-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legacy-feature .section-label { display: block; margin-bottom: 18px; }

.legacy-feature-accent {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 26px;
  border-radius: 2px;
}

.legacy-feature h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  margin: 0 0 14px;
}

.legacy-feature-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--blue);
  font-size: 17px;
  margin: 0 0 34px;
}

.legacy-feature-body {
  text-align: left;
  margin-bottom: 36px;
}

.legacy-feature-body p {
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 16px;
}

.legacy-feature-body p:last-child { margin-bottom: 0; }

/* ---- Family legacy cards ----
   Replaces a pair of plain bulleted lists with two elevated cards, matching
   the card/shadow language used by .leader-card elsewhere on the site, so
   the honoree names read as a structured record rather than inline prose. */
.legacy-family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 8px 0 28px;
  text-align: left;
}

.legacy-family-card {
  background: #ffffff;
  border-radius: 10px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 1px 2px rgba(5,43,82,0.06), 0 10px 28px rgba(5,43,82,0.07);
  padding: 26px 28px 22px;
}

.legacy-family-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.legacy-family-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5,43,82,0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.legacy-family-card-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--navy);
}

.legacy-family-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legacy-family-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 0;
  border-top: 1px solid rgba(5,43,82,0.08);
}

.legacy-family-list li:first-child {
  padding-top: 0;
  border-top: none;
}

.legacy-family-list li:last-child { padding-bottom: 0; }

.legacy-family-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
}

.legacy-family-role {
  font-size: 13.5px;
  font-style: italic;
  color: var(--slate);
  opacity: 0.85;
}

.legacy-feature-closing {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.6;
  margin: 0;
  padding-top: 34px;
}

.legacy-feature-closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

@media (max-width: 560px) {
  .legacy-family-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- A Beloved Elder: Katherine Bowe ----
   Full-width card beneath the two family cards. Wider than a grid column
   on purpose — this is the one entry with an actual tribute paragraph
   rather than a one-line role, so it gets room to read as a considered
   statement rather than a cramped caption. Visually a notch warmer than
   the family cards (a soft tint instead of plain white) without losing
   the gold-accent / card-shadow language the rest of the section uses. */
.legacy-elder-card {
  background: #FBF8F2;
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(5,43,82,0.06), 0 10px 28px rgba(5,43,82,0.07);
  padding: 28px 32px 30px;
  margin-bottom: 36px;
  text-align: left;
}

.legacy-elder-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 14px;
}

.legacy-elder-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(5,43,82,0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.legacy-elder-card-head h3 {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
}

.legacy-elder-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}

.legacy-elder-dates {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 13.5px;
  color: var(--slate);
  opacity: 0.85;
}

.legacy-elder-role {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(5,43,82,0.1);
  font-style: italic;
  font-size: 14px;
  color: var(--blue);
}

.legacy-elder-tribute {
  margin: 0;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .legacy-elder-card { padding: 24px 22px 26px; }
}


/* ---- Transparency & Governance disclosure ----
   Reuses .board-commitment's header (label / accent / h2) but replaces the
   plain centered paragraph with a bordered policy card — a shield/check
   icon plus left-aligned body copy, which reads as a governance statement
   rather than marketing copy, and is easier to read at this length. */
.officer-disclosure {
  position: relative;
  background: #F6F7F4;
  border-top: 1px solid rgba(5,43,82,0.14);
  border-bottom: 1px solid rgba(5,43,82,0.14);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
  padding-bottom: 56px;
}

.officer-disclosure::before,
.officer-disclosure::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  background: var(--gold);
}

.officer-disclosure::before {
  top: 0;
  border-radius: 0 0 3px 3px;
}

.officer-disclosure::after {
  bottom: 0;
  border-radius: 3px 3px 0 0;
}

.officer-disclosure .board-commitment-inner { max-width: 820px; }

.officer-disclosure-card {
  margin-top: 8px;
  padding: 36px 40px 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(5,43,82,0.06), 0 12px 32px rgba(5,43,82,0.08);
  text-align: left;
}

.officer-disclosure-lead {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.officer-disclosure-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.officer-disclosure .board-commitment-body {
  text-align: left;
  margin: 0;
}

/* ---- What They Do / What They Don't Do ----
   Turns the "scope of authority" explanation into a scannable two-column
   comparison instead of a single dense paragraph, bracketed by the same
   gold-accented divider rule used in .legacy-family-list. */
.officer-disclosure-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 28px 0 26px;
  padding: 26px 0;
  border-top: 1px solid rgba(5,43,82,0.08);
  border-bottom: 1px solid rgba(5,43,82,0.08);
}

.officer-disclosure-scope-col h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}

.officer-disclosure-scope-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.officer-disclosure-scope-icon-yes {
  background: rgba(36,116,71,0.12);
  color: var(--green);
}

.officer-disclosure-scope-icon-no {
  background: rgba(122,31,31,0.1);
  color: #7a1f1f;
}

.officer-disclosure-scope-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.officer-disclosure-scope-col li {
  position: relative;
  margin: 0 0 11px;
  padding-left: 16px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
}

.officer-disclosure-scope-col li:last-child { margin-bottom: 0; }

.officer-disclosure-scope-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.officer-disclosure .board-commitment-note {
  text-align: left;
  margin: 0;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-size: 12.5px;
  font-style: italic;
  color: var(--slate);
  opacity: 0.9;
}

.officer-disclosure-note-label {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 1;
  margin-right: 4px;
}

@media (max-width: 640px) {
  .officer-disclosure-card { padding: 28px 24px; }
  .officer-disclosure-lead {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .officer-disclosure .board-commitment-body { text-align: center; }
  .officer-disclosure-scope {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .officer-disclosure-scope-col h4 { justify-content: center; }
  .officer-disclosure-scope-col li { text-align: left; }
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .legacy-feature { padding: 20px 0 36px; }
  .legacy-feature-body { text-align: left; }
}
