:root {
  --navy-950: #04111e;
  --navy-900: #07182a;
  --navy-850: #0a2138;
  --navy-800: #0d2a48;
  --navy-700: #153b5f;
  --navy-600: #1f5076;
  --sea-500: #2da7cb;
  --sea-300: #73c9df;
  --cream-50: #fffaf0;
  --cream-100: #f8eedc;
  --cream-200: #eddcc0;
  --cream-300: #dbc6a2;
  --gold-300: #efc66b;
  --gold-400: #dda63b;
  --gold-500: #c9861d;
  --rust-400: #d15834;
  --rust-500: #b63a22;
  --rust-600: #902817;
  --ink: #10161d;
  --white: #fff;
  --muted-on-dark: #b6c7d2;
  --muted-on-light: #655f57;
  --border-dark: rgba(244, 225, 185, 0.18);
  --border-light: rgba(13, 42, 72, 0.14);
  --shadow-sm: 0 14px 35px rgba(1, 11, 20, 0.18);
  --shadow-md: 0 28px 90px rgba(1, 11, 20, 0.32);
  --shadow-gold: 0 18px 60px rgba(207, 145, 35, 0.16);
  --container: 1180px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy-900);
  color: var(--cream-100);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .055;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.7) 0 .6px, transparent .8px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.5) 0 .5px, transparent .7px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: soft-light;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-300); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

::selection { background: var(--gold-400); color: var(--navy-950); }

:focus-visible {
  outline: 3px solid var(--sea-300);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--cream-50);
  color: var(--navy-950);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

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

.narrow { width: min(calc(100% - 2.25rem), 820px); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  color: var(--gold-300);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.kicker {
  color: var(--rust-500);
  font-family: var(--serif);
  font-weight: 700;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--cream-50);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.35rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
h4 { font-size: 1.15rem; }

p { margin: 0; }
p + p { margin-top: 1rem; }

.lead {
  max-width: 720px;
  color: var(--muted-on-dark);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.section {
  position: relative;
  padding: clamp(5.2rem, 10vw, 9rem) 0;
  overflow: clip;
}

.section-light {
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.04)),
    var(--cream-100);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 { color: var(--navy-900); }
.section-light .lead { color: var(--muted-on-light); }
.section-light .eyebrow { color: var(--rust-500); }

.section-ink { background: var(--navy-950); }
.section-chart {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(90deg, rgba(7,24,42,.95), rgba(7,24,42,.82)),
    url("../images/nautical-chart.svg");
  background-position: center;
  background-size: cover;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, .55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(2.6rem, 5vw, 4.6rem);
}

.section-heading.single { grid-template-columns: minmax(0, 780px); }
.section-heading .lead { justify-self: end; }
.section-heading.single .lead { justify-self: start; }

.utility-bar {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(241, 212, 149, .18);
  background: #020b13;
}

.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #aebdca;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.utility-inner a { color: var(--gold-300); }
.utility-divider { opacity: .45; margin-inline: .45rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7, 24, 42, .68);
  backdrop-filter: blur(16px) saturate(120%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  border-color: var(--border-dark);
  background: rgba(4, 17, 30, .94);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-width: max-content;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0,0,0,.32));
}

.brand-copy { display: grid; gap: .06rem; }
.brand-title {
  color: var(--cream-50);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-subtitle {
  color: var(--gold-300);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: clamp(.8rem, 1.7vw, 1.6rem); }
.main-nav a:not(.button) {
  position: relative;
  color: #cad6de;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.main-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.55rem;
  height: 2px;
  background: var(--gold-400);
  transition: right .25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--cream-50); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream-100);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  padding: .78rem 1.28rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover { transform: translateY(-2px); color: inherit; }
.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 12px 30px rgba(207, 145, 35, .25);
}
.button-primary:hover { box-shadow: 0 16px 42px rgba(207, 145, 35, .38); }
.button-secondary {
  color: var(--cream-50);
  border-color: rgba(246,234,213,.3);
  background: rgba(255,255,255,.035);
}
.button-secondary:hover { border-color: var(--gold-300); background: rgba(217,161,45,.08); }
.button-rust { color: white; background: linear-gradient(135deg, var(--rust-400), var(--rust-600)); }
.button-light { color: var(--navy-950); background: var(--cream-50); }
.button svg { width: 18px; height: 18px; }

