:root {
  --navy: #061a2f;
  --blue: #0d4658;
  --light-blue: #e1f1ef;
  --mid-blue: #12808a;
  --steel: #596a70;
  --light: #f3f5f1;
  --white: #ffffff;
  --line: #c8d7d1;
  --orange: #d98c15;
  --brass-light: #f2b94c;
  --brass-text: #8f5f12;
  --text: #16231f;
  --ink-soft: #45524e;
  --shadow: 0 14px 40px rgba(6, 26, 47, 0.11);
  --font-sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    linear-gradient(rgba(11, 31, 46, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 46, 0.018) 1px, transparent 1px),
    var(--light);
  background-size: 32px 32px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(11, 31, 46, 0.98);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 10px 26px rgba(11, 31, 46, 0.16);
}

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

.brand-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand img {
  display: block;
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
  transform: none;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-copy small {
  color: #c7cfc9;
  font-size: 12px;
}

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

.site-nav a {
  color: #eef1ee;
  text-decoration: none;
  padding: 10px 0 8px;
  border-bottom: 2px solid transparent;
}

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

.site-nav .nav-search {
  padding: 8px 12px;
  border: 1px solid rgba(220, 238, 249, 0.3);
  border-radius: 3px;
}

.site-nav .nav-search:hover,
.site-nav .nav-search[aria-current="page"] {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .lang-switch {
  padding: 8px 12px;
  border: 1px solid rgba(220, 238, 249, 0.3);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav .lang-switch:hover {
  border-color: var(--brass-light);
  background: rgba(255, 255, 255, 0.06);
  color: var(--brass-light);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid #7c8a86;
  border-radius: 6px;
  padding: 8px 12px;
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
  padding: 80px clamp(18px, 5vw, 72px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 31, 46, 0.98), rgba(11, 31, 46, 0.82) 52%, rgba(22, 57, 74, 0.5)),
    url("../img/hero-marine-engine-room.webp") center right / cover no-repeat;
}

.hero-blueprint {
  position: absolute;
  right: clamp(-40px, 4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 420px);
  height: auto;
  color: var(--brass-light);
  opacity: 0.55;
  pointer-events: none;
}

.hero-blueprint text {
  fill: currentColor;
  letter-spacing: 0.06em;
}

.hb-group {
  opacity: 0;
  animation: hb-assemble 0.9s ease forwards;
}

.hb-group-1 { animation-delay: 0.3s; }
.hb-group-2 { animation-delay: 0.75s; }
.hb-group-3 { animation-delay: 1.1s; }

@keyframes hb-assemble {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hb-group {
    animation: none;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero-blueprint {
    display: none;
  }
}

.hero-content,
.page-hero,
.section,
.cta-band {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-content {
  width: 100%;
  padding: 8px 0;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero p {
  max-width: 680px;
  color: #dde3de;
  font-size: 18px;
}

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

.eyebrow::before {
  content: "// ";
  color: var(--steel);
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--brass-light);
}

.hero-actions,
.cta-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.hero-link:hover {
  border-color: var(--brass-light);
  opacity: 1;
}

.hero-link span {
  transition: transform 0.2s ease;
}

.hero-link:hover span {
  transform: translateX(3px);
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(200, 232, 248, 0.35);
  border-radius: 3px;
  color: #eef1ee;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.parts-finder {
  padding-top: 42px;
  padding-bottom: 26px;
}

.finder-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.finder-panel h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.finder-panel p:last-child {
  margin-bottom: 0;
}

.finder-list,
.category-links {
  display: grid;
  gap: 10px;
}

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

.finder-list a,
.category-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--navy);
  background: var(--light);
  text-decoration: none;
  font-weight: 700;
}

.finder-list a:hover,
.category-links a:hover {
  border-color: var(--mid-blue);
  background: var(--light-blue);
}

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

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 31, 46, 0.16);
}

.button.primary {
  background: var(--orange);
  color: #0f1613;
  box-shadow: inset 0 -2px 0 rgba(104, 53, 5, 0.2);
}

