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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  color: #3d4145;
  background: #fff;
  line-height: 1.45;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: #042360;
  padding: 0.4rem 0.7rem;
  z-index: 80;
}
.skip:focus { top: 0.5rem; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap { width: min(1400px, calc(100% - 2rem)); margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
  background: #042360;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.12); }
.btn.red { background: #f61b3b; }
.btn.gold { background: #d1a45c; color: #042360; }

.site-header { position: sticky; top: 0; z-index: 40; background: #042360; }

.topbar { color: #fff; }
.topbar-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-meta { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.top-meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
}
.top-meta svg, .login-btn svg { width: 18px; height: 18px; fill: currentColor; }
.login-btn { border-radius: 8px; }

.brandbar { background: #fff; position: relative; }
.brand-row {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 0 0.55rem;
}
.wordmark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  line-height: 0.85;
  text-align: center;
  flex: none;
  font-family: Futura, "Futura PT", Jost, "Century Gothic", "Trebuchet MS", sans-serif;
}
.wordmark .brand-logo {
  width: clamp(3.4rem, 6.5vw, 5rem);
  height: auto;
  display: block;
  flex: none;
  object-fit: contain;
}
.wordmark-text {
  display: inline-block;
  text-align: center;
}
.wordmark .ibew {
  display: block;
  color: #042360;
  font-family: "Futura Black", "Futura-Black", Futura, Jost, "Century Gothic", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.03em;
}
.wordmark .local {
  display: block;
  width: 100%;
  color: #f61b3b;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 0.12rem;
  text-align: justify;
  text-align-last: justify;
}

.mainnav {
  background: transparent;
  width: 100%;
  display: flex;
  justify-content: center;
}
.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 46px;
  height: 32px;
  border-radius: 3px;
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block;
  height: 2px;
  width: 20px;
  background: #3d4145;
  position: relative;
}
.menu-btn span::before, .menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li {
  display: flex;
  align-items: center;
}
.nav-links > li + li::before {
  content: "";
  width: 3px;
  height: 1.15em;
  background: #f61b3b;
  flex: none;
}
.nav-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: #042360;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}
.nav-top:hover { color: #f61b3b; }
.nav-item { position: relative; }
.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 20;
}
.nav-item:hover > .nav-menu,
.nav-item:focus-within > .nav-menu,
.nav-item.is-open > .nav-menu { display: block; }
.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #042360;
  text-decoration: none;
  font-weight: 700;
}
.nav-menu a:hover { background: #f6f6f6; color: #f61b3b; }
.caret { font-size: 0.7rem; }

.redline { height: 8px; background: #f61b3b; }
.goldbar {
  background: #d1a45c;
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
}

.slider { position: relative; background: #042360; height: min(74vh, 700px); overflow: hidden; }
.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.slider img.is-on { opacity: 1; }
.slider img:nth-child(1) { object-position: 72% center; }
.slider img:nth-child(2) { object-position: center 42%; }
.slider img:nth-child(3) { object-position: 68% top; }
.slider img:nth-child(5) { object-position: center 86%; }
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #3d4145;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}
.slide-btn.prev { left: 1rem; }
.slide-btn.next { right: 1rem; }

.intro {
  background: #f61b3b;
  color: #fff;
  padding: 2.4rem 0 2.6rem;
}
.intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.intro p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.2rem;
  max-width: 52rem;
  text-align: left;
}
.intro .btn { flex: 0 0 auto; white-space: nowrap; }

.live {
  position: relative;
  min-height: min(58vh, 580px);
  color: #fff;
  display: grid;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.live img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.3);
}
.live-shade { position: absolute; inset: 0; background: rgba(4, 35, 96, 0.72); }
.live .wrap { position: relative; z-index: 1; padding: 5rem 0; }
.live h2 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.live h2 span { color: #f61b3b; }
.live p { max-width: 46rem; margin: 0 auto 1.3rem; text-transform: uppercase; font-size: 1.05rem; }

main > section + section {
  border-top: 2pt solid #d1a45c;
}
.band { padding: 3.2rem 0; }
.band h2, .section-title {
  color: #042360;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.4rem;
}
#why h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
}
.advantages {
  display: grid;
  gap: 1.6rem 1rem;
  text-align: center;
}
.advantages article svg {
  width: clamp(5.5rem, 10vw, 7rem);
  height: clamp(5.5rem, 10vw, 7rem);
  margin: 0 auto 0.7rem;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(4, 35, 96, 0.22));
}
.advantages h3 {
  margin: 0;
  color: #042360;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.officers-band {
  position: relative;
  isolation: isolate;
  background: #f7f7f7;
  overflow: hidden;
}
.officers-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(247, 247, 247, 0.82), rgba(247, 247, 247, 0.88)),
    url("/clients/ibew-309/assets/local-309-panel.jpg") center / cover no-repeat;
  filter: grayscale(0.25);
}
.officers-band .wrap { position: relative; }
.admin-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.85fr) minmax(0, 1.6fr);
  gap: 2rem 2.5rem;
  align-items: start;
}
.admin-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.officers-band h2 {
  text-align: left;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  margin: 0;
  max-width: 10ch;
}
.admin-intro .btn {
  font-size: 0.78rem;
  padding: 0.7rem 1.15rem;
  white-space: normal;
  text-align: center;
  max-width: 14rem;
  line-height: 1.25;
}
.admin-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
}
.admin-col { min-width: 0; }
.people {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.people li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
}
.people span {
  display: block;
  color: #042360;
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
}
.people strong {
  display: block;
  color: #042360;
  font-size: 1.1rem;
  text-transform: uppercase;
}
.group-label {
  margin: 0 0 1rem;
  text-align: center;
  color: #f61b3b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 700;
}

