:root {
  --outship-marine: #04146c;
  --outship-marine-deep: #06104c;
  --outship-marine-soft: #1d347f;
  --outship-amber: #fcb900;
  --outship-ink: #28293f;
  --outship-white: #ffffff;
  --outship-header-height: 86px;
  --outship-shell-width: 1240px;
  --outship-shell-gutter: clamp(22px, 4vw, 58px);
}

html {
  scroll-padding-top: calc(var(--outship-header-height) + 22px);
}

body.outship-shell-active main [id],
body.outship-shell-active [role="main"] [id] {
  scroll-margin-top: calc(var(--outship-header-height) + 22px);
}

.outship-header,
.outship-header *,
.outship-drawer,
.outship-drawer *,
.outship-footer,
.outship-footer * {
  box-sizing: border-box;
}

.outship-header a,
.outship-drawer a,
.outship-footer a {
  text-decoration: none !important;
}

.outship-header button,
.outship-drawer button {
  font: inherit;
}

/* Hide common theme-level shells without touching article headers or content footers. */
body.outship-replace-theme-header #masthead,
body.outship-replace-theme-header > header.site-header,
body.outship-replace-theme-header #page > header.site-header,
body.outship-replace-theme-header .site > header.site-header,
body.outship-replace-theme-header .elementor-location-header,
body.outship-replace-theme-header [data-elementor-type="header"],
body.outship-replace-theme-header .wp-site-blocks > header,
body.outship-replace-theme-header header.wp-block-template-part:not(:has(.wp-block-cover)) {
  display: none !important;
}

body.outship-replace-theme-footer #colophon,
body.outship-replace-theme-footer > footer.site-footer,
body.outship-replace-theme-footer #page > footer.site-footer,
body.outship-replace-theme-footer .site > footer.site-footer,
body.outship-replace-theme-footer .elementor-location-footer,
body.outship-replace-theme-footer [data-elementor-type="footer"],
body.outship-replace-theme-footer .wp-site-blocks > footer,
body.outship-replace-theme-footer footer.wp-block-template-part {
  display: none !important;
}

.outship-skip-link {
  position: fixed;
  z-index: 100002;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: var(--outship-ink) !important;
  background: var(--outship-amber);
  border-radius: 2px;
  font: 700 13px/1.3 "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.outship-skip-link:focus {
  transform: translateY(0);
}

.outship-header {
  position: fixed;
  z-index: 99990;
  inset: 0 0 auto;
  height: var(--outship-header-height);
  margin: 0;
  color: var(--outship-white);
  background: rgba(4, 20, 108, 0.97);
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: 0 14px 42px rgba(6, 16, 76, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color 260ms ease, box-shadow 260ms ease;
}

body.admin-bar .outship-header {
  top: 32px;
}

body.outship-transparent-home:not(.outship-shell-scrolled) .outship-header:not(.is-menu-open) {
  background: linear-gradient(180deg, rgba(6, 16, 76, 0.42) 0%, rgba(6, 16, 76, 0.12) 62%, rgba(6, 16, 76, 0) 100%);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.outship-header__inner {
  width: min(var(--outship-shell-width), calc(100% - (2 * var(--outship-shell-gutter))));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto auto;
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
}

@media (min-width: 901px) {
  .outship-header__inner {
    width: calc(100% - 8vw);
    max-width: none;
  }
}

.outship-header__brand {
  width: 156px;
  display: block;
  color: var(--outship-white) !important;
}

.outship-header__brand img,
.outship-footer__brand img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border: 0;
}

.outship-header__nav,
.outship-header__nav ul,
.outship-header__nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.outship-header__nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(23px, 2.4vw, 40px);
}

.outship-header__nav > ul > li {
  position: relative;
}

.outship-header__nav > ul > li > a,
.outship-nav-services__label > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.outship-header__nav > ul > li > a::after,
.outship-nav-services__label > a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--outship-amber);
  transition: right 200ms ease;
}

.outship-header__nav > ul > li > a:hover::after,
.outship-header__nav > ul > li > a:focus-visible::after,
.outship-header__nav > ul > li > a[aria-current="page"]::after,
.outship-nav-services__label > a:hover::after,
.outship-nav-services__label > a:focus-visible::after,
.outship-nav-services__label > a[aria-current="page"]::after,
.outship-nav-services.is-current .outship-nav-services__label > a::after {
  right: 0;
}

