/* ==========================================================================
   Lion Shipping & Chartering — theme v2 "Chart"
   Palette from the nautical chart: deep water ink, shallows, chart paper,
   land, signal yellow. Hazard red is reserved for dangerous-goods content.
   ========================================================================== */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
	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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900;
	src: url("../fonts/source-serif-4-latin-standard-italic.woff2") format("woff2");
	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: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900;
	src: url("../fonts/source-serif-4-latin-ext-standard-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }

:root {
	--ink: #0F2C3F;          /* deep water */
	--ink-2: #24465C;
	--ink-soft: #4A6476;     /* secondary text */
	--shallows: #DCEBEF;
	--shallows-2: #C6DDE6;
	--paper: #F7FAFA;
	--white: #FFFFFF;
	--land: #E9E2C8;
	--contour: #8DB6C4;
	--signal: #F2B705;
	--signal-2: #FFC928;
	--hazard: #C4372D;
	--rule: #C9D7DD;

	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;

	/* modular scale 1.25 on 17px */
	--fs-0: 0.85rem;
	--fs-1: 1.0625rem;
	--fs-2: 1.33rem;
	--fs-3: 1.66rem;
	--fs-4: clamp(1.75rem, 2.6vw, 2.25rem);
	--fs-5: clamp(2.2rem, 4.2vw, 3.3rem);
	--fs-6: clamp(2.6rem, 6vw, 4.9rem);

	--measure: 68ch;
	--w: 1240px;
	--gutter: clamp(1.1rem, 4vw, 2.5rem);
	--section: clamp(4rem, 9vw, 7.5rem);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
/* overflow: clip keeps the sticky header working; older browsers use hidden on <html> above */
@supports (overflow: clip) { html { overflow-x: visible; } html, body { overflow-x: clip; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-1)/1.62 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--contour); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); margin: 0 0 .6em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-6); font-stretch: 118%; font-weight: 760; line-height: 1; letter-spacing: -.015em; }
h2 { font-size: var(--fs-4); font-stretch: 112%; line-height: 1.12; letter-spacing: -.01em; margin-top: 2.2em; }
h3 { font-size: var(--fs-2); line-height: 1.25; font-weight: 650; margin-top: 1.8em; }
h4 { font-size: var(--fs-1); font-weight: 700; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
small { font-size: var(--fs-0); }
address { font-style: normal; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ls-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--signal); color: var(--ink); padding: .8rem 1rem; font-weight: 700; }
.ls-skip:focus { left: 1rem; top: 1rem; }
.ls-container { width: 100%; max-width: calc(var(--w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ls-icon { flex: none; vertical-align: -3px; }
.ls-serif, .ls-coord { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* Buttons --------------------------------------------------------------- */
.ls-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	font: 650 1rem/1.15 var(--sans); font-stretch: 108%;
	padding: .95rem 1.4rem; border: 2px solid var(--ink); border-radius: 3px;
	background: var(--signal); color: var(--ink); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s;
}
.ls-btn:hover, .wp-block-button__link:hover { background: var(--signal-2); color: var(--ink); }
.ls-btn--line, .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); }
.ls-btn--line:hover, .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--paper); }
.ls-btn--on-dark { border-color: var(--paper); }
.ls-btn--line.ls-btn--on-dark { color: var(--paper); }
.ls-btn--line.ls-btn--on-dark:hover { background: var(--paper); color: var(--ink); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }

/* Utility bar & header -------------------------------------------------- */
.ls-utility { background: var(--ink); color: #C9D8E1; font-size: var(--fs-0); }
.ls-utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.ls-utility a { color: var(--paper); text-decoration: none; }
.ls-utility a:hover { color: var(--signal); }
.ls-utility__ops strong { color: var(--signal); font-weight: 650; }
.ls-utility__links { display: flex; gap: 1.6rem; }

.ls-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--rule); }
.admin-bar .ls-header { top: 32px; }
.ls-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; }
.ls-brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; flex: none; }
.ls-brand__logo { width: 54px; height: 54px; border-radius: 50%; }
.ls-brand__name { display: block; font-weight: 780; font-stretch: 120%; font-size: 1.2rem; line-height: 1; letter-spacing: -.01em; }
.ls-brand__sub { display: block; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--ink-soft); margin-top: .2rem; }

