@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,500;1,300&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f6f3;
  --white: #ffffff;
  --ink: #0a0908;
  --ink-soft: #2e2c2a;
  --ink-muted: #6b6760;
  --red: #c0392b;
  --red-2: #e74c3c;
  --border: rgba(15,14,12,0.1);
}

.staff-section {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  min-height: calc(100vh - 60px);
  padding: 5rem 2rem;
}

.staff-inner {
  max-width: 900px;
  margin: 0 auto;
}

.s-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.s-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.s-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  display: block;
}

.s-eyebrow span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.s-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.05;
}

.s-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.s-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(15,14,12,0.08);
  line-height: 1;
  white-space: nowrap;
}

/* ── responsive ── */
@media (max-width: 600px) {
  .staff-section { padding: 3rem 1rem; }
  .s-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .s-count { font-size: 2rem; }
}


.council-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  /* border: 2px solid black; */
  border-radius: 6px;
  overflow: hidden;
}

.council-table thead {
  background: #1a1916;
}

.council-table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 500;
  color: #b0aa9e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.council-table thead th:first-child {
  width: 48px;
  text-align: center;
}

.council-table tbody tr {
  border-bottom: 1px solid black;
  transition: background 0.12s;
}

.council-table tbody tr:last-child {
  border-bottom: none;
}

.council-table tbody tr:hover, .council-table tbody tr:hover td {
  background: black;
  color: white;
  cursor: pointer;
}

.council-table td {
  padding: 0.8rem 1rem;
  vertical-align: middle;
}

.council-table td:first-child {
  text-align: center;
  font-size: 0.78rem;
  color:  black;
  font-weight: 300;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 3px;
}

.badge-c { background: #eef2fb; color: #2d4fa3; border: 1px solid #c5d3f0; }
.badge-d { background: #eef7f0; color: #1e6b33; border: 1px solid #b8dfc3; }
.badge-t { background: #f7f0ee; color: #7a3020; border: 1px solid #e0c0b6; }

.role-head { font-weight: 500; color: #8b1a1a; }
.role-sec  { font-weight: 500; color: #5a3e10; }

.tag-invited {
  display: inline-block;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 2px;
  background: #f9f5ec;
  color: black;
  border: 1px solid #e0cc90;
  margin-left: 4px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .staff-section {
    padding: 3rem 1rem;
  }

  .staff-inner {
    width: 100%;
  }

  .council-table {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .council-table thead th,
  .council-table td {
    font-size: 0.82rem;
    padding: 0.65rem 0.75rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}