#benefits {
  background: #d1a45c;
}
#benefits .lede a {
  color: #042360;
  font-weight: 700;
}
#benefits .lede a:hover {
  color: #f61b3b;
}
.benefits-staff {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.benefits-staff li {
  background: #fff;
  border: 1px solid #f61b3b;
  padding: 1rem 1.1rem;
  text-align: center;
}
.benefits-staff strong {
  display: block;
  color: #042360;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.benefits-staff span {
  display: block;
  margin: 0.25rem 0 0.45rem;
  color: #f61b3b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.benefits-staff a {
  color: #042360;
  font-weight: 700;
  text-decoration: none;
}
.benefits-staff a:hover { color: #f61b3b; }
.job-list, .event-list, .mem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.job-list li, .event-list li, .mem-list li {
  border: 1px solid #f61b3b;
  padding: 0.8rem 1rem;
  background: #fff;
}
.job-list strong, .event-list strong, .mem-list strong { display: block; color: #042360; font-size: 1.15rem; }
.sample {
  color: #f61b3b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-band {
  background: #f7f7f7;
  padding: 1.8rem 0;
}
.news-band h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin-bottom: 0.75rem;
}
.news-split {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: 1fr minmax(16rem, 0.85fr);
  align-items: start;
}
.news-col h2,
.calendar-col h2 {
  text-align: left;
}
.news-band .event-list li {
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
}
.news-band .event-list strong {
  font-size: 1.02rem;
}
.news-actions {
  margin: 0.75rem 0 0;
}
.memory-block {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 2px solid #f61b3b;
}
.memory-block .mem-list li {
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
}
.memory-block .mem-list strong {
  font-size: 1.02rem;
}
.news-actions .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}
.calendar-col .cal {
  background: #fff;
  border: 1px solid #f61b3b;
  padding: 0.65rem;
  max-width: 22rem;
}
.calendar-col .cal-day {
  min-height: 2.2rem;
  font-size: 0.85rem;
}
.center { text-align: center; }
.lede { text-align: center; max-width: 40rem; margin: -0.6rem auto 1.2rem; }

.members-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
}
.members-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.84)),
    url("/clients/ibew-309/assets/our-members-bg.png") center / cover no-repeat;
  filter: grayscale(0.15);
}
.members-band .wrap { position: relative; }
.gallery { display: grid; gap: 0.8rem; }
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 3px solid #d1a45c;
  display: block;
}
.gallery figcaption {
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: #042360;
  padding: 0.45rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gallery figure { margin: 0; }

.split { display: grid; gap: 1.4rem; }
.split h2 { text-align: left; }
.role { color: #f61b3b; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; margin: 0; }

.contractor-band {
  position: relative;
  padding: 3.2rem 0;
  background: #042360 url("/clients/ibew-309/assets/contractors-bg.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.contractor-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 35, 96, 0.8);
}
.contractor-band-inner { position: relative; z-index: 1; }
.contractor-kicker {
  margin: 0;
  color: #f61b3b;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contractor-title {
  margin: 0.65rem 0 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
}
.contractor-title span { color: #d1a45c; }
.contractor-sub {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-carousel {
  position: relative;
  margin: 1.75rem auto 0;
  max-width: 1400px;
  background: #fff;
}
.logo-carousel-viewport {
  overflow: hidden;
  margin: 0 2.75rem;
}
.logo-carousel-track {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.1rem 0;
  list-style: none;
  transition: transform 0.35s ease;
}
.logo-carousel-track li {
  display: flex;
  flex: 0 0 20%;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0 0.5rem;
}
.logo-carousel-track img {
  display: block;
  width: 100%;
  max-width: 9.5rem;
  max-height: 3.5rem;
  height: auto;
  object-fit: contain;
}
.logo-carousel-track img.logo-on-dark {
  background: #000;
  padding: 0.35rem 0.45rem;
}
.logo-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8d8680;
  cursor: pointer;
}
.logo-carousel-btn svg { width: 1.35rem; height: 1.35rem; }
.logo-carousel-btn:hover { color: #042360; }
.logo-carousel-btn-next { right: 0.35rem; }
.logo-carousel-btn:not(.logo-carousel-btn-next) { left: 0.35rem; }
.contractor-note {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}
.contractor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.contractor-actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.contractor-actions a:hover {
  background: #d1a45c;
  color: #042360;
}

.site-footer { background: #042360; color: #fff; padding: 2.2rem 0 0; }
.footer-grid { display: grid; gap: 1.2rem; }
.site-footer a { color: #d1a45c; text-decoration: none; }
.site-footer h2 { color: #fff; text-align: left; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem 1.1rem; }
.footer-bottom {
  margin-top: 1.4rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 35, 96, 0.55); }
.modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  padding: 1.4rem 1.2rem;
  border-top: 6px solid #f61b3b;
}
.modal-card h2 { color: #042360; text-transform: uppercase; }
.modal-close { position: absolute; top: 0.4rem; right: 0.6rem; border: 0; background: none; font-size: 1.5rem; cursor: pointer; }
.field { display: grid; gap: 0.25rem; font-weight: 700; color: #042360; margin-bottom: 0.7rem; }
.field input { border: 1px solid #ccc; padding: 0.55rem 0.65rem; font-weight: 400; }
.session { border: 1px solid #f61b3b; padding: 0.7rem; }

@media (min-width: 720px) {
  .advantages { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .split, .footer-grid { grid-template-columns: 1.1fr 0.9fr; }
}

@media (max-width: 980px) {
  .brand-row { position: relative; }
  .menu-btn {
    display: grid;
    place-items: center;
    position: absolute;
    right: 0;
    top: 0.85rem;
    z-index: 2;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 1rem 1rem;
    z-index: 30;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }
  .mainnav.is-open .nav-links { display: flex; }
  .nav-links > li { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-top { width: 100%; }
  .nav-links > li + li::before { width: 100%; height: 3px; }
  .nav-item:hover > .nav-menu { display: none; }
  .nav-item.is-open > .nav-menu { display: block; position: static; box-shadow: none; }
  .intro-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-layout { grid-template-columns: 1fr; }
  .officers-band h2 { max-width: none; }
  .admin-cols { grid-template-columns: 1fr; }
  .benefits-staff { grid-template-columns: 1fr; }
  .news-split { grid-template-columns: 1fr; }
}