.ls-nav { display: flex; align-items: center; gap: 1.25rem; }
.ls-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.ls-menu li { margin: 0; position: relative; }
.ls-menu > li { display: flex; align-items: center; }
.ls-menu a { display: block; padding: .55rem .8rem; font-weight: 560; font-size: .97rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
/* thin separators between top-level items: Home | About Us | ... */
.ls-menu > li + li::before { content: ""; width: 1px; height: 1.05em; background: var(--rule); margin-right: .05rem; }
.ls-menu > li > a { box-shadow: inset 0 -3px 0 transparent; }
.ls-menu > li > a:hover, .ls-menu > .current-menu-item > a, .ls-menu > .current-menu-ancestor > a, .ls-menu > .current-menu-parent > a { box-shadow: inset 0 -3px 0 var(--signal); }
.ls-submenu-toggle { background: none; border: 0; padding: .3rem; margin-left: -.55rem; color: var(--ink); cursor: pointer; display: inline-flex; }
.ls-menu .sub-menu {
	list-style: none; margin: 0; padding: .6rem 0; position: absolute; top: calc(100% + 1px); left: 0; min-width: 300px;
	background: var(--white); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--shallows-2);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.ls-menu li:hover > .sub-menu, .ls-menu li:focus-within > .sub-menu, .ls-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ls-menu .sub-menu a { padding: .5rem 1.1rem; font-weight: 500; white-space: normal; }
.ls-menu .sub-menu a:hover, .ls-menu .sub-menu .current-menu-item > a { background: var(--shallows); }
.ls-nav__cta { padding: .75rem 1.1rem; white-space: nowrap; }

.ls-nav-toggle { display: none; width: 46px; height: 46px; background: none; border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; position: relative; }
.ls-nav-toggle__bars, .ls-nav-toggle__bars::before, .ls-nav-toggle__bars::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s, background-color .2s; }
.ls-nav-toggle__bars { top: 20px; }
.ls-nav-toggle__bars::before { left: 0; right: 0; top: -7px; }
.ls-nav-toggle__bars::after { left: 0; right: 0; top: 7px; }
.ls-nav-toggle[aria-expanded="true"] .ls-nav-toggle__bars { background: transparent; }
.ls-nav-toggle[aria-expanded="true"] .ls-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.ls-nav-toggle[aria-expanded="true"] .ls-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1359px) and (min-width: 1024px) {
	.ls-nav__cta { display: none; }
	.ls-menu a { padding-inline: .6rem; font-size: .94rem; }
	.ls-header__inner { gap: 1rem; }
}
@media (max-width: 1023px) {
	.ls-menu > li + li::before { display: none; }
	.ls-nav-toggle { display: block; }
	.ls-nav {
		position: fixed; top: var(--ls-header-offset, 120px); right: 0; bottom: 0; width: min(440px, 100%);
		flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1rem 1.5rem 2rem; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
		padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
		background: var(--paper); border-left: 1px solid var(--ink);
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	.ls-nav.is-open { transform: none; visibility: visible; }
	.ls-menu { flex-direction: column; align-items: stretch; }
	.ls-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.ls-menu > li > a { flex: 1; padding: .95rem 0; font-size: 1.05rem; box-shadow: none !important; }
	.ls-menu > .current-menu-item > a, .ls-menu > .current-menu-ancestor > a { color: var(--ink); font-weight: 700; }
	.ls-submenu-toggle { margin: 0; padding: .8rem; }
	.ls-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.ls-menu .sub-menu { position: static; display: none; min-width: 0; width: 100%; border: 0; box-shadow: none; background: none; padding: 0 0 .8rem; opacity: 1; visibility: visible; transform: none; }
	.ls-menu li.is-open > .sub-menu { display: block; }
	.ls-menu .sub-menu a { padding: .45rem .75rem; }
	body.ls-nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .ls-header { top: 46px; } }
@media (max-width: 720px) {
	.ls-utility__where, .ls-utility__mail { display: none; }
	.ls-utility__inner { justify-content: center; }
	.ls-header__inner { min-height: 70px; }
	.ls-brand__logo { width: 44px; height: 44px; }
	.ls-brand__name { font-size: 1.05rem; }
	.ls-brand__sub { font-size: .85rem; }
}

/* Homepage hero: the chart -------------------------------------------- */
.ls-hero { border-bottom: 1px solid var(--rule); background: var(--paper); }
.ls-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.ls-hero__title { font-size: clamp(2.15rem, 4.3vw, 3.85rem); margin: 0 0 1.4rem; max-width: none; text-wrap: wrap; }
.ls-hero__text { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin-bottom: 2rem; }
.ls-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0 0 2.75rem; }
.ls-hero__ports { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .25rem 2.25rem; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.ls-hero__ports dt { font-weight: 700; font-stretch: 112%; font-size: 1.05rem; }
.ls-hero__ports dd { margin: 0; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .95rem; }
.ls-hero__ports > div { display: flex; flex-direction: column; }
.ls-hero__chart { margin: 0; position: relative; }
.ls-hero__chart svg { display: block; width: 100%; height: auto; max-height: min(86vh, 900px); margin-inline: auto; }
.ls-hero__chart figcaption { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .92rem; margin-top: .6rem; }
@media (max-width: 960px) {
	.ls-hero__grid { grid-template-columns: 1fr; }
	.ls-hero__chart { order: -1; margin-inline: calc(-1 * var(--gutter)); }
	.ls-hero__chart svg { max-height: 62vh; }
	.ls-hero__chart figcaption { padding-inline: var(--gutter); }
}
@media (max-width: 560px) { .ls-hero__ports { grid-template-columns: 1fr 1fr; } }

/* Chart animation: one orchestrated sequence on load. */
.ls-chart.is-animated .c-mask { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.ls-chart.is-animated .c-ship { offset-rotate: auto; offset-distance: 0%; opacity: 0; }
.ls-chart.is-animated .c-port-halo { transform-box: fill-box; transform-origin: center; opacity: 0; }
.ls-chart.is-animated.is-playing .c-mask-sea { animation: ls-draw 2.6s cubic-bezier(.45, .05, .3, 1) .5s forwards; }
.ls-chart.is-animated.is-playing .c-ship { animation: ls-sail 2.6s cubic-bezier(.45, .05, .3, 1) .5s forwards; }
.ls-chart.is-animated.is-playing .c-mask-canal { animation: ls-draw 1.8s ease-in-out 3.2s forwards; }
.ls-chart.is-animated.is-playing .c-port-2 .c-port-halo { animation: ls-halo 1.6s ease-out 2.9s forwards; }
.ls-chart.is-animated.is-playing .c-port-1 .c-port-halo { animation: ls-halo 1.6s ease-out 3.3s forwards; }
.ls-chart.is-animated.is-playing .c-port-3 .c-port-halo { animation: ls-halo 1.6s ease-out 3.6s forwards; }
@keyframes ls-draw { to { stroke-dashoffset: 0; } }
@keyframes ls-sail { 0% { opacity: 0; offset-distance: 0%; } 8% { opacity: 1; } 100% { opacity: 1; offset-distance: 92%; } }
@keyframes ls-halo { 0% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }
/* Browsers without CSS motion paths (older Safari/Firefox): hide the moving ship, routes still draw. */
@supports not (offset-path: path("M0,0 L1,1")) { .ls-chart.is-animated .c-ship { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.ls-chart.is-animated .c-mask { stroke-dashoffset: 0 !important; animation: none !important; }
	.ls-chart.is-animated .c-ship { opacity: 1 !important; offset-distance: 92% !important; animation: none !important; }
	.ls-chart.is-animated .c-port-halo { opacity: 1 !important; animation: none !important; }
}

/* Inner page header ---------------------------------------------------- */
.ls-page-hero { border-bottom: 1px solid var(--rule); }
.ls-page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.25rem, 5vw, 4rem); }
.ls-page-hero.no-image .ls-page-hero__grid { grid-template-columns: 1fr; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.ls-page-hero__title { font-size: var(--fs-5); font-stretch: 116%; line-height: 1.04; margin: .6rem 0 1rem; max-width: 14em; }
.ls-page-hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; margin: 0; }
.ls-page-hero__media { margin: 0; }
.ls-page-hero__media img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.ls-breadcrumb { font-size: var(--fs-0); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .45rem; }
.ls-breadcrumb a { color: var(--ink-soft); }
@media (max-width: 860px) { .ls-page-hero__grid { grid-template-columns: 1fr; } }

/* Content --------------------------------------------------------------- */
.ls-content { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section); }
.ls-content > :first-child { margin-top: 0; }
.ls-content > * { max-width: var(--measure); }
.ls-content.ls-content > .wp-block-columns, .ls-content.ls-content > .ls-index, .ls-content.ls-content > .ls-logos,
.ls-content.ls-content > .ls-cta, .ls-content.ls-content > .ls-team, .ls-content.ls-content > .ls-emails,
.ls-content.ls-content > .wp-block-image, .ls-content.ls-content > .ls-callout { max-width: none; }
.ls-with-sidebar .ls-content > * { max-width: none; }
.lead { font-size: 1.27rem; line-height: 1.5; color: var(--ink); font-weight: 420; }

