:root {
  --navy: #082b4c;
  --navy-2: #0d3a62;
  --blue: #155a8a;
  --gold: #e6b325;
  --red: #b42318;
  --text: #1e2933;
  --muted: #5d6b78;
  --border: #dce3e8;
  --light: #f3f6f8;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(8, 43, 76, 0.10);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  z-index: 999;
}

.skip-link:focus {
  left: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.utility-bar {
  background: #041b30;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.utility-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.utility-links a:hover,
.utility-links a:focus {
  text-decoration: underline;
}

.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.brand-row {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.crest-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
  background:
    radial-gradient(circle at 50% 42%, #fff 0 20%, transparent 21%),
    linear-gradient(180deg, var(--gold) 0 50%, #4ba3d3 50% 100%);
  border: 4px solid var(--navy);
  box-shadow: inset 0 0 0 2px #fff;
}

.crest-placeholder.small {
  width: 52px;
  height: 52px;
  font-size: .82rem;
}

.brand-title {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .01em;
}

.brand-tagline {
  color: var(--muted);
  font-size: .92rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.main-nav {
  background: var(--navy);
  color: var(--white);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}

.main-nav a {
  display: block;
  padding: 15px 15px;
  font-weight: 600;
  font-size: .96rem;
  white-space: nowrap;
  border-bottom: 4px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  background: rgba(255, 255, 255, .06);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(5, 31, 53, .94) 0%, rgba(8, 43, 76, .78) 42%, rgba(8, 43, 76, .28) 100%),
    radial-gradient(circle at 78% 36%, rgba(230, 179, 37, .35), transparent 18%),
    linear-gradient(180deg, #4e90b8 0%, #85c3d6 54%, #e7d6a2 55%, #6c8f63 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 135px;
  background:
    radial-gradient(ellipse at 10% 100%, rgba(20, 86, 64, .85) 0 34%, transparent 35%),
    radial-gradient(ellipse at 35% 110%, rgba(20, 86, 64, .65) 0 28%, transparent 29%),
    radial-gradient(ellipse at 62% 105%, rgba(20, 86, 64, .6) 0 27%, transparent 28%),
    radial-gradient(ellipse at 88% 110%, rgba(20, 86, 64, .7) 0 33%, transparent 34%);
  opacity: .6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-block: 90px 110px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .78rem;
}

.eyebrow.blue {
  color: var(--blue);
}

.eyebrow.light {
  /*color: #fff5ce; */
  color: blue; 
}

.hero h1 {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 1.06;
  margin: 0;
  max-width: 780px;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, .92);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.btn-primary {
  background: var(--gold);
  color: #17202a;
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.btn-light {
  background: var(--white);
  color: var(--red);
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding-top: 72px;
}

.alt-bg {
  background: var(--light);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.section-heading h2,
.content-panel h2,
.station-section h2,
.cta-panel h2 {
  font-family: "Merriweather", Georgia, serif;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.section-heading p {
  color: var(--muted);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 230px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-4px);
  border-color: rgba(21, 90, 138, .45);
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 18px;
}

.service-card h3 {
  color: var(--navy);
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.emergency-banner {
  background: var(--red);
  color: var(--white);
}

.emergency-inner {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 28px;
}

.emergency-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.emergency-inner p {
  margin: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 58px;
  align-items: center;
}

.photo-card {
  background: var(--light);
  border-radius: 22px;
  overflow: hidden;
  min-height: 430px;
}

.photo-placeholder {
  min-height: 430px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(9, 55, 85, .22), rgba(6, 36, 58, .65)),
    radial-gradient(circle at 50% 28%, #d7b08f 0 10%, transparent 11%),
    linear-gradient(110deg, #7fa4b7 0 34%, #31526a 35% 62%, #6d8f9e 63% 100%);
}

.content-panel p {
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.value-card h3 {
  color: var(--navy);
  margin: 5px 0 10px;
}

.value-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.news-image {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}

.image-one {
  background:
    linear-gradient(180deg, rgba(7, 47, 75, .08), rgba(7, 47, 75, .45)),
    linear-gradient(135deg, #8ac7d5 0 46%, #edd89a 47% 62%, #607d5a 63%);
}

.image-two {
  background:
    linear-gradient(180deg, rgba(7, 47, 75, .08), rgba(7, 47, 75, .45)),
    linear-gradient(135deg, #b3d9e7 0 40%, #466d8a 41% 66%, #d8c286 67%);
}

.image-three {
  background:
    linear-gradient(180deg, rgba(7, 47, 75, .08), rgba(7, 47, 75, .45)),
    linear-gradient(135deg, #8eb9cf 0 42%, #e8d59e 43% 60%, #375d4e 61%);
}

.news-body {
  padding: 23px;
}

.news-type {
  display: inline-block;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.news-card h3 {
  color: var(--navy);
  margin: 8px 0;
}

.news-card p {
  color: var(--muted);
}

.safety-section {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 43, 76, .97), rgba(13, 58, 98, .95)),
    var(--navy);
}

.safety-section .section-heading h2 {
  color: var(--white);
}

.safety-section .section-heading p {
  color: rgba(255, 255, 255, .82);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.safety-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  text-align: center;
  padding: 20px;
}

.safety-card span {
  font-size: 2rem;
}

.safety-card:hover,
.safety-card:focus {
  background: rgba(255, 255, 255, .13);
}

.station-section {
  align-items: stretch;
}

.station-section>div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.station-section p {
  color: var(--muted);
}

.station-map {
  min-height: 340px;
  position: relative;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 800;
  background:
    radial-gradient(ellipse at 32% 35%, #7ca66b 0 6%, transparent 7%),
    radial-gradient(ellipse at 57% 53%, #7ca66b 0 7%, transparent 8%),
    radial-gradient(ellipse at 75% 35%, #7ca66b 0 4%, transparent 5%),
    radial-gradient(ellipse at 68% 72%, #7ca66b 0 4%, transparent 5%),
    #bce5ef;
  border: 1px solid #9bd1df;
  overflow: hidden;
}

.map-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--red);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}

.dot-one {
  left: 30%;
  top: 30%;
}

.dot-two {
  left: 56%;
  top: 49%;
}

.dot-three {
  right: 23%;
  bottom: 24%;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
}

.cta-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer {
  background: #041b30;
  color: rgba(255, 255, 255, .84);
  padding-top: 62px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.footer-grid h3,
.footer-grid strong {
  color: var(--white);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-grid a:hover,
.footer-grid a:focus {
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  margin: 2px 0 0;
  font-size: .9rem;
}

.footer-copy {
  max-width: 340px;
}

.footer-bottom {
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .88rem;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.high-contrast {
  --navy: #00152a;
  --navy-2: #00152a;
  --blue: #005fcc;
  --gold: #ffd400;
  --red: #a50000;
  --text: #000;
  --muted: #222;
  --border: #555;
  --light: #efefef;
}

.high-contrast .service-card,
.high-contrast .value-card,
.high-contrast .news-card,
.high-contrast .cta-panel {
  border-width: 2px;
}

@media (max-width: 980px) {

  .service-grid,
  .news-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .commissioner-photo {
    max-width: 720px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .utility-inner>span {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .utility-links {
    gap: 12px;
  }

  .brand-row {
    min-height: 78px;
  }

  .crest-placeholder {
    width: 54px;
    height: 54px;
  }

  .brand-tagline {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    display: block;
    padding: 8px 0 12px;
  }

  .main-nav a {
    border-bottom: 0;
    border-left: 4px solid transparent;
    padding: 12px 16px;
  }

  .main-nav a.active,
  .main-nav a:hover,
  .main-nav a:focus {
    border-left-color: var(--gold);
  }

  .hero {
    min-height: 510px;
    align-items: end;
  }

  .hero-content {
    padding-block: 88px 78px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .news-grid,
  .values-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .emergency-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading-row,
  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel {
    padding: 28px;
  }

  .photo-card,
  .photo-placeholder {
    min-height: 320px;
  }

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

  .footer-bottom div {
    flex-wrap: wrap;
  }
}

.back-to-top, .back-to-top22 {

  margin-top: 30px;
  display: block;
  /*text-align: right;*/
  text-align: center;

}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .utility-links a:first-child {
    display: none;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .hero {
    min-height: 480px;
  }

  .section-heading h2,
  .content-panel h2,
  .station-section h2,
  .cta-panel h2 {
    font-size: 1.9rem;
  }
}

.crest-logo {
  /*height: 40px;*/
  height: 70px;        /* adjust to match your header height */
  width: auto;         /* keeps the aspect ratio */
  display: block;
}

.police-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.crest-logo.small {
  width: 52px;
  /*height: 52px;*/
  height: auto;
  font-size: .82rem;
}