@font-face {
  font-family: "Fraunces Placeholder";
  src: local("Times New Roman"), local("Times"), local("Liberation Serif");
  size-adjust: 115.2%;
  ascent-override: 88.89%;
  descent-override: 21.97%;
  line-gap-override: 0%;
}
:root {
  --sea: oklch(18% 0.03 250);
  --sea-2: oklch(24% 0.035 248);
  --foam: oklch(88% 0.03 80);
  --foam-mute: color-mix(in oklch, var(--foam) 78%, var(--sea));
  --rust: oklch(62% 0.16 48);
  --on-rust: oklch(18% 0.05 48);
  --rule: oklch(32% 0.03 250);
  --stroke: oklch(40% 0.03 250);
  /* Call to action (CONTENT-MODEL.md, Site template): the same red on every
     portfolio site, white text, in both themes. Rust stays for accents and links. */
  --cta: #ef4444;
  --cta-hover: #dc2626;
  --on-cta: #ffffff;
  color-scheme: dark;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Fraunces Placeholder", serif;
}
* { box-sizing: border-box; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
html { scroll-padding-top: var(--head-h, 4.75rem); }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--sea);
  color: var(--foam);
  font-family: var(--sans);
  line-height: 1.6;
  letter-spacing: 0.01em;
  caret-color: var(--rust);
  scrollbar-color: var(--rule) var(--sea);
}
::selection {
  background: var(--rust);
  color: var(--on-rust);
}
:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
a[href^="tel:"]:not(.btn),
a[href^="mailto:"]:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, var(--foam) 45%, transparent);
}
a[href^="tel:"]:not(.btn):hover,
a[href^="mailto:"]:not(.btn):hover {
  color: var(--rust);
  text-decoration-color: var(--rust);
}
.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  background: var(--rust);
  color: var(--on-rust);
  padding: 8px 12px;
  text-decoration: none;
}

.top {
  position: absolute; inset: 0 0 auto; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  view-transition-name: watch-bar;
}
body[data-view]:not([data-view="home"]) .top {
  position: sticky; top: 0; background: var(--sea); mix-blend-mode: normal; border-bottom: 1px solid var(--rule);
}
/* Endorsed lockup (assets/brand/README.md): fixed height, natural width, never below
   the README minimums (header 44px tall, horizontal 80px tall, stacked 120px wide).
   Under 768px the <picture> falls back to Ship & Rig's own logo. */
.brand img { height: 40px; width: auto; max-width: none; }
@media (min-width: 768px) { .brand img { height: 48px; } }
@media (min-width: 1024px) {
  .brand img { height: 80px; }
  .top { padding-block: 12px; }
}
.top nav { display: flex; gap: 20px; font-weight: 600; }
.top nav a {
  text-decoration: none;
  color: var(--foam-mute);
  transition: color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.top nav a.is-current { color: var(--foam); box-shadow: inset 0 -2px 0 var(--rust); }
.tools { display: flex; gap: 10px; align-items: center; }
.duty-clock {
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--rust);
  line-height: 1;
  white-space: nowrap;
}
.duty-clock.on-quay { display: none; }
.hero-watch {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: 40rem;
}
.duty-clock .sep {
  animation: watch-blink 1s steps(1, end) infinite;
}
@keyframes watch-blink {
  50% { opacity: 0.45; }
}
.watch-paused .duty-clock .sep { animation: none; }
.lang { display: flex; }
.lang.in-menu { display: none; }
/* Settings switches: text options, current one full contrast with a rust underline. */
.lang { align-items: center; }
.lang button {
  background: none; border: 0; padding: 6px 0; min-height: 2rem;
  color: var(--foam-mute); font-weight: 600; cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 2px; text-underline-offset: 0.35em;
  transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease);
}
.lang button + button { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--rule); }
.lang button:hover { color: var(--foam); }
.lang button.is-active { color: var(--foam); text-decoration-color: var(--rust); cursor: default; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  cursor: pointer;
}
.btn {
  display: inline-flex; padding: 12px 18px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.btn.cta { background: var(--cta); color: var(--on-cta); transition: background-color 150ms var(--ease); }
.btn.cta:hover { background: var(--cta-hover); }
.btn.ghost { border-color: var(--foam); transition: background 150ms var(--ease); }
.btn.ghost:hover { background: color-mix(in oklch, var(--foam) 8%, transparent); }

.cinema { position: relative; min-height: 100vh; }
.cinema video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) contrast(1.1); }
.cinema::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, oklch(14% 0.03 250 / 0.88) 0%, oklch(14% 0.03 250 / 0.2) 70%);
}
.cinema-copy {
  position: relative; z-index: 1; max-width: 40rem;
  padding: calc(var(--head-h, 5.5rem) + 6vh) 8vw 10vh;
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  hyphens: none;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; margin: 0 0 20px; }
h3, .svc-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rust);
  margin: 0 0 10px;
}
.lede { font-size: 1.15rem; line-height: 1.65; max-width: 52ch; margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.film {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 8px; padding: 8px;
}
.film img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: filter 400ms var(--ease);
}
.film figure:hover img,
.film figure:focus-within img {
  filter: saturate(1) contrast(1.05);
}
.film figcaption { font-size: 0.8rem; padding: 8px 4px; color: var(--foam-mute); }