.wp-block-image { margin: 2rem 0; }
.wp-block-image img { display: block; border: 1px solid var(--rule); }
.wp-block-image figcaption { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .95rem; margin-top: .5rem; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin: 1.5rem 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }

/* Lists: chart-style yellow tick */
.ls-checklist { list-style: none; padding: 0; }
.ls-checklist li { position: relative; padding-left: 1.6rem; }
.ls-checklist li::before { content: ""; position: absolute; left: 0; top: .72em; width: .85rem; height: 3px; background: var(--signal); }
.ls-checklist.is-2col { columns: 2 260px; column-gap: 2.5rem; }
.ls-checklist.is-2col li { break-inside: avoid; }

/* Ruled columns (formerly cards): a top rule, no boxes. */
.ls-cards { gap: clamp(1.25rem, 3vw, 2.5rem); }
.ls-cards > .wp-block-column { border-top: 2px solid var(--ink); padding-top: 1rem; }
.ls-cards h3 { margin-top: 0; font-size: 1.18rem; }
.ls-cards p, .ls-cards li { color: var(--ink-2); font-size: 1rem; }
.ls-cards.is-accent > .wp-block-column { border-top-color: var(--signal); border-top-width: 4px; }

/* Callout: a chart note */
.ls-callout { background: var(--shallows); border-left: 4px solid var(--ink); padding: 1.3rem 1.5rem .4rem; margin: 2rem 0; }
.ls-callout.is-gold { border-left-color: var(--signal); background: var(--white); border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ls-callout h3, .ls-callout > .wp-block-group__inner-container > h3:first-child { margin-top: 0; }

/* Documents */
.ls-docs { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.ls-docs li { margin: 0; border-bottom: 1px solid var(--rule); }
.ls-docs a { display: flex; gap: 1rem; align-items: baseline; padding: .8rem 0; text-decoration: none; font-weight: 560; }
.ls-docs a::before { content: "PDF"; flex: none; font: 700 .72rem/1 var(--sans); font-stretch: 112%; color: var(--ink); background: var(--shallows); padding: .3rem .4rem; border-radius: 2px; }
.ls-docs a:hover { text-decoration: underline; text-decoration-color: var(--signal); }

/* Sections ---------------------------------------------------------------- */
.ls-front-content > * { margin-block: 0; }
.ls-section { padding: var(--section) var(--gutter); }
.ls-section > *, .ls-section > .wp-block-group__inner-container > * { max-width: var(--w); margin-inline: auto; }
.ls-section > .wp-block-group__inner-container { max-width: none; }
.wp-block-group__inner-container > :first-child { margin-top: 0; }
.wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.ls-section.is-shallows { background: var(--shallows); }
.ls-section.is-ink { background: var(--ink); color: #D3E0E8; }
.ls-section.is-ink h2, .ls-section.is-ink h3 { color: var(--paper); }
.ls-section.is-ink .ls-cards > .wp-block-column { border-top-color: var(--signal); }
.ls-section.is-ink .ls-cards p { color: #B9CCD8; }
.ls-section h2 { margin-top: 0; }
.ls-section-head { margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.ls-section-head > .wp-block-group__inner-container, .ls-section-head:not(:has(> .wp-block-group__inner-container)) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1rem 3rem; align-items: end; }
.ls-section-head > .wp-block-group__inner-container > *, .ls-section-head > :not(.wp-block-group__inner-container) { margin: 0 !important; }
.ls-section-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 40em; }
.ls-section.is-ink .ls-section-head p { color: #B9CCD8; }
@media (max-width: 860px) { .ls-section-head > .wp-block-group__inner-container, .ls-section-head { grid-template-columns: 1fr !important; } }
.ls-section .wp-block-columns { align-items: flex-start; }
.ls-intro .lead { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 400; }

/* Service index (grouped list) ----------------------------------------- */
.ls-index { border-top: 2px solid var(--ink); }
.ls-index__group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 0 2.5rem; border-bottom: 1px solid var(--rule); }
.ls-index__label { padding: 1.4rem 0; }
.ls-index__label h3 { margin: 0; font-size: 1.05rem; font-weight: 700; font-stretch: 112%; position: sticky; top: 110px; }
.ls-index__label p { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .95rem; margin: .3rem 0 0; position: sticky; top: 140px; }
.ls-index__items { list-style: none; margin: 0; padding: 0; }
.ls-index__items li { margin: 0; border-top: 1px solid var(--rule); }
.ls-index__items li:first-child { border-top: 0; }
.ls-index__link { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.6rem; align-items: center; padding: 1.25rem 0; text-decoration: none; color: var(--ink); }
.ls-index__thumb { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--rule); background: var(--white); }
.ls-index__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.ls-index__title { display: block; font-size: var(--fs-3); font-weight: 700; font-stretch: 114%; line-height: 1.1; letter-spacing: -.01em; margin-bottom: .35rem; }
.ls-index__text { display: block; color: var(--ink-2); max-width: 46em; }
.ls-index__link:hover .ls-index__title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ls-index__link:hover .ls-index__thumb img { transform: scale(1.04); }
@media (max-width: 860px) {
	.ls-index__group { grid-template-columns: 1fr; }
	.ls-index__label { padding-bottom: 0; }
	.ls-index__label h3, .ls-index__label p { position: static; }
}
@media (max-width: 560px) {
	.ls-index__link { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; align-items: start; }
	.ls-index__title { font-size: 1.2rem; }
	.ls-index__text { font-size: .95rem; }
}

/* Ports ------------------------------------------------------------------ */
.ls-ports { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.ls-ports__chart { margin: 0; }
.ls-ports__chart img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); background: var(--paper); }
.ls-ports__list { margin: 0; }
.ls-port { padding: 1.1rem 0 1rem; border-top: 2px solid var(--ink); }
.ls-port:first-child { padding-top: .2rem; border-top: 0; }
.ls-port h3 { margin: 0; font-size: 1.5rem; font-stretch: 116%; }
.ls-port .ls-coord { color: var(--ink-soft); display: block; margin-bottom: .45rem; }
.ls-port p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .ls-ports { grid-template-columns: 1fr; } }

