/* ===============================
   GLOBAL
================================ */

:root {
  /* Base palette */
  --white: #ffffff;
  --light-grey: #f1f1f1;
  --grey: #e2e3e4;
  --dark-grey: #636363;
  --black: #222222;
  --body-text-grey: #404040;

  /* Site “normal” blue (used by .btn-primary) */
  --blue: #24376a;
  --light-blue: #57679f;

  /* Dynamic nav variables (set by JS) */
  --nav-y: 0px;
  --nav-bg: rgba(0,0,0,.35);
  --nav-link: #ffffff;
  --nav-shadow: none;

  /* Set by JS from nav height, used to place scroll reminder above nav */
  --nav-h: 84px;
  --nav-clearance: 200px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "neue-haas-grotesk-display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  font-size: 18px;
}

body{
  font-size: 1rem;      /* now equals 18px */
  line-height: 1.75;
}
h1, h2, h3 { font-weight: 600; }

.img-fluid { width: 100%; height: auto; }

.skip-link{
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 1000001;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: top .15s ease;
}

.skip-link:focus{
  top: 16px;
}

:focus-visible{
  outline: 3px solid #F85E38;
  outline-offset: 3px;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.ml-20 { margin-left: 20px; }
.ml-40 { margin-left: 40px; }
.ml-60 { margin-left: 60px; }

/* ===============================
   HERO VIDEO
================================ */

.hero-video{
  position: relative;
  height: 100vh;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Blue gradient overlay (#25507D) */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(37, 80, 125, 0.92) 0%,
    rgba(37, 80, 125, 0.75) 40%,
    rgba(37, 80, 125, 0.40) 70%,
    rgba(37, 80, 125, 0.10) 100%
  );
  z-index: 2;
}

.hero-content{
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 6vw;
}

.hero-text{
  max-width: 50%;
  color: #fff;
  transform: translateY(-50px); /* move content up ~50px */
}

.hero-text h1{
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  margin: 0 0 28px;
  line-height: 1.05;

  /* drop shadow */
  text-shadow:
    0 4px 12px rgba(0,0,0,0.35),
    0 2px 4px rgba(0,0,0,0.25);
}

.hero-text p{
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 0 22px;

  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* CTAs */
.bf-hero-cta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: var(--blue);
  color: #fff;
}

.btn-forward{
  background: #F85E38;
  color: #fff;
}

/* ===============================
   HERO CONTROLS (Right side)
================================ */

.hero-controls{
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-control{
  width: 170px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;

  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  text-decoration: none;

  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.hero-control i{ font-size: 18px; }

.hero-control-label{
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.hero-play.hero-control{
  background: rgba(248,94,56,.92);
  border-color: rgba(255,255,255,.45);
}

/* ===============================
   SCROLL REMINDER
================================ */

.scroll-reminder{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: var(--nav-clearance);
  z-index: 4;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;

  opacity: 0.85;
  pointer-events: none;

  transition: opacity .3s ease;
}

.scroll-icon{
  font-size: 18px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* sentinel helper */
.hero-sentinel{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
}

/* ===============================
   NAV (Smooth bottom->top driven by JS)
================================ */

.site-nav{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999;

  transform: translateY(var(--nav-y));
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(10px);

  transition: background-color .2s ease, box-shadow .2s ease;
}

.site-nav a{
  color: var(--nav-link);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color .2s ease;
  color: #fff;
}

.site-nav .nav-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 110px;
}

.site-nav .nav-links{
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

/* NAV RIGHT SIDE STACK */
.nav-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* SEARCH BAR */
.nav-search{
  display: flex;
  align-items: center;
  gap: 8px;

  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px;

  padding: 6px 12px;
  backdrop-filter: blur(6px);
}

.nav-search input{
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14px;
  width: 200px;
}

.nav-search input::placeholder{
  color: rgba(255,255,255,.75);
}

.nav-search button{
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
}

.nav-search button:focus-visible{
  border-radius: 999px;
}

/* ===============================
   NAV LOGO (Crossfade)
================================ */

.nav-logo{
  position: relative;
  display: inline-block;
  width: 240px;            /* adjust to your logo size */
  max-width: 40vw;
  height: 90px;
}

.nav-logo-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .25s ease;
  pointer-events: none;
}

/* Crossfade controlled by CSS variables (set by JS) */
.nav-logo-forward{ opacity: var(--logo-forward-o, 1); }
.nav-logo-city{ opacity: var(--logo-city-o, 0); }

/* ===============================
   MAYOR SECTION LAYOUT
================================ */

.mayor-welcome{
  padding: 250px 0 120px 0;
  background: #ffffff;
}

.container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

.mayor-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Keep the two top boxes aligned nicely */
.mayor-video-wrapper,
.info-stack{
  align-self: start;
}

/* Make the message span the full width on its own row */
.mayor-content{
  grid-column: 1 / -1;
  max-width: 1000px;
}

/* Content styling */
.section-kicker{
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #F85E38;
  margin-bottom: 16px;
}

.mayor-right h2{
  font-size: clamp(2rem, 2vw, 2.75rem);
  margin: 0 0 18px;
  line-height: 1.15;
}

.mayor-right p{
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 16px;
  color: rgba(0,0,0,.80);
}

.mayor-signature{
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Video styling */
.mayor-video-wrapper{
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.mayor-video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10; /* keeps it consistent */
}

/* Play overlay */
.mayor-play{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.25);
  text-decoration: none;
  transition: background .2s ease;
}

.mayor-play i{
  font-size: 38px;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(248,94,56,.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s ease;
}

.mayor-play:hover{ background: rgba(0,0,0,.35); }
.mayor-play:hover i{ transform: scale(1.05); }

/* Info stack styling (right box) */
.info-stack{
  border-top: 1px solid rgba(0,0,0,.10);
  border-bottom: 1px solid rgba(0,0,0,.10);
  background: transparent;
}

.info-row{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,.10);
}

.info-row:first-child{ border-top: none; }

.info-ico{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0,0,0,.35);
  color: rgba(0,0,0,.75);
}

.info-label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.65);
  margin-bottom: 6px;
}

.info-value{
  font-size: 1.05rem;
  line-height: 1.45;
  color: #24376a;
  text-decoration: none;
}

a.info-value:hover{ text-decoration: underline; }

.info-text div.info-value{
  color: rgba(0,0,0,.85);
}

/* Responsive: stack everything */
@media (max-width: 1024px){
  .hero-text{ max-width: 100%; }
  .hero-content{ padding: 0 24px; }
  .hero-controls{
    right: 24px;
    top: auto;
    bottom: 24px;
    transform: none;
    flex-direction: row;
  }
  .hero-control{ width: auto; padding: 0 14px; }

.mayor-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
  .mayor-content{
    grid-column: auto;
    max-width: 100%;
  }
}

.mayor-left{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mayor-right{
  max-width: 1000px; /* optional, keeps it readable */
}

/* ===============================
   EVENTS BLOCK – CIVIC STYLE
================================ */

.events-block{
  padding: 110px 0;
  background: #ffffff;
  color: #111;
}

.events-head{
  max-width: 1400px;
  margin: 0 auto 30px;
  padding: 0 6vw;
}

.events-head h2{
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.02em;
  color: #000;
}

.events-grid{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 60px;
  align-items: stretch;
}

.event-feature{
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #ffffff;
}

.event-feature-media{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.event-feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
	to right,
	rgba(36,55,106,.92) 0%,
	rgba(36,55,106,.75) 40%,
	rgba(36,55,106,.40) 70%,
	rgba(36,55,106,.10) 100%
  );
  }

.event-feature-glass{
  position: relative;
  z-index: 2;
  padding: 60px 50px;
  max-width: 600px;
  background: none;
  border: none;
  backdrop-filter: none;
}

.event-title{
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 16px;
  font-weight: 900;
}

.event-desc{
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: .9;
  margin-bottom: 20px;
}

.event-kv{
  font-size: 14px;
  opacity: .85;
  margin-bottom: 25px;
}

.event-actions .btn-primary{
  background: #F85E38;
  border: none;
}

.events-list{
  background: #ffffff;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.events-list-head{
  padding: 20px 0;
  border-bottom: 2px solid rgba(255,255,255,.2);
}

.events-list-head h3{
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #ffffff;
}

.event-item{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  background: transparent;
  transition: transform .15s ease;
}

.event-item:hover{
  transform: translateX(4px);
}

.event-item.is-active{
  background: transparent;
}

.event-item-date{
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: var(--blue);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-item-date .m{
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.8);
}

.event-item-date .d{
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}

.event-item-title{
  font-weight: 800;
  color: #ffffff;
}

.event-item-sub{
  font-size: 13px;
  opacity: .8;
}

.events-list-foot{
  padding: 20px 0 0;
  border-top: none;
  background: none;
}

.events-more-btn{
  border-radius: 0;
  background: #ffffff;
  color: var(--blue);
  font-weight: 900;
}

/* ===============================
   DEPARTMENTS SECTION
================================ */

.dept-band{
  background: var(--blue);
  color: #ffffff;
  padding: 110px 0;
}

.dept-wrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

.dept-head h2{
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 900;
}

.dept-head p{
  margin: 0 0 40px;
  opacity: .85;
  line-height: 1.7;
}

/* Layout */
.dept-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
}

