:root {
  --regal-navy: #1a3a6b;
  --deep-navy: #082f5f;
  --marine: #2e6db4;
  --blue-grey: #5b9bd5;
  --alice: #f0f6ff;
  --white: #ffffff;
  --ink: #0b2551;
  --muted: #526783;
  --line: #dbe7f5;
  --success: #1aa333;
  --shadow: 0 18px 45px rgba(26, 58, 107, 0.16);
  --soft-shadow: 0 10px 28px rgba(26, 58, 107, 0.11);
  --radius: 8px;
  --container: min(100% - 48px, 1160px);
  --page-edge-gap: clamp(56px, 7vw, 84px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, var(--white) 0%, var(--alice) 48%, var(--white) 100%);
}

body:not([data-page="home"]) main {
  padding-top: 68px;
  padding-bottom: var(--page-edge-gap);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  height: 68px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: linear-gradient(90deg, rgba(4, 28, 61, 0.96), rgba(3, 31, 67, 0.88));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(4, 23, 51, 0.2);
}

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--white);
}

.nav-button::before {
  content: "";
}

.nav-button::after {
  content: "";
}

.nav-group {
  position: relative;
}

.nav-group .nav-button {
  padding-right: 24px;
}

.nav-group .nav-button::before {
  position: absolute;
  right: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: 150ms ease;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dropdown-wide {
  min-width: 250px;
}

.mega-dropdown {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  min-width: 520px;
}

.governance-dropdown {
  min-width: 300px;
}

.dropdown-heading {
  display: block;
  padding: 8px 12px 6px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mega-dropdown > div {
  display: grid;
  align-content: start;
  gap: 2px;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dropdown a:hover {
  color: var(--marine);
  background: var(--alice);
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.book-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.book-link {
  padding: 0 16px;
  background: #0868df;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(8, 104, 223, 0.32);
}

.book-link svg,
.btn svg {
  width: 18px;
  height: 18px;
}

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

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 552px;
  padding: 132px max(24px, calc((100vw - 1160px) / 2)) 112px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 22, 52, 0.94) 0%, rgba(4, 35, 75, 0.74) 31%, rgba(4, 35, 75, 0.15) 66%, rgba(2, 22, 52, 0.12) 100%),
    linear-gradient(180deg, rgba(2, 22, 52, 0.3), rgba(2, 22, 52, 0.44)),
    url("../reference-hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  max-width: 520px;
}

.hero-label,
.section-kicker {
  margin: 0 0 18px;
  color: #0060d5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-label {
  color: rgba(255, 255, 255, 0.74);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.07;
  letter-spacing: 0;
}

.hero p:not(.hero-label) {
  margin: 24px 0 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.7;
}

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

.btn {
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: #0868df;
  color: var(--white);
  box-shadow: 0 12px 26px rgba(8, 104, 223, 0.32);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
}

.btn.compact {
  min-height: 38px;
  padding-inline: 18px;
  font-size: 13px;
}

.stats-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--container);
  margin: -60px auto 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.stats-panel article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.stats-panel article:last-child {
  border-right: 0;
}

.icon-wrap {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #0868df;
  background: #eaf3ff;
  border-radius: 50%;
}

.icon-wrap svg {
  width: 34px;
  height: 34px;
}

.stats-panel strong {
  display: block;
  font-size: 31px;
  line-height: 1;
}

.stats-panel span span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.stats-panel span span small {
  display: block;
  margin-top: 2px;
  color: #6681a3;
  font-size: 11px;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 78px 0 0;
  scroll-margin-top: 104px;
}

body:not([data-page="home"]) main > .section:first-child {
  padding-top: var(--page-edge-gap);
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
}

.section p {
  color: var(--muted);
  line-height: 1.78;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 74px;
  align-items: center;
}

.section-copy p:not(.section-kicker) {
  max-width: 510px;
  margin: 20px 0 28px;
}

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

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.feature-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.feature-card small {
  color: var(--muted);
  line-height: 1.55;
}

.feature-card em {
  color: #0868df;
  font-style: normal;
  font-weight: 900;
}

.split-band {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: center;
}

.split-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-story {
  display: block;
}

.profile-story-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}

.profile-story-header h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.profile-story-deck {
  max-width: 460px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.profile-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: stretch;
}

.profile-figure {
  margin: 0;
}

.profile-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-origin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0;
  border-block: 1px solid var(--line);
}

