/* ═══════════════════════════════════════════════════════════════════════════
   CE2001 — Officers & Board
   ───────────────────────────────────────────────────────────────────────────
   Cards for the board listing, and the dedicated leadership profile page.

   The site's base palette is navy and silver (styles.css). The Silver Jubilee
   red #8C1D2F is layered on as an accent only — the same treatment the Atlas
   map uses — rather than repainting the page, so the officers page still
   reads as part of the site rather than a separate product.

   ── ONE RULE DRIVES MOST OF WHAT FOLLOWS ─────────────────────────────────
   A card is only a link when there is a published page behind it. Everything
   here that looks interactive — the lift, the pointer, the arrow, the focus
   ring — is attached to .ofc--live and NOT to the base card. A card that
   invites a click and opens an empty page is worse than one that never
   invited it.
   ═══════════════════════════════════════════════════════════════════════════ */

.ofc-wrap { --ofc-red: #8C1D2F; --ofc-red-lift: #B3273C; --ofc-silver: #C9CED6; }

/* ── the grid ───────────────────────────────────────────────────────────── */
.ofc-grid {
  display: grid;
  /* ── THREE, EXPLICITLY, NOT auto-fit ──────────────────────────────────
     This was repeat(auto-fit, minmax(248px, 1fr)), which gave four across a
     desktop and re-flowed on its own. Fixed columns replace it because the
     board is now a COMPOSITION rather than a list: the chairman sits alone on
     the first row and everyone else follows three abreast, and a column count
     the browser chooses by dividing available width cannot express that.

     With auto-fit the second row would hold four cards on a wide screen and
     three on a slightly narrower one, so the shape of the board would change
     as somebody resized their window. */
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}
@media (max-width: 900px) { .ofc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ofc-grid { grid-template-columns: 1fr; } }

/* ── THE CHAIRMAN, ALONE ON THE FIRST ROW ───────────────────────────────
   Two things had to be true at once: the card must occupy the whole first
   row, and it must be exactly as wide as every other card.

   `grid-column: 2` — dropping it into the middle column — satisfies the
   second and fails the first: grid auto-placement is perfectly happy to fill
   column 3 beside it, and the Vice-Chairman lands there. Tested in the live
   page; that is exactly what happened.

   So the card spans the full row and its WIDTH is set to one column's worth.
   The row belongs to it; the card stays the size of its peers. The width
   calculation mirrors the column count at each breakpoint, which is why the
   three rules below are not interchangeable with one another.

   Scoped to #leadership-exec: Directors at Large and Past Presidents have no
   chairman, and there is nothing about their first entry that should be set
   apart from the rest. */
#leadership-exec > .ofc:first-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 2 * var(--space-3)) / 3);
}
@media (max-width: 900px) {
  #leadership-exec > .ofc:first-child { width: calc((100% - var(--space-3)) / 2); }
}
@media (max-width: 560px) {
  /* One column: the card is already alone on its row and already full width,
     so the rule above would only make it narrower than the rest. */
  #leadership-exec > .ofc:first-child { width: 100%; }
}

/* ── the card ───────────────────────────────────────────────────────────── */
.ofc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .32s cubic-bezier(.2,.7,.3,1),
              box-shadow .32s cubic-bezier(.2,.7,.3,1),
              border-color .32s ease;
}

/* The accent rule across the top. It is a scaleX transform rather than a
   width change so it animates on the compositor and cannot reflow the card. */
.ofc::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--ofc-red) 0%, var(--ofc-red-lift) 55%, var(--ofc-silver) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .42s cubic-bezier(.2,.7,.3,1);
}

/* An engineering motif rather than a decorative flourish: the corner tick of
   a drawing sheet. Drawn with two borders on a rotated square so it costs no
   image and scales with the card. */
.ofc::after {
  content: "";
  position: absolute; right: 14px; bottom: 12px;
  width: 14px; height: 14px;
  border-right: 1.5px solid var(--ofc-silver);
  border-bottom: 1.5px solid var(--ofc-silver);
  opacity: .55;
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
}

