/* ===============================
   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; }

.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: 13px;
  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 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: #ffffff;
}

.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;
}

.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-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; }

.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;
  min-width: 320px;
  background: #fff;
  color: #111;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  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: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 14px;
  background: none;
  border: none;
  margin: 0;
  font: inherit;
  cursor: pointer;

  text-decoration: none;
  color: rgba(0,0,0,.86);
  font-weight: 700;
}

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

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

/* Flyout */
.nav-fly{
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 320px;
  background: #fff;
  color: #111;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  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;
}

.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);
}

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

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

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

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

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

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

/* Prevent content hiding under fixed nav */
body.interior{
  --nav-h: 180px; /* adjust once to match nav height */
  padding-top: var(--nav-h);
}

/* 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;
}

body.interior{
  padding-top: 180px;
}

/* ===============================
   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;
  grid-template-columns: 46px 1fr auto;
  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-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-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-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; }

/* ===============================
   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;
}