.profile-era,
.profile-year {
  color: var(--marine);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-origin h3,
.profile-milestone h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}

.profile-origin h3 {
  margin: 10px 0 18px;
  font-size: 32px;
  line-height: 1.15;
}

.profile-origin p,
.profile-milestone p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.profile-origin p + p {
  margin-top: 16px;
}

.profile-milestones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 54px;
  border-bottom: 1px solid var(--line);
}

.profile-milestone {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  padding: 30px 40px 34px 0;
  border-top: 1px solid var(--line);
}

.profile-milestone:nth-child(even) {
  padding-right: 0;
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.profile-milestone h3 {
  margin: -3px 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

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

.three-columns article,
.leader-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.cta-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: var(--container);
  min-height: 248px;
  margin: 84px auto 72px;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 22, 52, 0.94), rgba(5, 50, 96, 0.84) 48%, rgba(5, 50, 96, 0.5)),
    url("../harbor.jpg") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(8, 47, 95, 0.22);
}

.cta-section::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  content: "";
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section .section-kicker {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-section h2 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12;
}

.cta-section p:not(.section-kicker) {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.cta-section .btn {
  min-width: 156px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
  background: #eef6ff;
}

.mission-values {
  padding-top: 54px;
  overflow: hidden;
}

.mv-hero {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.mv-hero .section-kicker {
  justify-content: center;
}

.mv-hero h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.1;
}

.mv-hero > p:not(.section-kicker) {
  max-width: 690px;
  margin: 0 auto;
  color: #3f5f86;
  font-size: 17px;
  line-height: 1.62;
}

.mv-anchor {
  position: relative;
  display: inline-grid;
  width: 132px;
  height: 28px;
  margin-top: 6px;
  place-items: center;
  color: var(--marine);
}

.mv-anchor::before,
.mv-anchor::after {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 1px;
  background: var(--line);
  content: "";
}

.mv-anchor::before {
  left: 0;
}

.mv-anchor::after {
  right: 0;
}

.mv-anchor svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.mv-grid {
  display: grid;
  gap: 28px;
}

.mv-title-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.mv-title-line h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mv-title-line span {
  height: 1px;
  background: var(--line);
}

.mission-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.mission-points > div,
.value-list > div {
  padding-inline: clamp(16px, 2vw, 26px);
  border-left: 1px solid rgba(8, 104, 223, 0.14);
}

.mission-points > div:first-child,
.value-list > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.mission-points > div:last-child,
.value-list > div:last-child {
  padding-right: 0;
}

.mv-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--ink);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.88)),
    #edf5ff;
  border: 1px solid rgba(8, 104, 223, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(26, 58, 107, 0.09);
}

.mv-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.mission-points h3,
.value-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.22;
}

.mission-points p,
.value-list p,
.principle-copy p {
  margin: 10px 0 0;
  color: #3f5f86;
  line-height: 1.58;
}

.vision-band {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.vision-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  color: var(--white);
  background: linear-gradient(135deg, #082f5f, #102b5d);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vision-label .mv-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.vision-band > p,
.vision-band > .vision-copy {
  align-self: center;
  margin: 0;
  padding: 26px clamp(28px, 4vw, 44px);
  color: #173869;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.vision-copy p {
  margin: 0;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(240, 246, 255, 0.42), rgba(255, 255, 255, 0.8)),
    var(--white);
  border: 1px solid rgba(8, 104, 223, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(26, 58, 107, 0.08);
}

.structure-section {
  padding-top: 58px;
}

.org-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.org-chart article {
  position: relative;
  min-height: 148px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.org-chart article::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
}

.org-chart strong,
.org-chart span,
.structure-grid strong,
.structure-grid span {
  display: block;
}

.org-chart span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

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

.structure-grid article {
  padding: 30px;
  background: linear-gradient(145deg, var(--white), #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.filter-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.filter-tabs button {
  min-width: 74px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.filter-tabs button.active {
  color: var(--white);
  background: var(--marine);
}

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

.vessel-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, opacity 180ms ease;
}

.vessel-card.is-hidden {
  display: none;
}

.vessel-card:hover {
  transform: translateY(-4px);
}

.image-frame {
  position: relative;
  height: 184px;
  overflow: hidden;
  background: var(--alice);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-card-slides {
  position: absolute;
  inset: 0;
}

.gallery-card-slides img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-card-slides img.active {
  opacity: 1;
}

.image-frame span {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--success);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  z-index: 4;
}

.vessel-carousel {
  cursor: zoom-in;
}

.vessel-carousel:hover img {
  transform: scale(1.03);
}

.gallery-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-card-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 35, 77, 0.72);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
  cursor: pointer;
}

.gallery-card-control.previous {
  left: 12px;
}

.gallery-card-control.next {
  right: 12px;
}

.gallery-card-control svg,
.gallery-close svg,
.gallery-modal-control svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vessel-carousel:hover .gallery-card-control,
.gallery-card-control:focus-visible {
  opacity: 1;
}

.gallery-card-control:hover {
  background: rgba(0, 102, 213, 0.92);
}

.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 22, 52, 0.74);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.gallery-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 14, 33, 0.82);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  color: var(--white);
}

