:root {
  --ink: #10201d;
  --text: #1d2b27;
  --muted: #5a6763;
  --line: #dce5e0;
  --soft: #f4f8f6;
  --white: #ffffff;
  --green: #176b44;
  --green-dark: #0d4d31;
  --teal: #157b8a;
  --gold: #d89717;
  --copper: #b75d35;
  --danger: #9e3330;
  --shadow: 0 16px 40px rgba(16, 32, 29, 0.12);
  --radius: 8px;
  --page: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(var(--page), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.top-strip {
  background: var(--ink);
  color: var(--white);
  font-size: 0.84rem;
}

.top-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
}

.navbar .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 238px;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.primary-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 8px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
  color: var(--green-dark);
  background: #eaf3ef;
  outline: none;
}

.primary-nav .portal-link {
  margin-left: 6px;
  color: var(--white);
  background: var(--green);
}

.primary-nav .portal-link:hover,
.primary-nav .portal-link:focus-visible,
.primary-nav .portal-link.active {
  color: var(--white);
  background: var(--green-dark);
}

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

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(16, 32, 29, 0.86), rgba(16, 32, 29, 0.45) 48%, rgba(16, 32, 29, 0.08)),
    url("../images/industrial-supply-chain-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-copy {
  max-width: 820px;
  padding: 64px 0 70px;
}

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

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero .lead {
  margin: 22px 0 0;
  max-width: 720px;
  color: #edf5f1;
  font-size: 1.22rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
  outline: none;
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--ink);
  background: var(--white);
}

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

.button.light:hover,
.button.light:focus-visible {
  color: var(--white);
  background: var(--green-dark);
}

.stats-band {
  background: var(--ink);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat {
  min-height: 118px;
  padding: 24px;
  background: var(--ink);
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}

.stat span {
  display: block;
  margin-top: 9px;
  color: #d7e4de;
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section.dark .section-header h2,
.section.dark .section-header p,
.section.dark .eyebrow {
  color: var(--white);
}

.section-header p,
.page-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section.dark p,
.section.dark li {
  color: #dce9e3;
}

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

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

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

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

.card,
.office-card,
.service-card,
.sector-card,
.leader-card,
.contact-card,
.login-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(16, 32, 29, 0.06);
}

.card,
.office-card,
.service-card,
.sector-card,
.contact-card {
  padding: 24px;
}

.card h3,
.office-card h3,
.service-card h3,
.leader-card h3,
.contact-card h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.3;
}

.card p,
.office-card p,
.service-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.sector-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
}

.sector-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.sector-card p {
  margin: 0;
  color: var(--muted);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.service-card:nth-child(2)::before,
.service-card:nth-child(5)::before {
  background: var(--teal);
}

.service-card:nth-child(3)::before,
.service-card:nth-child(6)::before {
  background: var(--copper);
}

.service-meta {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #eaf3ef;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-list,
.check-list,
.plain-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li,
.plain-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 22px;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.split-panel.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.caption {
  margin: 0;
  padding: 13px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.media-stack {
  display: grid;
  gap: 20px;
}

.media-stack .image-card img {
  min-height: 210px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.process-step {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.document-item {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.document-item strong {
  display: block;
  color: var(--ink);
}

.document-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.kpi-strip div {
  padding: 18px;
  background: var(--white);
}

.kpi-strip strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.3rem;
}

.kpi-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-panel blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 800;
}

.quote-panel p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-detail {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 0;
}

.service-detail h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.45rem;
}

.service-detail p {
  margin: 0;
  color: var(--muted);
}

.service-detail .feature-list {
  columns: 2;
}

.mini-note {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--teal);
  background: #edf7f8;
  color: var(--text);
}

.highlight-panel {
  padding: 30px;
  border-left: 6px solid var(--gold);
  background: var(--ink);
  color: var(--white);
}

.highlight-panel h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.highlight-panel p {
  margin: 0;
  color: #dce9e3;
}

.metric-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.metric-item span {
  color: #dce9e3;
}

.metric-item strong {
  color: var(--gold);
  font-size: 1.25rem;
}

.page-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(244, 248, 246, 0.96), rgba(244, 248, 246, 0.88)),
    url("../images/industrial-supply-chain-hero.png");
  background-position: center;
  background-size: cover;
}

