:root {
  --navy: #0f2036;
  --navy-deep: #081422;
  --navy-mid: #1c3a5a;
  --teal: #0ea5a0;
  --teal-deep: #0b7d79;
  --teal-light: #e3f4f2;
  --steel: #6e6e6e;
  --steel-light: #9aa4ab;
  --bg: #f3f6f7;
  --white: #ffffff;
  --line: #dbe3e5;
  --text: #101a22;
  --ink-soft: #4b5860;
  --shadow: 0 16px 40px rgba(8, 20, 34, 0.12);
  --font-display: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.14;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 14px; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 10px;
}

/* Utility bar */
.utility-bar {
  background: var(--navy-deep);
  color: #9db2b8;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.utility-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px clamp(18px, 5vw, 56px);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.utility-bar a { color: #cfe0e0; text-decoration: none; }
.utility-bar a:hover { color: var(--teal); }
.utility-bar span { color: #6f858a; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 56px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 44px; height: auto; }

.brand-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.brand-copy small {
  display: block;
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 9px 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover { color: var(--teal-deep); }

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 8px !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.04em;
}

.lang-switch:hover { border-color: var(--teal); }

/* Breadcrumb */
.breadcrumb-wrap {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px clamp(18px, 5vw, 56px);
  font-size: 13px;
  color: var(--steel);
}

.breadcrumb ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-deep); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 18% 0%, var(--navy-mid) 0%, var(--navy) 46%, var(--navy-deep) 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(80% 90% at 20% 20%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 72px clamp(18px, 5vw, 56px) 48px;
}

.hero-copy { max-width: 62ch; }

.hero .eyebrow { color: var(--teal); }

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 52px);
  max-width: 18ch;
}

.hero p.lede {
  color: #cfe0e6;
  font-size: 17px;
  max-width: 56ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* Large, faint background schematic — decorative, not a competing focal
   point the way a small side-icon would be. Clipped so it never pushes
   layout width on very wide screens. */
.hero-watermark {
  position: absolute;
  top: 50%;
  right: clamp(-60px, 2vw, 40px);
  transform: translateY(-50%);
  width: min(46vw, 620px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero-watermark svg { width: 100%; height: auto; }

/* Wave dividers — a small recurring maritime motif at section seams,
   layered on top of the section's own background via absolute position so
   they never affect document flow/height. */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
}
.wave-divider svg { display: block; width: 100%; height: 46px; }
.wave-divider-bottom { bottom: -1px; }
.wave-divider-top { top: -1px; }

@media (max-width: 560px) {
  .wave-divider svg { height: 28px; }
}

.hero-facts {
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px 40px;
  justify-content: start;
}

.hero-facts div { min-width: 0; }
.hero-facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 0 0 4px; }
.hero-facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 15px; }

/* Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(8, 20, 34, 0.18); }

.button.primary { background: var(--teal); color: #06201d; }
.button.primary:hover { background: #12b7b1; }

.button.outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button.outline.dark {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 52px clamp(18px, 5vw, 56px) 40px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(28px, 3.4vw, 38px); max-width: 24ch; }
.page-hero p { max-width: 60ch; font-size: 16px; }

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 66px clamp(18px, 5vw, 56px);
}

.section.alt { max-width: none; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-heading { max-width: 68ch; margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(24px, 2.6vw, 32px); }

/* Grid / cards */
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b8ccce; }

.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 10px; }
.card a { font-weight: 700; font-size: 14px; text-decoration: none; }

/* Category / spec list */
.category-block {
  position: relative;
  display: flex;
  gap: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  background: var(--white);
  padding: 28px 28px 28px 24px;
  margin-bottom: 20px;
}

.category-block-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
  flex-shrink: 0;
  padding-top: 2px;
}

.category-block-body { min-width: 0; }

