:root {
  --ink: #0b2c6b;
  --navy: #071821;
  --blue: #1448b8;
  --ice: #b8e8f0;
  --rule: #cbd8e5;
}

body { background: #fff; color: var(--ink); }
header, .scrolled header { background: #f7f9fb; border-bottom: 1px solid var(--rule); }
footer { background: var(--navy); }
.logo, footer, .btn, .detail .photo img, .form, .wa { border-radius: 0; }
.reading-progress { background: var(--blue); }
.btn { background: var(--ice); color: var(--navy); }
.btn.dark, .form .btn { background: var(--ink); color: #fff; }
.btn:hover, .btn.dark:hover, .form .btn:hover { box-shadow: none; transform: none; }
.btn.dark:hover, .form .btn:hover { background: var(--blue); }
.btn:before, .detail .photo:after, .chip > span { display: none; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #4281e4; outline-offset: 4px; }
.pale { background: #edf2f6; }

.cargo-hero {
  position: relative;
  display: grid;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: clamp(520px, 74svh, 800px);
  border-radius: 0;
  background: var(--navy);
  color: #fff;
}
.cargo-hero .wrap { position: relative; z-index: 1; padding: clamp(72px, 10vw, 150px) 0; }
.hero-image { position: absolute; inset: 0 0 0 32%; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; filter: saturate(.72); }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), #071821bb 36%, #07182135 100%); }
.cargo-hero .eyebrow { color: var(--ice); font-size: .875rem; }
.cargo-hero h1 { font-size: clamp(3rem, 7vw, 7.4rem); letter-spacing: -.065em; line-height: .98; margin: 1.4rem 0; }
.cargo-hero h1 span { display: block; color: var(--ice); }
.cargo-hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 35rem; color: #e0edf3; }
.cargo-hero .actions { gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.cargo-hero .actions .btn, .cargo-hero .textlink { font-size: .9375rem; }
.cargo-hero .textlink { color: #fff; text-underline-offset: .35em; text-decoration: underline; }
.strip .wrap { font-size: .875rem; }

.service-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.service-index a { display: block; padding: 1.25rem 0; border-top: 1px solid var(--rule); font-size: clamp(1.1rem, 2.1vw, 1.6rem); font-weight: 700; }
.service-index a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .25em; }
.detail { gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 5vw, 5rem); border-bottom: 1px solid var(--rule); }
.detail h2 { font-size: clamp(1.85rem, 4vw, 3.7rem); letter-spacing: -.045em; }
.detail .photo { width: auto; }
.detail .photo:hover img { transform: none; }
.caretaking { grid-template-columns: 1fr 1fr; align-items: start; padding: clamp(1.5rem, 5vw, 5rem); background: var(--navy); color: #fff; }
.caretaking h2 { margin: 0; color: var(--ice); }
.caretaking p { margin-top: 0; color: #e0edf3; }
.stats strong { color: var(--ink); }
#contact { background: #edf2f6; }
.wa { background: var(--navy); border-color: var(--ice); }
.wa:hover { background: var(--ice); color: var(--navy); }

@media (max-width: 850px) {
  .cargo-hero { min-height: 0; }
  .hero-image { inset: 0; }
  .hero-image::after { background: linear-gradient(90deg, #071821f5, #0718219e), linear-gradient(0deg, #0718217a, transparent); }
}

@media (max-width: 620px) {
  .cargo-hero h1 { font-size: clamp(2rem, 9.2vw, 3.8rem); }
  .service-index, .caretaking { grid-template-columns: 1fr; }
  .caretaking { gap: 1rem; }
}

/* Steel-blue palette and full-width photographic sections. */
:root {
  --navy: #071426;
  --ice: #cadeff;
  --rule: #c9d7e8;
}
body { overflow-x: clip; }
.cargo-hero { min-height: clamp(560px, 79svh, 880px); isolation: isolate; }
.cargo-hero .wrap { z-index: 2; }
.hero-image { inset: 0 0 0 27%; overflow: hidden; }
.hero-image img { filter: saturate(.62) contrast(1.08); }
.hero-image::after {
  background: linear-gradient(90deg, #071426, #071426a8 36%, #15396128 82%),
              linear-gradient(0deg, #071426df, transparent 55%);
}
.cargo-hero h1 { font-size: clamp(3.1rem, 7.3vw, 7.3rem); }
.cargo-hero .eyebrow::before {
  content: ""; display: inline-block; width: 2.5rem; height: 1px;
  vertical-align: middle; margin-right: .8rem; background: var(--ice);
}
.cargo-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, #a7c8ff, transparent);
  box-shadow: 0 0 18px #81b3ff; z-index: 2;
}
.strip { background: #eaf1fb; }
.strip .wrap { color: #23456c; }
#services .wrap {
  display: grid; grid-template-columns: .85fr 1fr; align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}
#services .sectionhead { align-self: center; margin: 0; text-align: left; }
#services .sectionhead p { margin-bottom: 0; }
.service-index { gap: 0 1rem; }
.service-index a {
  min-height: 4.1rem; display: flex; align-items: center;
  padding-inline: .35rem; transition: color .2s, background .2s, padding .25s;
}
.service-index a:hover, .service-index a:focus-visible {
  background: #e0eaff; padding-inline: .7rem; text-decoration: none;
}
.service-stories {
  background: linear-gradient(155deg, #132c4d, #071426 60%);
  color: #f8fbff;
}
.service-stories .detail, .service-stories .detail + .detail { border-color: #b5d1f34a; }
.service-stories p, .about-scene p { color: #dbe6f4; }
.service-stories .btn.dark, .service-stories .btn { background: var(--ice); color: var(--navy); }
.service-stories .btn:hover { background: #fff; }
.detail .photo { overflow: hidden; }
.detail .photo img {
  display: block; filter: saturate(.78);
  transition: transform .65s cubic-bezier(.22,1,.36,1), filter .45s;
}
.detail .photo:hover img { transform: scale(1.055); filter: saturate(1); }
.caretaking {
  background: radial-gradient(ellipse at 10% 15%, #254a78, #0a1c33 78%);
  padding: clamp(1.6rem, 5vw, 4.5rem);
}
.about-scene { background: radial-gradient(ellipse at 82% 0%, #224671, #08182c 72%); color: #fff; }
.about-scene .eyebrow, .about-scene .stats strong { color: var(--ice); }
.about-scene .stats span { color: #dbe6f4; }
.about-scene .stats, .about-scene .stats > div { border-color: #b5d1f34a; }
#contact { background: linear-gradient(132deg, #e2ebf7, #f9fbff); }
#contact .form { box-shadow: 0 18px 50px #10294e1c; }
.chapter-nav { display: none; }
@media (min-width: 1200px) {
  .chapter-nav {
    position: fixed; z-index: 12; top: 50%; right: 12px; transform: translateY(-50%);
    display: grid; gap: 3px; padding: 5px; background: #071426f0;
    border: 1px solid #8bb4e66b; border-radius: 24px;
  }
  .chapter-nav a {
    display: grid; place-items: center; width: 32px; height: 32px;
    border-radius: 50%; color: #e2edff; font: .75rem ui-monospace, monospace;
  }
  .chapter-nav a:hover, .chapter-nav a[aria-current] { background: #cedeef; color: var(--navy); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-image img { animation: hero-settle 1.7s cubic-bezier(.18,.68,.28,1) both; }
  @keyframes hero-settle { from { transform: scale(1.12); } to { transform: scale(1); } }
}
@media (max-width: 850px) {
  .cargo-hero { min-height: 0; }
  .hero-image { inset: 0; }
  .hero-image::after { background: linear-gradient(90deg, #071426fa, #071426a1), linear-gradient(0deg,#071426a0,transparent); }
  #services .wrap { grid-template-columns: 1fr; gap: 1.25rem; }
  .detail { grid-template-columns: 1fr; }
  .detail.reverse .photo { order: 0; }
}
@media (max-width: 620px) {
  .cargo-hero h1 { font-size: clamp(1.55rem, 8.85vw, 3.5rem); }
  .cargo-hero .wrap { padding-block: 4.5rem; }
  .service-index { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-index a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .detail .photo img, .service-index a { transition: none; }
  .detail .photo:hover img { transform: none; }
}

/* Match the navigation to the existing logo plate. */
:root { --logo-navy: #071033; }
header, .scrolled header {
  background: var(--logo-navy);
  color: #fff;
  border-bottom-color: #ffffff2e;
}
header .logo { background: var(--logo-navy); }
header .navlinks a, header .menu { color: #fff; }
header .navlinks a:hover { color: #c8ddff; }
header .navlinks .btn.dark {
  background: transparent;
  border: 1px solid #bdd5ff;
  color: #fff;
}
header .navlinks .btn.dark:hover {
  background: #dbeaff;
  color: var(--logo-navy);
}
@media (max-width: 980px) {
  header .navlinks { background: var(--logo-navy); }
}

#services {
  background: var(--logo-navy);
  color: #fff;
}
#services .sectionhead { display: block; }
#services .sectionhead h2,
#services .sectionhead p,
#services .service-index a {
  color: #fff;
}
#services .service-index { gap: .85rem; }
#services .service-index-wide { grid-column: 1 / -1; }
#services .service-index a {
  position: relative;
  align-items: end;
  min-width: 0;
  min-height: clamp(5.4rem, 8.5vw, 8.5rem);
  padding: clamp(.85rem, 1.6vw, 1.5rem);
  border: 1px solid #91baff58;
  border-radius: .85rem;
  background: radial-gradient(ellipse at 100% 0%, #315793, transparent 70%), #11244c;
  box-shadow: inset 0 1px #ffffff14;
  font-size: clamp(1rem, 1.55vw, 1.425rem);
  overflow-wrap: anywhere;
}
#services .service-index a:hover,
#services .service-index a:focus-visible {
  background: radial-gradient(ellipse at 100% 0%, #4a74b7, transparent 74%), #152d5a;
  border-color: #b5d2ff;
  box-shadow: 0 7px 24px #476eb84d;
}
#services .service-index a:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  #services .service-index a {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  #services .service-index a:hover,
  #services .service-index a:focus-visible {
    transform: translateY(-4px);
  }
}