.watch-services { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; padding: 88px 8vw; }
.watch-services > div > p:not(.kicker) { max-width: 42ch; margin: 0; }
.svc-index {
  display: grid; grid-template-columns: 3rem 1fr; gap: 4px 16px;
  padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.svc-index .svc-name { margin: 0; }
.svc-index .svc-short { grid-column: 2; color: var(--foam-mute); font-size: 0.92rem; margin: 0; }
.svc-num {
  color: var(--rust);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "WONK" 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

/* Solutions: summary with figures beside it, then the three lifecycle stages. */
.sol-intro {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr); gap: 56px;
  align-items: end; padding: 88px 8vw 48px;
}
.sol-intro.is-page { padding-top: 6.5rem; }
.sol-intro-copy .lede { max-width: 56ch; }
.stats-col {
  flex-direction: column; gap: 20px; margin: 0;
  padding-left: 28px; border-left: 1px solid var(--rule);
}
.sol-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; padding: 0 8vw 88px; }
.sol-cat { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.sol-cat-fig { margin: 0 0 20px; overflow: hidden; }
.sol-cat-fig img {
  width: 100%; height: 440px; object-fit: cover; display: block;
  filter: saturate(0.75) contrast(1.05);
  transition: filter 500ms var(--ease), transform 900ms var(--ease);
}
.sol-cat:hover .sol-cat-fig img,
.sol-cat:focus-visible .sol-cat-fig img { filter: saturate(1) contrast(1.08); transform: scale(1.03); }
.sol-cat-stage {
  font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "WONK" 0;
  font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.sol-cat-name { font-weight: 600; margin: 0 0 8px; }
.sol-cat-long { color: var(--foam-mute); font-size: 0.92rem; line-height: 1.5; margin: 0 0 16px; max-width: 40ch; }
.sol-more, .text-link {
  margin-top: auto; color: var(--rust); text-decoration: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.text-link { display: inline-block; margin-top: 24px; }
.sol-more span, .text-link span[aria-hidden] { display: inline-block; transition: transform 300ms var(--ease); }
.sol-cat:hover .sol-more span, .sol-cat:focus-visible .sol-more span,
.text-link:hover span[aria-hidden], .text-link:focus-visible span[aria-hidden] { transform: translateX(4px); }

/* Sticky section index on the Solutions page. */
.sol-subnav {
  position: sticky; top: var(--head-h, 76px); z-index: 4;
  background: var(--sea); border-block: 1px solid var(--rule);
}
.sol-subnav ol {
  display: flex; gap: 0; list-style: none; margin: 0; padding: 0 8vw;
  overflow-x: auto; scrollbar-width: none;
}
.sol-subnav ol::-webkit-scrollbar { display: none; }
.sol-subnav a {
  display: flex; align-items: baseline; gap: 10px; white-space: nowrap;
  padding: 16px 24px 16px 0; margin-right: 24px;
  color: var(--foam-mute); text-decoration: none; font-weight: 600;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.sol-subnav a:hover { color: var(--foam); }
.sol-subnav a.is-current { color: var(--foam); box-shadow: inset 0 -2px 0 var(--rust); }
.sub-name { font-weight: 400; font-size: 0.85rem; color: var(--foam-mute); }

.sol-detail {
  scroll-margin-top: 64px; padding: 72px 8vw 24px; outline: none;
}
.sol-detail-head { max-width: 46rem; margin-bottom: 32px; }
.sol-types { border-bottom: 1px solid var(--rule); }
.sol-type {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  padding: 28px 0; border-top: 1px solid var(--rule);
}
.sol-type h3 { font-size: 1.15rem; }
.sol-type p { margin: 0; color: var(--foam-mute); max-width: 52ch; }
.sol-ex-label {
  color: var(--rust) !important; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 10px !important;
}
.sol-ex { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sol-ex li { position: relative; padding-left: 18px; }
.sol-ex li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 9px; height: 1px; background: var(--rust); }
.sol-proc { padding-bottom: 96px; }
.proc-facts { list-style: none; margin: 0; padding: 0; max-width: 46rem; border-top: 1px solid var(--rule); }
.proc-facts li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--foam-mute); }

/* Chat button: the Crisp launcher's size and place, so nothing moves when the
   widget loads on click and replaces it. */
.chat-launch {
  position: fixed; right: 24px; bottom: 20px; z-index: 6;
  display: grid; place-items: center; width: 54px; height: 54px; padding: 0;
  border: 0; border-radius: 50%; background: var(--cta); color: #fff; cursor: pointer;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
}
.chat-launch:hover { background: var(--cta-hover); }
.chat-launch:focus-visible { outline: 2px solid var(--foam, #fff); outline-offset: 3px; }
.chat-launch[aria-busy="true"] { opacity: 0.6; cursor: progress; }

/* Sits left of the chat button / Crisp launcher (54px, 24px from the right edge on desktop, 14px on phones). */
.float-cta {
  position: fixed; right: 108px; bottom: 28px; z-index: 5;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }

.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; padding: 0 8vw 56px; }
.about-story p:not(.kicker) { margin: 0; max-width: 52ch; }

.night-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 0 8vw 88px; align-items: center; }
.night-about img { height: 420px; width: 100%; object-fit: cover; }
.night-about p { max-width: 48ch; margin: 0; }
.stats { display: flex; gap: 28px; list-style: none; padding: 0; margin: 32px 0 0; font-variant-numeric: tabular-nums; }
.stats span { display: block; font-size: 0.8rem; color: var(--foam-mute); }
.stats strong { display: block; font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "WONK" 0; font-size: 2.2rem; }
.clients-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 18px 8vw;
  border-top: 1px solid var(--rule);
}
.clients-bar p {
  margin: 0;
  flex: 0 0 auto;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.clients-bar ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-weight: 600;
  line-height: 1;
}
.clients-bar li {
  padding: 0 22px 0 0;
  margin: 0 22px 0 0;
  border-right: 1px solid var(--rule);
}
.clients-bar li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.page-head { padding: 6.5rem 8vw 2.75rem; max-width: 46rem; }
.svc-long, .staff, .contact-split, .procs { padding: 0 8vw 80px; }
.svc { margin-bottom: 56px; }
.svc-fig img { width: 100%; height: 320px; object-fit: cover; margin-bottom: 16px; }
.svc-body p { margin: 0; max-width: 62ch; }
.staff { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; }
.person { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--rule); }
.person-mark { background: var(--rust); color: var(--on-rust); display: grid; place-items: center; font-weight: 700; }
.person-photo { width: 64px; height: 64px; border-radius: 50%; background: none; object-fit: cover; }
.person-role { color: var(--rust); margin: 0 0 10px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.person-links { display: flex; flex-direction: column; margin: 0; gap: 6px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px 32px; padding: 0 8vw 48px; }
.about-grid p { margin: 0; max-width: 42ch; }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 8px; padding: 0 8vw; }
.gallery img { height: 320px; object-fit: cover; width: 100%; }
.group-block { padding: 72px 8vw 80px; }
.sisters { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px 24px; padding-top: 32px; }
.sister-role { color: var(--rust); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 8px; }
.sister p:last-child { margin: 0; color: var(--foam-mute); max-width: 36ch; }
.sister-logo { display: flex; align-items: center; height: 56px; margin-bottom: 16px; }
.sister-logo img { max-height: 48px; max-width: 180px; width: auto; }
.sister-logo.is-plate { align-self: flex-start; display: inline-flex; padding: 6px 10px; background: #fff; border-radius: 4px; }
.sister-logo.is-plate img { max-height: 40px; }
/* Sister logos follow the theme: dark artwork on light grounds and back. */
.sister-logo .on-light { display: none; }
:root[data-theme="light"] .sister-logo .on-light { display: block; }
:root[data-theme="light"] .sister-logo .on-dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .sister-logo .on-light { display: block; }
  :root:not([data-theme="dark"]) .sister-logo .on-dark { display: none; }
}
.lede a { color: inherit; text-decoration-color: var(--rust); text-underline-offset: 0.22em; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.loc p { margin: 0 0 8px; max-width: 36ch; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; }
label > span { font-weight: 600; }
input, textarea {
  background: var(--sea-2); border: 1px solid var(--stroke); color: var(--foam);
  padding: 12px; font: inherit;
}
input::placeholder, textarea::placeholder {
  color: color-mix(in oklch, var(--foam) 62%, var(--sea));
}
input:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--foam);
}
[data-form-status] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  color: var(--foam);
  font-variant-numeric: tabular-nums;
}
[data-form-status].is-logged {
  animation: hatch-open 300ms var(--ease);
}
[data-form-status][hidden] { display: none; }
.form-note { margin: 0; font-size: 0.9rem; color: var(--foam-mute); }
.form-note a { color: inherit; text-decoration-color: var(--rust); text-underline-offset: 0.22em; }
.log-mark {
  color: var(--rust);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "WONK" 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
iframe { width: 100%; height: 240px; border: 0; filter: invert(0.88) hue-rotate(180deg); }
.proc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; padding: 40px 0; border-top: 1px solid var(--rule); }
.proc-id {
  color: var(--rust);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "WONK" 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.proc h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-wrap: pretty;
  hyphens: none;
}
.proc header p:not(.proc-id) {
  margin: 0;
  max-width: 48ch;
  color: var(--foam-mute);
}
.proc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.proc-steps li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 10px; }
.proc-steps li span {
  color: var(--rust);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.foot { padding: 48px 8vw; border-top: 1px solid var(--rule); }
.foot a { color: inherit; display: block; text-decoration: none; }
.foot a[href^="tel:"],
.foot a[href^="mailto:"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, var(--foam) 45%, transparent);
}
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px 32px; padding-top: 32px; }
/* Footer row 1: the Ship & Rig × Industripartnerne lockup, horizontal from
   768px (at least 91px tall, assets/brand/README.md), stacked and 240px wide below. */