.button.secondary {
  border-color: #d6b784;
  color: var(--white);
}

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

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

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

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #7c8a86;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.page-hero {
  position: relative;
  max-width: none;
  overflow: hidden;
  padding: 82px max(clamp(18px, 5vw, 72px), calc((100vw - 1180px) / 2)) 62px;
  background:
    linear-gradient(115deg, rgba(11, 31, 46, 0.99), rgba(22, 57, 74, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(255, 255, 255, 0.04) 26px 27px);
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: -65px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(220, 238, 249, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(220, 238, 249, 0.04), 0 0 0 72px rgba(220, 238, 249, 0.025);
  pointer-events: none;
}

.page-hero p:last-child {
  max-width: 720px;
  color: #dde3de;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 76px clamp(18px, 5vw, 72px);
  background: transparent;
}

.trust-strip {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -42px auto 0;
  padding: 0 clamp(18px, 5vw, 72px);
  position: relative;
  z-index: 3;
}

.trust-strip div {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.trust-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
}

.trust-strip span {
  color: var(--steel);
  font-size: 14px;
}

.trust-strip.five {
  grid-template-columns: repeat(5, 1fr);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.25;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.info-panel,
.form-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  position: relative;
  padding: 30px;
  border-top: 3px solid var(--mid-blue);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 34px;
  border-top: 3px solid var(--orange);
  transition: width 0.3s ease;
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.card p:not(:last-child) {
  color: var(--ink-soft);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(11, 31, 46, 0.14);
  border-top-color: var(--brass-light);
}

.card:hover::before {
  width: 100%;
}

.icon-card .card-icon {
  width: 34px;
  height: 34px;
  color: var(--brass-text);
  margin-bottom: 14px;
  transition: transform 0.25s ease;
}

.icon-card:hover .card-icon {
  transform: scale(1.1) rotate(-4deg);
  color: var(--orange);
}

/* Scroll reveal: progressive enhancement only. Content is fully visible
   and indexable without JS; the .js-reveal class is added by main.js,
   so nothing depends on script execution for content to appear. */
.js-reveal .card,
.js-reveal .visual-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal .card.is-visible,
.js-reveal .visual-card.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .card,
  .js-reveal .visual-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card,
  .button,
  .card::before {
    transition: none !important;
  }
}

/* Reference slots: honest placeholders for real client introductions.
   Deliberately styled as open "slots" (dashed border, no quote marks
   presented as speech) rather than mimicking a filled testimonial card,
   so nothing here reads as a real quote until a real one replaces it. */
.reference-grid {
  align-items: stretch;
}

.reference-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 28px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  background: var(--light-blue);
}

.reference-card .reference-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-blue);
  border: 1px solid var(--mid-blue);
  border-radius: 999px;
  padding: 3px 10px;
}

.reference-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.reference-card p {
  margin: 0;
  color: var(--ink-soft);
}

.reference-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.contact-team {
  padding-top: 76px;
}

.contact-team .section-heading {
  max-width: 700px;
}

.contact-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1.18fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 31, 46, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: #c3cdc7;
  box-shadow: 0 20px 44px rgba(11, 31, 46, 0.12);
}

.contact-portrait {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #e3e7e2;
}

.contact-portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(11, 31, 46, 0.2));
  pointer-events: none;
}

.contact-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.96) contrast(1.02);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.contact-card:hover .contact-portrait img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.02);
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 30px 28px;
}

.contact-card h3,
.contact-card p {
  margin: 0;
}

.contact-card h3 {
  margin-top: 20px;
  font-size: clamp(25px, 2.4vw, 33px);
  line-height: 1.08;
}

.contact-role {
  color: var(--brass-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-note {
  max-width: 33ch;
  margin-top: 14px !important;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.55;
}

.contact-email {
  display: grid;
  gap: 1px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--navy);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-email span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-email strong {
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-email:hover strong {
  color: var(--blue);
}

.contact-email:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(169, 118, 47, 0.5);
  outline-offset: 4px;
}

.process-section {
  background: var(--light-blue);
  max-width: none;
}

.process-section .section-heading,
.process-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-grid article {
  padding: 28px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--brass-text);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}

.category-band {
  max-width: none;
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--white);
}

.category-band .section-heading,
.category-links {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

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

.visual-proof {
  background: var(--light);
}

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

.visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(11, 31, 46, 0.08);
}

.visual-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.visual-card div {
  padding: 22px;
}

.visual-card p {
  margin-bottom: 0;
  color: var(--steel);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.media-feature {
  display: grid;
  gap: 18px;
}

.media-feature img,
.visual-split img,
.inline-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(11, 31, 46, 0.1);
}