/* LEFT FEATURE */
.dept-feature{
  position: relative;
  min-height: 420px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.dept-feature-inner{
  padding: 60px 48px;
  position: relative;
  z-index: 2;
}

.dept-title{
  font-size: clamp(1rem, 2vw, 2.75rem);
  margin-bottom: 16px;
  font-weight: 900;
}

.dept-desc{
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: .9;
  font-weight: 600;
  letter-spacing: 1px;
}

.dept-mark{
  position: absolute;
  right: 30px;
  bottom: 20px;
  font-size: 180px;
  opacity: .12;
}

/* RIGHT COLUMN STACK */
.dept-right{
  display: grid;
  grid-template-rows: auto auto;
  gap: 28px;
}

/* DEPARTMENT LIST */
.dept-list{
  border-top: 1px solid rgba(255,255,255,.2);
}

.dept-items{
  list-style: none;
  margin: 0;
  padding: 0;
}

.dept-item{
  display: grid;
  grid-template-columns: 50px 1fr 30px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: transform .15s ease;
}

.dept-item:hover{
  transform: translateX(6px);
}

.dept-bullet{
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
}

.dept-name{
  font-weight: 900;
}

.dept-arrow{
  opacity: .7;
}

/* QUICK ACTIONS PANEL */
.dept-panel{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 24px;
}

.dept-panel-title{
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dept-panel-items{
  list-style: none;
  margin: 0;
  padding: 0;
}

.dept-panel-items li{
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.dept-panel-items li:last-child{
  border-bottom: none;
}

.dept-panel-items a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
}

/* Right side becomes a 2-column grid list */
.dept-items{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px; /* column gap */
}

/* Make each row full-width inside its grid cell */
.dept-item{
  width: 100%;
}

/* Optional: reduce vertical padding a touch so 13 items fits */
.dept-item{
  padding: 16px 0;
}

/* On smaller screens, fall back to 1 column */
@media (max-width: 1100px){
  .dept-items{
    grid-template-columns: 1fr;
  }
}

.mayor-signature-block{
  margin-top: 26px;
  padding-top: 18px;
  max-width: 520px;
}

.mayor-signature-script{
  font-family: "Allura", cursive;
  font-size: 54px;
  line-height: 1;
  color: var(--blue);
  letter-spacing: 0.01em;
  transform: rotate(-2deg);
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

/* subtle flourish underline */
.mayor-signature-script::after{
  content: "";
  position: absolute;
  left: 6px;
  right: -30px;
  bottom: 2px;
  height: 2px;
  transform: rotate(-1deg);
}

.mayor-signature-title{
  margin-top: 6px;
  font-size: 0.98rem;
  color: rgba(0,0,0,.65);
}

.dept-img{
  display: block;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin: 18px 0 22px;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

/* RIGHT SIDE LIST CONTAINER */
.events-list{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

/* Header */
.events-list-head{
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.events-list-head h3{
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: rgba(0,0,0,.85);
}

/* Make list feel intentional even with few items */
.events-items{
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 260px;             /* removes “lonely” look */
  max-height: 520px;             /* keeps it tidy */
  overflow: auto;
}

/* Row styling */
.event-item{
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.event-item:last-child{ border-bottom: none; }

.event-item:hover{
  background: rgba(36,55,106,.04);
  transform: translateX(3px);
}

/* Date block */
.event-item-date{
  width: 64px;
  height: 64px;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-item-date .m{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  line-height: 1;
}

.event-item-date .d{
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

/* Text */
.event-item-title{
  font-weight: 900;
  color: rgba(0,0,0,.88);
  line-height: 1.25;
}

.event-item-sub{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0,0,0,.62);
}

/* Right arrow */
.event-item-arrow{
  opacity: .55;
}

/* Footer button */
.events-list-foot{
  padding: 16px 18px;
  border-top: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
}

.events-more-btn{
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: #ffffff;
  border: 1px solid rgba(36,55,106,.25);
  color: var(--blue);
  text-decoration: none;
  font-weight: 900;
}

/* ===============================
   ELFSIGHT SECTION
================================ */

.elfsight-band{
  background: var(--blue);
  padding: 110px 0;
  color: #ffffff;
}

/* Ensure embedded widgets don't inherit unwanted margins */
.elfsight-band .container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* ===============================
   COFD / TOUR BOOK SECTION
================================ */

.cofd-band{
  padding: 110px 0;
  background: #ffffff; /* change to var(--blue) if you want blue */
}

.cofd-head{
  margin-bottom: 40px;
  max-width: 800px;
}

.cofd-head h2{
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900;
}

.cofd-head p{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0,0,0,.75);
}

.cofd-widget{
  border: 1px solid rgba(0,0,0,.08);
  padding: 20px;
}

/* ===============================
   FOOTER
================================ */

.site-footer{
  background: var(--blue);
  color: #ffffff;
  margin-top: 120px;
}

.footer-wrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 6vw 60px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-col h4{
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}

.footer-col ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li{
  margin-bottom: 10px;
}

.footer-col a{
  color: #ffffff;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease;
}

.footer-col a:hover{
  opacity: 1;
}

.footer-logo img{
  width: 220px;
  height: auto;
  margin-bottom: 20px;
}

.footer-contact p{
  margin: 0 0 8px;
  line-height: 1.6;
  opacity: .9;
}

.footer-social{
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-social a{
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
}

.footer-social a:focus-visible{
  border-radius: 999px;
}

.footer-subscribe{
  font-size: 0.9rem;
  opacity: .8;
  line-height: 1.5;
}

/* Bottom strip */

.footer-bottom{
  background: rgba(0,0,0,.15);
}

.footer-bottom-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 6vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  opacity: .8;
}

.footer-bottom a{
  color: #ffffff;
  text-decoration: none;
}

/* Ensure dropdowns can render */
.site-nav, .site-nav .nav-inner { overflow: visible; }

.nav-item.has-dd{ position: relative; }

:root{
  --nav-dropdown-width: 320px;
}

.nav-trigger{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* First-level dropdown */
.nav-dd{
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: var(--nav-dropdown-width);
  max-width: min(calc(100vw - 20px), var(--nav-dropdown-width));
  background: #fff;
  color: #111;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  box-sizing: border-box;
  z-index: 999999;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .18s ease;
}

.nav-item.has-dd.open > .nav-dd{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dd-item{
  position: relative;
}

.nav-dd-item > a,
.nav-dd-trigger{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;
  background: none;
  border: none;
  margin: 0;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;

  text-decoration: none;
  color: rgba(0,0,0,.86);
  font-weight: 700;
  text-align: left;
  white-space: normal;
}

.nav-dd-item > a:hover,
.nav-dd-trigger:hover{
  background: rgba(36,55,106,.06);
  color: var(--blue);
}

.nav-dd-item > a::after,
.nav-dd-trigger::after{
  content: "";
  width: 16px;
  justify-self: end;
}

/* Add flyout indicator */
.has-fly > .nav-dd-trigger::after{
  content: "›";
  font-size: 18px;
  line-height: 1;
  opacity: .55;
}

/* Flyout */
.nav-fly{
  position: absolute;
  top: 0;
  left: 100%;
  width: var(--nav-dropdown-width);
  max-width: min(calc(100vw - 20px), var(--nav-dropdown-width));
  background: #fff;
  color: #111;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  box-sizing: border-box;
  z-index: 999999;

  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all .18s ease;
}

.nav-dd-item.open > .nav-fly{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Keep links consistent inside flyouts */
.nav-fly a{
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: rgba(0,0,0,.86);
  font-weight: 700;
  white-space: normal;
}

.nav-fly a:hover{
  background: rgba(36,55,106,.06);
  color: var(--blue);
}

/* DROPUP when nav is parked at bottom */
.site-nav.nav-at-bottom .nav-dd{
  top: auto;
  bottom: calc(100% + 14px);
  transform: translateY(-10px);
}

.site-nav.nav-at-bottom .nav-item.has-dd.open > .nav-dd{
  transform: translateY(0);
}

/* Flyouts still go sideways, but anchor to bottom so they line up */
.site-nav.nav-at-bottom .nav-fly{
  top: auto;
  bottom: 0;
  transform: translateX(10px);
}

.site-nav.nav-at-bottom .nav-dd-item.open > .nav-fly{
  transform: translateX(0);
}

.nav-trigger{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-caret{
  display: inline-flex;
  transition: transform .2s ease;
}

.nav-caret i{
  font-size: 12px;
  opacity: .7;
}

/* Rotate when open */
.nav-item.open .nav-caret{
  transform: rotate(180deg);
}

/* Flip default direction when nav is parked at bottom */
.site-nav.nav-at-bottom .nav-caret{
  transform: rotate(180deg);
}

/* If open while in dropup mode, rotate back down */
.site-nav.nav-at-bottom .nav-item.open .nav-caret{
  transform: rotate(0deg);
}

/* Flip FIRST dropdown to the left if needed */
.nav-item.has-dd.open > .nav-dd.fly-left{
  left: auto;
  right: 0;
}

/* Flip flyouts to open LEFT instead of RIGHT */
.nav-fly.fly-left{
  left: auto;
  right: 100%;
  transform: translateX(-10px);
}

.nav-dd-item.open > .nav-fly.fly-left{
  transform: translateX(0);
}

.nav-fly-scroll{
  max-height: min(70vh, calc(100vh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ===============================
   INTERIOR MODE
================================ */

body.interior{
  --nav-h: 150px;
  padding-top: calc(var(--nav-h) + 8px);
}

body.interior .site-nav{
  transform: translateY(0) !important;
  --nav-bg: var(--blue);
  --nav-shadow: 0 10px 30px rgba(0,0,0,.12);
}

body.interior .nav-logo-forward{ opacity: 0 !important; }
body.interior .nav-logo-city{ opacity: 1 !important; }

/* Page header styling */
body.interior .page-header{
  padding: 0;
}

body.interior .page-header h1{
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

body.interior .breadcrumb{
  margin-bottom: 18px;
  font-size: 0.85rem;
  padding-bottom: 20px;
}

/* ===============================
   ACCORDION (accessible via <details>)
================================ */

.accordion{
  border-top: 1px solid rgba(0,0,0,.10);
}

.acc-item{
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.acc-title{
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 900;
  color: rgba(0,0,0,.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.acc-title::-webkit-details-marker{ display: none; }

.acc-icon{
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 14px;
}

.acc-icon::before,
.acc-icon::after{
  content:"";
  position:absolute;
  inset: 0;
  margin:auto;
  background: var(--blue);
}

.acc-icon::before{ width: 14px; height: 2px; }
.acc-icon::after{ width: 2px; height: 14px; }

.acc-item[open] .acc-icon::after{ display: none; }

.acc-body{
  padding: 0 0 18px;
  color: rgba(0,0,0,.75);
  line-height: 1.7;
}

/* ===============================
   RESOURCE GRID (Stormwater, Forms, etc.)
================================ */

.resource-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.resource-card{
  display: grid;
  gap: 14px;
  align-items: center;
  padding: 16px 16px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.resource-card:hover{
  transform: translateY(-2px);
  border-color: rgba(36,55,106,.30);
  background: rgba(36,55,106,.03);
}

.resource-ico{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,55,106,.10);
  color: var(--blue);
  font-size: 18px;
}

.resource-photo{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,55,106,.10);
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 12px;
}

.resource-title{
  font-weight: 900;
  color: rgba(0,0,0,.85);
  line-height: 1.25;
}

.resource-sub{
  font-size: 13px;
  color: rgba(0,0,0,.60);
  margin-top: 4px;
}

.resource-cta{
  font-weight: 900;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 980px){
  .resource-grid{
    grid-template-columns: 1fr;
  }
}

/* ===============================
   ACTION GRID (Things You Can Do)
================================ */

.action-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.action-card{
  border: 1px solid rgba(0,0,0,.10);
  padding: 16px 16px 14px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.action-card:hover{
  transform: translateY(-2px);
  border-color: rgba(36,55,106,.30);
  background: rgba(36,55,106,.03);
}

.action-ico{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,55,106,.10);
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 12px;
}

.action-photo{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,55,106,.10);
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 12px;
}

.action-title{
  font-weight: 900;
  color: rgba(0,0,0,.85);
  margin-bottom: 6px;
}

.action-desc{
  color: rgba(0,0,0,.70);
  line-height: 1.6;
  font-size: 0.98rem;
}

@media (max-width: 980px){
  .action-grid{
    grid-template-columns: 1fr;
  }
}

/* ===============================
   SIDEBAR TILES
================================ */

.side-tiles{
  border: 1px solid rgba(0,0,0,.10);
}

.side-tiles-head{
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.side-tiles-head h3{
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.side-contact {
  padding: 0 10px;
  line-height: 140%;
  font-size: .85rem;
}
.side-contact-name {
  padding: 0 10px;
  line-height: 140%;
  font-size: 1rem;
}

.side-tile{
  display: grid;
  grid-template-columns: 46px 1fr 26px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.side-tile:last-child{
  border-bottom: none;
}

.side-tile:hover{
  transform: translateY(-2px);
  background: rgba(36,55,106,.03);
}

.side-ico{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,55,106,.10);
  color: var(--blue);
  font-size: 18px;
}

.side-title{
  font-weight: 900;
  color: rgba(0,0,0,.85);
  line-height: 1.2;
}

.side-sub{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(0,0,0,.60);
  line-height: 1.3;
}

.side-cta{
  color: var(--blue);
  opacity: .85;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sidebar note */
.side-note{
  border: 1px solid rgba(0,0,0,.10);
  padding: 18px 16px;
}

.side-note h3{
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.side-note p{
  margin: 0;
  color: rgba(0,0,0,.75);
  line-height: 1.7;
}

/* ===============================
   QUICK NAVIGATION
================================ */

.quick-nav{
  margin-bottom: 40px;
}

.quick-nav h3{
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quick-nav-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-nav-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  color: rgba(0,0,0,.85);
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.quick-nav-item:hover{
  transform: translateY(-2px);
  background: rgba(36,55,106,.04);
  border-color: rgba(36,55,106,.25);
}

.quick-nav-item i{
  color: var(--blue);
  width: 18px;
  text-align: center;
}

@media (max-width: 980px){
  .quick-nav-grid{
    grid-template-columns: 1fr;
  }
}

.breadcrumb{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 26px;
}

.breadcrumb a{
  text-decoration: none;
  font-weight: 800;
  color: var(--blue);
}

.breadcrumb a:hover{
  text-decoration: underline;
}

.bc-sep{
  margin: 0 6px;
  opacity: .4;
}

.bc-current{
  font-weight: 800;
  color: rgba(0,0,0,.70);
}

.bc-sep{
  font-weight: 400;
  opacity: .35;
}

.jumpbar{
  margin-top: 18px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(0,0,0,.10);
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.jumpbar-label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.60);
  margin-bottom: 12px;
}

.jumpbar-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jumpbar-links a{
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(36,55,106,.18);
  background: var(--blue);
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.jumpbar-links a:hover{
  transform: translateY(-2px);
  background: rgba(36,55,106,.08);
  border-color: rgba(36,55,106,.28);
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.section-head{
  display:flex;
  align-items:center;
  gap: 14px;
  margin: 70px 0 18px;
}

.section-head::before{
  content:"";
  width: 6px;
  height: 34px;
  background: var(--blue);
}

.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.reveal-in{
  opacity: 1;
  transform: translateY(0);
}

.page-header h1{
  font-size: 2.8rem;   /* ~50px */
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.content-main{
  font-size: 1.125rem; /* was likely 1rem */
  line-height: 1.85;
  color: rgba(0,0,0,.85);
}

.content-main h2{
  font-size: 2rem;     /* ~36px */
}

.content-main h3{
  font-size: 1.35rem;  /* ~24px */
}

.blue-band{
  background: var(--blue);
  padding: 110px 0;
  color: #ffffff;
}

.content-grid{
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 1024px){
  .content-grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Offset anchor scroll position for sticky header */
.content-main section{
  scroll-margin-top: 140px; /* adjust to match nav height */
}

/* ===============================
   FOUR COLUMN LIST (Interior Left)
================================ */

.four-col-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 24px;
  margin-top: 18px;
}

.four-col-item{
  display: block;
  padding: 10px 0;
  text-decoration: none;
  font-weight: 700;
  color: rgba(0,0,0,.85);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: color .15s ease, transform .15s ease;
}

.four-col-item:hover{
  color: var(--blue);
  transform: translateX(3px);
}

/* Tablet */
@media (max-width: 1200px){
  .four-col-list{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small tablet */
@media (max-width: 900px){
  .four-col-list{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px){
  .four-col-list{
    grid-template-columns: 1fr;
  }
}

.center {
	text-align: center;
}

/* ===============================
   Sidebar WOW: slide-in reveal
================================ */

body.interior .content-sidebar{
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  will-change: opacity, transform;
}

body.interior .content-sidebar.sidebar-in{
  opacity: 1;
  transform: translateX(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  body.interior .content-sidebar{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body.interior .content-sidebar .side-tiles,
body.interior .content-sidebar .side-note{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}

body.interior .content-sidebar.sidebar-in .side-tiles,
body.interior .content-sidebar.sidebar-in .side-note{
  opacity: 1;
  transform: translateY(0);
}

body.interior .content-sidebar.sidebar-in .side-tiles:nth-of-type(1){ transition-delay: .05s; }
body.interior .content-sidebar.sidebar-in .side-tiles:nth-of-type(2){ transition-delay: .10s; }
body.interior .content-sidebar.sidebar-in .side-tiles:nth-of-type(3){ transition-delay: .15s; }
body.interior .content-sidebar.sidebar-in .side-note:nth-of-type(4){ transition-delay: .20s; }

@media (max-width: 1024px){
  body.interior .content-sidebar,
  body.interior .content-sidebar .side-tiles,
  body.interior .content-sidebar .side-note{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===============================
   Interior WOW: section fade-in
================================ */

body.interior .fade-section{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  will-change: opacity, transform;
}

body.interior .fade-section.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  body.interior .fade-section{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===============================
   Interior WOW: section fade-in
================================ */

body.interior .fade-section{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}

body.interior .fade-section.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  body.interior .fade-section{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.recap-thumb{
  position: relative;
  display: block;
  text-decoration: none;
}

.recap-thumb img{
  display: block;
  width: 100%;
  height: auto;
}

.recap-play{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
}

.recap-play i{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248,94,56,.95);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  font-size: 22px;
}

.recap-thumb:hover .recap-play{
  background: rgba(0,0,0,.35);
}

/* Council Recap Grid Override */
.services_grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1100px){
  .services_grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px){
  .services_grid{
    grid-template-columns: 1fr;
  }
}

.recap-title{
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

/* ===============================
   FORM SYSTEM (Interior Pages)
================================ */

.content-box form{
  display: grid;
  gap: 18px;
}

.content-box label{
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 4px;
  display: block;
  color: rgba(0,0,0,.75);
}

.content-box input[type="text"],
.content-box input[type="email"],
.content-box input[type="password"],
.content-box textarea,
.content-box select{
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,.15);
  background: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.content-box textarea{
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.content-box input:focus,
.content-box textarea:focus,
.content-box select:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,55,106,.15);
}

/* Button alignment */
.content-box form .btn{
  margin-top: 10px;
  align-self: flex-start;
}

/* ===============================
   RESPONSIVE NAV (Hamburger)
================================ */

/* hidden on desktop */
.nav-toggle{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars{
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
}

.nav-toggle-bars::before{ top: -8px; }
.nav-toggle-bars::after{ top: 8px; }

/* panel default desktop */
.nav-panel{
  display: contents; /* behaves like it isn't there on desktop */
}


/* ===============================
   MOBILE BREAKPOINT
================================ */

@media (max-width: 1024px){

  /* show hamburger */
  .nav-toggle{ display: inline-flex; align-items:center; justify-content:center; }

  /* hide desktop inline links */
  .site-nav .nav-links{
    display: none;
  }

  /* convert panel to dropdown */
 .nav-panel{
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h);
    bottom: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 18px 24px;
    background: var(--nav-bg);
    box-shadow: var(--nav-shadow);
    backdrop-filter: blur(10px);
    z-index: 999999;
  }
  
  /* nav-inner needs positioning for absolute panel */
  .site-nav .nav-inner{
    position: relative;
  }

  /* show links in panel as a vertical stack */
  .nav-panel .nav-links{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
  }

  .nav-panel .nav-links li{
    list-style: none;
  }

  .nav-panel .nav-links a,
  .nav-panel .nav-trigger{
    display: flex;
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.08);
  }

  /* keep dropdown menus usable on mobile */
  .nav-dd,
  .nav-fly{
    position: static;
    width: auto;
    max-width: none;
    min-width: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: rgba(0,0,0,.15);
    margin-top: 8px;
    padding: 8px 0;
  }

  .nav-item.has-dd.open > .nav-dd{
    display: block;
  }

  .nav-dd{ display: none; }
  .nav-dd-item.open > .nav-fly{ display: block; }
  .nav-fly{ display: none; }

  .nav-dd-item > a,
  .nav-dd-trigger,
  .nav-fly a{
    color: #fff;
  }

  .nav-dd-item > a:hover,
  .nav-dd-trigger:hover,
  .nav-fly a:hover{
    background: rgba(255,255,255,.10);
    color: #fff;
  }

  /* ===============================
     HERO: stack to full screen
  ================================ */

  .hero-content{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 24px 140px;
  }

  .hero-text{
    max-width: 100%;
    transform: translateY(-20px); /* keep some lift */
  }

  .hero-controls{
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 18px;
    flex-direction: row;
    gap: 12px;
  }

  .hero-control{
    width: auto;
    padding: 0 14px;
  }

  .hero-text{
    transform: none;
  }

 
   .hero-text p {
    font-size: .85rem;
    max-width: 100%;
    transform: none;
  }

.scroll-reminder{
    display: none !important;
  }

  /* Make the hero a clean vertical stack */
  .hero-content{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;                 /* creates separation between text and controls */
  }

  /* Ensure CTA has breathing room */
  .bf-hero-cta{
    display: flex;
    flex-direction: column;    /* stacks buttons so they don't fight for width */
    gap: 12px;
    width: 100%;
  }

  .bf-hero-cta .btn{
    width: 90%;               /* full-width buttons look better on mobile */
    justify-content: center;
  }

  /* Put hero controls BELOW the CTA and remove absolute-ish layout */
  .hero-controls{
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .hero-controls .hero-control{
    width: 95%;
    justify-content: center;
  }

  /* If your "Watch Full Video" uses btn classes, force it full width too */
  .hero-controls .btn{
    width: 90%;
    justify-content: center;
  }

  .mayor-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mayor-content{
    grid-column: auto;
    max-width: 100%;
  }

  .mayor-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Swap columns */
  .mayor-right{
    order: 1;
  }

  .mayor-left{
    order: 2;
  }

  .mayor-welcome {
  	padding-top: 50px;
  	}

 #site-nav{
    display: none !important;
  }
}

/* Mobile nav hidden by default (desktop/tablet) */
.mobile-nav,
.mobile-menu{
  display: none;
}

/* ===============================
   MOBILE NAVBAR (separate from #site-nav)
================================ */

@media (max-width: 1024px){

  .mobile-nav{
    display: block;
  }
  .mobile-menu{
    display: block; /* still controlled by [hidden] */
  }
  
  /* Hide desktop nav completely */
  #site-nav{ display: none !important; }

  /* Remove any nav padding offset from desktop assumptions */
  body,
  body.interior{ padding-top: 0 !important; }

  /* Mobile navbar */
  .mobile-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: var(--blue);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
  }

  .mobile-nav-inner{
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 150px 1fr 46px;
    gap: 12px;
    align-items: center;
  }

  .mobile-nav-logo{
    display: block;
    height: 46px;
  }

  .mobile-nav-logo img{
    height: 46px;
    width: auto;
    object-fit: contain;
  }

  .mobile-nav-search{
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 30px;
    padding: 6px 12px;
  }

  .mobile-nav-search input{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
  }

  .mobile-nav-search input::placeholder{
    color: rgba(255,255,255,.75);
  }

  .mobile-nav-search button{
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
  }

  .mobile-nav-search button:focus-visible{
    border-radius: 999px;
  }

  /* Hamburger button reuses your bar styles */
  .mobile-nav-toggle{
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.30);
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
  }

  /* Push page content below mobile nav */
  .mobile-nav + *{
    margin-top: 80px;
  }

  /* Drawer */
  .mobile-menu[hidden]{ display:none !important; }

  .mobile-menu{
    position: fixed;
    left: 0;
    right: 0;
    top: 80px;
    bottom: 0;
    z-index: 999998;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    padding: 16px 16px 24px;
  }

  /* Basic mobile list styling */
  .mnav{
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mnav a{
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.08);
    margin-bottom: 10px;
    font-weight: 800;
  }
}

@media (max-width: 1024px){

  .mobile-nav-inner{
    grid-template-columns: 1fr 46px;
  }

  /* Search inside drawer */
  .mobile-menu-search{
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 30px;
    padding: 8px 12px;
    margin-bottom: 18px;
  }

  .mobile-menu-search input{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
  }

  .mobile-menu-search input::placeholder{
    color: rgba(255,255,255,.75);
  }

  .mobile-menu-search button{
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
  }

 /* Departments: stop horizontal overflow */
  .dept-grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dept-items{
    grid-template-columns: 1fr;
  }

  /* Prevent the big watermark icon from pushing width */
  .dept-mark{
    right: 10px;
    font-size: 140px;
  }

  /* Make sure the feature card doesn't bleed */
  .dept-feature{
    overflow: hidden;
  }

 /* Hide the large featured event */
  .event-feature{
    display: none;
  }

  /* Let the list take full width */
  .events-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-wrap{
    padding: 50px 24px 40px;
  }

  .footer-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo img{
    width: 200px;
  }

  .footer-social{
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-bottom-inner{
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

#deptFeature{
  scroll-margin-top: 120px; /* match mobile nav height */
}

@media (max-width: 1400px){

  /* give the nav a little more room */
  .site-nav .nav-inner{
    padding: 18px 18px;
  }

  /* tighten the link spacing */
  .site-nav .nav-links{
    gap: 18px;
    flex-wrap: nowrap;
  }

  /* slightly smaller link text to prevent wrap */
  .site-nav a,
  .nav-trigger{
    font-size: .75rem;
  }

  /* tighten search so it doesn't push links */
  .nav-search input{
    width: 160px;
  }
}

.site-nav .nav-links > li > a,
.site-nav .nav-trigger{
  font-size: clamp(0.92rem, 0.55vw + 0.6rem, 1.08rem);
}

.nav-dd a,
.nav-dd-trigger,
.nav-fly a{
  font-size: clamp(0.92rem, 0.45vw + 0.6rem, 1.02rem);
}

.nav-search input{
  font-size: clamp(0.85rem, 0.35vw + 0.6rem, 0.95rem);
}

/* Prevent top-level nav labels from wrapping */
.site-nav .nav-links > li > a,
.site-nav .nav-links > li > .nav-trigger{
  white-space: nowrap;
}

/* Force both to inherit identically */
.nav-dd-item > a,
.nav-dd-trigger{
  font: inherit;
  line-height: 1.2;
  padding: 10px 14px;
  font-weight: 700;       /* keep consistent with your current dropdown look */
}

/* ===============================
   INTERIOR: FORCE STACK ON MOBILE (overrides inline grid columns)
================================ */
@media (max-width: 1024px){
  .content-grid{
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .content-main{ order: 1; }
  .content-sidebar{ order: 2; }

  .resource-grid,
  .action-grid{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1024px){

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

  .mnav-item{ margin: 0 0 10px; }

  .mnav-trigger{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #fff;

    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .mnav-caret{
    display: inline-flex;
    transition: transform .2s ease;
    opacity: .8;
  }

  .mnav-item.open > .mnav-trigger .mnav-caret{
    transform: rotate(180deg);
  }

  .mnav-sub{
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: none;
  }

  .mnav-item.open > .mnav-sub{
    display: block;
  }

  .mnav-sub a{
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: rgba(0,0,0,.12);
    margin-top: 8px;
    font-weight: 700;
  }

  /* Indentation for nested levels */
  .mnav-sub .mnav-sub{
    margin-top: 8px;
    padding-left: 12px;
    border-left: 2px solid rgba(255,255,255,.18);
  }

  .mnav-sub .mnav-trigger{
    background: rgba(0,0,0,.12);
    border-color: rgba(255,255,255,.12);
    font-weight: 800;
  }
}

.services_grid__item_interior {
	font-size: 1rem;
	font-weight: bold;
	color: var(--blue);
	}
	
/* DataTables controls: keep layout clean */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter{
  margin: 12px 0;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.dataTables_wrapper .dataTables_length select{
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
}

.dataTables_wrapper .dataTables_filter input{
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
}

.fc-daygrid-dot-event .fc-event-title {
  font-weight: 300 !important;
}

.table-shell{
  padding: 0px !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Remove default DataTables sort icons */
table.dataTable thead th.sorting:before,
table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:before,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:before,
table.dataTable thead th.sorting_desc:after {
  display: none !important;
}

/* ===============================
   FORM SYSTEM (Unified)
================================ */

/* Wrapper */
.form-wrap{
  max-width: 800px;
  margin: 0 auto;
}

.form-group{
  margin-bottom: 22px;
}

.form-label{
  display: block;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(0,0,0,.75);
}

/* Inputs */
.form-control{
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(0,0,0,.18);
  background: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

/* Textarea */
textarea.form-control{
  min-height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

/* Select */
select.form-control{
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2324376a' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

/* Focus */
.form-control:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,55,106,.15);
  background: #fff;
}

/* Error State */
.form-control.is-invalid{
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198,40,40,.15);
}

.form-error{
  font-size: .85rem;
  margin-top: 6px;
  color: #c62828;
}

/* Help text */
.form-help{
  font-size: .85rem;
  margin-top: 6px;
  color: rgba(0,0,0,.55);
}

/* Checkbox + radio */
.form-check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.form-check input{
  margin-top: 4px;
}

.form-check-label{
  font-size: .95rem;
  color: rgba(0,0,0,.80);
}

/* Submit row */
.form-actions{
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Two column layout option */
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px){
  .form-row{
    grid-template-columns: 1fr;
  }
}

/* Large form hero style (optional) */
.form-card{
  border: 1px solid rgba(0,0,0,.10);
  padding: 40px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

@media (max-width: 768px){
  .form-card{
    padding: 24px;
  }
}

.civic-table th:first-child,
.civic-table td:first-child{
  width: 40%;
}

.hidden {
  display: none !important;
}

/* ===============================
   PROJECTS GRID (2x2)
================================ */

.projects-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Mobile */
@media (max-width: 900px){
  .projects-grid{
    grid-template-columns: 1fr;
  }
}

.project-card{
  border: 1px solid rgba(0,0,0,.10);
  background: #ffffff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.project-card:hover{
  transform: translateY(-2px);
  border-color: rgba(36,55,106,.25);
  box-shadow: 0 20px 60px rgba(0,0,0,.10);
}

.project-media img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.project-body{
  padding: 18px 18px 20px;
  display: grid;
  gap: 12px;
}

.project-dates{
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}

.project-title{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.25;
  color: rgba(0,0,0,.88);
}

.project-actions{
  margin-top: 8px;
}

@media (max-width: 1100px){
  #project_updates .update_items{
    width: calc(50% - 16px) !important;
  }
}
@media (max-width: 650px){
  #project_updates .update_items{
    width: 100% !important;
  }
}

/* ===============================
   NAV DROPDOWN FONT CONSISTENCY
================================ */

/* Prevent top-level nav labels from wrapping */
.site-nav .nav-links > li > a,
.site-nav .nav-links > li > .nav-trigger{
  white-space: nowrap;
}

/* Force dropdown links and triggers to render identically */
.nav-dd-item > a,
.nav-dd-trigger{
  font: inherit;          /* fixes anchor vs button font differences */
  line-height: 1.2;
  padding: 10px 14px;
  font-weight: 700;
}

/* Keep flyout links consistent too */
.nav-fly a{
  font: inherit;
  line-height: 1.2;
  padding: 10px 14px;
  font-weight: 700;
}