.foot-brand { grid-column: 1 / -1; padding-bottom: 16px; }
.foot-brand img { width: 240px; height: auto; }
@media (min-width: 768px) { .foot-brand img { width: auto; height: 96px; } }
@media (max-width: 767px) { .foot-brand { display: flex; justify-content: center; } }
.foot-sublabel { color: var(--foam-mute); font-size: 0.85rem; }
.foot-grid p:not(.foot-label) { margin: 0 0 4px; }
.foot-label { color: var(--foam-mute); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.copy { color: var(--foam-mute); margin: 0; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule);
  font-size: 0.85rem;
}
.foot .agent-link, .foot .legal-link {
  display: inline-block; color: var(--foam-mute);
  text-decoration: underline; text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, var(--foam) 35%, transparent);
}
.foot .agent-link:hover, .foot .legal-link:hover,
.foot .agent-link:focus-visible, .foot .legal-link:focus-visible { color: var(--foam); text-decoration-color: var(--rust); }

/* Privacy page (CONTENT-MODEL.md, Privacy page). */
/* "informasjonskapsler" is wider than a phone at this size. */
[data-view="privacy"] h1 { hyphens: auto; overflow-wrap: break-word; }
.privacy { padding: 0 8vw 80px; max-width: calc(68ch + 16vw); }
.privacy h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 1.6em 0 0.4em; }
.privacy h2:first-child { margin-top: 0; }
.privacy p { color: var(--foam-mute); }
.privacy a { color: var(--foam); text-decoration-color: var(--rust); text-underline-offset: 0.22em; }
.draft-label { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border: 1px dashed var(--rust); font-size: 0.85rem; }