/* ── the portrait ───────────────────────────────────────────────────────── */
.ofc__pic {
  position: relative;
  width: 96px; height: 96px;
  margin-bottom: var(--space-2);
  flex: none;
}
.ofc__pic img,
.ofc__mono {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.ofc__mono {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: .02em;
}
/* The ring sits on a pseudo-element so it can scale on hover without
   resizing the image and nudging the text below it. */
.ofc__pic::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--ofc-silver);
  transition: border-color .32s ease, transform .32s cubic-bezier(.2,.7,.3,1);
}

/* ── the words ──────────────────────────────────────────────────────────── */
.ofc__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 2px;
}
.ofc__role {
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ofc-red);
  margin-bottom: var(--space-1);
  /* Two lines' worth, always. "Technology Chair" is one line and
     "Registration & Membership Chair" is two, so without a reserved height
     the officers' NAMES sit at different heights across the row and the grid
     reads as assembled rather than designed. em, not rem: it tracks this
     element's own size if the scale is ever changed. */
  min-height: 2.7em;
}
.ofc__tag {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 var(--space-2);
  /* Two lines, then ellipsis. Officers write taglines of wildly different
     lengths and a ragged grid reads as neglect. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* The affordance. Present only on cards that actually lead somewhere. */
.ofc__go {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600;
  color: var(--ofc-red);
  opacity: 0; transform: translateY(4px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.3,1);
}
.ofc__go svg { width: 14px; height: 14px; fill: currentColor; transition: transform .3s ease; }

/* A quiet line for officers with no page yet. Never apologetic, never
   pretending a page is coming on a date nobody has committed to. */
.ofc__soon {
  margin-top: auto;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── interaction — LIVE CARDS ONLY ──────────────────────────────────────── */
.ofc--live { cursor: pointer; }
.ofc--live:hover,
.ofc--live:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(140, 29, 47, .28);
}
.ofc--live:hover::before,
.ofc--live:focus-visible::before { transform: scaleX(1); }
.ofc--live:hover::after,
.ofc--live:focus-visible::after { opacity: 1; transform: translate(-2px, -2px); }
.ofc--live:hover .ofc__pic::after,
.ofc--live:focus-visible .ofc__pic::after {
  border-color: var(--ofc-red);
  transform: scale(1.06);
}
.ofc--live:hover .ofc__go,
.ofc--live:focus-visible .ofc__go { opacity: 1; transform: translateY(0); }
.ofc--live:hover .ofc__go svg { transform: translateX(3px); }
.ofc--live:active { transform: translateY(-2px); }

/* Keyboard users get the same information hover gives, and a ring they can
   actually see. :focus-visible rather than :focus so a mouse click does not
   leave a ring behind. */
.ofc--live:focus-visible {
  outline: 3px solid var(--ofc-red);
  outline-offset: 3px;
}

/* Touch has no hover. Without this the arrow never appears on a phone, so
   the one affordance that says "this opens something" is invisible to more
   than half the audience. */
@media (hover: none) {
  .ofc--live .ofc__go { opacity: 1; transform: none; }
  .ofc--live::before { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ofc, .ofc::before, .ofc::after, .ofc__pic::after, .ofc__go, .ofc__go svg {
    transition: none !important;
  }
  .ofc--live:hover, .ofc--live:focus-visible { transform: none; }
  .ofc--live .ofc__go { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   THE PROFILE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.ofp { --ofc-red: #8C1D2F; --ofc-red-lift: #B3273C; --ofc-silver: #C9CED6; }

.ofp__hero {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5) 0 var(--space-4);
  border-bottom: 2px solid var(--ofc-red);
}
@media (max-width: 640px) {
  .ofp__hero { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: var(--space-3); }
}

.ofp__pic { position: relative; width: 148px; height: 148px; }
.ofp__pic img, .ofp__mono {
  width: 148px; height: 148px; border-radius: 50%; object-fit: cover; display: block;
}
.ofp__mono {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
}
.ofp__pic::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid var(--ofc-silver);
}

.ofp__eyebrow {
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ofc-red); margin-bottom: 6px;
}
.ofp__name {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.12; color: var(--navy); margin: 0 0 6px;
}
.ofp__role { font-size: var(--fs-md); font-weight: 600; color: var(--text); margin: 0 0 8px; }
.ofp__tag {
  margin: 0; padding-left: 12px; border-left: 3px solid var(--ofc-silver);
  color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.55; max-width: 62ch;
}
@media (max-width: 640px) {
  .ofp__tag { border-left: 0; padding-left: 0; }
}

.ofp__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); }
.ofp__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--navy); text-decoration: none;
  background: var(--white);
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.ofp__link:hover { border-color: var(--ofc-red); color: var(--ofc-red); transform: translateY(-2px); }
.ofp__link svg { width: 14px; height: 14px; fill: currentColor; }

