/* ==========================================================================
   Neoclassic Marine & Offshore — home page
   ========================================================================== */

:root {
  --paper:      #fbfbf9;
  --ink:        #0c1c2e;
  --gold:       #b98a3f;
  --gold-soft:  #d9b06a;
  --body:       #5a6470;
  --muted:      #8a93a0;
  --line:       #e4e1d8;
  --sand:       #f2efe7;
  --sand-line:  #ddd8ca;
  --white:      #ffffff;
  --on-ink:     #9fb0c2;

  --gutter: 48px;
  --radius-panel: 28px;
  --radius-card: 24px;

  --ease: cubic-bezier(.2, .6, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px; /* clears the sticky header on in-page jumps */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* `clip` rather than `hidden`: hidden would make <body> a scroll container
     and break the sticky header. */
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease);
}
a:hover { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.dot { color: var(--gold); }

h1, h2, .page-title, .brand-hero__title, .panel__title, .section__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--paper); }

/* ── Buttons & links ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 12px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}
.btn--lg { padding: 17px 36px; font-size: 17px; }

.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--gold); color: var(--paper); }

.btn--ghost { border: 1px solid var(--sand-line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--gold { background: var(--gold); color: var(--paper); }
.btn--gold:hover { background: var(--paper); color: var(--ink); }

.link-underline {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.eyebrow {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(251, 251, 249, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(228, 225, 216, 0);
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
/* Compact once the page has scrolled — 112px of chrome is too much to carry. */
.site-header.is-stuck {
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 1px 0 var(--line);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--paper); }
}

.brand { display: flex; align-items: center; }
.brand__mark {
  height: 72px;
  width: auto;
  transition: height .3s var(--ease);
}
.site-header.is-stuck .brand__mark { height: 48px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--sand-line);
  border-radius: 100px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  padding: 36px var(--gutter) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 44px;
  align-items: stretch;
  min-height: 78vh;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
}

.hero__title {
  font-weight: 700;
  font-size: clamp(52px, 6.6vw, 118px);
  line-height: .97;
  letter-spacing: -.045em;
}
.hero__line { display: block; }

