/* v20260515 */
:root {
  --black: #030303;
  --ink: #0a0a0a;
  --panel: #101010;
  --panel-soft: #171717;
  --gold: #d6ad43;
  --gold-dark: #8d6d20;
  --gold-soft: #f2d57a;
  --cream: #f6eed8;
  --muted: #b79442;
  --line: rgba(214, 173, 67, 0.42);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(214, 173, 67, 0.08), transparent 460px),
    var(--black);
  color: var(--gold);
  font-family: Avenir, "Gill Sans", "Trebuchet MS", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Hero ───────────────────────────────────────────── */

.hero {
  position: relative;
  border-bottom: 1px solid rgba(214, 173, 67, 0.24);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-soft) 50%, var(--gold) 70%, transparent);
  opacity: 0.7;
}

.hero-inner,
.list-section,
.footer-inner,
.footer-legal,
.methodology-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 64px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  min-height: 450px;
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: clamp(42px, 6vw, 78px);
}

.hero-brand {
  margin-bottom: 28px;
}

.hero-logo {
  height: 68px;
  width: auto;
}

.kicker,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Hero kicker — make council name big and bold */
.hero-copy .kicker {
  display: inline-block;
  color: var(--gold-soft);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(214, 173, 67, 0.4);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 14px;
  color: var(--gold-soft);
  font-family: Didot, "Bodoni 72", "Bodoni 72 Oldstyle", Georgia, serif;
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 500;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(96, 62, 8, 0.55);
}

.subtitle {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", "Bodoni 72 Oldstyle", Georgia, serif;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0.88;
}