/* ── sections ───────────────────────────────────────────────────────────── */
.ofp__sec { padding: var(--space-4) 0; }
.ofp__sec + .ofp__sec { border-top: 1px solid var(--border); }
.ofp__h {
  position: relative;
  font-size: .82rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ofc-red); margin: 0 0 var(--space-3); padding-bottom: 10px;
}
/* The survey-line divider, same motif as the printable CV: a heavy run and a
   node. Borders rather than a background image so it survives a print. */
.ofp__h::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px;
  background: var(--ofc-red);
}
.ofp__h::before {
  content: ""; position: absolute; left: 62px; bottom: -3px; width: 8px; height: 8px;
  border: 2px solid var(--ofc-red); border-radius: 50%; background: var(--white);
}

.ofp__prose { max-width: 72ch; line-height: 1.75; color: var(--text); }
.ofp__prose p { margin: 0 0 var(--space-2); }

/* Accomplishments / committee work — one entry per row, with a rule that
   grows on hover. Restrained: this is a reading page, not a dashboard. */
.ofp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ofp__item {
  position: relative; padding: 12px 14px 12px 34px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  line-height: 1.6;
  transition: border-color .25s ease, transform .25s ease;
}
.ofp__item::before {
  content: ""; position: absolute; left: 14px; top: 20px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--ofc-red); transform: rotate(45deg);
}
.ofp__item:hover { border-color: rgba(140,29,47,.3); transform: translateX(3px); }

/* ── timeline ───────────────────────────────────────────────────────────── */
.ofp__tl { display: grid; gap: 0; position: relative; }
.ofp__tl::before {
  content: ""; position: absolute; left: 68px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--ofc-red), var(--ofc-silver));
}
@media (max-width: 560px) { .ofp__tl::before { left: 6px; } }

.ofp__tlrow {
  display: grid; grid-template-columns: 68px 1fr; gap: var(--space-3);
  padding: 10px 0 14px 0; position: relative;
}
@media (max-width: 560px) {
  .ofp__tlrow { grid-template-columns: 1fr; padding-left: 26px; }
}
.ofp__tlwhen {
  font-weight: 700; color: var(--ofc-red); font-size: var(--fs-sm); text-align: right;
  padding-right: 14px;
}
@media (max-width: 560px) { .ofp__tlwhen { text-align: left; padding-right: 0; } }

.ofp__tlrow::after {
  content: ""; position: absolute; left: 64px; top: 16px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--ofc-red);
}
@media (max-width: 560px) { .ofp__tlrow::after { left: 2px; } }

.ofp__tlwhat { font-weight: 600; color: var(--navy); display: block; }
.ofp__tldetail { color: var(--text-muted); font-size: var(--fs-sm); display: block; margin-top: 2px; }