.hero {
  position: relative;
  min-height: min(850px, calc(100svh - 116px));
  display: grid;
  align-items: center;
  overflow: clip;
  background:
    radial-gradient(circle at 82% 28%, rgba(45, 167, 203, .15), transparent 31%),
    radial-gradient(circle at 10% 80%, rgba(182, 58, 34, .11), transparent 28%),
    linear-gradient(135deg, var(--navy-900), var(--navy-950) 68%);
}

.hero::before {
  content: "";
  position: absolute;
  width: min(62vw, 850px);
  aspect-ratio: 1;
  right: -18vw;
  top: -22vw;
  border: 1px solid rgba(91, 188, 214, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(91,188,214,.035),
    0 0 0 180px rgba(91,188,214,.025),
    0 0 0 270px rgba(91,188,214,.018);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: url("../images/nautical-chart.svg");
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.hero h1 span { color: var(--gold-300); }
.hero-copy .lead { margin-top: 1.6rem; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.35rem;
  margin-top: 2.5rem;
  color: #aebfca;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-proof span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid var(--gold-400);
  border-radius: 50%;
}

.hero-emblem {
  position: relative;
  justify-self: end;
  width: min(100%, 530px);
}

.hero-emblem::before,
.hero-emblem::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px dashed rgba(241, 198, 107, .35);
  border-radius: 50%;
  animation: slow-spin 50s linear infinite;
}
.hero-emblem::after {
  inset: -4%;
  border-style: solid;
  border-color: rgba(83, 188, 215, .16);
  animation-direction: reverse;
  animation-duration: 80s;
}
.hero-emblem img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 42px 65px rgba(0,0,0,.48));
}

.hero-depth-note {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 9%;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241,198,107,.4);
  border-radius: 50%;
  color: var(--cream-100);
  background: rgba(4,17,30,.88);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transform: rotate(5deg);
}
.hero-depth-note strong { display: block; color: var(--gold-300); font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.hero-depth-note small { display: block; margin-top: .35rem; font-size: .61rem; font-weight: 800; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }

@keyframes slow-spin { to { transform: rotate(360deg); } }

.trust-strip {
  border-block: 1px solid var(--border-dark);
  background: var(--navy-950);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 112px;
}

.trust-item {
  display: grid;
  place-items: center;
  padding: 1.25rem .8rem;
  border-right: 1px solid var(--border-dark);
  text-align: center;
}
.trust-item:last-child { border-right: 0; }
.trust-item strong { color: var(--gold-300); font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.trust-item span { margin-top: .4rem; color: #aebfca; font-size: .68rem; font-weight: 800; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }

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

.service-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.55rem, 3vw, 2.35rem);
  border: 1px solid rgba(8, 34, 58, .14);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.48);
  box-shadow: 0 16px 45px rgba(9,28,44,.08);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(7, 24, 42, .16);
  border-radius: 12px;
  pointer-events: none;
}

.service-card::after {
  content: attr(data-number);
  position: absolute;
  right: 1.8rem;
  top: 1.4rem;
  color: rgba(7,24,42,.08);
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.service-card:hover { transform: translateY(-9px); border-color: rgba(182,58,34,.35); box-shadow: 0 30px 80px rgba(9,28,44,.17); }
.service-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 5rem;
  border-radius: 50%;
  color: var(--cream-50);
  background: var(--navy-900);
  box-shadow: inset 0 0 0 4px var(--gold-400), 0 12px 24px rgba(7,24,42,.18);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { position: relative; z-index: 1; }
.service-card p { position: relative; z-index: 1; margin-top: 1rem; color: var(--muted-on-light); }
.service-link { position: relative; z-index: 1; margin-top: auto; padding-top: 1.6rem; color: var(--rust-500); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-link::after { content: " →"; }

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.split-feature.reverse { grid-template-columns: minmax(330px, .72fr) minmax(0, 1.08fr); }
.split-feature.reverse .feature-visual { order: 2; }

.feature-visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-visual::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(242, 212, 149, .38);
  border-radius: 18px;
  pointer-events: none;
}
.feature-visual img { width: 100%; height: auto; object-fit: contain; }

.feature-copy h2 { max-width: 720px; }
.feature-copy .lead { margin-top: 1.4rem; }
.feature-copy .button { margin-top: 2rem; }

.inline-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}
.inline-spec {
  padding: 1rem 1.05rem;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.inline-spec strong { display: block; color: var(--gold-300); font-family: var(--serif); font-size: 1.35rem; }
.inline-spec span { color: var(--muted-on-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.capability-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted-on-dark);
}
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--gold-400);
  border-radius: 50%;
}

.stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.028);
}
.stats-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(244,225,185,.12);
  border-radius: 12px;
  pointer-events: none;
}
.stat { position: relative; z-index: 1; padding: 2.4rem 1.4rem; border-right: 1px solid var(--border-dark); text-align: center; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--cream-50); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.8rem); line-height: .95; }
.stat strong span { color: var(--gold-300); }
.stat small { display: block; margin-top: .75rem; color: #aabcc8; font-size: .7rem; font-weight: 800; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 3.2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 31px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.timeline-item { position: relative; padding-top: 4.2rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 4px solid var(--navy-900);
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 1px var(--gold-400);
}
.timeline-item time { display: block; color: var(--gold-300); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.timeline-item p { margin-top: .6rem; color: var(--muted-on-dark); font-size: .9rem; }

.quote-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.2rem);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  background: rgba(255,255,255,.035);
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.quote-card::before,
.quote-card::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--gold-400);
  opacity: .55;
}
.quote-card::before { left: 14px; top: 14px; border-left: 1px solid; border-top: 1px solid; }
.quote-card::after { right: 14px; bottom: 14px; border-right: 1px solid; border-bottom: 1px solid; }
.quote-card blockquote { margin: 0; color: var(--cream-50); font-family: var(--serif); font-size: clamp(1.55rem, 3.3vw, 3rem); line-height: 1.35; }
.quote-card cite { display: block; margin-top: 1.5rem; color: var(--gold-300); font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4.4rem);
  border: 1px solid rgba(13,42,72,.16);
  border-radius: 24px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0, rgba(217,161,45,.2), transparent 30%),
    var(--cream-50);
  box-shadow: var(--shadow-md);
}
.cta-panel::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(13,42,72,.16); border-radius: 16px; pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: var(--navy-900); max-width: 760px; }
.cta-panel p { max-width: 700px; margin-top: .9rem; color: var(--muted-on-light); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem; }
.cta-panel .button-secondary { color: var(--navy-900); border-color: rgba(13,42,72,.25); background: transparent; }

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 7rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(45,167,203,.15), transparent 30%),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
}
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .38; background: url("../images/nautical-chart.svg") center/cover; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .38fr); align-items: end; gap: 3rem; }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6rem); }
.page-hero .lead { margin-top: 1.25rem; }
.page-hero-mark { justify-self: end; width: min(260px, 100%); height: auto; aspect-ratio: 1 / 1; object-fit: contain; opacity: .92; filter: drop-shadow(0 25px 50px rgba(0,0,0,.35)); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; color: #9fb3c0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs a { color: var(--gold-300); }
.breadcrumbs span::before { content: "/"; margin-right: .45rem; opacity: .45; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .34fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.prose { max-width: 790px; }
.prose h2 { margin-top: 3.4rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.4rem; color: var(--navy-900); }
.prose p { margin-top: 1.15rem; color: var(--muted-on-light); font-size: 1.04rem; }
.prose ul { margin: 1.3rem 0 0; padding-left: 1.25rem; color: var(--muted-on-light); }
.prose li + li { margin-top: .65rem; }
.prose .callout { margin: 2.2rem 0; padding: 1.4rem 1.5rem; border-left: 4px solid var(--rust-500); border-radius: 0 10px 10px 0; background: rgba(182,58,34,.08); }
.prose .callout p { margin: 0; color: #4c4842; }

.sidebar-card {
  position: sticky;
  top: 116px;
  padding: 1.55rem;
  border: 1px solid rgba(13,42,72,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.54);
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { color: var(--navy-900); font-size: 1.35rem; }
.sidebar-card p { margin-top: .85rem; color: var(--muted-on-light); font-size: .9rem; }
.sidebar-card .button { width: 100%; margin-top: 1.2rem; }
.sidebar-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.sidebar-list li { padding: .75rem 0; border-top: 1px solid rgba(13,42,72,.1); color: #4f5c65; font-size: .9rem; }
.sidebar-list strong { display: block; color: var(--navy-900); }

.detail-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.detail-section + .detail-section { border-top: 1px solid rgba(13,42,72,.1); }
.detail-header { display: grid; grid-template-columns: minmax(0, .75fr) minmax(260px, .35fr); gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.detail-number { color: rgba(13,42,72,.11); font-family: var(--serif); font-size: clamp(4rem, 8vw, 8rem); line-height: .7; text-align: right; }

.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.equipment-card { padding: 1.4rem; border: 1px solid rgba(13,42,72,.12); border-radius: 14px; background: rgba(255,255,255,.44); }
.equipment-card svg { width: 28px; height: 28px; color: var(--rust-500); }
.equipment-card strong { display: block; margin-top: 1rem; color: var(--navy-900); font-family: var(--serif); font-size: 1.1rem; }
.equipment-card span { display: block; margin-top: .45rem; color: var(--muted-on-light); font-size: .88rem; }

.fleet-stack { display: grid; gap: 1.2rem; }
.vessel-card {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border-dark);
  border-radius: 22px;
  background: rgba(255,255,255,.03);
}
.vessel-card.light { color: var(--ink); border-color: rgba(13,42,72,.13); background: rgba(255,255,255,.5); }
.vessel-card.light h2, .vessel-card.light h3 { color: var(--navy-900); }
.vessel-label { color: var(--gold-300); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.vessel-card h2 { margin-top: .5rem; font-size: clamp(2.4rem, 5vw, 4rem); }
.vessel-card p { margin-top: 1rem; color: var(--muted-on-dark); }
.vessel-card.light p { color: var(--muted-on-light); }
.vessel-mini-visual { min-height: 250px; display: grid; place-items: center; border: 1px dashed rgba(241,198,107,.25); border-radius: 15px; background: radial-gradient(circle, rgba(45,167,203,.14), transparent 60%); }
.vessel-mini-visual svg { width: 140px; color: var(--gold-300); }

.spec-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: .85rem .2rem; border-bottom: 1px solid var(--border-dark); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; color: var(--gold-300); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.spec-table td { color: #c1d0d9; }
.light .spec-table th, .section-light .spec-table th { color: var(--rust-500); }
.light .spec-table td, .section-light .spec-table td { color: var(--muted-on-light); }
.section-light .spec-table th, .section-light .spec-table td { border-color: rgba(13,42,72,.12); }

.accordion { display: grid; gap: .75rem; margin-top: 2rem; }
.accordion details { border: 1px solid var(--border-dark); border-radius: 12px; background: rgba(255,255,255,.025); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem; color: var(--cream-50); font-family: var(--serif); font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--gold-300); font-family: var(--sans); font-size: 1.4rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion-content { padding: 0 1.25rem 1.3rem; color: var(--muted-on-dark); }
.accordion-content ul { margin: 0; padding-left: 1.2rem; }
.accordion-content li + li { margin-top: .55rem; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.team-card { position: relative; padding: clamp(1.7rem, 4vw, 3rem); border: 1px solid rgba(13,42,72,.13); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.5); }
.team-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border: 1px dashed rgba(13,42,72,.14); border-radius: 50%; }
.team-mark { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; color: var(--cream-50); background: var(--navy-900); box-shadow: inset 0 0 0 5px var(--gold-400); }
.team-mark span { font-family: var(--serif); font-size: 1.5rem; }
.team-card h3 { margin-top: 1.4rem; color: var(--navy-900); }
.team-role { margin-top: .45rem; color: var(--rust-500); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.team-card p { margin-top: 1.2rem; color: var(--muted-on-light); }

.contact-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(360px, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-details { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-detail { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-top: 1px solid var(--border-dark); }
.contact-detail:first-child { border-top: 0; }
.contact-detail svg { width: 24px; color: var(--gold-300); margin-top: .2rem; }
.contact-detail strong { display: block; color: var(--cream-50); font-family: var(--serif); }
.contact-detail span, .contact-detail a { color: var(--muted-on-dark); }

.contact-form { padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid rgba(13,42,72,.14); border-radius: 22px; color: var(--ink); background: var(--cream-100); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: grid; gap: .42rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(13,42,72,.18); border-radius: 10px; padding: .9rem 1rem; color: var(--ink); background: rgba(255,255,255,.6); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sea-500); box-shadow: 0 0 0 4px rgba(45,167,203,.12); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; }
.form-note { color: var(--muted-on-light); font-size: .78rem; }
.form-status { min-height: 1.5em; margin-top: .8rem; color: var(--rust-500); font-weight: 700; }

.brand-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.brand-art { position: relative; min-height: 500px; display: grid; place-items: center; padding: 2rem; border: 1px solid var(--border-dark); border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #0d2a48, var(--navy-950)); }
.brand-art.light { border-color: rgba(13,42,72,.12); background: var(--cream-50); }
.brand-art img { max-width: min(100%, 470px); max-height: 460px; object-fit: contain; filter: drop-shadow(0 25px 38px rgba(0,0,0,.3)); }
.brand-caption { position: absolute; left: 1.3rem; bottom: 1.1rem; padding: .55rem .75rem; border-radius: 999px; color: var(--cream-50); background: rgba(4,17,30,.78); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Heritage archive feature */
.heritage-photo-section {
  padding: clamp(1.5rem, 4vw, 3.5rem) 0;
  background: var(--cream-100);
}
.heritage-photo-band {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
}
.heritage-photo-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.heritage-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2,11,19,.78) 100%);
  pointer-events: none;
}
.heritage-photo-copy {
  position: absolute;
  z-index: 1;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  display: grid;
  gap: .2rem;
  color: var(--cream-50);
}
.heritage-photo-copy span {
  color: var(--gold-300);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.heritage-photo-copy strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}
@media (max-width: 720px) {
  .heritage-photo-band { aspect-ratio: 4 / 3; border-radius: 14px; }
  .heritage-photo-band img { object-position: center; }
}

/* Image integrity: preserve every source image's native proportions. */
.photo-feature img,
.vessel-photo img,
.fleet-photo img,
.archive-card img {
  display: block;
  width: 100%;
  height: auto;
}

.vessel-photo,
.fleet-photo,
.archive-card {
  margin: 0;
  overflow: hidden;
}

.vessel-photo img,
.fleet-photo img {
  object-fit: contain;
}

.fleet-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.fleet-photo-wide { grid-column: 1 / -1; }
.fleet-photo { border-radius: 14px; background: rgba(255,255,255,.035); }
.fleet-photo figcaption { padding: .7rem .85rem; color: var(--muted-on-dark); font-size: .78rem; }

.archive-gallery {
  columns: 3 280px;
  column-gap: 1rem;
}
.archive-card {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: 14px;
  background: rgba(13,42,72,.04);
}
.archive-card a { display: block; }
.archive-card img { border-radius: 14px; }

@media (max-width: 720px) {
  .fleet-photo-grid { grid-template-columns: 1fr; }
  .fleet-photo-wide { grid-column: auto; }
  .archive-gallery { columns: 2 180px; }
}

@media (max-width: 460px) {
  .archive-gallery { columns: 1; }
}

.site-footer { position: relative; padding: 4.8rem 0 1.7rem; background: #020b13; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -180px; bottom: -200px; width: 600px; height: 600px; border: 1px solid rgba(45,167,203,.08); border-radius: 50%; box-shadow: 0 0 0 90px rgba(45,167,203,.025), 0 0 0 180px rgba(45,167,203,.018); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(150px, .45fr)); gap: 3rem; }
.footer-brand img { width: 110px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.footer-brand p { max-width: 430px; margin-top: 1.25rem; color: #9fb2bf; }
.footer-heading { color: var(--cream-50); font-family: var(--serif); font-size: 1rem; }
.footer-links { display: grid; gap: .7rem; margin-top: 1rem; color: #9fb2bf; font-size: .9rem; }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.8rem; padding-top: 1.3rem; border-top: 1px solid var(--border-dark); color: #8296a4; font-size: .75rem; }
.footer-bottom a { color: var(--gold-300); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

.launch-note {
  padding: .75rem 1rem;
  border: 1px solid rgba(217,161,45,.28);
  border-radius: 10px;
  color: #d7c8ad;
  background: rgba(217,161,45,.07);
  font-size: .82rem;
}

@media (max-width: 1050px) {
  .main-nav { gap: .9rem; }
  .main-nav .header-cta { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(300px, .66fr); gap: 2.5rem; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 2.6rem; }
  .timeline-item::before { top: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .utility-inner { justify-content: center; text-align: center; }
  .utility-secondary { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 117px 1rem auto 1rem;
    z-index: 70;
    display: grid;
    gap: 0;
    padding: 1rem;
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    background: rgba(4,17,30,.98);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px) scale(.98);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.button) { padding: .9rem .8rem; border-bottom: 1px solid var(--border-dark); }
  .main-nav a:not(.button)::after { display: none; }
  .main-nav .header-cta { display: inline-flex; margin-top: .8rem; }

  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 4.8rem 5.5rem; }
  .hero-copy { max-width: 760px; }
  .hero-emblem { justify-self: center; width: min(72vw, 520px); }
  .hero-depth-note { right: 0; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3) { border-right: 0; }
  .trust-item:nth-child(n+4) { border-top: 1px solid var(--border-dark); }

  .section-heading, .split-feature, .split-feature.reverse, .page-hero-inner, .content-grid, .detail-header, .contact-layout { grid-template-columns: 1fr; }
  .section-heading .lead { justify-self: start; }
  .split-feature.reverse .feature-visual { order: 0; }
  .page-hero-mark { display: none; }
  .detail-number { text-align: left; }
  .sidebar-card { position: static; }
  .service-grid, .equipment-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 360px; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-dark); }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .vessel-card { grid-template-columns: 1fr; }
  .brand-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 1.35rem), var(--container)); }
  .brand-copy { display: none; }
  .header-inner { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .main-nav { inset: 107px .7rem auto .7rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-emblem { width: min(88vw, 460px); }
  .hero-depth-note { width: 104px; height: 104px; right: -4px; bottom: 2%; }
  .hero-depth-note strong { font-size: 1.2rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3) { border-right: 1px solid var(--border-dark); border-top: 1px solid var(--border-dark); }
  .trust-item:nth-child(n+4) { border-top: 1px solid var(--border-dark); }
  .trust-item:last-child { grid-column: 1 / -1; }
  .service-grid, .equipment-grid, .inline-specs, .capability-list, .team-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .stats-panel { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-top: 1px solid var(--border-dark); }
  .stat:first-child { border-top: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item { padding: 0 0 0 2.4rem; }
  .timeline-item::before { top: .35rem; left: 0; }
  .cta-actions { display: grid; }
  .cta-actions .button { width: 100%; }
  .page-hero { min-height: 430px; padding-top: 5rem; }
  .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .brand-art { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .utility-bar, .site-header, .site-footer, .button, .menu-toggle { display: none !important; }
  body { color: #111; background: #fff; }
  .section, .page-hero { padding: 2rem 0; background: #fff !important; color: #111; }
  h1, h2, h3, h4, .page-hero h1 { color: #111 !important; }
  a { color: #111; text-decoration: underline; }
}

/* Caption integrity: round the image itself, never the caption container. */
.photo-feature,
.fleet-photo,
.photo-pair figure,
.wide-photo {
  overflow: visible;
}

.photo-feature {
  border-radius: 0;
  box-shadow: none;
}
.photo-feature::after { display: none; }
.photo-feature img {
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}
.photo-feature figcaption,
.fleet-photo figcaption,
.photo-pair figcaption,
.wide-photo figcaption {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: .72rem .9rem 0;
  line-height: 1.4;
}

.fleet-photo {
  border-radius: 0;
  background: transparent;
}
.fleet-photo img,
.photo-pair img,
.wide-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.photo-pair figure,
.wide-photo {
  margin: 0;
}
.photo-pair figcaption,
.wide-photo figcaption {
  color: inherit;
  font-size: .78rem;
}

@media (max-width: 720px) {
  .photo-feature img { border-radius: 18px; }
  .photo-pair { grid-template-columns: 1fr; }
}
