:root {
  --ink: #16222d;
  --muted: #627180;
  --line: #d9e1e8;
  --sea: #0f3d5e;
  --signal: #c8272d;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --nav-width: 292px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
}
[v-cloak] { display: none; }
a { color: #075f92; text-decoration-thickness: .08em; text-underline-offset: .2em; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand img { width: 54px; height: auto; }
.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-button span {
  width: 21px;
  height: 2px;
  background: var(--ink);
}

.side-nav {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: min(var(--nav-width), 88vw);
  padding: 18px;
  overflow-y: auto;
  background: #102d43;
  color: #fff;
  transform: translateX(-104%);
  transition: transform .24s ease;
  box-shadow: none;
}
.side-nav.open { transform: translateX(0); }
.side-nav-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.side-nav-head button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.26);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-scrim {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(6,18,28,.44);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.nav-scrim.active { opacity: 1; pointer-events: auto; }
.nav-tree, .nav-tree ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-tree a {
  display: block;
  padding: 10px 12px;
  color: rgba(255,255,255,.88);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.nav-tree a:hover, .nav-tree a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-left-color: var(--signal);
}
.nav-tree ul a { padding-left: 28px; font-size: .95rem; }
.nav-tree ul ul a { padding-left: 44px; font-size: .9rem; }

.page-shell { min-height: calc(100vh - 78px); }
.hero {
  position: relative;
  width: 100%;
  height: clamp(170px, 23vw, 310px);
  overflow: hidden;
  background: var(--soft);
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.hero-water-canvas {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 31%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
}
.harbor-light {
  position: absolute;
  z-index: 4;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd784;
  box-shadow: 0 0 7px 2px rgba(255, 178, 76, .42);
  pointer-events: none;
  opacity: .72;
  animation: harborTwinkle 3.4s ease-in-out infinite;
}
.light-one { left: 33%; top: 54%; animation-delay: -.4s; }
.light-two { left: 42%; top: 56%; animation-delay: -1.2s; }
.light-three { left: 58%; top: 50%; animation-delay: -2s; }
.light-four { left: 72%; top: 52%; animation-delay: -.8s; }
.light-five { left: 84%; top: 49%; animation-delay: -1.7s; }
.light-six { left: 94%; top: 57%; animation-delay: -2.5s; }
@keyframes harborTwinkle {
  0%, 100% {
    opacity: .48;
    transform: scale(.9);
    box-shadow: 0 0 5px 1px rgba(255, 178, 76, .3);
  }
  50% {
    opacity: .92;
    transform: scale(1.08);
    box-shadow: 0 0 9px 3px rgba(255, 196, 92, .55);
  }
}
.content-layout {
  width: min(1360px, calc(100% - 48px));
  margin: 44px auto 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(28px, 5vw, 76px);
}
.content {
  max-width: 880px;
}
h1 {
  margin: 0 0 28px;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  line-height: 1.16;
  font-weight: 650;
  color: var(--sea);
}
.content-block {
  margin: 0 0 56px;
}
.content-block h2,
.richtext h2 {
  margin: 0 0 20px;
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  line-height: 1.24;
  color: var(--sea);
}
.richtext h3 {
  margin-top: 24px;
  font-size: 1.02rem;
  color: var(--sea);
}
.richtext p { margin: 0 0 18px; }
.richtext figure { margin: 28px 0; }
.richtext figure.float-left { float: left; width: min(46%, 360px); margin: 4px 28px 18px 0; }
.richtext figure.float-right { float: right; width: min(46%, 360px); margin: 4px 0 18px 28px; }
.richtext img { border: 1px solid var(--line); }
.richtext figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.richtext .content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
}
.richtext .content-table td {
  border: 1px solid var(--line);
  padding: 10px;
}
.richtext .video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 26px 0;
  background: #111;
}
.richtext .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.richtext::after { content: ""; display: block; clear: both; }

.banners {
  align-self: start;
  display: grid;
  gap: 18px;
}
.banners h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}
.banner {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  padding: 14px;
}
.banner img { max-height: 100px; object-fit: contain; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
  color: #fff;
  background: #102d43;
  font-size: .92rem;
}
.site-footer a { color: #dff2ff; }

@media (min-width: 1120px) {
  .site-header { padding-left: 32px; }
  .site-header .brand {
    width: auto;
    min-width: 380px;
  }
  .menu-button, .nav-scrim, .side-nav-head button { display: none; }
  .side-nav-head { display: none; }
  .side-nav {
    top: 78px;
    z-index: 30;
    transform: none;
    box-shadow: none;
  }
  .page-shell { margin-left: var(--nav-width); }
  .site-footer { margin-left: var(--nav-width); }
}

@media (max-width: 820px) {
  .brand span { font-size: .82rem; }
  .hero { height: clamp(165px, 36vw, 220px); }
  .hero img { object-position: center 76%; }
  .hero-water-canvas { height: 44%; }
  .harbor-light {
    width: 4px;
    height: 4px;
  }
  .content-layout {
    width: calc(100% - 56px);
    grid-template-columns: 1fr;
    margin-top: 34px;
  }
  h1 { font-size: clamp(1.35rem, 5vw, 1.7rem); }
  .content-block { margin-bottom: 64px; }
  .banners { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .banners {
    align-items: stretch;
    justify-items: stretch;
  }
  .banners h2 {
    grid-column: 1 / -1;
  }
  .banner {
    width: 100%;
    min-height: 78px;
  }
  .richtext figure.float-left,
  .richtext figure.float-right {
    float: none;
    width: 100%;
    margin: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-water-canvas,
  .harbor-light {
    animation: none;
    display: none;
  }
}