.outship-nav-services__label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.outship-services-toggle {
  width: 32px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--outship-white);
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.outship-services-toggle span,
.outship-mobile-services__toggle i {
  width: 7px;
  height: 7px;
  display: block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.outship-nav-services.is-open .outship-services-toggle span,
.outship-nav-services:hover .outship-services-toggle span,
.outship-nav-services:focus-within .outship-services-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.outship-services-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -24px;
  width: min(340px, 80vw);
  padding: 12px !important;
  color: var(--outship-white);
  background: var(--outship-marine);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 55px rgba(3, 9, 50, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.outship-services-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
}

.outship-nav-services:hover .outship-services-menu,
.outship-nav-services:focus-within .outship-services-menu,
.outship-nav-services.is-open .outship-services-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.outship-services-menu li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.outship-services-menu a {
  min-height: 54px;
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 160ms ease, background-color 160ms ease;
}

.outship-services-menu a span {
  color: var(--outship-amber);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.outship-services-menu a:hover,
.outship-services-menu a:focus-visible,
.outship-services-menu a[aria-current="page"] {
  color: var(--outship-white) !important;
  background: rgba(255, 255, 255, 0.08);
}

.outship-header__cta {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--outship-ink) !important;
  background: var(--outship-amber);
  border: 1px solid var(--outship-amber);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.outship-header__cta i {
  font-size: 15px;
  font-style: normal;
  line-height: 1;
  transition: transform 180ms ease;
}

.outship-header__cta:hover,
.outship-header__cta:focus-visible {
  color: var(--outship-ink) !important;
  background: var(--outship-white);
  transform: translateY(-1px);
}

.outship-header__cta:hover i,
.outship-header__cta:focus-visible i {
  transform: translate(2px, -2px);
}

.outship-header a:focus-visible,
.outship-header button:focus-visible,
.outship-drawer a:focus-visible,
.outship-drawer button:focus-visible,
.outship-footer a:focus-visible {
  outline: 3px solid var(--outship-amber) !important;
  outline-offset: 3px;
}

.outship-menu-toggle {
  min-width: 48px;
  min-height: 46px;
  margin: 0;
  padding: 0 13px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--outship-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 2px;
  cursor: pointer;
}

.outship-menu-toggle__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outship-menu-toggle__icon {
  position: relative;
  width: 17px;
  height: 12px;
  display: block;
}

.outship-menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  display: block;
  background: currentColor;
  transition: top 180ms ease, transform 180ms ease;
}

.outship-menu-toggle__icon i:first-child {
  top: 2px;
}

.outship-menu-toggle__icon i:last-child {
  top: 9px;
}

.outship-header.is-menu-open .outship-menu-toggle {
  color: var(--outship-marine-deep);
  background: var(--outship-white);
}

.outship-header.is-menu-open .outship-menu-toggle__icon i:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.outship-header.is-menu-open .outship-menu-toggle__icon i:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

.outship-header-spacer {
  width: 100%;
  height: var(--outship-header-height);
  display: block;
}

body.outship-transparent-home .outship-header-spacer {
  height: 0;
}

/* Mobile navigation drawer */
.outship-drawer {
  position: fixed;
  z-index: 99980;
  inset: var(--outship-header-height) 0 0;
  display: none;
  color: var(--outship-white);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 240ms ease;
}

body.admin-bar .outship-drawer {
  top: calc(var(--outship-header-height) + 32px);
}

.outship-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: rgba(3, 9, 50, 0.58);
  border: 0;
  opacity: 0;
  cursor: pointer;
  transition: opacity 240ms ease;
}