.gallery-dialog figure {
  display: grid;
  gap: 14px;
  margin: 0;
}

.gallery-dialog img {
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.gallery-dialog figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
}

.gallery-dialog figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.gallery-close,
.gallery-modal-control {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(5, 35, 77, 0.76);
  cursor: pointer;
}

.gallery-close {
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.gallery-modal-control {
  top: 50%;
  width: 48px;
  height: 64px;
  border-radius: 8px;
  transform: translateY(-50%);
}

.gallery-modal-control.previous {
  left: -72px;
}

.gallery-modal-control.next {
  right: -72px;
}

.gallery-close:hover,
.gallery-modal-control:hover {
  background: var(--accent);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .advisory-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.document-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 28px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.document-preview-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.document-preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 14, 33, 0.8);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}

.document-preview-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1080px, 100%);
  height: min(84vh, 820px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.document-preview-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 14px 12px 20px;
  color: var(--white);
  background: var(--deep-navy);
}

.document-preview-dialog strong {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-preview-close {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.document-preview-close:hover {
  background: var(--accent);
}

.document-preview-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.document-preview-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--alice);
}

.vessel-card > div:last-child {
  padding: 17px;
}

.vessel-card h3 {
  color: var(--ink);
  font-size: 18px;
}

.vessel-card p {
  margin: 7px 0 18px;
  color: var(--muted);
  line-height: 1.4;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.card-foot small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.card-foot i {
  width: 12px;
  height: 12px;
  background: var(--success);
  border-radius: 50%;
}

.card-foot a,
.text-link,
.featured-news a,
.contact-strip a {
  color: #005fd6;
  font-weight: 800;
}

.routes-section {
  padding-top: 68px;
}

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

.schedule-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.schedule-card h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 19px;
}

.schedule-card table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-card th,
.schedule-card td {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
}

.schedule-card th {
  width: 92px;
  color: var(--ink);
  font-weight: 900;
}

.route-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.route-board article {
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.route-board article:last-child {
  border-right: 0;
}

.route-board strong,
.route-board span {
  display: block;
}

.route-board span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
}

.featured-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.featured-news img {
  width: 100%;
  height: 100%;
  min-height: 292px;
  object-fit: cover;
}

.featured-news div {
  padding: 28px;
}

