/* Victoria Maritime Trading Ltd. — site styles
   Palette taken from the company livery: logo blue, logo red, hull white, deep water. */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Michroma";
  src: url("fonts/michroma-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --white: #FFFFFF;
  --deck: #F1F4F8;      /* superstructure white, page alt background */
  --ink: #061A4F;       /* deep water: text and dark bands */
  --hull: #002AAA;      /* logo blue */
  --hull-dark: #001E82;
  --red: #B10000;       /* logo red */
  --steel: #4F5D7A;     /* secondary text */
  --line: #DCE2EC;
  --line-strong: #C3CDDD;
  --mist: #B7C5E6;      /* secondary text on dark */
  --sea: #E2E9F6;

  --font-text: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-logo: "Michroma", "Eurostile", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(80px, 9vw, 136px);
  --header-h: 76px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--hull); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--hull-dark); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--hull); outline-offset: 3px; border-radius: 3px; }
.agency :focus-visible, .project :focus-visible, .site-footer :focus-visible, .waterline :focus-visible, .cta :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- type ---------- */
.h2 { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -.028em; font-weight: 500; margin: 0 0 .55em; text-wrap: balance; }
.h3 { font-size: clamp(21px, 1.6vw, 25px); line-height: 1.25; letter-spacing: -.012em; font-weight: 600; margin: 0 0 .7em; }
.h4 { font-size: 17px; line-height: 1.35; font-weight: 650; margin: 1.6em 0 .5em; }
.lead { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.5; letter-spacing: -.005em; max-width: 46ch; }
.section-intro { color: var(--steel); font-size: 18px; max-width: 54ch; margin: 0; }