.hero__lede {
  max-width: 480px;
  color: var(--body);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.stat__value { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.stat__label { margin: 0; color: var(--muted); font-size: 14px; }

.hero__media {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--sand);
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__chips {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.chip {
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}
.chip--light { background: rgba(251, 251, 249, .92); color: var(--ink); }
.chip--dark  { background: rgba(12, 28, 46, .85); color: var(--paper); }

/* Rotating seal */
.seal {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 104px;
  height: 104px;
  pointer-events: none;
}
.seal__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(251, 251, 249, .92);
}
.seal__ring {
  position: absolute;
  inset: 0;
  animation: spin 14s linear infinite;
}
.seal__ring text {
  font-size: 12.5px;
  letter-spacing: .22em;
  fill: var(--ink);
  text-transform: uppercase;
}
.seal__core {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-size: 18px;
}

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

/* ── Client marquee ──────────────────────────────────────────────────── */

.marquee { padding-top: 64px; overflow: hidden; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__row {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: -.02em;
  color: var(--sand-line);
  white-space: nowrap;
}
.marquee__caption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Section scaffolding ─────────────────────────────────────────────── */

.section { padding: 100px var(--gutter); }
.section--flush { padding-top: 0; padding-bottom: 100px; }
.section--indent { padding-top: 30px; padding-bottom: 70px; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.section__title {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 60px);
  letter-spacing: -.03em;
}

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Services rows ───────────────────────────────────────────────────── */

.rows { display: flex; flex-direction: column; }

.row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .3s var(--ease), color .2s var(--ease);
}
.rows .row:last-child { border-bottom: 1px solid var(--line); }
.row:hover { padding-left: 20px; color: var(--gold); }

.row__num { color: var(--gold); font-weight: 600; }
.row__name {
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 38px);
  letter-spacing: -.02em;
}
.row__arrow { font-size: 26px; }

/* ── Panels (Why us / CTA band) ──────────────────────────────────────── */

.panel {
  margin: 0 var(--gutter) 100px;
  border-radius: var(--radius-panel);
  display: grid;
  gap: 60px;
}
.panel--sand {
  background: var(--sand);
  padding: 80px 64px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.panel--ink {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 64px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
}

.panel__title {
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 54px);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.panel--ink .panel__title { font-size: clamp(32px, 3.8vw, 56px); }

.panel__lede {
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 440px;
}
.panel--ink .panel__lede {
  color: var(--on-ink);
  line-height: 1.65;
  margin-top: 18px;
  max-width: 520px;
}
.panel--ink .btn { margin-top: 32px; }

.panel__media {
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
}
.panel__media img { width: 100%; height: 100%; object-fit: cover; }

.reasons { display: flex; flex-direction: column; }
.reason {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--sand-line);
}
.reasons .reason:last-child { border-bottom: 1px solid var(--sand-line); }
.reason__num { color: var(--gold); font-weight: 700; font-size: 17px; }
.reason__title { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.reason__body { color: var(--body); line-height: 1.6; font-size: 15px; }

/* ── Cards ───────────────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card--link:hover { border-color: var(--gold); color: var(--ink); }
.card--quiet {
  background: var(--sand);
  border-color: transparent;
  color: var(--muted);
}

/* Supplier logos. Heights are tuned per mark rather than shared, so a wide
   wordmark and a square badge carry the same optical weight. */
.card__logo {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
  margin-bottom: 2px;
}
.card__logo img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.logo-eltorque  { height: 30px; }
.logo-keltron   { height: 46px; }
.logo-panasia   { height: 36px; }
.logo-kam       { height: 34px; }
.logo-saiernico { height: 46px; }
.logo-ktech     { height: 64px; } /* low-res source with baked-in white padding */

.card__title { font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.card--quiet .card__title { color: var(--muted); }
.card__subtitle { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.card__body { color: var(--body); line-height: 1.6; }
.card--quiet .card__body { color: var(--muted); }
.card__cta { color: var(--gold); font-weight: 600; margin-top: auto; }
.card--link:hover .card__cta { color: var(--gold); }

/* ── How we work ─────────────────────────────────────────────────────── */

.steps .step { padding: 28px; gap: 40px; }
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.step__num--gold { background: var(--gold); }
.step .card__body { font-size: 15px; }

/* ── Leadership ──────────────────────────────────────────────────────── */

.person {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 28px;
}
.avatar {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
}
.person__name { display: block; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.person__role { display: block; color: var(--gold); font-weight: 600; font-size: 14px; margin-top: 2px; }
.person__note { display: block; color: var(--body); font-size: 14px; margin-top: 6px; line-height: 1.5; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  padding: 28px var(--gutter);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }

/* ── Floating WhatsApp ───────────────────────────────────────────────── */

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(12, 28, 46, .3);
}
.whatsapp:hover { background: var(--gold); color: var(--paper); }

/* ══ Inner pages ═════════════════════════════════════════════════════ */

.site-nav a[aria-current="page"] { color: var(--gold); }

/* ── Page intro ──────────────────────────────────────────────────────── */

.page-head { padding: 70px var(--gutter) 60px; }
.page-head .eyebrow { display: block; margin-bottom: 18px; }
.page-title {
  font-weight: 700;
  font-size: clamp(48px, 7vw, 110px);
  line-height: .98;
  letter-spacing: -.04em;
}
.page-title--sm { font-size: clamp(44px, 6vw, 96px); max-width: 1100px; }
.page-lede {
  max-width: 520px;
  color: var(--body);
  font-size: 18px;
  line-height: 1.65;
  margin-top: 28px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 36px;
}
.two-col p { color: var(--body); font-size: 17px; line-height: 1.7; }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

.subhead {
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.subhead--sm { font-size: clamp(24px, 2.4vw, 34px); }
.subhead--tight { margin-bottom: 10px; }
.subhead-lede {
  color: var(--body);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* ── Services detail ─────────────────────────────────────────────────── */

.service-list {
  padding: 0 var(--gutter) 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 44px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: start;
}
.service__num { color: var(--gold); font-weight: 700; font-size: 22px; }
.service__title {
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.service__body { color: var(--body); font-size: 16px; line-height: 1.7; }
.service__body a { font-weight: 600; border-bottom: 2px solid var(--gold); }

.service--ink {
  display: block;
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
.service--ink .service__head {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 26px;
}
.service--ink .service__cols {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}
.service--ink .service__body { color: var(--on-ink); }
.service__standards {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-ink);
  line-height: 2;
}

/* ── CTA strip ───────────────────────────────────────────────────────── */

.cta-strip {
  padding: 0 var(--gutter) 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-strip h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 50px);
  letter-spacing: -.03em;
}
.cta-strip__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Catalogue cards ─────────────────────────────────────────────────── */

.catalogue {
  padding: 0 var(--gutter) 90px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cat-card--link:hover { border-color: var(--gold); color: var(--ink); }
.cat-card--quiet {
  background: var(--sand);
  border-color: transparent;
  color: var(--muted);
}
.cat-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cat-card__title { font-weight: 700; font-size: 28px; letter-spacing: -.02em; }
/* --muted on sand is only ~2.7:1 and read as a disabled card; the sand
   background alone carries the "on request" distinction. */
.cat-card--quiet .cat-card__title { color: var(--ink); }
.cat-card__text { color: var(--body); line-height: 1.6; }
.cat-card--quiet .cat-card__text { color: var(--body); }
.cat-card__cta { color: var(--gold); font-weight: 600; margin-top: auto; }

/* Supplier logo standing in for photography the design never received.
   A sand plate with the mark centred beats an empty grey box. */
.media-brand {
  height: 240px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.media-brand img {
  max-width: 78%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── Brand page hero ─────────────────────────────────────────────────── */

.brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: center;
}
.brand-hero__title {
  font-weight: 700;
  font-size: clamp(42px, 5.5vw, 84px);
  line-height: .98;
  letter-spacing: -.04em;
}
.brand-hero__lede {
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 540px;
}
.brand-hero .btn { margin-top: 28px; }
.brand-hero__mark {
  height: 360px;
  border-radius: var(--radius-card);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}
.brand-hero__mark img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── Feature / spec cards ────────────────────────────────────────────── */

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.feature--roomy { padding: 30px; }
.feature__title { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.feature__title--lg { font-size: 18px; margin-bottom: 10px; }
.feature__body { color: var(--body); line-height: 1.6; font-size: 15px; }
.feature__body--airy { line-height: 1.7; }
.feature .eyebrow { display: block; margin-bottom: 8px; }

/* Schematic glyph standing in for product photography we don't hold. Drawn,
   not photographic — it should never read as a picture of the real hardware. */
.feature__figure {
  height: 88px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__figure svg {
  width: 58px;
  height: 58px;
  color: var(--ink);
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.feature__list {
  margin: 0;
  padding-left: 18px;
  color: var(--body);
  line-height: 2;
  font-size: 15px;
  list-style: disc;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ── Spec table ──────────────────────────────────────────────────────── */

.spec {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.spec__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 32px;
  border-top: 1px solid #f0ede4;
}
.spec__row--head {
  padding: 22px 32px;
  border-top: 0;
  background: var(--sand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec__series { font-weight: 700; }
.spec__row span:not(.spec__series) { color: var(--body); }
.spec__row--head span { color: var(--muted); }

.note-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-card);
  padding: 40px 44px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
}
.note-band__title {
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.02em;
}
.note-band__body { color: var(--on-ink); line-height: 1.7; font-size: 15px; }

/* ── Pill list ───────────────────────────────────────────────────────── */

.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pills li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 14px 26px;
  font-weight: 600;
}

/* ── People ──────────────────────────────────────────────────────────── */

.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}
.person-card .avatar { width: 96px; height: 96px; font-size: 26px; }
.person-card__name {
  font-weight: 700;
  font-size: 21px;
  margin-top: 20px;
  letter-spacing: -.01em;
}
.person-card__role {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  margin: 4px 0 12px;
}
.person-card__bio { color: var(--body); line-height: 1.65; font-size: 15px; }
.person-card--compact { padding: 30px; }
.person-card--compact .person-card__name { margin-top: 0; font-size: 19px; }

/* ── Legacy band (About) ─────────────────────────────────────────────── */

.panel--legacy {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  padding: 80px 64px;
  align-items: center;
  gap: 56px;
}
.panel--legacy .panel__media { height: 340px; }
.panel--legacy .eyebrow { color: var(--gold); font-weight: 600; margin-bottom: 14px; display: block; }
.panel--legacy .panel__title { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.08; }
.figures { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.figures dt { font-size: 28px; font-weight: 700; }
.figures dd { margin: 0; color: var(--on-ink); font-size: 14px; }

/* ── Contact ─────────────────────────────────────────────────────────── */

.contact-wrap { padding: 0 var(--gutter) 90px; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 18px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.field--wide { grid-column: 1 / 3; }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--sand-line);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
}
.field textarea { resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.field :invalid:not(:placeholder-shown) { border-color: #b4553f; }

.form-card .btn { margin-top: 24px; border: 0; cursor: pointer; font-family: inherit; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 12px; line-height: 1.6; }
.form-status {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.form-status a { font-weight: 600; border-bottom: 2px solid var(--gold); }
.form-status[hidden] { display: none; }

.contact__aside { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-card);
  padding: 32px;
}
.info-card__title { font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.info-card dl { display: flex; flex-direction: column; gap: 12px; color: var(--on-ink); font-size: 15px; line-height: 1.6; }
.info-card dt { font-weight: 600; color: var(--paper); }
.info-card dd { margin: 0; }
.info-card a { color: var(--on-ink); }
.info-card a:hover { color: var(--gold); }

.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px;
  overflow: hidden;
}
.map-card iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
  border-radius: 14px;
}
.map-card__caption { padding: 10px 8px 4px; font-size: 13px; color: var(--muted); }

/* ── Scroll reveal ───────────────────────────────────────────────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js [data-reveal].is-shown { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel--sand, .panel--ink { padding: 64px 44px; }
  .service { padding: 36px; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; }
  /* The standards column keeps its 100px so "IMCA-COMPLIANT" stays on two
     lines; the number above it stays aligned with it. */
  .service--ink .service__head,
  .service--ink .service__cols { grid-template-columns: 100px minmax(0, 1fr); gap: 24px; }
  .service--ink .service__cols { grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 12px;
  }
  .hero__copy { gap: 36px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .panel--sand, .panel--ink { grid-template-columns: 1fr; gap: 40px; }
  .panel__lede { max-width: 60ch; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; padding: 26px 0; }
  .section { padding: 72px var(--gutter); }
  .section--flush { padding-top: 0; padding-bottom: 72px; }
  .panel { margin-bottom: 72px; }

  .page-head { padding: 48px var(--gutter) 44px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .brand-hero { grid-template-columns: 1fr; gap: 32px; }
  .brand-hero__mark { height: 220px; padding: 40px; order: -1; }
  .brand-hero__mark img { max-height: 110px; }
  .contact { grid-template-columns: 1fr; }
  .panel--legacy { grid-template-columns: 1fr; padding: 48px 32px; }
  .panel--legacy .panel__media { height: 260px; }
  .note-band { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .spec__row,
  .spec__row--head { grid-template-columns: 1fr; gap: 6px; padding: 20px 24px; }
  .spec__row--head { display: none; }
  .cta-strip { padding-bottom: 72px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% - 4px);
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(12, 28, 46, .12);
    font-size: 17px;
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav > a { padding: 12px 14px; border-radius: 12px; }
  .site-nav > .btn { justify-content: center; margin-top: 6px; }
  .brand__mark { height: 52px; }
  .site-header.is-stuck .brand__mark { height: 42px; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; --radius-panel: 22px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__title { letter-spacing: -.035em; }
  .hero__line--inline { gap: 14px; }
  .hero__actions { gap: 12px; }
  .btn--lg { padding: 15px 28px; font-size: 16px; }
  .stats { gap: 24px 32px; }
  .panel--sand, .panel--ink { padding: 44px 24px; }
  .panel__media { height: 220px; }
  .row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; }
  .card, .steps .step, .person { padding: 24px; }
  .steps .step { gap: 28px; }
  .site-footer { flex-direction: column; }
  .seal { width: 78px; height: 78px; }
  .seal__ring text { font-size: 13.5px; }
  .seal__core { inset: 26px; }
  .chip { padding: 8px 14px; font-size: 12px; }
  .hero__chips { flex-direction: column; align-items: flex-start; }

  .grid--2, .catalogue { grid-template-columns: 1fr; }
  .service { padding: 28px 24px; grid-template-columns: 1fr; gap: 14px; }
  .service--ink .service__head,
  .service--ink .service__cols { grid-template-columns: 1fr; gap: 14px; }
  .form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .media-brand { height: 180px; padding: 28px; }
  .pills li { padding: 12px 20px; font-size: 15px; }
  .figures { gap: 24px; }
}

/* ── Visual refresh v5 ────────────────────────────────────────────────── */

/* Solid white chrome keeps navigation visually separate from every page. */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(12, 28, 46, .06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.is-stuck { box-shadow: 0 10px 32px rgba(12, 28, 46, .12); }
.site-nav > a:not(.btn) { position: relative; padding-block: 9px; }
.site-nav > a[aria-current="page"] { color: var(--ink); }
.site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

/* Immersive homepage hero. */
.hero {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: calc(90vh - 101px);
  padding: clamp(64px, 9vh, 120px) var(--gutter) clamp(48px, 7vh, 80px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12,28,46,.94) 0%, rgba(12,28,46,.78) 43%, rgba(12,28,46,.18) 78%),
              linear-gradient(0deg, rgba(12,28,46,.9) 0%, transparent 48%);
}
.hero__copy { position: relative; z-index: 2; max-width: 960px; }
.hero__title { max-width: 820px; text-shadow: 0 3px 28px rgba(0,0,0,.3); }
.hero__foot { margin-top: 40px; }
.hero__lede { color: rgba(251,251,249,.86); }
.hero .btn--dark { background: var(--gold); color: var(--white); }
.hero .btn--dark:hover { background: var(--white); color: var(--ink); }
.hero .btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.06); }
.hero .btn--ghost:hover { background: var(--white); color: var(--ink); }
.hero .link-underline { color: var(--white); }
/* No z-index here: a negative one would trap the chips and seal in its own
   stacking context, behind the ::after scrim. The photo carries the depth. */
.hero__media { position: absolute; inset: 0; min-height: 0; border-radius: 0; background: none; }
.hero__photo { z-index: -2; object-position: center 54%; }
/* Dropped on the full-bleed hero: the stats band now owns the bottom-left and
   the fixed WhatsApp button the bottom-right, so these decorative chips had no
   placement left that did not collide. The seal keeps the corner detail. */
.hero__chips { display: none; }
.hero .seal { z-index: 3; top: 28px; right: var(--gutter); }
.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 190px));
  gap: 12px;
  margin: clamp(36px, 5vh, 56px) 0 0;
  padding: 0;
  border: 0;
}
.stat {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stat__label { color: rgba(251,251,249,.72); }

/* Large outlined client names. */
.marquee { padding: 72px 0 78px; background: var(--ink); }
/* Solid fill, not an outline: -webkit-text-stroke has no Firefox support, so
   `color: transparent` there rendered the whole band invisible. */
.marquee__row {
  font-size: clamp(40px, 4.8vw, 72px);
  color: rgba(251, 251, 249, .8);
  letter-spacing: -.035em;
}
.marquee__caption { color: var(--gold-soft); margin-top: 22px; }

/* Five deliberately art-directed crops from the two supplied photographs. */
.rows {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 340px;
  padding: 28px;
  border: 0 !important;
  border-radius: var(--radius-card);
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  color: var(--white);
  background-size: cover;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-size .55s var(--ease);
}
.row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Weighted to the bottom, where the title sits, so the middle of the frame
     keeps the photograph's own colour instead of washing navy over it. */
  background: linear-gradient(180deg, rgba(12,28,46,.52) 0%, rgba(12,28,46,.06) 40%, rgba(12,28,46,.55) 72%, rgba(12,28,46,.90) 100%);
}
.row:nth-child(1), .row:nth-child(2), .row:nth-child(3) { grid-column: span 2; }
.row:nth-child(4), .row:nth-child(5) { grid-column: span 3; min-height: 300px; }
.row { background-position: center; }
.row:nth-child(1) { background-image: url('../img/services/equipment.webp?v=2'); }
.row:nth-child(2) { background-image: url('../img/services/repair.webp?v=2'); }
.row:nth-child(3) { background-image: url('../img/services/supervision.webp?v=2'); background-position: center 58%; }
.row:nth-child(4) { background-image: url('../img/services/chartering.webp?v=2'); background-position: center 50%; }
.row:nth-child(5) { background-image: url('../img/services/diving.webp?v=2'); background-position: center 48%; }
.row:hover { padding-left: 28px; color: var(--white); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(12,28,46,.18); background-size: 108%; }
.row__num { grid-column: 1; color: var(--gold-soft); }
.row__name { grid-column: 1 / -1; align-self: end; font-size: clamp(24px, 2.7vw, 40px); text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.row__arrow { grid-column: 2; grid-row: 1; }

/* Photograph added to the sand panel without introducing an unavailable asset. */
.panel--sand {
  grid-template-columns: minmax(0, .8fr) minmax(260px, .72fr) minmax(0, 1fr);
  align-items: center;
}
.panel--sand::before {
  content: "";
  min-height: 470px;
  border-radius: 20px;
  background: linear-gradient(rgba(12,28,46,.08), rgba(12,28,46,.22)), url('../img/classic-imperial.webp') center / cover;
  border: 1px solid rgba(185,138,63,.7);
  box-shadow: 12px 12px 0 -4px var(--sand), 12px 12px 0 -3px var(--gold);
}

.card { position: relative; overflow: hidden; }

/* White well, not sand: several supplied marks (K-Tech) are baked onto a
   white background, which showed as a pale rectangle floating on the sand.
   Centring them normalises the row when the marks differ in aspect ratio. */
.card__logo {
  height: 104px;
  margin: -10px -10px 10px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  justify-content: center;
  gap: 22px;
}
.card__logo img { object-position: center; max-height: 100%; }

/* The quiet card read as disabled, and --muted on sand is only ~2.7:1. The
   sand background alone carries the "on request" distinction. */
.card--quiet .card__title { color: var(--ink); }
.card--quiet .card__body { color: var(--body); }
.card--link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.card--link:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(12,28,46,.08); }
.card--link:hover::before { transform: scaleX(1); }

.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50px;
  height: 1px;
  background: var(--sand-line);
}
.steps .step { position: relative; overflow: visible; }
.step__num, .step__num--gold { background: var(--gold); box-shadow: 0 0 0 8px var(--white); }
.avatar { background: var(--ink); color: var(--white); border: 3px solid var(--gold); box-shadow: 0 0 0 4px var(--sand); }

/* Photo avatars replace the initials discs on the team cards. The ink fill and
   gold ring above are for text initials; an <img> needs to crop, not letterbox. */
.avatar--photo {
  object-fit: cover;
  background: var(--sand);
  padding: 0;
}
.person-card--compact .avatar--photo { width: 72px; height: 72px; margin-bottom: 18px; }

/* Image-backed inner-page hero band. */
.page-head {
  position: relative;
  isolation: isolate;
  min-height: 40vh;
  padding: clamp(54px, 7vw, 90px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--ink) url('../img/hero-vessel.webp') center 58% / cover;
  color: var(--white);
}
.page-head--repair { background-image: url('../img/services/repair.webp?v=2'); background-position: center 45%; }
.page-head--equipment { background-image: url('../img/services/equipment.webp?v=2'); background-position: center; }
.page-head--crew { background-image: url('../img/services/supervision.webp?v=2'); background-position: center 62%; }
.page-head--chartering { background-image: url('../img/services/chartering.webp?v=2'); background-position: center 45%; }
/* Strong only under the left-aligned title; the right of the frame stays open
   so the photograph reads as a photograph rather than a navy wash. */
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,28,46,.92), rgba(12,28,46,.52) 55%, rgba(12,28,46,.10)), linear-gradient(0deg, rgba(12,28,46,.5), transparent 45%); }

/* These sections were built to sit directly under a page head on paper, so they
   carry padding-top: 0. Now that the head is a full-bleed image band, the first
   card row butted straight against it. */
.page-head + * { padding-top: clamp(44px, 5vw, 72px); }

/* About runs a two-column intro across the full width, so its right-hand
   paragraph needs cover the tapered gradient above does not provide. */
.page-head--crew::before { background: linear-gradient(90deg, rgba(12,28,46,.90), rgba(12,28,46,.80) 55%, rgba(12,28,46,.74)), linear-gradient(0deg, rgba(12,28,46,.45), transparent 50%); }
.page-head .eyebrow, .page-head .page-lede, .page-head .two-col p, .page-head .brand-hero__lede, .page-head .breadcrumb, .page-head .breadcrumb a { color: rgba(255,255,255,.82); }
.page-head .breadcrumb a:hover { color: var(--gold-soft); }
.page-head .btn--dark { background: var(--gold); }
.page-head .btn--dark:hover { background: var(--white); color: var(--ink); }
.brand-hero__mark { background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.35); }

/* Substantial shared footer with brand, navigation and direct contact. */
.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, .7fr) minmax(220px, 1fr);
  gap: 44px;
  align-items: start;
  padding: 64px var(--gutter) 34px;
  background: var(--ink);
  color: var(--on-ink);
  border-top: 4px solid var(--gold);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
/* No brightness(0) invert(1) here: the mark is two-tone navy and gold with fine
   internal linework, and flattening every opaque pixel to white turned the wave
   into a solid blob. It keeps its own colours on a light plate instead. */
.site-footer__logo {
  width: min(250px, 100%);
  height: auto;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 14px;
}
.site-footer__tagline { max-width: 34ch; line-height: 1.6; }
.site-footer__nav { display: grid; gap: 11px; }
.site-footer__nav::before, .site-footer__contact::before { color: var(--gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.site-footer__nav::before { content: "Navigate"; }
.site-footer__contact::before { content: "Contact"; display: block; }
.site-footer__contact { line-height: 1.8; }
.site-footer__contact a { display: block; }
.site-footer__legal { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold-soft); }

@media (max-width: 960px) {
  .hero { min-height: 82vh; padding-top: 64px; padding-bottom: 64px; }
  .hero__copy { gap: 0; }
  .hero__media { aspect-ratio: auto; }
  .hero__chips { display: none; }
  .panel--sand { grid-template-columns: 1fr 1fr; }
  .panel--sand::before { min-height: 360px; }
  .panel--sand .reasons { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1.2fr .8fr; }
  .site-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .hero { min-height: 0; padding: 54px var(--gutter) 56px; }
  .hero::after { background: linear-gradient(90deg, rgba(12,28,46,.91), rgba(12,28,46,.45)), linear-gradient(0deg, rgba(12,28,46,.96), transparent 62%); }
  .hero__title { font-size: clamp(48px, 16vw, 68px); }
  .hero__foot { margin-top: 28px; }
  .hero__lede { font-size: 17px; }
  .hero__actions { margin-top: 22px; }
  .hero__chips, .hero .seal { display: none; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stat { display: grid; grid-template-columns: 90px 1fr; align-items: center; padding: 10px 14px; }
  .stat__value { font-size: 24px; }
  .marquee { padding-block: 48px; }
  .rows { grid-template-columns: 1fr; }
  .row, .row:nth-child(n) { grid-column: auto; min-height: 270px; }
  .panel--sand { grid-template-columns: 1fr; }
  .panel--sand::before { min-height: 280px; order: 2; }
  .panel--sand .reasons { grid-column: auto; order: 3; }
  .steps::before { display: none; }
  .page-head { min-height: 42vh; }
  .brand-hero__mark { height: 170px; }
  .site-footer { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .site-footer__contact, .site-footer__legal { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .seal__ring, .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