.outship-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 92vw);
  height: 100%;
  padding: 24px clamp(24px, 6vw, 42px) 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--outship-marine-deep);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -26px 0 60px rgba(3, 9, 50, 0.24);
  transform: translateX(102%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.outship-menu-open {
  overflow: hidden !important;
}

body.outship-menu-open .outship-drawer {
  visibility: visible;
  pointer-events: auto;
}

body.outship-menu-open .outship-drawer__backdrop {
  opacity: 1;
}

body.outship-menu-open .outship-drawer__panel {
  transform: translateX(0);
}

.outship-drawer__topline {
  min-height: 38px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.outship-drawer__topline p {
  margin: 0;
  color: var(--outship-amber);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outship-mobile-nav {
  display: flex;
  flex-direction: column;
}

.outship-mobile-nav > a,
.outship-mobile-services__toggle {
  min-height: 70px;
  margin: 0;
  padding: 14px 2px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.94) !important;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  font-size: clamp(20px, 5vw, 27px);
  font-weight: 620;
  line-height: 1.2;
  text-align: left;
}

.outship-mobile-nav > a > span,
.outship-mobile-services__toggle > span {
  color: var(--outship-amber);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.outship-mobile-services__toggle {
  width: 100%;
  cursor: pointer;
}

.outship-mobile-services__toggle b {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(20px, 5vw, 27px) !important;
  font-weight: 620 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.outship-mobile-services__toggle {
  font-size: clamp(20px, 5vw, 27px) !important;
  font-weight: 620 !important;
  line-height: 1.2 !important;
}

.outship-mobile-services__toggle i {
  margin-right: 8px;
}

.outship-mobile-services.is-open .outship-mobile-services__toggle i {
  transform: translateY(2px) rotate(225deg);
}

.outship-mobile-services__list {
  display: grid;
  grid-template-rows: 0fr;
  background: rgba(255, 255, 255, 0.055);
  transition: grid-template-rows 220ms ease;
}

.outship-mobile-services__list > div {
  min-height: 0;
  overflow: hidden;
}

.outship-mobile-services.is-open .outship-mobile-services__list {
  grid-template-rows: 1fr;
}

.outship-mobile-services__list a {
  min-height: 50px;
  margin-left: 46px;
  padding: 13px 10px 13px 0;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.35;
}

.outship-mobile-nav__cta {
  color: var(--outship-ink) !important;
  background: var(--outship-amber) !important;
  border-bottom: 0 !important;
}

.outship-mobile-nav__cta > span {
  color: var(--outship-ink) !important;
}

.outship-mobile-nav__cta i {
  margin-right: 8px;
  font-size: 20px;
  font-style: normal;
}

.outship-drawer__meta {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.outship-drawer__meta a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 11px;
  font-weight: 600;
}

.outship-drawer__meta a span {
  color: var(--outship-amber);
}

/* Footer */
.outship-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: clamp(64px, 8vw, 104px) 0 28px;
  color: var(--outship-white);
  background: var(--outship-marine);
  border: 0;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.outship-footer__inner {
  width: min(var(--outship-shell-width), calc(100% - (2 * var(--outship-shell-gutter))));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(130px, 0.68fr));
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.outship-footer__brand {
  width: min(190px, 65%);
  display: block;
}

.outship-footer__brand-column > p {
  max-width: 430px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 430;
  line-height: 1.75;
}

.outship-footer__column {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.outship-footer__eyebrow {
  margin: 2px 0 10px;
  color: var(--outship-amber);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outship-footer__column a {
  position: relative;
  width: fit-content;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.45;
  transition: color 160ms ease;
}

.outship-footer__column a::after,
.outship-footer__base > a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--outship-amber);
  transition: right 180ms ease;
}

.outship-footer__column a:hover,
.outship-footer__column a:focus-visible,
.outship-footer__base > a:hover,
.outship-footer__base > a:focus-visible {
  color: var(--outship-white) !important;
}

.outship-footer__column a:hover::after,
.outship-footer__column a:focus-visible::after,
.outship-footer__base > a:hover::after,
.outship-footer__base > a:focus-visible::after {
  right: 0;
}

.outship-footer__connect a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.outship-footer__connect a span {
  color: var(--outship-amber);
}

.outship-footer__base {
  grid-column: 1 / -1;
  margin-top: clamp(20px, 3vw, 44px);
  padding-top: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outship-footer__base > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.outship-footer__base > a {
  position: relative;
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: rgba(255, 255, 255, 0.62) !important;
}

@media (max-width: 1050px) {
  .outship-header__inner {
    grid-template-columns: minmax(150px, 1fr) auto auto;
    gap: 24px;
  }

  .outship-header__nav > ul {
    gap: 22px;
  }

  .outship-footer__inner {
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(120px, 0.65fr));
    gap: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --outship-header-height: 74px;
  }

  .outship-header__inner {
    grid-template-columns: minmax(130px, 1fr) auto auto;
    gap: 12px;
  }

  .outship-header__brand {
    width: 140px;
  }

  .outship-header__nav {
    display: none;
  }

  .outship-header__cta {
    min-height: 44px;
    padding: 10px 14px;
    gap: 10px;
  }

  .outship-menu-toggle {
    display: inline-flex;
  }

  .outship-drawer {
    display: block;
  }

  .outship-footer__inner {
    grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(145px, 0.8fr));
  }

  .outship-footer__brand-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  body.admin-bar .outship-header {
    top: 46px;
  }

  body.admin-bar .outship-drawer {
    top: calc(var(--outship-header-height) + 46px);
  }
}

@media (max-width: 680px) {
  :root {
    --outship-shell-gutter: 24px;
  }

  .outship-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 38px 28px;
  }

  .outship-footer__brand-column {
    grid-column: 1 / -1;
  }

  .outship-footer__connect {
    grid-column: 1 / -1;
  }

  .outship-footer__base {
    align-items: flex-start;
    flex-direction: column;
  }

  .outship-footer__base > div {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 520px) {
  :root {
    --outship-shell-gutter: 19px;
  }

  .outship-header__inner {
    grid-template-columns: minmax(112px, 1fr) 44px 44px;
    gap: 9px;
  }

  .outship-header__brand {
    width: min(128px, 100%);
  }

  .outship-header__cta {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .outship-header__cta span,
  .outship-menu-toggle__label {
    display: none;
  }

  .outship-menu-toggle {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .outship-drawer__panel {
    width: 100%;
    border-left: 0;
  }

  .outship-footer__inner {
    grid-template-columns: 1fr;
  }

  .outship-footer__brand-column,
  .outship-footer__connect {
    grid-column: 1;
  }

  .outship-footer__column {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .outship-footer__connect {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .outship-header,
  .outship-header *,
  .outship-drawer,
  .outship-drawer *,
  .outship-footer,
  .outship-footer *,
  .outship-skip-link {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .outship-header {
    position: static;
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .outship-header-spacer,
  .outship-drawer,
  .outship-menu-toggle,
  .outship-header__cta,
  .outship-footer {
    display: none !important;
  }
}