.section { padding-block: var(--section); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .h2 { margin: 0; max-width: 22ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tick-list li { position: relative; padding-left: 24px; margin-bottom: .5em; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--red); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1.1 var(--font-text); letter-spacing: .005em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-primary { background: var(--hull); color: #fff; }
.btn-primary:hover { background: var(--hull-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sea); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: var(--mist); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.tb-contacts span { margin-right: 16px; }
.tb-social { gap: 4px 20px !important; }
.topbar :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .tb-contacts span, .tb-mail { display: none; } .tb-contacts a { margin-right: 14px; } }
@media (max-width: 520px) { .tb-social { display: none !important; } }

/* ---------- header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--hull); text-decoration: none; }
.brand:hover { color: var(--hull); }
.brand-mark { width: 52px; height: auto; flex: none; }
.mark-bars { fill: var(--hull); }
.mark-v { fill: var(--red); }
.brand-word { display: flex; flex-direction: column; font-family: var(--font-logo); text-transform: uppercase; line-height: 1.2; }
.brand-name { font-size: 13px; letter-spacing: .06em; }
.brand-sub { font-size: 9px; letter-spacing: .24em; margin-top: 2px; }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); }
.site-nav li { position: relative; }
.site-nav a:not(.btn) { position: relative; display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.site-nav > ul > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav > ul > li > a:not(.btn):hover::after, .site-nav a.is-current::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-contact { margin-left: 4px; }

.has-sub { display: flex; align-items: center; gap: 2px; }
.sub-toggle { position: relative; width: 22px; height: 30px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.sub-toggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s var(--ease);
}
.sub-toggle[aria-expanded="true"]::before { transform: translate(-50%, -25%) rotate(-135deg); }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 12px); left: -14px; z-index: 10; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 28px 48px -22px rgba(6, 26, 79, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub-toggle[aria-expanded="true"] + .sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease);
}
.has-sub[data-closed] > .sub { opacity: 0; visibility: hidden; }
.sub a:not(.btn) { padding: 9px 12px; border-radius: 6px; font-size: 15px; }
.sub a:not(.btn):hover, .sub a[aria-current="page"] { background: var(--deck); color: var(--hull); }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 12px;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px;
  font: 600 15px/1 var(--font-text); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(6, 26, 79, .25);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 24px; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { padding: 14px 0; font-size: 19px; }
  .site-nav > ul > li > a:not(.btn)::after { display: none; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { width: 48px; height: 48px; }
  .sub, .has-sub:hover > .sub, .has-sub:focus-within > .sub {
    position: static; flex-basis: 100%; min-width: 0; display: none; padding: 0 0 10px 14px;
    border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .sub::before { display: none; }
  .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .sub a:not(.btn) { font-size: 17px; padding: 10px 12px; }
  .site-nav > ul > li.nav-contact { border-bottom: 0; margin: 18px 0 0; }
  .nav-contact .btn { width: 100%; min-height: 50px; font-size: 16px; }
}
@media (max-width: 420px) {
  .brand-mark { width: 44px; }
  .brand-name { font-size: 11.5px; }
  .brand-sub { font-size: 8px; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { padding: 0 12px; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(36px, 5.5vw, 84px); }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(32px, 4vw, 56px);
}
.hero-title {
  grid-column: 1 / span 8; margin: 0;
  font-size: clamp(42px, 5.9vw, 92px); line-height: .98; letter-spacing: -.038em; font-weight: 500; text-wrap: balance;
}
.hero-intro { grid-column: 9 / span 4; align-self: end; }
.hero-intro p { color: var(--steel); font-size: 18px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { grid-column: 1 / span 8; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--sea); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-media figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px;
  background: rgba(6, 26, 79, .62); color: #fff; font-size: 13px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-stats { grid-column: 9 / span 4; margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.hero-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; flex: 1; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.hero-stats dd { margin: 0; font-family: var(--font-num); font-weight: 750; font-size: clamp(64px, 7vw, 112px); line-height: .86; letter-spacing: -.01em; color: var(--hull); font-variant-numeric: tabular-nums; }
.hero-stats dt { margin-top: 8px; color: var(--steel); font-size: 15.5px; max-width: 24ch; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: rise .9s var(--ease) both; }
  .hero-intro { animation: rise .9s var(--ease) .12s both; }
  .hero-media { animation: unveil 1.2s var(--ease) .18s both; }
  .hero-media img { animation: settle 1.8s var(--ease) .18s both; }
  .hero-stats > div { animation: rise .8s var(--ease) both; }
  .hero-stats > div:nth-child(1) { animation-delay: .45s; }
  .hero-stats > div:nth-child(2) { animation-delay: .57s; }
  .hero-stats > div:nth-child(3) { animation-delay: .69s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

@media (max-width: 960px) {
  .hero-title, .hero-intro, .hero-media, .hero-stats { grid-column: 1 / -1; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-stats { flex-direction: row; border-top: 0; }
  .hero-stats > div { padding: 0 16px 0 0; border-bottom: 0; border-right: 1px solid var(--line); margin-right: 16px; }
  .hero-stats > div:last-child { border-right: 0; margin-right: 0; }
  .hero-stats dt { font-size: 14px; }
}

/* ---------- waterline band (the hull livery: blue, white boot line, red) ---------- */
.waterline { margin-top: clamp(48px, 6vw, 88px); background: var(--red); color: #fff; border-top: 3px solid #fff; box-shadow: 0 -10px 0 var(--hull); position: relative; }
.waterline-inner { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 20px clamp(28px, 4vw, 72px); align-items: center; padding-block: 22px; }
.office-clock { display: flex; align-items: center; gap: 16px; }
.office-clock p { margin: 0; }
.oc-time { font-family: var(--font-num); font-weight: 750; font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2.6ch; }
.oc-meta { display: flex; flex-direction: column; gap: 1px; font-size: 14.5px; }
.oc-city { font-weight: 650; font-size: 16px; }
.oc-status { display: flex; align-items: center; gap: 8px; }
.oc-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; flex: none; }
.office-clock.is-open .oc-status::before { background: #fff; }
.oc-phone { color: #fff; }
.oc-phone:hover { color: #fff; text-decoration-thickness: 2px; }
.waterline-note { margin: 0; font-size: 15px; justify-self: end; max-width: 36ch; text-align: right; }
@media (max-width: 960px) {
  .waterline-inner { grid-template-columns: 1fr 1fr; }
  .waterline-note { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 560px) {
  .waterline-inner { grid-template-columns: 1fr; }
  .oc-time { font-size: 44px; }
}

/* ---------- inner page hero ---------- */
.page-hero { padding-block: clamp(28px, 4vw, 52px) clamp(44px, 5.5vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: clamp(28px, 3.5vw, 48px); font-size: 14px; color: var(--steel); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--hull); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.crumb-sep { color: var(--line-strong); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 4vw, 72px); align-items: end; }
.ph-title { font-size: clamp(40px, 5.4vw, 84px); line-height: 1; letter-spacing: -.036em; font-weight: 500; margin: 0; text-wrap: balance; }
.ph-intro { margin: 0; color: var(--steel); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; max-width: 46ch; }
.ph-media { margin-top: clamp(36px, 4.5vw, 64px); border-radius: var(--radius); overflow: hidden; background: var(--sea); }
.ph-media img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .ph-title { animation: rise .8s var(--ease) both; }
  .ph-intro { animation: rise .8s var(--ease) .1s both; }
}
@media (max-width: 900px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-media img { aspect-ratio: 16 / 9; }
}
.section-tight { padding-block: clamp(56px, 6.5vw, 96px); }
.prose { max-width: 72ch; }
.prose > p:not(.lead) { color: var(--steel); }
.prose .lead { max-width: none; margin-bottom: .9em; }
.prose .h3 { margin-top: 1.8em; }
.prose > :last-child { margin-bottom: 0; }

/* ---------- call to action band (blue, then the white and red of the livery in the footer) ---------- */
.cta { background: var(--hull); color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center; padding-block: clamp(56px, 7vw, 100px); }
.cta .h2 { margin: 0 0 .35em; color: #fff; max-width: 20ch; }
.cta p { margin: 0; color: #D6DEF7; font-size: 18px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta :focus-visible { outline-color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- overview cards ---------- */
.ov-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.ov-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.ov-img { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--sea); }
.ov-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ov-card a:hover .ov-img img, .dept-card:hover .ov-img img { transform: scale(1.04); }
.ov-title { font-size: 22px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; margin: 18px 0 6px; display: flex; align-items: center; gap: 10px; }
.ov-title::after { content: ""; width: 18px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ov-card a:hover .ov-title::after, .ov-card a:focus-visible .ov-title::after, .dept-card:hover .ov-title::after, .dept-card:focus-visible .ov-title::after { transform: scaleX(1); }
.ov-card p { margin: 0; color: var(--steel); }
@media (max-width: 960px) { .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ov-grid { grid-template-columns: 1fr; } }


/* ---------- ship management: department cards and pages ---------- */
.dept-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 48px) clamp(16px, 2vw, 28px); }
.dept-card { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.dept-card:hover { color: var(--ink); }
.dept-card p { margin: 0; color: var(--steel); }
@media (max-width: 960px) { .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dept-grid { grid-template-columns: 1fr; } }

.dept { background: var(--deck); }
.dept-layout { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.dept-nav { align-self: stretch; }
.dept-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); position: sticky; top: calc(var(--header-h) + 28px); }
.dept-nav a { position: relative; display: block; padding: 16px 0 16px 20px; border-bottom: 1px solid var(--line-strong); color: var(--steel); text-decoration: none; font-size: 19px; font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.dept-nav a::before { content: ""; position: absolute; left: 0; top: 13px; bottom: 13px; width: 3px; background: var(--red); transform: scaleY(0); transition: transform .3s var(--ease); }
.dept-nav a:hover, .dept-nav a[aria-current="page"] { color: var(--ink); }
.dept-nav a[aria-current="page"]::before { transform: scaleY(1); }
.dept-body img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); margin-bottom: 36px; background: var(--sea); }
@media (max-width: 900px) {
  .dept-layout { grid-template-columns: 1fr; }
  .dept-nav ul { position: static; display: flex; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line-strong); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .dept-nav ul::-webkit-scrollbar { display: none; }
  .dept-nav a { border-bottom: 0; padding: 12px 16px; font-size: 16.5px; white-space: nowrap; }
  .dept-nav li:first-child a { padding-left: 0; }
  .dept-nav a::before { left: 16px; right: 16px; top: auto; bottom: -1px; width: auto; height: 3px; transform: scaleX(0); }
  .dept-nav li:first-child a::before { left: 0; }
  .dept-nav a[aria-current="page"]::before { transform: scaleX(1); }
  .dept-body img { aspect-ratio: 16 / 9; }
}

/* ---------- yachts ---------- */
.yacht-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.yacht-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 35% 50%; border-radius: var(--radius); }
.yacht-text .lead { margin-bottom: .8em; }
.yacht-text p:not(.lead) { color: var(--steel); max-width: 52ch; margin-bottom: 28px; }
.yacht-services { list-style: none; margin: clamp(56px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.yacht-services li { border-top: 1px solid var(--line-strong); padding: 24px 0 32px; }
.ys-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; }
.yacht-services p { margin: 0; color: var(--steel); }
@media (max-width: 900px) {
  .yacht-grid { grid-template-columns: 1fr; }
  .yacht-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .yacht-services { grid-template-columns: 1fr; } .yacht-services li { padding-bottom: 24px; } }

/* ---------- refit project (dark band) ---------- */
.project { background: var(--ink); color: #fff; }
.project .lead { color: #fff; }
.project p { color: var(--mist); }
.project .tick-list li { color: #fff; }
.project-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.project-head .h2 { max-width: 16ch; }
.project-head .h4 { color: #fff; }
.project-facts { margin: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.project-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.project-facts dt { color: var(--mist); }
.project-facts dd { margin: 0; font-weight: 550; text-align: right; }

@media (max-width: 760px) { .project-head { grid-template-columns: 1fr; } }
.gallery { list-style: none; margin: 0 0 36px; padding: 0; display: flex; gap: 14px; }
.g-item { min-width: 0; }
.g-btn { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #0d2766; }
.g-btn img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.g-btn:hover img { transform: scale(1.03); }
.project .g-cap { margin: 10px 0 0; font-size: 14px; color: var(--mist); }
@media (max-width: 760px) { .gallery { flex-direction: column; } }

/* ---------- STS ---------- */
.sts-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.sts-text p:not(.lead) { color: var(--steel); max-width: 56ch; }
.sts-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) {
  .sts-grid { grid-template-columns: 1fr; }
  .sts-media { order: -1; }
  .sts-media img { aspect-ratio: 16 / 9; }
}

/* ---------- fleet: live AIS map, ship cards, scale drawing, ship pages ---------- */
.home-fleet, .fleet-ships { background: var(--deck); }
.ais { margin-bottom: clamp(32px, 4vw, 56px); }
.ais-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font: 600 14.5px/1 var(--font-text); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ais-frame {
  position: relative; overflow: hidden; border-radius: var(--radius); background-color: var(--sea);
  background-image: linear-gradient(rgba(6, 26, 79, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 26, 79, .07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.ais-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ais-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--steel); font-size: 15px; }
.ais-note { margin: 10px 0 0; font-size: 13.5px; color: var(--steel); }
@media (max-width: 700px) { .ais-frame { height: 440px !important; } }

.fleet-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.vessel { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.vessel-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.vessel-link:hover { color: var(--ink); }
.vessel-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sea); }
.vessel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vessel-link:hover .vessel-img img { transform: scale(1.04); }
.vessel-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.vessel-name { font-size: 26px; font-weight: 550; letter-spacing: -.02em; line-height: 1.15; }
.vessel-type { color: var(--steel); margin: 4px 0 18px; }
.vessel-facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 22px; }
.vessel-facts > span { display: flex; flex-direction: column; font-weight: 550; }
.vessel-facts small { font-size: 13px; color: var(--steel); font-weight: 400; }
.vessel-more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--hull); }
.vessel-more::after { content: ""; width: 18px; height: 2px; background: var(--red); transform: scaleX(.4); transform-origin: left; transition: transform .3s var(--ease); }
.vessel-link:hover .vessel-more::after, .vessel-link:focus-visible .vessel-more::after { transform: scaleX(1); }
@media (max-width: 980px) { .fleet-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fleet-cards { grid-template-columns: 1fr; } }

.scale { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 40px); }
.scale-legend { margin: 0 0 12px; color: var(--steel); font-size: 14px; }
.scale-row {
  display: grid; grid-template-columns: 140px minmax(0, 1fr) 130px; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: 6px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.scale-row:hover { color: inherit; }
.scale-name { font-weight: 600; font-size: 18px; letter-spacing: -.01em; transition: color .2s; }
.scale-row:hover .scale-name { color: var(--hull); }
.scale-meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.scale-meta span:first-child { font-family: var(--font-num); font-weight: 750; font-size: 30px; color: var(--hull); }
.scale-meta span:last-child { font-size: 13.5px; color: var(--steel); }
.ship { display: block; width: 100%; height: auto; overflow: visible; transition: transform .7s var(--ease); }
.scale-row:hover .ship, .scale-row:focus-visible .ship { transform: translateX(1.2%); }
@media (prefers-reduced-motion: reduce) { .scale-row:hover .ship, .scale-row:focus-visible .ship { transform: none; } }
.ship .sea { fill: var(--sea); }
.ship .topsides { fill: var(--hull); }
.ship .bottom { fill: var(--red); }
.ship .bootline { stroke: #fff; stroke-width: .28; }
.ship .house { fill: #EEF2F8; stroke: var(--ink); stroke-width: .16; }
.ship .windows { fill: var(--ink); }
.ship .funnel { fill: var(--ink); }
.ship .funnel-band { fill: var(--red); }
.ship .hatches rect { fill: #2D50C2; }
.ship .mast { stroke: var(--ink); stroke-width: .3; fill: none; }
.scale-bar { display: grid; grid-template-columns: 140px minmax(0, 1fr) 130px; gap: clamp(12px, 2vw, 28px); margin-top: 10px; font-size: 13px; color: var(--steel); }
.sb { position: relative; height: 30px; }
.sb-in { position: absolute; left: 1.64%; width: 81.97%; top: 4px; height: 8px; border: 1.5px solid var(--ink); border-top: 0; }
.sb-in::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px solid var(--ink); }
.sb-in i { position: absolute; top: 12px; font-style: normal; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 700px) {
  .scale-row { grid-template-columns: 1fr auto; }
  .scale-row .ship { grid-column: 1 / -1; grid-row: 2; }
  .scale-meta { flex-direction: row; gap: 10px; align-items: baseline; }
  .scale-meta span:first-child { font-size: 24px; }
  .scale-bar { grid-template-columns: 1fr; }
  .scale-bar > span:not(.sb) { display: none; }
}

.vh-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vh-type { font-size: 20px; color: var(--steel); margin: 10px 0 28px; }
.vh-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 30px; border-top: 1px solid var(--line-strong); }
.vh-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vh-facts dt { color: var(--steel); }
.vh-facts dd { margin: 0; font-weight: 550; text-align: right; }
.vh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vh-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--sea); }
.vessel-position { background: var(--deck); }
.vessel-position .ais { margin-bottom: 0; }
.particulars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.pg { padding-top: 18px; break-inside: avoid; }
.pg-title { font-size: 15px; font-weight: 650; color: var(--hull); margin: 0 0 6px; }
.pg dl { margin: 0; }
.pg dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pg dt { color: var(--steel); }
.pg dd { margin: 0; font-weight: 550; text-align: right; }
.other-vessels { background: var(--deck); }
.other-vessels .fleet-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
@media (max-width: 900px) {
  .vh-grid, .particulars-grid { grid-template-columns: 1fr; }
  .vh-media { order: -1; }
}
@media (max-width: 560px) {
  .vh-facts { grid-template-columns: 1fr; }
  .other-vessels .fleet-cards { grid-template-columns: 1fr; }
}

/* ---------- agency (dark band) ---------- */
.agency { background: var(--ink); color: #fff; }
.agency .section-intro { color: var(--mist); }
.passage-caption { color: var(--mist); font-size: 14.5px; margin: 0 0 18px; }
.passage { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.passage::before { content: ""; position: absolute; left: 10px; right: 0; top: 9px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 10px, transparent 10px 18px); }
.stop { position: relative; padding-top: 44px; }
.stop-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; }
.stop-office .stop-dot { background: var(--red); }
.stop-name { font-size: 24px; font-weight: 550; letter-spacing: -.015em; margin: 0 0 8px; }
.stop p { color: var(--mist); margin: 0 0 10px; font-size: 16px; max-width: 30ch; }
.stop .stop-office-tag { color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.stop-office-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff; }
.agency-supply { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 40px; }
.agency-supply p { margin: 0; font-size: 19px; max-width: 64ch; }
@media (max-width: 900px) {
  .passage { grid-template-columns: 1fr; gap: 28px; }
  .passage::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .55) 0 10px, transparent 10px 18px); }
  .stop { padding: 0 0 0 44px; }
  .agency-supply { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- insurance ---------- */
.insurance-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.insurance-text p:not(.lead) { color: var(--steel); max-width: 54ch; margin-bottom: 28px; }
.cover-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line-strong); }
.cover-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; letter-spacing: -.005em; }
@media (max-width: 900px) { .insurance-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cover-list { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { background: var(--deck); }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.about-text p:not(.lead) { color: var(--steel); max-width: 60ch; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: var(--radius); }
.offices-split, .history { margin-top: clamp(56px, 7vw, 104px); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.split-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); border-top: 4px solid var(--hull); }
.split-place { color: var(--steel); margin: 0 0 4px; font-size: 15px; }
.split-role { font-size: 28px; font-weight: 550; letter-spacing: -.02em; margin: 0 0 18px; }
.split-card .tick-list { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 2px solid var(--ink); }
.timeline li { position: relative; padding-top: 24px; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--deck); }
.tl-year { display: block; font-family: var(--font-num); font-weight: 750; font-size: clamp(48px, 5vw, 72px); line-height: .9; color: var(--hull); margin-bottom: 12px; }
.timeline p { margin: 0; color: var(--steel); max-width: 34ch; }
@media (max-width: 900px) {
  .about-grid, .split-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); padding-left: 24px; gap: 32px; }
  .timeline li { padding-top: 0; }
  .timeline li::before { top: 12px; left: -31px; }
}