.hero-stats {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-stats div {
  padding: 20px;
  background: rgba(11, 11, 11, 0.94);
}

.hero-stats span,
.hero-stats small {
  display: block;
}

.hero-stats span {
  color: var(--gold-soft);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1;
}

.hero-stats small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── List section ───────────────────────────────────── */

.list-section {
  padding-top: clamp(42px, 6vw, 78px);
  padding-bottom: clamp(62px, 7vw, 96px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: right;
}

/* ── Person grids ───────────────────────────────────── */

.featured,
.staff-grid {
  display: grid;
  justify-content: center;
  gap: clamp(32px, 3.5vw, 60px) clamp(28px, 4vw, 68px);
}

.featured {
  grid-template-columns: repeat(3, minmax(220px, 310px));
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.staff-grid {
  grid-template-columns: repeat(4, minmax(200px, 260px));
  align-items: start;
}

/* ── Person card ────────────────────────────────────── */

.person {
  min-width: 0;
  text-align: center;
  padding: 14px 10px 18px;
  border-radius: 2px;
  transition: background 200ms ease;
}

.person:hover {
  background: rgba(214, 173, 67, 0.055);
}

/* Portrait */
.portrait-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 14px;
  border: 2px solid var(--gold);
  background: #111;
  box-shadow:
    0 0 0 4px rgba(214, 173, 67, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  cursor: zoom-in;
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.person:hover .portrait-wrap {
  border-color: var(--gold-soft);
  box-shadow:
    0 0 0 4px rgba(214, 173, 67, 0.35),
    0 20px 44px rgba(0, 0, 0, 0.75);
  transform: translateY(-3px);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
  transition: filter 220ms ease;
}

/* Magnify icon overlay */
.portrait-wrap::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.person:hover .portrait-wrap::after {
  opacity: 1;
}

/* Card text */
.name {
  overflow-wrap: anywhere;
  color: var(--cream);
  font-size: clamp(0.92rem, 1.15vw, 1.12rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 4px;
}

.featured .name {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.role {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: clamp(0.72rem, 0.88vw, 0.88rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.featured .role {
  font-size: clamp(0.84rem, 1.1vw, 1rem);
}

.group {
  overflow-wrap: anywhere;
  color: var(--gold-dark);
  font-size: clamp(0.66rem, 0.8vw, 0.78rem);
  line-height: 1.1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pay {
  margin-top: 6px;
  color: var(--gold-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}

.featured .pay {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

/* ── Methodology ────────────────────────────────────── */

.methodology {
  border-top: 1px solid var(--line);
  background: rgba(214, 173, 67, 0.03);
}

.methodology-inner {
  padding-top: clamp(42px, 5vw, 70px);
  padding-bottom: clamp(52px, 6vw, 84px);
}

.methodology h2 {
  color: var(--gold-soft);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1;
}

.methodology-body {
  max-width: 760px;
}

.methodology-body p {
  color: var(--cream);
  font-size: clamp(0.92rem, 1.2vw, 1.06rem);
  line-height: 1.65;
  margin-bottom: 16px;
  opacity: 0.85;
}

.methodology-body strong {
  color: var(--gold);
  font-weight: 700;
}

.methodology-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 173, 67, 0.22);
  color: var(--muted) !important;
  font-size: 0.88rem !important;
  opacity: 0.9 !important;
}

/* ── Footer ─────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  background: #080808;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 2.4fr) repeat(2, minmax(150px, 0.7fr));
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(52px, 7vw, 90px);
  padding-bottom: clamp(42px, 5vw, 64px);
  align-items: start;
}

.wra-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.wra-logo {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.wra-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}

.footer-about p {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.45;
  opacity: 0.7;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer h3 {
  margin-bottom: 8px;
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  border-top: 1px solid rgba(214, 173, 67, 0.25);
  padding-top: 18px;
  padding-bottom: 22px;
  color: #98782c;
  font-size: 0.78rem;
  line-height: 1.4;
}

.footer-legal span {
  flex: 1 1 300px;
}

/* ── Lead gen popup ──────────────────────────────────── */

.lgpop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lgpop.is-open {
  display: flex;
}

.lgpop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(3px);
}

.lgpop-inner {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 36px 38px 28px;
  background: #0a0a0a;
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 5px rgba(214, 173, 67, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.9);
}

.lgpop-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 1px solid rgba(214, 173, 67, 0.35);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 3px 8px;
  cursor: pointer;
  line-height: 1;
  transition: color 150ms, border-color 150ms;
}

.lgpop-close:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.lgpop-logo {
  margin-bottom: 14px;
}

.lgpop-eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lgpop-title {
  margin: 0 0 10px;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.lgpop-body {
  margin: 0 0 18px;
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.8;
}

.lgpop-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  margin-bottom: 10px;
}

.lgpop-input {
  width: 100%;
  padding: 12px 14px;
  background: #111;
  border: 1px solid rgba(214, 173, 67, 0.35);
  color: var(--cream);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 160ms;
}

.lgpop-input::placeholder {
  color: rgba(183, 148, 66, 0.5);
}

.lgpop-input:focus {
  border-color: var(--gold);
}

.lgpop-submit {
  width: 100%;
  padding: 13px;
  background: var(--gold);
  border: none;
  color: #000;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms, color 160ms;
}

.lgpop-submit:hover {
  background: var(--gold-soft);
}

.lgpop-error {
  margin: 8px 0 0;
  color: #e05252;
  font-size: 0.82rem;
}

.lgpop-thanks {
  margin: 12px 0 0;
  color: var(--gold-soft);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.lgpop-dismiss {
  display: block;
  margin: 14px auto 0;
  background: transparent;
  border: none;
  color: var(--gold-dark);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms;
}

.lgpop-dismiss:hover {
  color: var(--muted);
}

@media (max-width: 480px) {
  .lgpop-inner {
    padding: 22px 18px 18px;
  }

  .lgpop-row {
    grid-template-columns: 1fr;
  }
}

/* ── Lightbox ────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(420px, 90vw);
  width: 100%;
  padding: 28px 28px 32px;
  background: #0e0e0e;
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 4px rgba(214, 173, 67, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.85);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid rgba(214, 173, 67, 0.4);
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  transition: color 160ms ease, border-color 160ms ease;
}

.lightbox-close:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.lightbox-img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 173, 67, 0.15);
  margin-bottom: 20px;
}

.lightbox-info {
  text-align: center;
  width: 100%;
}

.lightbox-name {
  color: var(--cream);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
}

.lightbox-role {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 3px;
}

.lightbox-group {
  color: var(--gold-dark);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lightbox-pay {
  color: var(--gold-soft);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 1100px) {
  .staff-grid {
    grid-template-columns: repeat(3, minmax(180px, 240px));
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured {
    grid-template-columns: repeat(3, minmax(180px, 260px));
  }

  .staff-grid {
    grid-template-columns: repeat(3, minmax(160px, 220px));
  }
}

@media (max-width: 720px) {
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading p {
    text-align: left;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-inner,
  .list-section,
  .footer-inner,
  .footer-legal,
  .methodology-inner {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  /* Top 3 stay in a centred row on mobile */
  .featured {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
    margin-bottom: 36px;
    justify-items: center;
  }

  .staff-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 36px 22px;
  }
}