/* Logos ------------------------------------------------------------------ */
.ls-logos { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.ls-logos li { margin: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); display: flex; flex-direction: column; }
.ls-logos a { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--ink); }
.ls-logos a:hover { background: var(--shallows); }
.ls-logos__img { display: flex; align-items: center; justify-content: center; height: 120px; padding: 1rem 1.25rem; }
.ls-logos__img img { max-height: 76px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.ls-logos__title { display: block; padding: 0 1rem .9rem; text-align: center; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.ls-logos__url { display: block; padding: 0 1rem 1rem; text-align: center; font-size: .82rem; color: var(--ink-soft); word-break: break-all; }
.ls-logos.is-large { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ls-logos.is-large .ls-logos__img { height: 150px; }
.ls-logos.is-large .ls-logos__img img { max-height: 110px; }
.ls-logos.is-strip { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ls-logos.is-strip .ls-logos__img { height: 100px; }
.ls-logos.is-strip .ls-logos__img img { max-height: 58px; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.ls-logos.is-strip li:hover .ls-logos__img img { filter: none; opacity: 1; }
.ls-logos.is-strip .ls-logos__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Credentials ----------------------------------------------------------- */
.ls-creds { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.ls-creds__iso { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ls-creds__iso li { margin: 0; border-bottom: 1px solid var(--rule); }
.ls-creds__iso a { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; text-decoration: none; }
.ls-creds__iso strong { font-weight: 750; font-stretch: 112%; }
.ls-creds__iso span { color: var(--ink-2); }
.ls-creds__iso a:hover span { text-decoration: underline; text-decoration-color: var(--signal); }
@media (max-width: 900px) { .ls-creds { grid-template-columns: 1fr; } }

/* CTA band --------------------------------------------------------------- */
.ls-cta { background: var(--ink); color: #D3E0E8; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 3rem; align-items: end; padding: clamp(2rem, 5vw, 3.5rem); margin: 2.5rem 0; position: relative; }
.ls-cta::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .18); pointer-events: none; }
.ls-cta h2 { color: var(--paper); margin: 0 0 .7rem; font-size: var(--fs-4); }
.ls-cta p { margin: 0; max-width: 34em; }
.ls-cta__phone { display: block; color: var(--signal); font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 760; font-stretch: 116%; text-decoration: none; line-height: 1; margin-bottom: .4rem; }
.ls-cta__phone:hover { color: var(--signal-2); }
.ls-cta__note { font-family: var(--serif); font-style: italic; color: #B9CCD8; display: block; margin-bottom: 1.4rem; }
.ls-cta__mails { list-style: none; margin: 0; padding: 0; position: relative; }
.ls-cta__mails li { margin: 0; padding: .45rem 0; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: space-between; }
.ls-cta__mails span { color: #B9CCD8; font-size: .92rem; }
.ls-cta__mails a { color: var(--paper); font-weight: 600; text-decoration-color: rgba(255, 255, 255, .35); word-break: break-word; }
.ls-cta__mails a:hover { text-decoration-color: var(--signal); }
@media (max-width: 860px) { .ls-cta { grid-template-columns: 1fr; align-items: start; } }

/* Band (other services) */
.ls-band { background: var(--shallows); padding-block: clamp(3rem, 7vw, 5rem); }
.ls-band__title { margin-top: 0; }

/* Sidebar ----------------------------------------------------------------- */
.ls-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ls-sidebar { display: grid; gap: 1.75rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.ls-side-title { font-size: 1rem; font-weight: 700; font-stretch: 112%; margin: 0 0 .6rem; }
.ls-side-nav { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ls-side-nav li { margin: 0; border-bottom: 1px solid var(--rule); }
.ls-side-nav a { display: block; padding: .62rem 0 .62rem .9rem; text-decoration: none; font-weight: 540; font-size: .97rem; border-left: 3px solid transparent; margin-left: -.9rem; padding-left: .9rem; }
.ls-side-nav a:hover { border-left-color: var(--contour); }
.ls-side-nav .is-current a { border-left-color: var(--signal); font-weight: 700; }
.ls-side-card { background: var(--ink); color: #D3E0E8; padding: 1.5rem; }
.ls-side-card .ls-side-title { color: var(--paper); }
.ls-side-card p { font-size: .97rem; }
.ls-side-card a:not(.ls-btn) { color: var(--paper); }
.ls-side-card__phone { display: block; font-size: 1.45rem; font-weight: 760; font-stretch: 114%; color: var(--signal) !important; text-decoration: none; margin: .2rem 0 .1rem; }
.ls-side-card .ls-coord { color: #B9CCD8; display: block; margin-bottom: 1rem; }
.ls-side-card p a { word-break: break-word; }
@media (min-width: 961px) and (min-height: 1000px) { .ls-sidebar { position: sticky; top: 108px; } }
@media (max-width: 960px) { .ls-with-sidebar { grid-template-columns: 1fr; } .ls-sidebar { padding-top: 0; padding-bottom: 3rem; } }

/* Contact ----------------------------------------------------------------- */
.ls-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 2rem; margin-bottom: 2rem; border-top: 2px solid var(--ink); }
.ls-person { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.ls-person h4 { margin: 0; font-size: 1.05rem; }
.ls-person p { margin: 0; }
.ls-person__role { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-bottom: .3rem !important; }
.ls-emails { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 2rem; border-top: 2px solid var(--ink); }
.ls-emails li { margin: 0; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.ls-emails strong { display: block; font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.ls-map { position: relative; min-height: 340px; background: var(--shallows); border: 1px solid var(--rule); display: grid; place-items: center; text-align: center; padding: 2rem; margin-bottom: 1.5rem; }
.ls-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ls-map__load { font: 650 1rem var(--sans); background: var(--ink); color: var(--paper); border: 0; border-radius: 3px; padding: .9rem 1.4rem; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; }
.ls-map__note { font-size: .88rem; color: var(--ink-soft); margin: 1rem 0 0; }

.ls-form { display: grid; gap: 1.1rem; background: var(--white); border: 1px solid var(--ink); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 8px 8px 0 var(--shallows-2); }
.ls-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .ls-form__row { grid-template-columns: 1fr; } }
.ls-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .93rem; }
.ls-form input[type="text"], .ls-form input[type="email"], .ls-form input[type="tel"], .ls-form select, .ls-form textarea {
	width: 100%; font: inherit; font-weight: 400; padding: .75rem .85rem; border: 1px solid #9DB3BF; border-radius: 2px; background: var(--paper); color: var(--ink);
}
.ls-form input:focus, .ls-form select:focus, .ls-form textarea:focus { outline: 3px solid var(--signal); outline-offset: 0; border-color: var(--ink); background: var(--white); }
.ls-form .ls-form__consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-2); }
.ls-form__consent input { margin-top: .3rem; }
.ls-form button { justify-self: start; }
.ls-form__hp { position: absolute; left: -9999px; }
.ls-notice { padding: 1rem 1.25rem; margin-bottom: 1rem; font-weight: 600; border-left: 4px solid; }
.ls-notice--ok { background: #E6F2EA; border-color: #2E7D4F; }
.ls-notice--err { background: #FBEAE8; border-color: var(--hazard); }

/* Dangerous goods pages get the hazard colour as their accent */
.ls-dg .ls-checklist li::before { background: var(--hazard); }
.ls-dg .ls-cards > .wp-block-column { border-top-color: var(--hazard); }

.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th, .wp-block-table td { border-bottom: 1px solid var(--rule); padding: .6rem .5rem; text-align: left; }
.ls-legal { font-size: 1rem; }
.ls-legal h2 { font-size: 1.45rem; }
.ls-legal h3 { font-size: 1.15rem; }

/* Footer ------------------------------------------------------------------ */
.ls-footer { background: var(--ink); color: #B9CCD8; font-size: .96rem; }
.ls-footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; padding-block: clamp(3rem, 7vw, 5rem) 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ls-footer__statement { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; font-stretch: 116%; line-height: 1.12; color: var(--paper); margin: 0 0 1.25rem; max-width: 15em; }
.ls-footer__phone { color: var(--signal) !important; font-size: 1.5rem; font-weight: 760; font-stretch: 114%; text-decoration: none; }
.ls-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.ls-footer__title { color: var(--paper); font-size: .95rem; font-weight: 700; font-stretch: 112%; margin: 0 0 .9rem; }
.ls-footer__links { list-style: none; padding: 0; margin: 0; }
.ls-footer__links li { margin-bottom: .45rem; }
.ls-footer a { color: #DCE7EE; text-decoration: none; }
.ls-footer a:hover { color: var(--signal); }
.ls-footer address { margin-bottom: 1rem; line-height: 1.6; }
.ls-footer__ids { font-size: .85rem; color: #8FA7B6; }
.ls-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; font-size: .85rem; }
.ls-footer__bottom p { margin: 0; }
.ls-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.ls-footer__legal li { margin: 0; }
.ls-footer__creds { font-family: var(--serif); font-style: italic; color: #8FA7B6; }
@media (max-width: 960px) { .ls-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ls-footer__grid { grid-template-columns: 1fr 1fr; } }

.ls-meta { color: var(--ink-soft); font-size: .9rem; }
.has-text-align-center { text-align: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .ls-utility, .ls-header, .ls-footer, .ls-sidebar, .ls-band { display: none !important; } }

/* Touch devices: larger tap targets for phone numbers and emails */
@media (hover: none) and (pointer: coarse) {
	.ls-emails a, .ls-person a, .ls-footer__links a, .ls-side-nav a, .ls-cta__mails a { display: inline-block; padding-block: .3rem; }
}

/* Contacts page: company details beside the map */
.ls-contact-card { font-size: 1.05rem; color: var(--ink-2); max-width: 34em; }
.ls-contact-card p { margin: 0 0 .9rem; }
.ls-contact-card__name strong { color: var(--ink); font-weight: 700; font-stretch: 112%; font-size: 1.12rem; }
.ls-contact-card__list { margin: 0 0 .9rem; }
.ls-contact-card__list > div { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .2rem; }
.ls-contact-card__list dt { font-weight: 700; color: var(--ink); }
.ls-contact-card__list dd { margin: 0; }
.ls-contact-card__ids { font-size: .88rem; color: var(--ink-soft); }
.ls-contact-card__nums { line-height: 1.55; }
.ls-contact-card__list > div:has(.ls-contact-card__nums) { align-items: flex-start; }

/* Justified ("block") text: the Trading Terms page, and any block with the
   additional CSS class "ls-justify". Left-aligned on narrow phones, where
   justified text leaves large gaps between words. */
@media (min-width: 600px) {
	.ls-page-trading-terms-and-conditions .ls-content p,
	.ls-page-trading-terms-and-conditions .ls-content ul:not(.ls-docs) li,
	.ls-justify, .ls-justify p, .ls-justify li {
		text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
	}
}
/* Map figures (River Transport) */
.wp-block-image.size-full a { display: block; cursor: zoom-in; }
.wp-block-image .wp-element-caption { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .93rem; margin-top: .55rem; }