.media-feature img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.visual-split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.visual-split img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.inline-photo {
  margin-top: 24px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-list div {
  padding: 20px 22px;
  border-left: 4px solid var(--orange);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(11, 31, 46, 0.05);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  color: var(--steel);
}

.info-panel {
  padding: 28px;
  background: var(--light-blue);
}

.rfq-card,
.disclaimer-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.rfq-card {
  border-left: 5px solid var(--orange);
}

.rfq-card ul,
.disclaimer-card ul,
.compact-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.rfq-card li + li,
.disclaimer-card li + li,
.compact-list li + li {
  margin-top: 6px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.technical-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.technical-table th,
.technical-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.technical-table th {
  color: var(--navy);
  background: var(--light-blue);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.technical-table tbody tr:hover {
  background: #f6f7f5;
}

.technical-table tr:last-child td {
  border-bottom: 0;
}

.link-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.link-cluster a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--blue);
  background: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.link-cluster a:hover {
  border-color: var(--mid-blue);
  background: var(--light-blue);
  transform: translateY(-1px);
}

.section.alt {
  max-width: none;
  background: var(--white);
}

.section.alt > .section-heading,
.section.alt > .grid,
.section.alt > .split,
.section.alt > .table-scroll,
.section.alt > .link-cluster,
.section.alt > .keyword-cloud,
.section.alt > .reference-grid,
.section.alt > .feature-list {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-bottom: 0;
}

.cta-band {
  justify-content: space-between;
  margin-bottom: 70px;
  padding: 34px clamp(18px, 5vw, 48px);
  border-radius: 4px;
  background:
    linear-gradient(120deg, rgba(11, 31, 46, 0.98), rgba(22, 57, 74, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, 0.04) 22px 23px);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  margin: 0;
  color: #dde3de;
}

.form-section {
  max-width: 920px;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.rfq-guide {
  padding: 28px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
}

.rfq-guide h2 {
  color: var(--white);
  font-size: 30px;
}

.rfq-guide ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #dde3de;
}

.rfq-guide li + li {
  margin-top: 8px;
}

.form-card {
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c3cdc7;
  border-radius: 3px;
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(61, 125, 143, 0.18);
  border-color: var(--blue);
}

textarea {
  resize: vertical;
}

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

.hidden-field {
  display: none;
}

.legal {
  max-width: 880px;
}

.legal h2 {
  margin-top: 28px;
  font-size: 26px;
}

.site-footer {
  border-top: 4px solid var(--orange);
  background: linear-gradient(120deg, #0b1f2e, #16394a);
}

.site-footer-inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  margin: 0 auto;
  padding: 38px clamp(18px, 5vw, 72px);
  color: #dde3de;
}

.site-footer p {
  margin: 4px 0 0;
}

.company-meta {
  color: #c7cfc9;
  font-size: 14px;
}

.site-footer a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 6px;
}

.site-footer a:hover {
  color: #c99b4e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-heading {
  display: block;
  margin-bottom: 10px;
  color: var(--brass-light);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-note {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 226, 236, 0.2);
  color: #c7cfc9;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .grid.three,
  .grid.two,
  .split,
  .visual-split,
  .form-grid,
  .finder-panel,
  .finder-list,
  .category-links,
  .visual-grid,
  .trust-strip,
  .process-grid,
  .form-layout,
  .site-footer-inner,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .contact-directory {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 18px;
  }

  .trust-strip div,
  .trust-strip div:first-child,
  .trust-strip div:last-child {
    border-radius: 8px;
  }
}

@media (max-width: 520px) {
  .brand-logo-box {
    width: 42px;
    height: 42px;
  }

  .brand img {
    max-width: 42px;
    max-height: 42px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-card {
    padding: 22px;
  }

  .contact-directory {
    grid-template-columns: 1fr;
  }

  .contact-team {
    padding-top: 60px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-portrait {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .contact-card-body {
    padding: 26px 24px 24px;
  }

  .contact-card h3 {
    margin-top: 14px;
  }

}


.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.card li + li {
  margin-top: 6px;
}

.search-section {
  padding-top: 56px;
}

.site-search-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-search-form > label {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
}

.search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-control input {
  min-height: 52px;
  margin: 0;
  font-size: 16px;
}

.search-hint {
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 13px;
}

.search-status {
  min-height: 28px;
  margin: 30px 0 14px;
  color: var(--navy);
  font-weight: 800;
}

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

.search-result {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 31, 46, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.search-result-type {
  margin: 0 0 12px;
  color: var(--brass-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-result h2 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2.5vw, 31px);
}

.search-result h2 a {
  color: var(--navy);
  text-decoration: none;
}

.search-result h2 a:hover {
  color: var(--blue);
}

.search-result > p:not(.search-result-type) {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.search-result-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.search-empty {
  padding: 22px;
  border-left: 4px solid var(--orange);
  background: var(--white);
}

@media (max-width: 1080px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-search {
    padding-left: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
  }
}

@media (max-width: 700px) {
  .search-control,
  .search-results {
    grid-template-columns: 1fr;
  }

  .search-control .button {
    width: 100%;
  }
}

/* Mobile refinement */
html {
  scroll-padding-top: 88px;
}

body,
main {
  min-width: 0;
}

img,
svg {
  max-width: 100%;
}

.hero h1,
.page-hero h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .site-header {
    position: sticky;
    flex-wrap: nowrap;
    min-height: 72px;
    padding: 9px clamp(16px, 4vw, 32px);
  }

  .brand {
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong,
  .brand-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 9px 12px 9px 13px;
    border-color: rgba(220, 238, 249, 0.42);
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
  }

  .nav-toggle::after {
    content: "";
    width: 18px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
    transition: transform 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] {
    color: var(--navy);
    background: var(--orange);
    border-color: var(--orange);
  }

  .nav-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: auto;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    gap: 0;
    padding: 8px clamp(16px, 4vw, 32px) 18px;
    background: rgba(11, 31, 46, 0.99);
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 18px 30px rgba(11, 31, 46, 0.24);
  }

  .site-nav a,
  .site-nav .nav-search {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 11px 2px;
    border: 0;
    border-bottom: 1px solid rgba(220, 238, 249, 0.14);
    border-radius: 0;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"],
  .site-nav .nav-search:hover,
  .site-nav .nav-search[aria-current="page"] {
    padding-left: 10px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(220, 238, 249, 0.14);
    box-shadow: inset 3px 0 0 var(--orange);
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (min-width: 701px) and (max-width: 860px) {
  .grid.three,
  .grid.four,
  .visual-grid,
  .category-links,
  .trust-strip,
  .trust-strip.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body {
    background-size: 24px 24px;
    font-size: 15.5px;
  }

  .site-header {
    min-height: 66px;
    padding: 8px 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo-box {
    width: 38px;
    height: 38px;
  }

  .brand img {
    max-width: 38px;
    max-height: 38px;
  }

  .brand-copy strong {
    max-width: 170px;
    font-size: 15px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    min-height: 42px;
    padding: 8px 10px;
  }

  .site-nav {
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
    padding-inline: 16px;
  }

  .hero {
    min-height: 510px;
    align-items: end;
    padding: 88px 18px 48px;
    background:
      linear-gradient(180deg, rgba(11, 31, 46, 0.7), rgba(11, 31, 46, 0.98) 78%),
      url("../img/hero-marine-engine-room.webp") 62% center / cover no-repeat;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(32px, 10.2vw, 42px);
    line-height: 1.04;
  }

  .hero p,
  .page-hero p:last-child {
    font-size: 16px;
    line-height: 1.55;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button,
  .form-card > .button,
  form > .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 22px;
  }

  .hero-proof span {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.3;
  }

  .breadcrumb {
    padding: 9px 16px;
    font-size: 12px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb ol {
    flex-wrap: nowrap;
    width: max-content;
  }

  .page-hero {
    padding: 52px 18px 42px;
  }

  .page-hero::after {
    right: -84px;
    bottom: -105px;
    opacity: 0.7;
  }

  .section,
  .contact-team {
    padding: 52px 18px;
  }

  .parts-finder {
    padding-top: 24px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 8vw, 35px);
  }

  h3 {
    font-size: 20px;
  }

  .grid,
  .contact-directory,
  .visual-grid,
  .process-grid {
    gap: 14px;
  }

  .card,
  .info-panel,
  .rfq-card,
  .disclaimer-card,
  .process-grid article,
  .finder-panel,
  .site-search-form,
  .search-result {
    padding: 22px;
    border-radius: 6px;
  }

  .finder-panel {
    gap: 20px;
  }

  .finder-list,
  .category-links {
    gap: 8px;
  }

  .finder-list a,
  .category-links a,
  .link-cluster a {
    min-height: 48px;
  }

  .trust-strip,
  .trust-strip.five {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 18px 0;
  }

  .trust-strip div {
    padding: 17px 18px;
    box-shadow: 0 8px 22px rgba(11, 31, 46, 0.07);
  }

  .split,
  .visual-split,
  .form-layout {
    gap: 24px;
  }

  .visual-card div,
  .feature-list div {
    padding: 19px;
  }

  .visual-split img,
  .inline-photo {
    aspect-ratio: 16 / 10;
  }

  .rfq-guide,
  .form-card {
    padding: 24px 20px;
  }

  input,
  textarea,
  select {
    min-height: 48px;
    padding: 12px;
    font-size: 16px;
  }

  textarea {
    min-height: 150px;
  }

  .table-scroll {
    margin-right: -18px;
    border-right: 0;
    border-radius: 4px 0 0 4px;
  }

  .technical-table th,
  .technical-table td {
    padding: 13px 14px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-list details {
    padding: 16px;
  }

  .faq-list summary {
    padding-right: 8px;
    line-height: 1.4;
  }

  .cta-band {
    align-items: stretch;
    gap: 20px;
    margin: 0 16px 48px;
    padding: 26px 22px;
    border-radius: 6px;
  }

  .cta-band .button {
    width: 100%;
  }

  .site-footer-inner {
    gap: 26px;
    padding: 34px 18px 28px;
  }

  .site-footer a {
    min-height: 34px;
    display: flex;
    align-items: center;
    margin-bottom: 2px;
  }

  .footer-note {
    margin-top: 6px;
  }
}

@media (max-width: 380px) {
  .brand-copy strong {
    max-width: 138px;
  }

  .nav-toggle {
    gap: 6px;
    font-size: 12px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