.category-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.category-block .cat-icon,
.category-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.tag-list span {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

/* Category rows (homepage) — a distinct horizontal-list treatment rather
   than a repeated card grid, so equipment categories read as one scannable
   index instead of six separate boxes. */
.category-rows { padding-top: 20px; padding-bottom: 20px; }

.category-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.category-rows .category-row:last-child { border-bottom: 1px solid var(--line); }

.category-row:hover { background: var(--white); padding-left: 16px; }

.category-row-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
  width: 28px;
  flex-shrink: 0;
}

.category-row-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.category-row-body strong { font-family: var(--font-display); color: var(--navy); font-size: 16.5px; }
.category-row-body span { font-size: 14px; color: var(--ink-soft); }

.category-row-arrow {
  color: var(--teal-deep);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.category-row:hover .category-row-arrow { transform: translateX(4px); }

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-grid article span {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.process-grid article h3 { font-size: 17px; margin: 8px 0 6px; }
.process-grid article p { font-size: 14px; }

/* Reference card (honest, no fake testimonials) */
.reference-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: start;
  padding: 38px clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--teal-light) 0%, var(--white) 60%);
}

.reference-card-mark {
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.6;
  color: var(--teal);
  transform: translateY(10px);
}

.reference-card-cta { margin-top: 16px; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 42px clamp(18px, 5vw, 56px);
}

.cta-band h2 { color: var(--white); font-size: 24px; margin-bottom: 6px; }
.cta-band p { color: #c3d6da; margin: 0; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr); gap: 32px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; gap: 6px; margin-bottom: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 16px; }

label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }

input, select, textarea { width: 100%; }

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 11px 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--teal-light);
}

.rfq-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  padding: 26px;
  align-self: start;
}

.rfq-card h3 { color: var(--white); font-size: 17px; }
.rfq-card ul { margin: 0; padding-left: 18px; color: #c3d6da; font-size: 14px; }
.rfq-card li { margin-bottom: 6px; }

.form-note {
  font-size: 12.5px;
  color: var(--steel);
  margin-top: 10px;
}

/* Contact block */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.contact-tile {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 24px;
}

.contact-tile .eyebrow { margin-bottom: 6px; }
.contact-tile strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.contact-tile a { color: var(--teal-deep); font-weight: 700; text-decoration: none; }

.company-facts {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 26px;
}

.company-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.company-facts dt { font-family: var(--font-mono); font-size: 12px; color: var(--steel); text-transform: uppercase; letter-spacing: 0.05em; align-self: center; }
.company-facts dd { margin: 0; font-weight: 600; color: var(--navy); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #b9c8cc;
  padding: 50px clamp(18px, 5vw, 56px) 26px;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer img { width: 40px; margin-bottom: 10px; }
.site-footer strong { color: var(--white); }
.site-footer .company-meta { font-size: 12.5px; color: #8fa3a8; margin-top: 8px; line-height: 1.6; }
.site-footer a { color: #b9c8cc; text-decoration: none; display: block; margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: var(--teal); }
.footer-heading { display: block; color: var(--white); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-note { max-width: 1180px; margin: 20px auto 0; font-size: 12.5px; color: #7c9095; }

/* Utility / responsive */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

html.js-reveal .card,
html.js-reveal .category-block,
html.js-reveal .category-row {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

html.js-reveal .card.is-visible,
html.js-reveal .category-block.is-visible,
html.js-reveal .category-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-watermark { width: min(60vw, 340px); opacity: 0.35; }
  .hero-facts { grid-template-columns: repeat(2, auto); }
  .process-grid, .grid.three, .grid.two, .contact-grid, .form-layout, .site-footer-inner {
    grid-template-columns: 1fr;
  }
  .reference-card { grid-template-columns: 1fr; }
  .reference-card-mark { display: none; }
  .category-block { flex-direction: column; gap: 6px; }
}

@media (max-width: 560px) {
  .hero-watermark { display: none; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .utility-bar-inner { gap: 12px 18px; }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 14px;
  }
  body.nav-open .site-nav { display: flex; }
  .nav-toggle { display: inline-flex; }
  .form-row.two { grid-template-columns: 1fr; }
}
