/* Blue Bird Marine Services · site.css
   World: a daylight ECDIS chart (IHO S-52 day palette). Every surface is chart or instrument. */

@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-normal-100-900.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-italic-100-900.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/SairaCondensed-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/SairaCondensed-normal-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/SairaCondensed-normal-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --water: #ffffff;
  --depth-1: #dceaf5;
  --depth-2: #c6dcef;
  --depth-3: #9fc0de;
  --land: #d8c6a2;
  --land-ink: #4b4030;
  --ink: #111417;
  --ink-2: #2b2f36;
  --ink-3: #4b5563;
  --chrome: #111417;
  --chrome-2: #1d2127;
  --chrome-text: #ffffff;
  --readout: #9fe0a8;
  --ais: #00a650;
  --ais-ink: #0a7a3e;
  --mag: #c800c8;
  --mag-ink: #9a009a;
  --grat: #b8c7d6;
  --rule: #111417;
  --focus: #c800c8;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --cond: "Saira Condensed", "Arial Narrow", sans-serif;

  --bar-h: 56px;
  --gutter: clamp(16px, 5vw, 72px);
  --sect: clamp(64px, 9vw, 112px);
  --measure: 66ch;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--depth-1); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--water); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; caret-color: var(--mag);
}
::selection { background: var(--depth-3); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--depth-1); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--depth-1); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--mag); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; font-stretch: 100%; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
.wrap { max-width: 1320px; margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.15em; }
.ic-lg { width: 28px; height: 28px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* readout voice */
.ro, .label, .datum { font-family: var(--cond); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.datum { font-size: 13px; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff;
  padding: 14px 20px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast);
  cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn .ic { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover { background: var(--chrome-2); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(17, 20, 23, .55); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- instrument bar (header) ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar-h);
  background: var(--chrome); color: var(--chrome-text);
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter);
}
.bar-logo img { width: auto; height: 32px; }
.bar-readouts { display: flex; gap: 22px; color: var(--readout); font-size: 14px; }
.ro-k { color: #8b949e; margin-right: 6px; font-weight: 400; }
.bar-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.bar-toggle .ic { width: 24px; height: 24px; }
.bar-toggle .ic-x, .bar-toggle[aria-expanded="true"] .ic-menu { display: none; }
.bar-toggle[aria-expanded="true"] .ic-x { display: block; }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-list > li { position: relative; }
.nav-list a, .nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2;
  border-bottom: 2px solid transparent; transition: border-color var(--t-fast);
}
.nav-list > li > a:hover, .nav-dd-btn:hover { border-bottom-color: rgba(255, 255, 255, .5); }
.nav-list > li > a[aria-current="page"], .nav-dd.is-active > .nav-dd-btn { border-bottom-color: var(--mag); }
.nav-foot { display: none; }
.ic-chev { width: .9em; height: .9em; transition: transform var(--t-fast) var(--ease-out); }
.nav-dd-btn[aria-expanded="true"] .ic-chev { transform: rotate(180deg); }
.nav-dd-menu {
  list-style: none; position: absolute; top: calc(100% + 10px); right: 0; min-width: 300px;
  background: var(--water); color: var(--ink); border: 1.5px solid var(--ink); padding: 8px;
  box-shadow: 0 18px 40px -18px rgba(17, 20, 23, .5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast);
}
.nav-dd-menu::before { content: ""; position: absolute; top: -10px; right: 28px; border: 5px solid transparent; border-bottom-color: var(--ink); }
.nav-dd.is-open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-dd-menu a { color: var(--ink); padding: 10px 12px; width: 100%; gap: 12px; font-size: 15px; border: 0; }
.nav-dd-menu a .ic { width: 20px; height: 20px; color: var(--ink-3); }
.nav-dd-menu a:hover { background: var(--depth-1); }
.nav-dd-menu a:hover .ic { color: var(--ais-ink); }
.nav-dd-menu a[aria-current="page"] { background: var(--depth-1); font-weight: 600; }

/* ---------- hero: the traffic picture ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h)); display: grid; grid-template-rows: 1fr; }
.hero-chart { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--water); }
.hero-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.targets { position: absolute; inset: 0; pointer-events: none; }
.tgt {
  position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--ink); transform: translate(-50%, -50%);
  transition: transform 120ms linear; /* an AIS update is a jump, not a glide */
  will-change: transform;
}
.tgt.is-flipped { flex-direction: row-reverse; }
.tgt-sym { width: 22px; height: 22px; flex: none; transition: transform 120ms linear; }
.tgt-sym path { fill: var(--ais); stroke: var(--ink); stroke-width: 1.2; }
.tgt-sym line { stroke: var(--ais-ink); stroke-width: 1.6; }
.tgt-lab { font-family: var(--cond); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; white-space: nowrap; padding: 2px 5px; background: rgba(255, 255, 255, .75); line-height: 1.2; }
.tgt:hover .tgt-lab, .tgt:focus-visible .tgt-lab, .tgt.is-hot .tgt-lab { background: var(--ink); color: #fff; }
.tgt:hover .tgt-sym path, .tgt.is-hot .tgt-sym path { fill: var(--mag); }
.tgt-info {
  position: absolute; z-index: 3; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 12px; max-width: 260px;
  font-size: 14px; line-height: 1.35; opacity: 0; transform: translateY(4px); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.tgt-info.is-on { opacity: 1; transform: none; }
.tgt-info b { display: block; font-family: var(--cond); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--readout); margin-bottom: 2px; font-weight: 500; }
.hero-ui { position: relative; z-index: 2; padding: 56px var(--gutter) 44px; display: grid; gap: 24px; align-content: start; width: min(100%, 520px + 2 * var(--gutter)); }
.titleblock { background: var(--water); border: 1.5px solid var(--ink); padding: 28px 30px 24px; }
.titleblock h1 { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.7rem); font-stretch: 108%; margin-bottom: 16px; }
.titleblock .lead { font-size: 16px; color: var(--ink-2); max-width: 48ch; }
.scale { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; flex-wrap: wrap; }
.scalebar { display: inline-block; width: 160px; height: 7px; border: 1px solid var(--ink); background: repeating-linear-gradient(90deg, var(--ink) 0 25%, #fff 25% 50%); }
.legend { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 14px; }
.legend a { display: flex; align-items: center; gap: 9px; text-decoration: none; padding: 2px 0; }
.legend a:hover, .legend a.is-hot { color: var(--mag-ink); }
.legend .ic-target { width: 15px; height: 15px; fill: var(--ais); stroke: var(--ink); stroke-width: 1.4; transition: transform var(--t-fast) var(--ease-out); }
.legend a:hover .ic-target { transform: rotate(45deg); }
.hero-corner { position: absolute; right: var(--gutter); bottom: 22px; z-index: 2; text-align: right; }
.hero-corner .datum { display: block; }
.hero-corner a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--cond); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; text-decoration: none; }
.hero-corner a:hover { color: var(--mag-ink); }
.hero-corner .ic-down { animation: bob 2.2s var(--ease-out) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* cautionary panel: the primary action */
.caution { border: 2px solid var(--mag); background: var(--water); padding: 18px 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.caution-body { flex: 1 1 260px; }
.caution-h { font-family: var(--cond); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mag-ink); font-weight: 600; margin: 0 0 4px; }
.caution-tel { display: block; font-size: clamp(1.4rem, 1rem + 1.2vw, 1.75rem); font-weight: 700; text-decoration: none; letter-spacing: -.01em; line-height: 1.1; }
.caution-tel:hover { color: var(--mag-ink); }
.caution-meta { font-size: 14px; color: var(--ink-2); margin-top: 4px; text-wrap: balance; }
.caution .btn { flex: none; }

/* ---------- sections ---------- */
.sect { padding-block: var(--sect); padding-inline: var(--gutter); }
.sect-depth1 { background: var(--depth-1); }
.sect-depth2 { background: var(--depth-2); }
.sect-chrome { background: var(--chrome); color: var(--chrome-text); }
.sect-h { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.4rem); font-stretch: 108%; max-width: 22ch; }
.sect-h + p, .sect-h + .lead { margin-top: 18px; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 52ch; }
.sect-chrome .lead { color: #c9ced6; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky { position: sticky; top: calc(var(--bar-h) + 32px); }

/* target list (services) */
.tlist { list-style: none; border-top: 1.5px solid var(--ink); }
.tlist-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.tlist-2col > li:nth-child(2) { border-top: 1.5px solid var(--ink); margin-top: -1.5px; }
.trow {
  display: grid; grid-template-columns: 44px 1fr 28px; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 18px 8px 18px 4px; border-bottom: 1px solid var(--ink); text-decoration: none; position: relative;
  transition: background var(--t-fast);
}
.trow:hover { background: var(--water); }
.sect-depth1 .trow:hover, .aside .trow:hover { background: var(--water); }
.trow .ic-lg { grid-row: 1 / 3; color: var(--ink-2); transition: color var(--t-fast); }
.trow:hover .ic-lg { color: var(--ais-ink); }
.trow-name { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.trow-line { grid-column: 2; font-size: 15px; color: var(--ink-3); }
.trow .ic-arrow { grid-row: 1 / 3; grid-column: 3; width: 22px; height: 22px; color: var(--ink-3); transition: transform var(--t-fast) var(--ease-out), color var(--t-fast); }
.trow:hover .ic-arrow { transform: translateX(4px); color: var(--mag-ink); }
.trow::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--mag); transition: width var(--t-med) var(--ease-out); }
.trow:hover::after { width: 100%; }