@media (max-width: 900px) {
  .top { overflow: visible; }
  .top nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    min-height: calc(100dvh - 4.75rem);
    z-index: 8;
    background: var(--sea);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 28px 40px;
    overflow: auto;
  }
  .top nav.is-open {
    display: flex;
    animation: hatch-open 380ms var(--ease);
  }
  .top nav a { width: max-content; }
  .lang.in-tools { display: none; }
  .lang.in-menu {
    display: flex;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
    width: 100%;
  }
  body.menu-open { overflow: hidden; }
  .menu-btn { display: grid; }
  .film, .watch-services, .night-about, .staff, .about-grid, .gallery, .sisters, .contact-split, .proc, .foot-grid { grid-template-columns: 1fr; }
  .sol-intro, .sol-cats, .sol-type, .about-story { grid-template-columns: 1fr; }
  .sol-intro { gap: 32px; }
  .stats-col { flex-direction: row; flex-wrap: wrap; border-left: 0; padding-left: 0; gap: 20px 28px; }
  .sol-cat-fig img { height: 260px; }
  .sol-type { gap: 16px; }
  .sub-name { display: none !important; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .float-cta { right: 90px; bottom: 20px; left: 16px; text-align: center; }
  .chat-launch { right: 14px; bottom: 14px; }
  .cinema-copy { padding-top: max(5.25rem, 12vh); }
  .top { mix-blend-mode: normal; background: oklch(14% 0.03 250 / 0.6); }
  .duty-clock.in-nav { display: none; }
  .duty-clock.on-quay { display: inline-flex; align-items: baseline; }
}
@keyframes hatch-open {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}
@keyframes hatch-exit {
  to { clip-path: inset(0 0 100% 0); }
}
::view-transition-old(root) {
  animation: 280ms var(--ease) both hatch-exit;
}
::view-transition-new(root) {
  animation: 420ms var(--ease) both hatch-open;
}
::view-transition-old(watch-bar),
::view-transition-new(watch-bar) {
  animation: none;
  mix-blend-mode: normal;
}