.featured-news span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  color: var(--white);
  background: var(--marine);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-news h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 27px;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list a {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 15px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.news-list img {
  width: 118px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}

.news-list small,
.news-list strong {
  display: block;
}

.news-list small {
  color: var(--muted);
  font-size: 12px;
}

.news-list strong {
  margin-top: 5px;
  line-height: 1.32;
}

.news-article {
  display: grid;
  gap: 30px;
}

.back-link {
  width: fit-content;
}

.news-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.news-article-hero h1 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-deck {
  max-width: 650px;
  margin: 20px 0 0;
  color: #3f5f86;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.article-meta span {
  padding: 8px 11px;
  color: var(--marine);
  background: rgba(8, 104, 223, 0.08);
  border: 1px solid rgba(8, 104, 223, 0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.news-article-hero figure {
  margin: 0;
}

.news-article-hero img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.news-article-hero figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.article-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  max-width: 1060px;
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-body p,
.article-body li {
  color: #304f78;
  font-size: 17px;
  line-height: 1.82;
}

.article-body p,
.article-body ul,
.article-body blockquote {
  margin: 0;
}

.article-body h2 {
  margin-top: 16px;
  font-size: clamp(26px, 3vw, 34px);
}

.article-body ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.article-body blockquote {
  padding: 22px 24px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(8, 104, 223, 0.1), rgba(255, 255, 255, 0.7));
  border-left: 4px solid var(--marine);
  border-radius: 8px;
}

.article-body blockquote p {
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.45;
}

.article-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.article-sidebar div {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(8, 104, 223, 0.12);
}

.article-sidebar strong {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-sidebar span,
.article-sidebar a:not(.btn) {
  color: #3f5f86;
  line-height: 1.5;
}

.related-news {
  padding-top: 68px;
}

.related-news-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-news-list a {
  align-items: start;
  grid-template-columns: 112px 1fr;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(26, 58, 107, 0.08);
}

.governance {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
}

.accordion {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.accordion-toggle {
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.accordion-toggle.active {
  color: var(--marine);
  background: var(--alice);
}

.accordion-panel {
  display: none;
  padding: 0 22px 20px;
  border-bottom: 1px solid var(--line);
}

.accordion-panel.open {
  display: block;
}

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

.leader-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.governance-team {
  padding-top: 76px;
}

.leaders-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.leaders-header h2 {
  margin-top: 8px;
}

.leaders-accordion {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--line);
}

.leader-accordion-item {
  border-bottom: 1px solid var(--line);
}

.leader-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 82px;
  padding: 0 10px;
  border: 0;
  color: #32218d;
  background: transparent;
  font: inherit;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, padding-left 160ms ease, background 160ms ease;
  scroll-margin-top: 104px;
}

.leader-accordion-toggle svg,
.leader-committee-list svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: #61646d;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: color 160ms ease, transform 160ms ease;
}

.leader-accordion-toggle:hover,
.leader-accordion-toggle.active {
  color: var(--marine);
  padding-left: 18px;
  background: rgba(8, 104, 223, 0.04);
}

.leader-accordion-toggle:hover svg,
.leader-accordion-toggle.active svg,
.leader-committee-list a:hover svg {
  color: var(--marine);
}

.leader-accordion-toggle.active svg {
  transform: rotate(180deg);
}

.leader-panel {
  display: none;
  padding: 0 10px 62px;
  scroll-margin-top: 104px;
}

.leader-panel.active {
  display: block;
}

.leader-panel-heading {
  max-width: 760px;
  margin: 34px auto 44px;
  text-align: center;
}

.leader-panel-heading h3 {
  margin: 8px 0 4px;
  color: #32218d;
  font-family: "Arial", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.18;
}

.leader-panel-heading span {
  display: block;
  color: #32218d;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.2;
}

.leader-portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  column-gap: clamp(32px, 8vw, 128px);
  row-gap: clamp(46px, 7vw, 74px);
  max-width: 970px;
  margin: 0 auto;
}

.management-grid {
  max-width: 1040px;
}

.leader-profile {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  color: #32218d;
  text-align: center;
}

a.leader-profile:hover strong {
  color: var(--marine);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.leader-photo {
  display: grid;
  place-items: center;
  width: clamp(120px, 15vw, 158px);
  height: clamp(120px, 15vw, 158px);
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--marine);
  background: #edf5ff;
  border: 1px solid rgba(8, 104, 223, 0.16);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(10, 45, 92, 0.08);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-photo.is-placeholder {
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px rgba(8, 104, 223, 0.18), 0 12px 24px rgba(10, 45, 92, 0.08);
}

.leader-profile strong {
  max-width: 230px;
  color: #32218d;
  font-family: "Arial", sans-serif;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500;
  line-height: 1.22;
  transition: color 160ms ease;
}

.leader-profile small {
  color: #646875;
  font-size: 14px;
  line-height: 1.5;
}

.leader-committee-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.committees-panel {
  padding-bottom: 50px;
}

.committee-overview-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 4vw, 54px);
  max-width: 1120px;
  margin: 30px auto 20px;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(8, 104, 223, 0.1), rgba(255, 255, 255, 0) 52%),
    var(--white);
  border: 1px solid rgba(8, 104, 223, 0.16);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.committee-overview-panel h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: "Arial", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.08;
}

.committee-overview-panel > p {
  margin: 0;
  color: #3f5f86;
  line-height: 1.72;
}

.committee-meta-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(8, 104, 223, 0.14);
}

.committee-meta-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  color: #315681;
  background: rgba(237, 245, 255, 0.82);
  border: 1px solid rgba(8, 104, 223, 0.1);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.3;
}

