:root {
  --blue: #216da7;
  --navy: #112f49;
  --ink: #193346;
  --muted: #586e7b;
  --pale: #f3f6f8;
  --border: #e0e7ec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font: 16px Arial, sans-serif;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

[id] { scroll-margin-top: 100px; }

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 28px;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: white;
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  color: #f4f8fc;
  background: linear-gradient(110deg, #17374e, #244c67);
  border-bottom: 1px solid #ffffff20;
}

.top {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { flex: none; }

.logo {
  display: block;
  width: 160px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(1.4);
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  font-weight: bold;
}

.primary-nav a {
  display: block;
  padding-block: 12px;
  text-decoration: none;
  text-underline-offset: 6px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: #93d0fa; }
.primary-nav a[aria-current="page"] { text-decoration: underline; }

.menu-toggle {
  display: none;
  padding: 10px 16px;
  border: 1px solid #9cb8cb;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: bold;
}

.hero {
  padding: 115px 0 130px;
  background: var(--navy);
  color: white;
}

.home-hero {
  background:
    linear-gradient(90deg, #102d46 0%, #173c59 34%, rgb(23 60 89 / 94%) 48%,
      rgb(23 60 89 / 54%) 71%, rgb(23 60 89 / 15%) 100%),
    url("../images/hero-port.jpg") right center / cover no-repeat;
}

.page-hero {
  padding: 80px 0 92px;
  background: linear-gradient(110deg, #102d46, #244c67);
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-band .eyebrow { color: #93d0fa; }

h1 {
  max-width: 850px;
  margin: 22px 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -2px;
}

h2 {
  margin: 15px 0 20px;
  font-size: 38px;
  letter-spacing: -1px;
}

h3 { margin: 0 0 10px; }

.intro {
  max-width: 630px;
  color: #eef6fc;
  font-size: 19px;
  line-height: 1.7;
}

.home-hero h1,
.home-hero .intro { text-shadow: 0 1px 6px #102d46; }

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 23px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  text-decoration: none;
}

.button:hover { background: #195988; }
.button span, .text-link span { white-space: nowrap; }

.section { padding: 85px 0; }
.gray { background: var(--pale); }

.lead {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

.cards,
.categories,
.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards { gap: 25px; margin-top: 38px; }
.categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 35px; }
.about-layout { align-items: center; gap: 65px; }

.card,
.category {
  border: 1px solid var(--border);
  background: white;
}

.card-art {
  display: flex;
  min-height: 240px;
  align-items: flex-end;
  padding: 26px;
  color: white;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px #102d46;
}

.trade-art {
  background: linear-gradient(120deg, #0d304bf5, #215e86ba),
    repeating-linear-gradient(0deg, #7793a2 0 22px, #d3e0e7 23px 26px, #7896a6 27px 60px);
}

.tech-art {
  background: radial-gradient(circle at 70% 45%, #56a3d6 0 7%, transparent 7.5%),
    radial-gradient(circle at 70% 45%, transparent 0 24%, #79b9e655 24.5% 25%, transparent 25.5%),
    linear-gradient(125deg, #0b1c2c, #245e8a);
}

.card-body,
.category { padding: 32px; }
.card-body h3 { font-size: 27px; }
.card-body p, .category p, .process p { color: var(--muted); line-height: 1.7; }
.category h3 { margin: 25px 0 8px; font-size: 16px; }
.category p { margin: 0; font-size: 13px; }

.text-link {
  color: var(--blue);
  font-weight: bold;
  text-underline-offset: 4px;
}

.text-link:hover { color: var(--navy); }
.section-link { display: inline-block; margin-top: 24px; }

.brand-panel {
  display: grid;
  min-height: 300px;
  place-items: center;
  background: linear-gradient(130deg, #113b5a, #2681bd);
  color: white;
  font-size: 45px;
  letter-spacing: 10px;
}

.process {
  max-width: 680px;
  margin-block: 35px 0;
  padding-left: 2em;
}

.process li { padding-left: 8px; }
.process li + li { margin-top: 24px; }
.process li::marker { color: var(--blue); font-weight: bold; }
.process p { margin: 0; }

.contact-band {
  padding: 65px 0;
  background: var(--navy);
  color: white;
}

.contact-band p:not(.eyebrow) { color: #c2d6e4; line-height: 1.7; }
.contact-details { margin: 30px 0 0; }
.contact-details div + div { margin-top: 20px; }
.contact-details dt { font-weight: bold; }
.contact-details dd { margin: 6px 0 0; color: var(--muted); }

.site-footer {
  padding: 35px 0;
  background: #0c2232;
  color: #b2c4d0;
  font-size: 13px;
}

.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.foot p { margin-bottom: 0; }
.foot a { text-underline-offset: 4px; }
.foot a:hover { color: white; }

@media (max-width: 900px) {
  .primary-nav { gap: 18px; }
  .about-layout { gap: 32px; }
  .category { padding: 24px; }
}

@media (max-width: 720px) {
  .site-header { position: static; }
  [id] { scroll-margin-top: 16px; }

  .top {
    min-height: 68px;
    padding-block: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo { width: 130px; }
  .menu-toggle:not([hidden]) { display: block; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .primary-nav { display: none; }

  .primary-nav {
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 6px;
    border-top: 1px solid #ffffff30;
  }

  .hero { padding: 75px 0; }
  .home-hero {
    background-image: linear-gradient(90deg, rgb(16 45 70 / 95%), rgb(16 45 70 / 70%)),
      url("../images/hero-port.jpg");
  }
  .section { padding: 60px 0; }
  h2 { font-size: 30px; }

  .cards, .categories, .about-layout { grid-template-columns: minmax(0, 1fr); }
  .brand-panel { min-height: 240px; }
  .foot { flex-direction: column; }
}

@media (max-width: 380px) {
  .container { padding-inline: 20px; }
  h1 { font-size: 35px; }
  .card-body { padding: 24px; }
}