@media (prefers-reduced-motion: reduce) {
  .cinema video { display: none; }
  .cinema { background: url("assets/video/jackup-tow-poster.jpg") center/cover; }
  .duty-clock .sep { animation: none; }
  .film img,
  .sol-cat-fig img,
  .float-cta,
  .btn.cta,
  .btn.ghost,
  .top nav a,
  .lang button { transition: none; }
  .film img { filter: none; }
  .top nav.is-open,
  [data-form-status].is-logged { animation: none; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* About: heritage, people and community share the Solutions section rhythm. */
.sol-detail .about-story,
.sol-detail .gallery,
.sol-detail .staff { padding-inline: 0; }
.sol-detail .about-story { padding-bottom: 40px; }
.sol-detail .staff { padding-bottom: 0; }
.sol-detail .sisters { padding-top: 0; padding-bottom: 72px; }
.about-story .foot-label { margin: 0 0 10px; }

/* Language lives in the footer as a site setting. */
/* Site settings: label and switch on one line, labels in the footer label style. */
.foot-settings { display: grid; grid-template-columns: max-content max-content; align-items: center; gap: 4px 20px; }
.foot-settings .foot-label { margin: 0; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* Frozen header on home: transparent over the film, solid once scrolled. */
body[data-view="home"] .top { position: fixed; transition: background-color 200ms var(--ease), border-color 200ms var(--ease); border-bottom: 1px solid transparent; }
body.head-solid[data-view="home"] .top { background: var(--sea); border-bottom-color: var(--rule); }

/* Our clients: their logos are made for white, so they sit on a light band in both themes. */
.clients-bar { background: oklch(96.5% 0.01 80); border-top: 0; padding-block: 24px; }
.clients-bar p { color: oklch(50% 0.15 45); }
.clients-bar ul { row-gap: 16px; }
.clients-bar li { display: flex; align-items: center; border-right-color: oklch(86% 0.012 80); }
.clients-bar img { display: block; height: 32px; width: auto; }

/* Light theme. Three states (CONTENT-MODEL.md, Site template): no data-theme
   is Auto and follows the system, so the light palette applies when the system
   is light; data-theme="light" or "dark" is the visitor's choice in the footer.
   Ship & Rig's dark palette (:root above) is the default. The film keeps its
   night palette in both. */
:root[data-theme="light"] {
  color-scheme: light;
  --sea: oklch(97.5% 0.008 80);
  --sea-2: oklch(94% 0.012 80);
  --foam: oklch(24% 0.03 250);
  --foam-mute: color-mix(in oklch, oklch(24% 0.03 250) 72%, oklch(97.5% 0.008 80));
  --rust: oklch(52% 0.15 45);
  --on-rust: oklch(98% 0.008 80);
  --rule: oklch(87% 0.012 80);
  --stroke: oklch(74% 0.02 250);
}
:root[data-theme="light"] .cinema {
  --sea: oklch(18% 0.03 250);
  --foam: oklch(88% 0.03 80);
  --foam-mute: color-mix(in oklch, oklch(88% 0.03 80) 78%, oklch(18% 0.03 250));
  --rust: oklch(62% 0.16 48);
  --on-rust: oklch(18% 0.05 48);
  color: var(--foam);
}
:root[data-theme="light"] body[data-view="home"] .top { position: sticky; top: 0; background: var(--sea); border-bottom-color: var(--rule); }
:root[data-theme="light"] iframe { filter: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --sea: oklch(97.5% 0.008 80);
    --sea-2: oklch(94% 0.012 80);
    --foam: oklch(24% 0.03 250);
    --foam-mute: color-mix(in oklch, oklch(24% 0.03 250) 72%, oklch(97.5% 0.008 80));
    --rust: oklch(52% 0.15 45);
    --on-rust: oklch(98% 0.008 80);
    --rule: oklch(87% 0.012 80);
    --stroke: oklch(74% 0.02 250);
  }
  :root:not([data-theme="dark"]) .cinema {
    --sea: oklch(18% 0.03 250);
    --foam: oklch(88% 0.03 80);
    --foam-mute: color-mix(in oklch, oklch(88% 0.03 80) 78%, oklch(18% 0.03 250));
    --rust: oklch(62% 0.16 48);
    --on-rust: oklch(18% 0.05 48);
    color: var(--foam);
  }
  :root:not([data-theme="dark"]) body[data-view="home"] .top { position: sticky; top: 0; background: var(--sea); border-bottom-color: var(--rule); }
  :root:not([data-theme="dark"]) iframe { filter: none; }
}

/* Content-model sections (CONTENT-MODEL.md): Services wraps the A/B/C stages. */
.sol-group { scroll-margin-top: 64px; outline: none; }
.sol-group > .sol-cats { padding-top: 56px; }
.about-single { grid-template-columns: minmax(0, 1fr); }
.sol-detail .stats { margin: 0 0 40px; }
.sol-type .cap-service { margin-top: 12px; font-size: 0.9rem; }
.cap-service a, .careers a, .news-follow a, .quality-contact a { color: var(--rust); text-underline-offset: 0.22em; }
.careers { max-width: 46rem; padding: 48px 0 32px; }
.careers h3 { font-size: 1.15rem; margin: 0 0 8px; }
.careers p { margin: 0; color: var(--foam-mute); max-width: 52ch; }

.quality-contact { margin: 0; max-width: 46rem; font-size: 1.1rem; }

/* Proof band: key figures sit on the client-logo band (light in both themes). */
.proof { background: oklch(96.5% 0.01 80); color: oklch(24% 0.03 250); }
.sol-detail .proof { margin: 8px -8vw 0; }
.proof-stats {
  display: flex; flex-wrap: wrap; gap: 24px 72px; list-style: none; margin: 0;
  padding: 40px 8vw 32px; border-bottom: 1px solid oklch(86% 0.012 80);
  font-variant-numeric: tabular-nums;
}
.proof-stats li { display: grid; grid-template-columns: auto auto; column-gap: 18px; align-items: center; justify-content: start; }
.proof-icon {
  grid-row: span 2; width: 44px; height: 44px; padding: 8px; border-radius: 50%;
  background: oklch(52% 0.15 45 / 0.1); fill: none; stroke: oklch(52% 0.15 45);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.proof-stats strong {
  font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "WONK" 0;
  font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1;
}
.proof-stats span { font-size: 0.8rem; color: oklch(42% 0.02 250); margin-top: 4px; }
.proof .clients-bar { background: transparent; }

/* Contact: Visit us, Company, People (the only home of named people), Request. */
.contact-block { padding: 0 8vw 64px; }
.contact-block > h2, .contact-block .loc h2 { margin: 0 0 20px; }
.contact-block .contact-split, .contact-block .staff { padding: 0; }
.contact-block .contact-split { align-items: start; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 32px;
  margin: 0; border-top: 1px solid var(--rule);
}
.facts div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--foam-mute); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.facts dd { margin: 6px 0 0; }
#request form { max-width: 40rem; }

/* News: a front page. Masthead, category sections, the newest story as lead. */
.masthead { padding: 6.5rem 8vw 0; text-align: center; }
.masthead h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1; margin: 8px 0 0; }
.masthead-line {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px;
  margin: 32px 0 0; padding: 10px 0; border-top: 1px solid var(--foam); border-bottom: 3px double var(--foam);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--foam-mute);
}
.news-paper { padding: 0 8vw 24px; }
.news-section { padding-top: 48px; scroll-margin-top: 64px; outline: none; }
.news-section-title {
  font-family: inherit; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rust); margin: 0 0 24px; padding-top: 10px; border-top: 2px solid var(--foam);
}
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 32px 0; }
.news-item { padding-right: 32px; }
.news-item:not(.is-lead) + .news-item:not(.is-lead) { border-left: 1px solid var(--rule); padding-left: 32px; }
.news-item time { color: var(--foam-mute); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.news-item h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 8px 0 10px; }
.news-item p { margin: 0; color: var(--foam-mute); max-width: 62ch; }
.news-item.is-lead { grid-column: 1 / -1; padding: 0 0 32px; border-bottom: 1px solid var(--rule); }
.news-item.is-lead h3 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 22ch; margin-bottom: 18px; }
.news-item h3 a { color: inherit; text-decoration: none; }
.news-item h3 a:hover, .news-item h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.news-item.is-lead p:not(.news-links, .news-cat) { font-size: 1.12rem; color: var(--foam); max-width: 64ch; }
.news-item.is-lead p + p:not(.news-links) { margin-top: 1em; }
.news-item.is-lead :is(h2, h3, .news-image) + p::first-letter {
  float: left; font-family: var(--serif); font-size: 3.6em; line-height: 0.8; padding: 6px 10px 0 0; color: var(--rust);
}
.news-links { margin-top: 16px !important; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.news-links a { color: var(--rust); text-decoration: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.news-links a:hover, .news-links a:focus-visible { text-decoration: underline; text-underline-offset: 0.3em; }
.news-empty { margin: 0; color: var(--foam-mute); }
/* One story on its own page: /news/<slug> */
.news-article { padding-top: 48px; border-bottom: 0; }
.news-article h2 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.1; max-width: 22ch; margin: 12px 0 24px; }
.news-cat { color: var(--rust) !important; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.news-cat time { color: inherit; }
.news-image { display: block; width: 100%; max-width: 960px; height: auto; margin: 0 0 24px; }
.news-follow { padding: 40px 8vw 96px; margin: 0; }
@media (max-width: 900px) {
  .masthead { text-align: left; }
  .masthead-line { flex-direction: column; }
  .news-item { padding-right: 0; }
  .news-item:not(.is-lead) + .news-item:not(.is-lead) { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
}

/* Main menu: each item opens its page; hover or focus shows its sections. */
.top nav { align-items: center; }
.nav-item { position: relative; padding-block: 10px; }
.nav-sub {
  position: absolute; top: 100%; left: -18px; z-index: 7; min-width: 15rem;
  list-style: none; margin: 0; padding: 8px 0;
  background: var(--sea); border: 1px solid var(--rule);
  box-shadow: 0 12px 32px oklch(0% 0 0 / 0.25);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 0s linear 150ms;
}
.nav-item:not(.is-dismissed):hover .nav-sub,
.nav-item:not(.is-dismissed):focus-within .nav-sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.top nav .nav-sub a {
  display: block; padding: 8px 18px; font-weight: 400; white-space: nowrap;
  box-shadow: inset 2px 0 0 transparent;
}
.top nav .nav-sub a:hover, .top nav .nav-sub a:focus-visible { color: var(--foam); box-shadow: inset 2px 0 0 var(--rust); }
@media (max-width: 900px) {
  .top nav { align-items: flex-start; }
  .nav-item { padding: 0; }
  .nav-sub {
    position: static; min-width: 0; padding: 6px 0 0 14px; border: 0; background: none; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .top nav .nav-sub a { padding: 5px 0; font-size: 0.95rem; }
}

/* Footer: company social profiles, icon plus visible label. */
.foot .foot-follow { margin-top: 20px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot .social a { display: inline-flex; align-items: center; gap: 10px; }
.foot .social a:hover span, .foot .social a:focus-visible span { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: var(--rust); }
.social-icon { flex: none; }
.contact-block .loc + .facts { margin-top: 24px; }

/* Capabilities: people and expertise follow the physical ones. */
.cap-group {
  margin: 56px 0 0; padding-bottom: 16px; font-family: inherit; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust);
}
.sol-type h4 { font-size: 1.15rem; margin: 0; }

/* Culture: three core tenets. */
.tenets { padding-bottom: 48px; }
.tenets > p { margin: 0 0 16px; color: var(--foam-mute); }
.tenets ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.tenets li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--rule); }
.tenets li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.tenets li span { display: block; color: var(--rust); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; margin-bottom: 8px; }
.tenets strong {
  font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "WONK" 0;
  font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15;
}
.about-story a { color: var(--rust); text-underline-offset: 0.22em; }
@media (max-width: 900px) {
  .tenets ol { grid-template-columns: 1fr; }
  .tenets li, .tenets li + li { padding: 20px 0; border-left: 0; }
}

/* Home: credentials and latest-news teasers, closing call to action */
.home-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 88px 8vw; }
.home-teaser h2 { margin: 8px 0 12px; }
.home-teaser h2 a { color: inherit; text-decoration: none; }
.home-teaser p { max-width: 48ch; margin: 0 0 16px; }
.home-cta { padding: 88px 8vw; }
.home-cta .lede { max-width: 56ch; }
.home-cta .btn { margin-top: 16px; }
@media (max-width: 800px) { .home-teasers { grid-template-columns: 1fr; gap: 40px; padding: 56px 8vw; } .home-cta { padding: 56px 8vw; } }