.committee-meta-row strong {
  color: var(--marine);
  font-weight: 900;
}

.committee-summary-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(8, 104, 223, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(10, 45, 92, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.committee-summary-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--marine), rgba(8, 104, 223, 0.18));
  border-radius: 8px 8px 0 0;
  content: "";
}

.committee-summary-card:hover {
  border-color: rgba(8, 104, 223, 0.34);
  box-shadow: 0 18px 40px rgba(10, 45, 92, 0.11);
  transform: translateY(-2px);
}

.committee-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.committee-count {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--marine);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.committee-summary-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 900;
  line-height: 1.18;
}

.committee-summary-card p {
  margin: 12px 0 18px;
  color: #3f5f86;
  line-height: 1.58;
}

.committee-summary-card dl {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(8, 104, 223, 0.12);
}

.committee-summary-card dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
}

.committee-summary-card dt {
  color: #526883;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.committee-summary-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.committee-summary-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--marine);
  background: rgba(8, 104, 223, 0.08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.committee-summary-card a:hover {
  color: var(--white);
  background: var(--marine);
}

.committee-summary-card a svg {
  width: 18px;
  height: 18px;
}

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

.person-card,
.committee-members article {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 202px;
  padding: 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.person-card span,
.committee-members span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: #0868df;
  background: #eaf3ff;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 900;
}

.person-card strong,
.committee-members strong {
  display: block;
  line-height: 1.25;
}

.person-card small,
.committee-members small {
  color: var(--muted);
  line-height: 1.45;
}

.committee-intro {
  padding: 24px;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

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

.committee-list a {
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  font-weight: 900;
}

.committee-section {
  padding-top: 54px;
}

.committee-section > p:not(.section-kicker) {
  max-width: 900px;
  color: var(--muted);
  line-height: 1.78;
}

.committee-section .charter-note {
  margin-top: 16px;
  padding: 16px 18px;
  color: #315681;
  background: #eef6ff;
  border-left: 4px solid var(--marine);
  border-radius: 6px;
}

.committee-heading {
  max-width: 780px;
  margin: 46px auto 26px;
  text-align: center;
}

.committee-heading h3 {
  color: #32218d;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
}

.committee-heading span {
  display: block;
  margin-top: 4px;
  color: #32218d;
  font-size: clamp(22px, 2.7vw, 30px);
  line-height: 1.2;
}

.committee-members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.portrait-members {
  max-width: 900px;
  margin-inline: auto;
}

.portrait-members article {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.portrait-members span {
  width: 124px;
  height: 124px;
  font-size: 26px;
  box-shadow: 0 0 0 1px rgba(8, 104, 223, 0.18), 0 12px 24px rgba(10, 45, 92, 0.08);
}

.portrait-members strong {
  max-width: 230px;
  color: #32218d;
  font-size: 20px;
  font-weight: 500;
}

.documents-section {
  padding-top: 60px;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.document-grid article {
  display: grid;
  gap: 16px;
  min-height: 142px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.document-grid a {
  align-self: end;
  color: #005fd6;
  font-weight: 900;
}

.document-grid small,
.dynamic-empty {
  color: var(--muted);
  line-height: 1.55;
}

.structure-grid .document-grid,
.structure-section .document-grid,
.accordion-panel .document-grid {
  grid-template-columns: 1fr;
}

.structure-grid .document-grid article,
.structure-section .document-grid article,
.accordion-panel .document-grid article {
  min-height: 0;
}

.dynamic-empty {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advisory-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.advisory-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.advisory-list h3,
.advisory-list p {
  margin: 0;
}

.advisory-list small {
  display: block;
  margin-bottom: 7px;
  color: var(--marine);
  font-weight: 800;
}

.advisory-list .text-link {
  display: inline-block;
  margin-top: 10px;
}

.safety-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  margin-top: 78px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.safety-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.safety-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 47, 95, 0.55);
}

.safety-banner div {
  position: relative;
  z-index: 1;
  width: var(--container);
}

.safety-banner h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  text-transform: uppercase;
}

.safety-banner p {
  margin: 14px auto 0;
  max-width: 560px;
  line-height: 1.65;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: var(--container);
  margin: 28px auto 0;
}

.contact-strip article,
.map-card {
  min-height: 158px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.contact-strip article {
  padding: 20px;
}

.icon-mini {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: #0060d5;
}

.icon-mini svg {
  width: 28px;
  height: 28px;
}

.contact-strip h3 {
  margin: 0 0 9px;
  font-size: 15px;
}

.contact-strip p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.booking-card {
  color: var(--white);
  background: linear-gradient(145deg, var(--regal-navy), #075ecf) !important;
  border-color: transparent !important;
}

.booking-card p,
.booking-card a {
  color: var(--white);
}

.booking-card .icon-mini {
  color: var(--white);
}

.message-panel {
  padding-top: 36px;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  background:
    linear-gradient(135deg, rgba(46, 109, 180, 0.09), transparent 44%),
    linear-gradient(90deg, transparent 0 48%, rgba(46, 109, 180, 0.14) 48% 51%, transparent 51%),
    linear-gradient(0deg, transparent 0 55%, rgba(46, 109, 180, 0.13) 55% 58%, transparent 58%),
    #eaf4ff;
}

.google-map {
  grid-column: 1 / -1;
  min-height: 360px;
  background: #eaf4ff;
}

.google-map::before,
.google-map::after {
  display: none;
}

.google-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-card::before,
.map-card::after,
.map-card .road {
  content: "";
  position: absolute;
  height: 3px;
  background: rgba(46, 109, 180, 0.28);
  border-radius: 999px;
}

.map-card::before {
  width: 120%;
  left: -20%;
  top: 42%;
  transform: rotate(-19deg);
}

.map-card::after {
  width: 80%;
  left: 28%;
  top: 69%;
  transform: rotate(14deg);
}

.map-card .road-one {
  width: 86%;
  left: -14%;
  top: 22%;
  transform: rotate(9deg);
}

.map-card .road-two {
  width: 60%;
  right: -12%;
  top: 33%;
  transform: rotate(-41deg);
}

.map-card .road-three {
  width: 56%;
  left: 8%;
  bottom: 17%;
  transform: rotate(-8deg);
}

.map-card .road-four {
  width: 54%;
  right: -4%;
  bottom: 33%;
  transform: rotate(36deg);
}

.map-card span {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  color: var(--ink);
  font-weight: 900;
}

.map-card b {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 48%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #0868df;
  border-radius: 50% 50% 50% 4px;
  box-shadow: 0 10px 20px rgba(8, 104, 223, 0.25);
}

.map-card b::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--white);
  border-radius: 50%;
}

.contact-form {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.contact-form > div {
  grid-row: span 3;
}

.contact-form h2 {
  font-size: 29px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--marine);
  box-shadow: 0 0 0 3px rgba(46, 109, 180, 0.14);
}

.contact-form label:has(textarea) {
  grid-column: span 2;
}

.form-status {
  margin: 0;
  align-self: center;
  color: var(--marine);
  font-weight: 800;
}

.form-status.is-failed,
.form-status.is-invalid {
  color: #a52a2a;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.legal-page {
  min-height: 52vh;
  padding-top: clamp(132px, 16vw, 180px);
}

.legal-page h1,
.legal-page h2 {
  max-width: 820px;
  margin: 10px 0 24px;
  color: var(--navy);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
}

.legal-page > p:not(.section-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
  margin-top: 72px;
  padding: 34px max(24px, calc((100vw - 1160px) / 2)) 18px;
  color: var(--white);
  background: radial-gradient(circle at right, #0b477e 0%, #061d3e 46%, #03152f 100%);
}

body:not([data-page="home"]) .site-footer {
  margin-top: 0;
}

.site-footer p,
.site-footer a,
.site-footer small,
.footer-bottom {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  max-width: 300px;
  line-height: 1.68;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 13px;
}

.site-footer nav strong {
  margin-bottom: 8px;
  color: var(--white);
  text-transform: uppercase;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding-inline: 22px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    order: 3;
    display: grid;
    gap: 5px;
    width: 43px;
    height: 43px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
  }

  .book-link {
    order: 2;
    min-height: 43px;
  }

  .brand {
    order: 1;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: auto;
    width: min(360px, calc(100vw - 36px));
    display: none;
    gap: 4px;
    padding: 12px;
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    background: rgba(4, 28, 61, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 22px 52px rgba(3, 21, 47, 0.36);
  }

  .main-nav.open {
    display: grid;
    justify-items: stretch;
  }

  .nav-link,
  .nav-button {
    width: 100%;
    min-height: 44px;
    padding-inline: 14px;
    justify-content: flex-start;
    border-radius: 7px;
    font-size: 14px;
  }

  .dropdown {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    margin: 2px 0 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.82);
  }

  .dropdown-heading {
    color: var(--white);
  }

  .mega-dropdown,
  .governance-dropdown {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .dropdown a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-group.expanded .dropdown {
    display: grid;
  }

  .nav-group.expanded .nav-button {
    background: rgba(255, 255, 255, 0.08);
  }

  .cta-section {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-section .btn {
    justify-self: start;
  }

  .stats-panel,
  .fleet-grid,
  .three-columns,
  .leader-grid,
  .leader-portrait-grid,
  .org-chart,
  .people-grid,
  .committee-members,
  .document-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-panel article:nth-child(2) {
    border-right: 0;
  }

  .stats-panel article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-grid,
  .split-band,
  .governance,
  .news-layout,
  .news-article-hero,
  .article-content-grid,
  .mv-grid,
  .structure-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-sidebar .btn {
    grid-column: 1 / -1;
  }

  .related-news-list {
    grid-template-columns: 1fr;
  }

  .mission-points,
  .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .mission-points > div:nth-child(odd),
  .value-list > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .mission-points > div:nth-child(even),
  .value-list > div:nth-child(even) {
    padding-right: 0;
  }

  .mission-points > div:nth-child(n + 3),
  .value-list > div:nth-child(n + 3) {
    padding-top: 22px;
    border-top: 1px solid rgba(8, 104, 223, 0.14);
  }

  .vision-band {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .leader-panel-heading {
    margin-top: 34px;
  }

  .committee-overview-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .committee-overview-panel > p {
    line-height: 1.62;
  }

  .committee-meta-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-board,
  .schedule-grid,
  .contact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-card {
    grid-column: span 2;
    min-height: 250px;
  }

  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form > div {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100% - 32px, 1160px);
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  .book-link {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding: 116px 16px 100px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(2, 22, 52, 0.92), rgba(4, 35, 75, 0.68) 58%, rgba(2, 22, 52, 0.78)),
      url("../reference-hero.png") 62% center / cover no-repeat;
  }

  .hero p:not(.hero-label) {
    font-size: 15px;
  }

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

  .cta-section {
    min-height: 0;
    margin: 58px auto 56px;
    padding: 30px 22px;
    background:
      linear-gradient(180deg, rgba(2, 22, 52, 0.94), rgba(5, 50, 96, 0.78)),
      url("../harbor.jpg") center / cover no-repeat;
  }

  .cta-section h2 {
    font-size: 30px;
  }

  .cta-section p:not(.section-kicker) {
    font-size: 15px;
  }

  .cta-section .btn {
    width: 100%;
  }

  .stats-panel,
  .feature-grid,
  .fleet-grid,
  .three-columns,
  .leader-grid,
  .leader-portrait-grid,
  .org-chart,
  .people-grid,
  .committee-list,
  .committee-members,
  .document-grid,
  .route-board,
  .schedule-grid,
  .contact-strip,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .leader-accordion-toggle {
    min-height: 64px;
    padding-inline: 0;
    font-size: 19px;
  }

  .mv-hero {
    margin-bottom: 34px;
    text-align: left;
  }

  .mv-hero .section-kicker {
    justify-content: flex-start;
  }

  .mv-anchor {
    display: none;
  }

  .mv-hero h2 {
    font-size: 34px;
  }

  .mv-grid {
    gap: 26px;
  }

  .mv-title-line {
    gap: 14px;
  }

  .mission-points,
  .value-list {
    grid-template-columns: 1fr;
  }

  .mission-points {
    gap: 0;
  }

  .value-list {
    gap: 0;
    padding: 20px;
  }

  .mission-points > div,
  .mission-points > div:nth-child(odd),
  .mission-points > div:nth-child(even),
  .value-list > div,
  .value-list > div:nth-child(odd),
  .value-list > div:nth-child(even) {
    min-height: 0;
    padding: 18px 0;
    border-top: 1px solid rgba(8, 104, 223, 0.16);
    border-left: 0;
  }

  .mission-points > div:first-child,
  .value-list > div:first-child {
    padding-top: 8px;
    border-top: 0;
  }

  .mv-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .vision-band {
    grid-template-columns: 1fr;
  }

  .vision-label {
    padding: 20px;
  }

  .vision-band > p {
    padding: 20px;
    font-size: 17px;
  }

  .leader-panel-heading {
    margin: 44px auto 34px;
    text-align: left;
  }

  .leader-panel-heading h3,
  .leader-panel-heading span {
    font-size: 24px;
  }

  .leader-portrait-grid {
    row-gap: 36px;
  }

  .leader-profile {
    min-height: 0;
  }

  .leader-photo {
    width: 126px;
    height: 126px;
  }

  .leader-committee-list {
    grid-template-columns: 1fr;
  }

  .committee-summary-card {
    min-height: 0;
    padding: 20px;
  }

  .committee-meta-row {
    grid-template-columns: 1fr;
  }

  .committee-card-top {
    align-items: flex-start;
  }

  .committee-summary-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .stats-panel {
    margin-top: -44px;
    padding: 8px;
  }

  .stats-panel article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }

  .stats-panel article:last-child {
    border-bottom: 0;
  }

  .feature-card {
    min-height: 112px;
  }

  .gallery-card-control {
    opacity: 1;
  }

  .gallery-modal {
    padding: 18px;
  }

  .gallery-dialog img {
    max-height: 68vh;
  }

  .gallery-close {
    top: 10px;
    right: 10px;
  }

  .gallery-modal-control {
    top: auto;
    bottom: 44px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    transform: none;
  }

  .gallery-modal-control.previous {
    left: 14px;
  }

  .gallery-modal-control.next {
    right: 14px;
  }

  .gallery-dialog figcaption {
    padding-inline: 54px;
  }

  .document-preview-modal {
    padding: 12px;
  }

  .document-preview-dialog {
    width: 100%;
    height: min(88vh, 760px);
  }

  .document-preview-dialog header {
    min-height: 52px;
    padding-inline: 14px 10px;
  }

  .route-board article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-board article:last-child {
    border-bottom: 0;
  }

  .featured-news {
    grid-template-columns: 1fr;
  }

  .news-list a {
    grid-template-columns: 92px 1fr;
  }

  .news-list img {
    width: 92px;
  }

  .news-article {
    gap: 24px;
  }

  .news-article-hero {
    gap: 24px;
  }

  .news-article-hero img {
    aspect-ratio: 1.18;
  }

  .article-meta span {
    font-size: 12px;
  }

  .article-content-grid {
    gap: 28px;
  }

  .article-sidebar,
  .related-news-list a {
    grid-template-columns: 1fr;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
  }

  .contact-form label:has(textarea) {
    grid-column: auto;
  }

  .contact-strip {
    grid-template-columns: 1fr !important;
  }

  .map-card {
    grid-column: auto !important;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-bottom {
    display: grid;
  }
}
.wp-primary-menu {
  display: contents;
}

.wp-primary-menu,
.wp-primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-primary-menu > li {
  display: inline-flex;
  align-items: center;
}

.wp-primary-menu a {
  color: inherit;
  text-decoration: none;
}

.document-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.document-modal.open {
  display: block;
}

.document-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 45, 0.74);
}

.document-modal-panel {
  position: absolute;
  inset: clamp(18px, 5vw, 54px);
  display: grid;
  grid-template-rows: 1fr auto;
  background: #fff;
  border: 1px solid rgba(12, 48, 91, 0.18);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(3, 20, 45, 0.35);
  overflow: hidden;
}

.document-modal-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #eef5ff;
}

.document-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #0878ed;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.document-modal-open {
  padding: 14px 18px;
  color: #075dc9;
  font-weight: 800;
  text-decoration: none;
  background: #f7fbff;
  border-top: 1px solid rgba(12, 48, 91, 0.12);
}

@media (max-width: 900px) {
  .profile-story-header,
  .profile-opening {
    grid-template-columns: 1fr;
  }

  .profile-story-header {
    gap: 18px;
    margin-bottom: 30px;
  }

  .profile-story-deck {
    max-width: 680px;
  }

  .profile-opening {
    gap: 24px;
  }

  .profile-figure img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .profile-origin {
    padding: 28px 0;
  }

  .profile-milestones {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .profile-milestone,
  .profile-milestone:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .profile-story-deck {
    font-size: 16px;
  }

  .profile-origin h3 {
    font-size: 27px;
  }

  .profile-milestone {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-milestone h3 {
    margin-top: 0;
  }
}