/* ── impact summary ─────────────────────────────────────────────────────── */
.ofp__impact {
  background: linear-gradient(180deg, #FBFCFD, var(--white));
  border: 1px solid var(--border);
  border-left: 3px solid var(--ofc-red);
  border-radius: var(--radius);
  padding: var(--space-3);
  line-height: 1.7;
  max-width: 72ch;
}
/* The provenance line. Small, permanent, and not optional — a reader is
   entitled to know who wrote a paragraph that praises someone. */
.ofp__by {
  display: block; margin-top: 10px;
  font-size: .74rem; color: var(--text-faint); font-style: italic;
}

/* ── the not-yet-published state ────────────────────────────────────────── */
.ofp__pending {
  text-align: center; padding: var(--space-6) var(--space-3);
  max-width: 54ch; margin: 0 auto;
}
.ofp__pending h2 { font-family: var(--font-display); color: var(--navy); margin: 0 0 10px; }
.ofp__pending p { color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   HIGHLIGHTS GALLERY — photographs, certificates, project highlights
   ───────────────────────────────────────────────────────────────────────────
   A certificate is portrait, a site photo is landscape and a project shot is
   whatever the phone was held at. Forcing one aspect ratio on all three means
   cropping a certificate's own border off, so the tiles keep a consistent
   FRAME and letterbox the image inside it (object-fit: contain) rather than
   filling it (cover). Slightly more whitespace, nothing cut off.
   ═══════════════════════════════════════════════════════════════════════════ */
.ofg__group + .ofg__group { margin-top: var(--space-4); }
.ofg__gh {
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600;
  color: var(--navy); margin: 0 0 var(--space-2);
  display: flex; align-items: center; gap: 10px;
}
.ofg__gh::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--ofc-silver), transparent);
}
.ofg__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--space-3);
}
@media (max-width: 420px) { .ofg__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.ofg__fig { margin: 0; }
.ofg__a {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface-2, #f4f6f8);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.ofg__a img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .4s ease;
}
.ofg__a:hover, .ofg__a:focus-visible {
  border-color: var(--ofc-red); transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(13, 34, 71, .16);
}
.ofg__a:hover img, .ofg__a:focus-visible img { transform: scale(1.04); }
.ofg__a:focus-visible { outline: 3px solid var(--ofc-red-lift); outline-offset: 3px; }

.ofg__zoom {
  position: absolute; right: 8px; bottom: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(13, 34, 71, .82); color: #fff;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.ofg__zoom svg { width: 16px; height: 16px; fill: currentColor; }
.ofg__a:hover .ofg__zoom, .ofg__a:focus-visible .ofg__zoom { opacity: 1; transform: translateY(0); }
/* On a touch screen there is no hover to reveal it, so it is simply there. */
@media (hover: none) { .ofg__zoom { opacity: 1; transform: none; } }

.ofg__cap {
  margin-top: 8px; font-size: var(--fs-sm); line-height: 1.5;
  color: var(--text-muted);
}

/* ── the overlay viewer ─────────────────────────────────────────────────── */
.ofg__overlay {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center; padding: var(--space-4);
  background: rgba(8, 18, 38, .92);
  animation: ofgIn .2s ease;
}
@keyframes ofgIn { from { opacity: 0; } to { opacity: 1; } }
.ofg__ofig { margin: 0; max-width: min(1100px, 94vw); max-height: 88vh; text-align: center; }
.ofg__ofig img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: 8px; background: #fff;
}
.ofg__ofig figcaption {
  color: #E6EAF0; font-size: var(--fs-sm); line-height: 1.6;
  margin-top: 12px; max-width: 70ch; margin-inline: auto;
}
.ofg__close {
  position: absolute; top: 14px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.ofg__close:hover { background: rgba(255, 255, 255, .18); transform: scale(1.06); }
.ofg__close:focus-visible { outline: 3px solid var(--ofc-red-lift); outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   CARD → PAGE TRANSITION
   ───────────────────────────────────────────────────────────────────────────
   Cross-document View Transitions. The browser animates the real navigation:
   officers.js puts view-transition-name: ofc-portrait on the portrait of the
   clicked card and on the portrait of the profile page, and the browser
   morphs the first into the second while the rest of the page cross-fades.

   Browsers without it ignore both the at-rule and the unknown property and
   navigate exactly as before — there is no fallback to write, and no
   JavaScript intercepts the click, so the link cannot be broken by any of it.
   ═══════════════════════════════════════════════════════════════════════════ */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) { animation-duration: .28s; }

::view-transition-group(ofc-portrait) { animation-duration: .4s; }
::view-transition-old(ofc-portrait),
::view-transition-new(ofc-portrait) {
  /* The card portrait is a circle and the profile portrait is a larger
     circle, so height alone is the wrong interpolation — mixing both keeps
     the crop stable through the morph instead of squashing the face. */
  height: 100%; object-fit: cover;
}

/* ── MOTION IS AN OPTION, NOT A FEATURE ─────────────────────────────────────
   prefers-reduced-motion is a medical setting for some readers, not a taste
   preference. Everything above is switched off — not shortened — and the page
   still does its whole job, because none of it ever carried meaning. */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .ofg__a, .ofg__a img, .ofg__zoom, .ofg__close { transition: none; }
  .ofg__a:hover, .ofg__a:focus-visible { transform: none; }
  .ofg__a:hover img, .ofg__a:focus-visible img { transform: none; }
  .ofg__close:hover { transform: none; }
  .ofg__overlay { animation: none; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ── print ──────────────────────────────────────────────────────────────── */
@media print {
  .ofp__links, .ce-share-mount, .breadcrumb { display: none !important; }
  .ofp__item, .ofp__impact { break-inside: avoid; }
  .ofp__sec { break-inside: avoid; }
  /* The gallery prints — a certificate is often the reason somebody is
     printing the page at all — but the overlay and its affordances do not. */
  .ofg__overlay, .ofg__zoom { display: none !important; }
  .ofg__fig, .ofg__group { break-inside: avoid; }
  .ofg__a { border-color: #bbb; box-shadow: none; }
  .ofg__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMMITTEES — the Homecoming organisation on officers.html
   ───────────────────────────────────────────────────────────────────────────
   A committee card is a heading, a chair, what the committee does, and its
   roster. The roster is the part that grows: some committees have three
   members and some have twenty, so the card is a flex column with the list
   free to run as long as it needs rather than a fixed-height tile that
   truncates a volunteer's name.
   ═══════════════════════════════════════════════════════════════════════════ */
.cmt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-3);
  align-items: start;
}
@media (max-width: 420px) { .cmt-grid { grid-template-columns: 1fr; } }

.cmt {
  --ofc-red: #8C1D2F;
  background: var(--white, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: var(--space-4) var(--space-3);
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.cmt::before {
  content: '';
  position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--ofc-red), #C9CED6);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.cmt:hover { box-shadow: 0 14px 32px rgba(13, 34, 71, .12); border-color: #C9CED6; }
.cmt:hover::before { transform: scaleX(1); }

.cmt__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 4px;
}
.cmt__name {
  font-family: var(--font-display); font-size: var(--fs-md);
  color: var(--navy); margin: 0; line-height: 1.3;
}
.cmt__term {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  color: var(--text-faint); white-space: nowrap;
}
.cmt__chair { margin: 0 0 6px; font-weight: 600; color: var(--text); }
.cmt__chairrole {
  display: block; font-weight: 400; font-size: var(--fs-sm); color: var(--ofc-red);
}
.cmt__desc {
  margin: 0 0 var(--space-3); color: var(--text-muted);
  font-size: var(--fs-sm); line-height: 1.6;
}

.cmt__roster { border-top: 1px solid var(--border); padding-top: 10px; }
.cmt__rlabel {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 8px;
}
.cmt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.cmt__list li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; font-size: var(--fs-sm); line-height: 1.45;
}
/* A leader line, so a long name and a short role stay readable together
   without a table. */
.cmt__mname { color: var(--text); }
.cmt__mrole {
  color: var(--text-muted); font-size: .8em; text-align: end;
  white-space: nowrap; flex-shrink: 0;
}
.cmt__none { margin: 0; font-size: var(--fs-sm); color: var(--text-faint); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .cmt, .cmt::before { transition: none; }
  .cmt:hover { box-shadow: none; }
  .cmt:hover::before { transform: none; }
}
@media print {
  .cmt { break-inside: avoid; box-shadow: none; border-color: #bbb; }
  .cmt::before { display: none; }
  .cmt-grid { grid-template-columns: repeat(2, 1fr); }
}