.page-hero.deep {
  min-height: 420px;
  display: flex;
  align-items: end;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(16, 32, 29, 0.9), rgba(16, 32, 29, 0.56) 52%, rgba(16, 32, 29, 0.18)),
    url("../images/coastal-freight-network.png");
}

.page-hero.deep h1,
.page-hero.deep p,
.page-hero.deep .breadcrumbs {
  color: var(--white);
}

.breadcrumbs {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.leader-card {
  overflow: hidden;
}

.leader-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.leader-body {
  padding: 20px;
}

.leader-body p {
  margin: 0;
  color: var(--muted);
}

.definition-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.definition-table th,
.data-table th {
  width: 34%;
  color: var(--ink);
  background: #edf4f1;
}

.data-table thead th {
  width: auto;
  color: var(--white);
  background: var(--ink);
}

.definition-table tr:last-child th,
.definition-table tr:last-child td,
.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time {
  color: var(--green-dark);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.network-map {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.network-node {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.network-node strong {
  color: var(--ink);
}

.network-node span {
  color: var(--muted);
  font-size: 0.88rem;
}

.network-node.hq {
  color: var(--white);
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.network-node.hq strong,
.network-node.hq span {
  color: var(--white);
}

.contact-layout,
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd8d2;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
}

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(21, 123, 138, 0.16);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status.success {
  color: var(--green-dark);
  font-weight: 800;
}

.form-status.error {
  color: var(--danger);
  font-weight: 800;
}

.login-panel {
  padding: 28px;
}

.login-panel h2 {
  margin: 0 0 8px;
  color: var(--ink);
}

.credential-note {
  padding: 12px 14px;
  border: 1px solid #f0d796;
  border-radius: var(--radius);
  color: #60450b;
  background: #fff8e6;
  font-size: 0.92rem;
}

.portal-panel {
  display: none;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.portal-panel.active {
  display: block;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.portal-tile {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.portal-tile strong {
  display: block;
  color: var(--ink);
}

.portal-tile span {
  color: var(--muted);
  font-size: 0.9rem;
}

.office-directory {
  display: grid;
  gap: 14px;
}

.office-card small {
  display: block;
  margin-bottom: 9px;
  color: var(--green-dark);
  font-weight: 900;
}

.cta-band {
  padding: 48px 0;
  color: var(--white);
  background: var(--green-dark);
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.cta-band p {
  margin: 9px 0 0;
  color: #dce9e3;
}

.site-footer {
  color: #dce9e3;
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 28px;
  padding: 54px 0;
}

.footer-main h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.footer-main p,
.footer-main li,
.footer-main a {
  color: #dce9e3;
  text-decoration: none;
}

.footer-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-main li {
  margin: 8px 0;
}

.footer-logo {
  width: 230px;
  max-width: 100%;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b9c7c1;
  font-size: 0.9rem;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  padding: 10px 12px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

@media (max-width: 1020px) {
  .primary-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a,
  .primary-nav .portal-link {
    min-height: 46px;
    margin-left: 0;
    justify-content: flex-start;
  }

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

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

  .grid-3,
  .process-grid,
  .document-grid,
  .kpi-strip,
  .network-map,
  .footer-main,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel,
  .split-panel.reverse,
  .media-grid,
  .service-detail,
  .contact-layout,
  .login-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, var(--page));
  }

  .top-strip .wrap,
  .cta-band .wrap,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-strip .wrap {
    gap: 4px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 198px;
  }

  .hero {
    min-height: 560px;
    background-position: center right;
  }

  .hero-copy {
    padding: 48px 0 58px;
  }

  .hero h1 {
    font-size: 2.45rem;
    line-height: 1.08;
  }

  .hero .lead {
    font-size: 1.04rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-header h2,
  .page-hero h1,
  .cta-band h2 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .stats-grid,
  .process-grid,
  .document-grid,
  .kpi-strip,
  .network-map,
  .footer-main,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .definition-table th,
  .definition-table td,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .definition-table th,
  .data-table th {
    border-bottom: 0;
  }

  .service-detail .feature-list {
    columns: 1;
  }
}
