:root {
  --deep: #06162f;
  --aqua: #69e1df;
  --line: #d6e1e9;
}
.utility {
  background: var(--deep);
  color: #fff;
  text-align: center;
  padding: 8px;
  font:
    16px/1.55 Arial,
    sans-serif;
}
.utility a {
  color: var(--aqua);
  font-weight: 800;
  text-decoration: none;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fffffff5;
  border-bottom: 1px solid var(--line);
  font:
    16px/1.55 Arial,
    sans-serif;
}
.wrap.nav {
  box-sizing: border-box;
  width: min(1220px, calc(100% - 42px));
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand-lockup {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.logo {
  width: 150px;
  height: auto;
  display: block;
}
.links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
}
.links a {
  color: #10213c;
  text-decoration: none;
  white-space: nowrap;
}
.links a:hover,
.links a:focus-visible,
.links a[aria-current="page"] {
  color: #164b91;
}
.links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
header .btn {
  display: inline-flex;
  padding: 13px 20px;
  background: #f0b323;
  color: #06162f;
  font-weight: 800;
  border: 2px solid #f0b323;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}
header .btn:hover,
header .btn:focus-visible {
  background: #ffd067 !important;
  border-color: #ffd067 !important;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 2px solid #06162f;
  border-radius: 4px;
  background: #06162f;
  color: #fff;
  font: 800 0.95rem/1 Arial, sans-serif;
  cursor: pointer;
}
.menu-toggle:focus-visible {
  outline: 3px solid #f0b323;
  outline-offset: 3px;
}
.menu-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}
.menu-icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 150ms ease, opacity 150ms ease;
}
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}
.mw-backbar {
  background: #eef3f7;
  border-bottom: 1px solid #d6e0e7;
  font:
    16px/1.45 Arial,
    sans-serif;
}
.mw-backbar .wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}
.mw-backbar a {
  color: #10243d;
  font-weight: 800;
  text-decoration: none;
}
.mw-backbar a:hover,
.mw-backbar a:focus-visible {
  text-decoration: underline;
}
.section .eyebrow,
.section .meta {
  color: #0b376d;
}
.hero-small .eyebrow,
.marine-hero .eyebrow,
.about-hero .eyebrow,
.service .eyebrow {
  color: #8ff4ef;
}
.section p,
.card p,
.pad p {
  color: #1b3047;
}
.section h1,
.section h2,
.section h3,
.section h4,
.card h2,
.card h3,
.pad h2,
.pad h3 {
  color: #092755;
}
.hero-small p,
.marine-hero p,
.about-hero p,
.service p,
.service li,
.mw-footer p {
  color: inherit;
}
@media (max-width: 850px) {
  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
  header .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #06162f24;
  }
  header .links.is-open {
    display: flex;
  }
  header .links a {
    display: block;
    padding: 13px 8px;
    border-bottom: 1px solid #e1e8ed;
    font-size: 1rem;
  }
  header .links a:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 560px) {
  .wrap.nav {
    height: 88px;
    gap: 8px;
  }
  .logo {
    width: clamp(82px, 27vw, 105px);
  }
  .wrap.nav > .btn {
    padding: 10px 11px;
    font-size: 0.84rem;
  }
  .menu-toggle {
    padding: 9px 10px;
    font-size: 0.9rem;
  }
}
.mw-footer {
  background: #06162f;
  color: #f4f8fc;
  padding: 44px 0 18px;
  font:
    16px/1.55 Arial,
    sans-serif;
}
.mw-footer .wrap {
  box-sizing: border-box;
  width: min(1220px, calc(100% - 42px));
  margin: auto;
}
.mw-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.mw-footer strong {
  display: block;
  color: #f0b323;
  font-size: 1.05rem;
  margin-bottom: 9px;
}
.mw-footer p {
  margin: 0.25rem 0 1rem;
}
.mw-footer a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 5px 0;
}
.mw-footer a:hover,
.mw-footer a:focus-visible {
  color: #69e1df;
  text-decoration: underline;
}
.mw-footer-bottom {
  border-top: 1px solid #ffffff2b;
  margin-top: 28px !important;
  padding-top: 16px;
  color: #c9d4df;
  font-size: 0.9rem;
}
@media (max-width: 700px) {
  .mw-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/*
 * Site-wide photo rule: preserve the complete source frame so boats, people,
 * fish and equipment are never clipped by a decorative card ratio.
 */
:is(.family-photo, .photo, .thumbs, .article-gallery) img,
.card > img,
.card > a > img,
.podcast-slide img,
.article-card > img,
.article-card > a > img,
.project-card img,
.history-card img,
.archive-card > img,
.service-photo img,
.row img {
  object-fit: contain !important;
  object-position: center center !important;
  background: var(--mist, #edf4f8);
}

/* Let standalone editorial images establish their own uncropped height. */
.podcast-slide img,
.article-card > img,
.article-card > a > img,
.project-card img,
.history-card img,
.archive-card > img {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
}

/* Background-photo heroes use the same complete-frame treatment. */
.hero-slide {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

.about-hero {
  background-size: auto, contain !important;
  background-repeat: no-repeat !important;
  background-position: center center, center center !important;
  background-color: #06162f !important;
}