/* route (mechanism) */
.route { width: 100%; height: auto; }
.route .leg { stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-dasharray: 6 6; }
.route .leg-solid { stroke: var(--ink); stroke-width: 2; fill: none; }
.route .wp { fill: var(--water); stroke: var(--ink); stroke-width: 2; }
.route .wp-dot { fill: var(--mag); }
.route .lab { font-family: var(--cond); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-3); font-weight: 500; }
.route .name { font-family: var(--sans); font-size: 20px; font-weight: 700; fill: var(--ink); letter-spacing: -.01em; }
.route .own { fill: none; stroke: var(--ink); stroke-width: 2; }
.steps { list-style: none; counter-reset: wp; display: grid; gap: 22px; margin-top: 28px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { counter-increment: wp; content: "WP" counter(wp); font-family: var(--cond); font-size: 13px; letter-spacing: .08em; color: var(--mag-ink); font-weight: 600; padding-top: 4px; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* compliance band */
.codes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; border: 1px solid #3a3f47; }
.codes li { padding: 22px 24px; border: 1px solid #3a3f47; margin: -1px; }
.codes .k { font-family: var(--cond); font-size: 26px; letter-spacing: .06em; color: var(--readout); font-weight: 600; line-height: 1.1; display: block; }
.codes .v { display: block; margin-top: 8px; font-size: 15px; color: #c9ced6; max-width: 34ch; }

/* fleet strip */
.strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 20px; margin-top: 36px; scrollbar-width: thin; }
.strip figure { flex: 0 0 300px; margin: 0; scroll-snap-align: start; }
.strip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1.5px solid var(--ink); }
.strip figcaption { font-family: var(--cond); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.strip figcaption .ic-target { width: 14px; height: 14px; fill: var(--ais); stroke: var(--ink); }

/* about teaser */
.photo { border: 1.5px solid var(--ink); }
.photo img { width: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.vm { display: grid; gap: 28px; margin-top: 28px; }
.vm h3 { font-family: var(--cond); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--mag-ink); font-weight: 600; margin-bottom: 8px; }
.vm p { color: var(--ink-2); max-width: var(--measure); }

/* contact section (home + contact page) */
.minichart { width: 100%; aspect-ratio: 4 / 3; border: 1.5px solid var(--ink); background: var(--water); display: block; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.contact-grid .caution { margin-top: 28px; }

/* ---------- inner pages ---------- */
.pagehead { background: var(--depth-1); padding: clamp(40px, 6vw, 72px) var(--gutter); border-bottom: 1.5px solid var(--ink); }
.pagehead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: end; }
.pagehead h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); font-stretch: 108%; }
.pagehead .lead { margin-top: 18px; }
.pagehead .crumbs { font-family: var(--cond); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.pagehead .crumbs a { text-decoration: none; }
.pagehead .crumbs a:hover { color: var(--mag-ink); }
.pagehead .minichart { aspect-ratio: 5 / 3; }
.body { padding-block: var(--sect); padding-inline: var(--gutter); }
.body-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 110px); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-top: 48px; margin-bottom: 14px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 8px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; background: var(--ais); border: 1px solid var(--ink); transform: rotate(45deg); }
.prose ul + p, .prose ol + p, .prose p + ul, .prose p + ol { margin-top: 16px; }
.prose ol { margin-top: 14px; padding-left: 0; list-style: none; counter-reset: n; display: grid; gap: 10px; }
.prose ol li { position: relative; padding-left: 44px; color: var(--ink-2); }
.prose ol li::before { counter-increment: n; content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--cond); font-weight: 600; color: var(--mag-ink); letter-spacing: .06em; }
.prose .note { border: 2px solid var(--mag); padding: 16px 20px; margin-top: 28px; font-size: 16px; color: var(--ink-2); }
.prose .note b { display: block; font-family: var(--cond); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--mag-ink); margin-bottom: 4px; }
.prose figure { margin: 32px 0 0; }
.prose figure img { border: 1.5px solid var(--ink); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose figcaption { font-family: var(--cond); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.aside-h { font-family: var(--cond); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.tlist-aside .trow { padding: 14px 4px; grid-template-columns: 36px 1fr 22px; }
.tlist-aside .trow-name { font-size: 16px; }
.tlist-aside .trow-line { display: none; }
.tlist-aside .ic-lg { width: 24px; height: 24px; }
.closing { padding: 0 var(--gutter) var(--sect); }

/* about page */
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.facts li { border-top: 1.5px solid var(--ink); padding-top: 14px; padding-left: 0; }
.facts li::before { display: none; }
.facts .k { display: block; font-family: var(--cond); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.facts .v { display: block; font-size: 18px; font-weight: 600; margin-top: 6px; letter-spacing: -.01em; }
.band { position: relative; overflow: hidden; border-block: 1.5px solid var(--ink); }
.band img { width: 100%; height: clamp(240px, 36vw, 480px); object-fit: cover; }
.band .datum { position: absolute; left: var(--gutter); bottom: 14px; background: var(--water); padding: 4px 8px; }

/* fleet page */
.fleet { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; margin-top: 40px; }
.fleet li { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.fleet img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1.5px solid var(--ink); margin-bottom: 14px; }
.fleet .noimg { width: 100%; aspect-ratio: 4 / 3; border: 1.5px solid var(--ink); margin-bottom: 14px; background: repeating-linear-gradient(135deg, var(--depth-1) 0 8px, var(--water) 8px 16px); display: grid; place-items: center; }
.fleet .noimg svg { width: 56px; height: 56px; fill: var(--ais); stroke: var(--ink); stroke-width: 1; }
.fleet h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.fleet h2 .ic-target { width: 16px; height: 16px; fill: var(--ais); stroke: var(--ink); stroke-width: 1.4; flex: none; }
.fleet p { color: var(--ink-3); font-size: 15px; margin-top: 6px; }
.fleet .label { font-size: 12px; color: var(--ink-3); display: block; margin-top: 10px; }

/* contact page */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.cards > div { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.cards .k { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.cards .v { display: block; font-size: 20px; font-weight: 600; margin-top: 8px; text-decoration: none; letter-spacing: -.01em; }
.cards a.v:hover { color: var(--mag-ink); }
.cards .s { display: block; font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 28px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--cond); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--ink); background: var(--water); color: var(--ink); border-radius: 0;
  transition: box-shadow var(--t-fast);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--mag); outline-offset: 2px; }
.form input::placeholder, .form textarea::placeholder { color: var(--ink-3); }
.form input:user-invalid, .form textarea:user-invalid { border-color: var(--mag); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-msg { font-size: 15px; color: var(--ink-2); }
.form-msg.is-err { color: var(--mag-ink); }

/* 404 */
.nodata { min-height: 60vh; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(135deg, var(--depth-1) 0 10px, var(--water) 10px 20px); padding: var(--sect) var(--gutter); }
.nodata > div { background: var(--water); border: 1.5px solid var(--ink); padding: 40px; max-width: 560px; }
.nodata h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }

/* ---------- footer: chart margin ---------- */
.foot { border-top: 1.5px solid var(--ink); background: var(--water); padding: 56px var(--gutter) 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; }
.foot-brand img { width: 220px; height: auto; }
.foot address { font-style: normal; margin-top: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.foot-h { font-family: var(--cond); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.foot-col ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--mag-ink); text-decoration: underline; }
.foot-services { grid-template-columns: 1fr 1fr; }
.foot-datum { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding: 16px 0 22px; border-top: 1px solid var(--grat); font-family: var(--cond); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- plot-in reveals (one grammar) ---------- */
.js [data-plot] { --d: 0ms; }
.js [data-plot]:not(.is-plotted) { clip-path: inset(0 100% 0 0); }
.js [data-plot].is-plotted { clip-path: inset(0 0 0 0); transition: clip-path 760ms var(--ease-out) var(--d); }
.js .hero [data-plot]:not(.is-plotted) { clip-path: inset(0 0 100% 0); }
.js .hero [data-plot].is-plotted { clip-path: inset(0 0 0 0); }
.js .route-draw .leg-solid { stroke-dasharray: 1; stroke-dashoffset: 1; } /* path carries pathLength="1" */
.js .route-draw.is-plotted .leg-solid { animation: draw 1.4s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-plot]:not(.is-plotted), .js [data-plot].is-plotted { clip-path: none; transition: none; }
  .js .route-draw .leg-solid { stroke-dasharray: none; animation: none; }
  .hero-corner .ic-down { animation: none; }
  .tgt, .tgt-sym { transition: none; }
  .btn, .trow, .trow::after, .nav-dd-menu { transition: none; }
}

/* capture mode: full-page screenshots at a fixed viewport height */
.is-capture .hero { min-height: 844px; }
.is-capture [data-plot], .is-capture [data-plot].is-plotted { clip-path: none !important; transition: none !important; }
.is-capture .route-draw .leg-solid { stroke-dasharray: none !important; animation: none !important; }
@media (max-width: 860px) { .is-capture .hero-chart { height: 480px; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar-readouts { display: none; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .codes { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .pagehead-grid { grid-template-columns: 1fr; }
  .pagehead .minichart { max-width: 520px; }
  .body-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bar { gap: 16px; }
  .bar-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--bar-h) 0 0 0; background: var(--chrome); color: #fff; margin: 0; padding: 16px var(--gutter) 32px;
    flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto;
    transform: translateX(100%); transition: transform var(--t-med) var(--ease-out); visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid #3a3f47; }
  .nav-list a, .nav-dd-btn { width: 100%; padding: 16px 4px; font-size: 20px; font-weight: 600; border-bottom: 0; justify-content: space-between; }
  .nav-list > li > a[aria-current="page"], .nav-dd.is-active > .nav-dd-btn { color: var(--readout); }
  .nav-dd-menu { position: static; min-width: 0; background: transparent; color: #fff; border: 0; box-shadow: none; padding: 0 0 10px; transform: none; display: none; opacity: 1; visibility: visible; }
  .nav-dd-menu::before { display: none; }
  .nav-dd.is-open .nav-dd-menu { display: block; }
  .nav-dd-menu a { color: #fff; font-size: 17px; font-weight: 500; padding: 10px 4px 10px 12px; justify-content: flex-start; }
  .nav-dd-menu a .ic { color: var(--readout); }
  .nav-dd-menu a:hover, .nav-dd-menu a[aria-current="page"] { background: #1d2127; }
  .nav-foot { display: grid; gap: 10px; margin-top: 24px; font-size: 16px; }
  .nav-foot a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--readout); }

  .hero { min-height: 0; grid-template-rows: auto auto; }
  /* eight labels do not fit a phone-width chart: symbols stay as links, the label shows for the active target */
  .tgt-lab { display: none; }
  .tgt.is-hot .tgt-lab, .tgt:focus-visible .tgt-lab { display: block; }
  .tgt-sym { width: 26px; height: 26px; }
  .hero-chart { position: relative; height: 58vh; min-height: 380px; border-bottom: 1.5px solid var(--ink); }
  .hero-ui { width: 100%; padding: 24px var(--gutter) 40px; }
  .titleblock { padding: 22px 20px 20px; }
  .legend { grid-template-columns: 1fr; }
  .hero-corner { position: static; text-align: left; padding: 0 var(--gutter) 24px; margin-top: -16px; }
  .tlist-2col { grid-template-columns: 1fr; }
  .tlist-2col > li:nth-child(2) { border-top: 0; margin-top: 0; }
  .codes { grid-template-columns: 1fr; }
  .facts, .cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-services { grid-template-columns: 1fr; }
  .strip figure { flex-basis: 240px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .caution { padding: 16px; }
  .caution .btn { width: 100%; justify-content: center; }
  .trow { grid-template-columns: 36px 1fr 22px; }
  .trow-name { font-size: 17px; }
}
