:root {
  color-scheme: light dark;
  --ink: #09223f;
  --ink-soft: #34506c;
  --teal: #0a9eab;
  --teal-dark: #057886;
  --sea: #0f6f76;
  --amber: #d88a1d;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: #d8e3eb;
  --shadow: 0 24px 70px rgba(9, 34, 63, 0.16);
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-line: rgba(216, 227, 235, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  padding: 12px 14px;
  background: var(--header-bg);
  border: 1px solid var(--header-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(9, 34, 63, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(128px, 14vw, 168px);
  height: 56px;
  padding: 5px 8px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.footer-brand {
  display: block;
  width: 100%;
  height: 100%;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.site-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--teal-dark);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
}

.hero {
  min-height: 86svh;
  padding: 148px max(24px, calc((100vw - 1180px) / 2)) 96px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 17, 35, 0.86) 0%, rgba(3, 17, 35, 0.68) 42%, rgba(3, 17, 35, 0.2) 100%),
    url("assets/cargo-ship.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero-content {
  width: min(790px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow,
.image-panel-copy .eyebrow {
  color: #67d5df;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(10, 158, 171, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.5);
}

.section {
  padding: clamp(74px, 9vw, 128px) max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 44px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.lead {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2.2vw, 1.52rem);
  line-height: 1.38;
}

.intro-grid p:not(.lead) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.metric-band {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric-band div {
  display: grid;
  grid-template-columns: minmax(154px, 0.42fr) 1fr;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.metric-band div:last-child {
  border-bottom: 0;
}

.metric-band strong {
  color: var(--sea);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.92;
}

.metric-band span {
  color: var(--ink-soft);
  font-weight: 750;
}

.image-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 35, 0.08) 0%, rgba(3, 17, 35, 0.78) 100%);
}

.image-panel-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 58px;
}

.image-panel-copy h2 {
  width: min(860px, 100%);
}

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

.service-grid article {
  min-height: 300px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(9, 34, 63, 0.08);
}

.service-kicker {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--amber);
  font-weight: 900;
}

.service-grid p,
.workflow-copy p,
.quote-grid blockquote,
.contact p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  padding: clamp(78px, 10vw, 138px) max(24px, calc((100vw - 1180px) / 2));
  background: #eef5f7;
}

.workflow-copy p {
  max-width: 600px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workflow-steps div {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-steps strong {
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.workflow-steps span {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 850;
}

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

.quote-grid figure {
  margin: 0;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-grid blockquote {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.42;
}

.quote-grid figcaption {
  margin-top: 28px;
  color: var(--ink);
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(74px, 9vw, 118px) max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(9, 34, 63, 0.92), rgba(15, 111, 118, 0.84)),
    url("assets/containers.jpg") center / cover no-repeat;
  color: var(--white);
}

.contact h2 {
  max-width: 760px;
}

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.footer-brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  width: 164px;
  height: 74px;
  flex: 0 0 auto;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    width: clamp(124px, 26vw, 158px);
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

  .section-heading,
  .intro-grid,
  .workflow,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 8px 10px;
    gap: 10px;
  }

  .brand {
    width: min(34vw, 142px);
    height: 46px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 78svh;
    padding: 120px 20px 58px;
    background-position: center;
  }

  h1 {
    font-size: clamp(2.7rem, 17vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
  }

  .section,
  .workflow,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .metric-band div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .image-panel {
    min-height: 420px;
  }

  .image-panel-copy {
    width: calc(100% - 40px);
  }

  .service-grid,
  .workflow-steps,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 240px;
  }

  .service-kicker {
    margin-bottom: 34px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 20px;
  }

  .footer-brand-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4faff;
    --ink-soft: #bfd1df;
    --teal: #22c4d4;
    --teal-dark: #56d9e5;
    --sea: #71dce6;
    --amber: #f0a43c;
    --paper: #071827;
    --white: #0d2135;
    --line: #203c55;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    --header-bg: rgba(7, 24, 39, 0.92);
    --header-line: rgba(71, 108, 133, 0.55);
  }

  .site-header {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.26);
  }

  .workflow {
    background: #0a1d2e;
  }

  .button.secondary {
    border-color: rgba(255, 255, 255, 0.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