/* ---------- careers ---------- */
.careers { background: #fff; }
.careers-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
.careers-media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: 22% 40%; }
.careers-text { align-self: center; padding: clamp(48px, 6vw, 104px) var(--gutter) clamp(48px, 6vw, 104px) clamp(32px, 5vw, 88px); max-width: 640px; }
.careers-text p:not(.lead) { color: var(--steel); }
.careers-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) {
  .careers-grid { grid-template-columns: 1fr; }
  .careers-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .careers-text { padding: 48px var(--gutter) var(--section); }
}

/* ---------- contact ---------- */
.contact { background: var(--deck); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.office { font-style: normal; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.office-name { font-size: 24px; font-weight: 550; letter-spacing: -.015em; margin: 0 0 10px; }
.office-name span { display: block; font-size: 14.5px; font-weight: 400; color: var(--steel); letter-spacing: 0; }
.office p { margin: 0 0 4px; }
.office-hours { color: var(--steel); font-size: 15px; margin-top: 10px !important; }
.map-link { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 15px; }
.general-mail { border-top: 1px solid var(--line-strong); padding-top: 22px; margin: 0; }

.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 52px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.optional { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--hull); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: 14px; margin: 6px 0 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 14px; color: var(--steel); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-status { margin: 0; font-weight: 500; max-width: 46ch; }
.form-status.is-success { color: #0A6B3B; }
.form-status.is-error { color: var(--red); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.office-map {
  margin-top: 14px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background-color: var(--sea);
  background-image: linear-gradient(rgba(6, 26, 79, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 26, 79, .07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.office-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact .office:first-child { border-top: 0; padding-top: 0; }

/* ---------- footer (after the blue band: white boot line, red bottom, deep water) ---------- */
.site-footer { background: var(--ink); color: var(--mist); border-top: 3px solid #fff; }
.site-footer::before { content: ""; display: block; height: 10px; background: var(--red); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) repeat(3, minmax(0, 2.4fr)); gap: 40px; padding-block: 64px 48px; }
.brand-light { color: #fff; margin-bottom: 20px; }
.brand-light:hover { color: #fff; }
.brand-light .mark-bars { fill: #fff; }
.footer-brand p { max-width: 42ch; margin: 0; }
.footer-brand .footer-phones { margin-top: 18px; line-height: 1.9; }
.footer-title { font-size: 14.5px; font-weight: 650; color: #fff; margin: 0 0 14px; }
.footer-title-follow { margin-top: 28px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 32px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.footer-legal p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- lightbox ---------- */
dialog { color: var(--ink); }
.dlg-close { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; }
.dlg-close span::before, .dlg-close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--ink); }
.dlg-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.dlg-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) { dialog[open]::backdrop { animation: fade .3s ease both; } .lightbox[open] { animation: fade .25s ease both; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 12, 38, .94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); }
.lb-img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 4px; }
.lb-caption { font-size: 15px; color: #fff; text-align: center; }
.lb-count { position: absolute; left: 24px; top: 24px; margin: 0; font-size: 14px; color: var(--mist); font-variant-numeric: tabular-nums; }
.lb-close { position: absolute; right: 20px; top: 20px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.lb-close span::before, .lb-close span::after { background: #fff; }
.lb-btn { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn span { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-top: 2px solid #fff; border-left: 2px solid #fff; }
.lb-prev { left: 20px; } .lb-prev span { transform: translate(-30%, -50%) rotate(-45deg); }
.lb-next { right: 20px; } .lb-next span { transform: translate(-70%, -50%) rotate(135deg); }
@media (max-width: 700px) {
  .lb-figure { max-width: calc(100vw - 24px); }
  .lb-btn { top: auto; bottom: 20px; translate: none; }
}

/* ---------- print (ship particulars) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .cta, .crumbs, .vh-actions, .vessel-position, .other-vessels, .skip-link { display: none !important; }
  body { font-size: 12pt; }
  .page-hero, .section-tight { padding-block: 12pt; }
  .vh-media img { max-height: 180pt; width: auto; }
}
