@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #172026;
  --muted: #59646c;
  --paper: #f6f3ed;
  --white: #ffffff;
  --line: #d9d2c6;
  --harbor: #135f68;
  --harbor-dark: #0d3f46;
  --signal: #f2b33d;
  --rust: #c74f2a;
  --leaf: #4d7c59;
  --shadow: 0 22px 80px rgba(17, 32, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 32, 38, 0.11);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 4vw, 58px);
  background: var(--ink);
  color: #f9e9c0;
  font-size: 12px;
  letter-spacing: 0;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 58px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 19px;
}

.brand strong {
  display: block;
  font-weight: 800;
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 800;
  font-size: 14px;
}

.nav-menu a {
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--rust);
  transition: right 180ms ease;
}

.nav-menu a:hover::after {
  right: 0;
}

.nav-cta {
  padding: 12px 18px;
  color: var(--white);
  background: var(--harbor);
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: clamp(82px, 13vw, 150px) clamp(18px, 4vw, 58px) 38px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/assets/port-hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 32, 38, 0.88) 0%, rgba(17, 32, 38, 0.63) 46%, rgba(17, 32, 38, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 32, 38, 0.38), rgba(17, 32, 38, 0.12));
}

.hero-content {
  max-width: 840px;
  padding-bottom: clamp(46px, 8vh, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.eyebrow.dark {
  color: var(--rust);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(58px, 10vw, 126px);
}

h2 {
  font-size: clamp(42px, 6vw, 76px);
}

h3 {
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  font-size: clamp(18px, 2vw, 22px);
  color: #f2ede4;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.service-card svg,
.solution-list svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.button.primary {
  color: var(--ink);
  background: var(--signal);
  box-shadow: 0 14px 36px rgba(242, 179, 61, 0.24);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.button.dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.button.compact {
  width: auto;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: 34px;
  width: min(320px, calc(100% - 36px));
  padding: 22px;
  background: rgba(246, 243, 237, 0.94);
  color: var(--ink);
  border-left: 6px solid var(--signal);
  box-shadow: var(--shadow);
}

.hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 8px 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 62px;
  line-height: 0.9;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 4vw, 58px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-head h2,
.solution-copy h2,
.why-lead h2,
.quote-copy h2 {
  margin-bottom: 0;
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  max-width: 920px;
  margin-bottom: 38px;
}

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

.service-card {
  min-height: 282px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(35, 42, 45, 0.06);
}

.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--harbor);
  margin-bottom: 24px;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--rust);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  background: #ebe3d5;
}

.image-block {
  position: relative;
}

.image-block img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid var(--white);
  box-shadow: var(--shadow);
}

.image-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px;
  background: var(--ink);
  color: var(--white);
}

.image-caption strong,
.image-caption span {
  display: block;
}

.image-caption span {
  color: #d8d2c8;
  font-size: 14px;
}

.solution-copy {
  max-width: 720px;
}

.solution-copy h2 {
  margin-bottom: 32px;
}

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

.solution-list div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  border-left: 4px solid var(--leaf);
}

.solution-list svg {
  color: var(--leaf);
}

.why {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 6vw, 76px);
  background: var(--white);
}

.why-lead p {
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.why-grid article {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid span {
  color: var(--rust);
  font-weight: 900;
}

.why-grid p {
  color: var(--muted);
}

.carrier-band {
  padding: 32px clamp(18px, 4vw, 58px);
  background: var(--harbor-dark);
  color: var(--white);
}

.carrier-band p {
  margin-bottom: 18px;
  color: #b7d6d9;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.carrier-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(96px, 1fr));
  gap: 10px;
  overflow-x: auto;
}

.carrier-row span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1eee8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(70px, 9vw, 112px) clamp(18px, 4vw, 58px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 32, 38, 0.94), rgba(19, 95, 104, 0.9)),
    url("/assets/port-hero.jpg") center / cover fixed;
}

.quote-copy p:last-child {
  max-width: 560px;
  color: #e7dfd3;
  font-size: 18px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  border-top: 6px solid var(--signal);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quote-form input,
.quote-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.quote-form button {
  grid-column: 1 / -1;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(140px, 0.7fr));
  gap: 34px;
  padding: 48px clamp(18px, 4vw, 58px);
  background: #10171b;
  color: var(--white);
}

.footer p,
.footer span {
  color: #aeb6b9;
}

.footer h4 {
  margin-bottom: 14px;
  color: var(--signal);
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: #e8ecec;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer .brand small {
  color: #aeb6b9;
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .nav {
    min-height: 70px;
  }

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

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(23, 32, 38, 0.12);
  }

  .nav-menu.is-open {
    display: grid;
    gap: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -44px;
  }

  .intro,
  .split,
  .why,
  .quote,
  .footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .brand strong {
    font-size: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 42px;
  }

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

  .service-grid,
  .why-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
  }

  .image-caption {
    position: static;
  }

  .quote {
    background-attachment: scroll;
  }
}
