:root {
  --maragensea-header-height: 112px;
}

body.home #first-sec,
body.home #about,
body.home #miss,
body.page-id-1348 #first-sec,
body.page-id-1348 #about,
body.page-id-1348 #miss {
  display: none !important;
}

/* The legacy rail still points to hidden Elementor sections. */
body.maragensea-story-ready #fp-nav {
  display: none !important;
}

body.maragensea-story-in-view #maragensea-page-nav {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.maragensea-story,
.maragensea-story * {
  box-sizing: border-box;
}

.maragensea-story {
  --story-gold: #a68862;
  --story-ivory: #f7f7df;
  --story-grey: #8d8585;
  --story-ink: #050e0f;
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(100svh - var(--maragensea-header-height));
  overflow: hidden;
  background: var(--story-ink);
  color: var(--story-ivory);
  font-family: Montserrat, sans-serif;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.maragensea-story.is-mounted {
  opacity: 1;
}

body.maragensea-story-ready .maragensea-story {
  height: 100svh;
}

.maragensea-story__backdrop,
.maragensea-story__backdrop video,
.maragensea-story__video-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.maragensea-story__backdrop {
  z-index: 0;
  overflow: hidden;
  background: var(--story-ink) url("port-call-intro-poster.jpg?ver=1.8.52") center / cover no-repeat;
}

.maragensea-story__backdrop video {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04) brightness(0.86);
  transform: scale(1.015);
}

.maragensea-story__video-veil {
  background:
    linear-gradient(180deg, rgba(5, 14, 15, 0.22) 0%, rgba(5, 14, 15, 0.12) 50%, rgba(5, 14, 15, 0.76) 100%),
    rgba(5, 14, 15, 0.2);
}

.maragensea-story__viewport {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.maragensea-story__viewport::-webkit-scrollbar {
  display: none;
}

.maragensea-story__viewport:focus {
  outline: 0;
}

.maragensea-story__panel {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
  isolation: isolate;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.maragensea-story__panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.maragensea-story__panel--about::before {
  background: linear-gradient(90deg, rgba(5, 14, 15, 0.08) 0%, rgba(5, 14, 15, 0.25) 38%, rgba(5, 14, 15, 0.92) 67%, rgba(5, 14, 15, 0.96) 100%);
}

.maragensea-story__panel--vision::before {
  background: linear-gradient(90deg, rgba(5, 14, 15, 0.94) 0%, rgba(5, 14, 15, 0.9) 43%, rgba(5, 14, 15, 0.32) 72%, rgba(5, 14, 15, 0.12) 100%);
}

.maragensea-story__panel--mission::before {
  background: linear-gradient(90deg, rgba(5, 14, 15, 0.18) 0%, rgba(5, 14, 15, 0.28) 37%, rgba(5, 14, 15, 0.9) 66%, rgba(5, 14, 15, 0.95) 100%);
}

.maragensea-story__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(46%, 690px);
  min-width: 500px;
  padding-top: 44px;
  padding-bottom: 104px;
}

.maragensea-story__panel--about .maragensea-story__content,
.maragensea-story__panel--mission .maragensea-story__content {
  margin-right: clamp(88px, 10vw, 190px);
  margin-left: auto;
}

.maragensea-story__panel--vision .maragensea-story__content {
  margin-right: auto;
  margin-left: clamp(88px, 10vw, 190px);
}

.maragensea-story__eyebrow {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 26px;
  color: var(--story-gold);
  font-family: Montserrat, sans-serif !important;
  font-size: 14.4px;
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 14.4px;
  text-transform: uppercase;
}

.maragensea-story__eyebrow::before {
  width: 36px;
  height: 1px;
  content: "";
  background: var(--story-gold);
}

.maragensea-story__eyebrow span {
  color: rgba(247, 247, 223, 0.6);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
}

.maragensea-story h1 {
  margin: 0;
  color: var(--story-grey);
  font-family: Montserrat, sans-serif !important;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 54px;
  text-transform: uppercase;
}

.maragensea-story__panel--vision h2,
.maragensea-story__panel--mission h2 {
  margin: 0 0 33px;
  color: var(--story-gold);
  font-family: Montserrat, sans-serif !important;
  font-size: 14.4px;
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 14.4px;
  text-transform: uppercase;
}

.maragensea-story__panel--vision .maragensea-story__eyebrow,
.maragensea-story__panel--mission .maragensea-story__eyebrow {
  margin-bottom: 15px;
  color: rgba(247, 247, 223, 0.6);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
}

.maragensea-story__motto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 31px 0 28px;
  color: var(--story-ivory);
  font-family: Montserrat, sans-serif !important;
  font-size: 16.2px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 24.3px;
  text-transform: uppercase;
}

.maragensea-story__motto span,
.maragensea-story__motto b {
  display: block;
}

.maragensea-story__motto b {
  color: var(--story-gold);
  font-weight: 400;
}

.maragensea-story__copy {
  max-width: 610px;
  margin: 0;
  color: var(--story-ivory);
  font-family: Montserrat, sans-serif !important;
  font-size: 11.7px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 17.55px;
}

.maragensea-story__strapline {
  position: relative;
  max-width: 610px;
  margin: 35px 0 0;
  padding: 20px 0 0 54px;
  border-top: 1px solid rgba(166, 136, 98, 0.4);
  color: rgba(247, 247, 223, 0.76);
  font-family: Montserrat, sans-serif !important;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 4px;
  line-height: 18px;
  text-transform: uppercase;
}

.maragensea-story__strapline::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 35px;
  height: 1px;
  content: "";
  background: var(--story-gold);
}

.maragensea-story__strapline b {
  color: var(--story-gold);
  font-weight: 400;
}

.maragensea-story__ghost {
  position: absolute;
  z-index: 0;
  right: -0.04em;
  bottom: 68px;
  margin: 0;
  color: rgba(141, 133, 133, 0.055);
  font-family: Montserrat, sans-serif !important;
  font-size: clamp(112px, 16vw, 300px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.maragensea-story__panel--vision .maragensea-story__ghost {
  right: auto;
  left: -0.04em;
}

.maragensea-story__rail {
  position: absolute;
  z-index: 9;
  top: 50%;
  right: clamp(16px, 2.5vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transform: translateY(-50%);
}

.maragensea-story__rail button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  width: 48px;
  height: 16px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(247, 247, 223, 0.45);
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 7px;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.maragensea-story__rail button::before {
  width: 5px;
  height: 1px;
  content: "";
  background: rgba(247, 247, 223, 0.42);
  transition: width 0.35s ease, background-color 0.35s ease;
}

.maragensea-story__rail button:hover,
.maragensea-story__rail button:focus,
.maragensea-story__rail button:active,
.maragensea-story__rail button.is-active {
  /* Override the theme's default pink/red button interaction background. */
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  color: var(--story-gold);
}

.maragensea-story__rail button:hover::before,
.maragensea-story__rail button:focus::before,
.maragensea-story__rail button:active::before {
  background: var(--story-gold);
}

.maragensea-story__rail button.is-active::before {
  width: 22px;
  background: var(--story-gold);
}

/* Keyboard focus uses the existing gold marker, never a rectangular ring. */
.maragensea-story__rail button:focus-visible::before {
  width: 24px;
  height: 2px;
  background: var(--story-gold);
}

#maragensea-page-nav {
  position: fixed;
  z-index: 90;
  top: 50%;
  right: clamp(16px, 2.5vw, 46px);
  transform: translateY(-50%);
  color: #a68862;
  font-family: Montserrat, sans-serif;
}

#maragensea-page-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#maragensea-page-nav ul::before,
#maragensea-page-nav ul::after {
  align-self: flex-end;
  width: 1px;
  height: 48px;
  margin: 14px 4px;
  content: "";
  background: rgba(166, 136, 98, 0.65);
}

#maragensea-page-nav li {
  position: relative;
  margin: 0;
  padding: 0;
}

#maragensea-page-nav a {
  position: relative;
  display: flex;
  width: 40px;
  height: 22px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: #a68862;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

#maragensea-page-nav a:hover,
#maragensea-page-nav a:focus,
#maragensea-page-nav a:active {
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: #a68862;
}

#maragensea-page-nav .maragensea-page-nav__dot {
  width: 3px;
  height: 3px;
  margin-right: 3px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#maragensea-page-nav a[aria-current] .maragensea-page-nav__dot {
  transform: scale(3);
}

#maragensea-page-nav a:focus-visible .maragensea-page-nav__dot {
  transform: scale(2.4);
  box-shadow: 0 0 0 2px rgba(166, 136, 98, 0.35);
}

#maragensea-page-nav .maragensea-page-nav__label {
  position: absolute;
  right: 18px;
  color: rgba(247, 247, 223, 0.65);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#maragensea-page-nav a[aria-current] .maragensea-page-nav__label,
#maragensea-page-nav a:hover .maragensea-page-nav__label,
#maragensea-page-nav a:focus-visible .maragensea-page-nav__label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  #maragensea-page-nav { right: 10px; }
  #maragensea-page-nav a { width: 28px; }
  #maragensea-page-nav ul::before,
  #maragensea-page-nav ul::after { height: 28px; margin-top: 10px; margin-bottom: 10px; }
  #maragensea-page-nav a[aria-current]:not(:hover):not(:focus-visible) .maragensea-page-nav__label { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #maragensea-page-nav * { transition: none !important; }
}

.maragensea-story__scroll-hint,
.maragensea-story__continue {
  position: absolute;
  z-index: 8;
  bottom: 102px;
  left: 50%;
  display: flex;
  gap: 11px;
  align-items: center;
  color: rgba(247, 247, 223, 0.58);
  font-family: Montserrat, sans-serif;
  font-size: 7px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 0.35s ease;
  white-space: nowrap;
}

.maragensea-story.is-last .maragensea-story__scroll-hint {
  opacity: 0;
}

.maragensea-story__scroll-hint i {
  position: relative;
  display: block;
  width: 1px;
  height: 29px;
  overflow: hidden;
  background: rgba(247, 247, 223, 0.22);
}

.maragensea-story__scroll-hint i::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 42%;
  content: "";
  background: var(--story-gold);
  animation: maragensea-story-scroll 1.8s ease-in-out infinite;
}

.maragensea-story__continue i {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(166, 136, 98, 0.32);
}

.maragensea-story__continue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--story-gold);
  transform: translateX(-100%);
  animation: maragensea-story-line 2.2s ease-in-out infinite;
}

.maragensea-story__panel .maragensea-story__eyebrow,
.maragensea-story__panel h1,
.maragensea-story__panel h2,
.maragensea-story__panel .maragensea-story__motto,
.maragensea-story__panel .maragensea-story__copy,
.maragensea-story__panel .maragensea-story__strapline {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.62s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.maragensea-story__panel.is-active .maragensea-story__eyebrow,
.maragensea-story__panel.is-active h1,
.maragensea-story__panel.is-active h2,
.maragensea-story__panel.is-active .maragensea-story__motto,
.maragensea-story__panel.is-active .maragensea-story__copy,
.maragensea-story__panel.is-active .maragensea-story__strapline {
  opacity: 1;
  transform: translateY(0);
}

.maragensea-story__panel.is-active h1,
.maragensea-story__panel.is-active h2 {
  transition-delay: 0.06s;
}

.maragensea-story__panel.is-active .maragensea-story__motto,
.maragensea-story__panel.is-active .maragensea-story__copy {
  transition-delay: 0.14s;
}

.maragensea-story__panel.is-active .maragensea-story__strapline {
  transition-delay: 0.22s;
}

@keyframes maragensea-story-scroll {
  0% { transform: translateY(-110%); }
  58%, 100% { transform: translateY(250%); }
}

@keyframes maragensea-story-line {
  0% { transform: translateX(-100%); }
  58%, 100% { transform: translateX(110%); }
}

@media (max-width: 1024px) {
  .maragensea-story__content {
    width: 52%;
    min-width: 450px;
  }

  .maragensea-story__panel--about .maragensea-story__content,
  .maragensea-story__panel--mission .maragensea-story__content {
    margin-right: 76px;
  }

  .maragensea-story__panel--vision .maragensea-story__content {
    margin-left: 76px;
  }
}

@media (max-width: 767px) {
  :root {
    --maragensea-header-height: 76px;
  }

  .maragensea-story__backdrop video {
    object-position: center;
    filter: saturate(0.42) contrast(1.08) brightness(0.55);
  }

  .maragensea-story__video-veil {
    background: linear-gradient(180deg, rgba(5, 14, 15, 0.16), rgba(5, 14, 15, 0.72) 56%, rgba(5, 14, 15, 0.92));
  }

  .maragensea-story__panel--about::before,
  .maragensea-story__panel--vision::before,
  .maragensea-story__panel--mission::before {
    background: linear-gradient(180deg, rgba(5, 14, 15, 0.08) 0%, rgba(5, 14, 15, 0.46) 38%, rgba(5, 14, 15, 0.92) 100%);
  }

  .maragensea-story__content,
  .maragensea-story__panel--about .maragensea-story__content,
  .maragensea-story__panel--vision .maragensea-story__content,
  .maragensea-story__panel--mission .maragensea-story__content {
    justify-content: flex-end;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 48px 48px 92px 27px;
  }

  .maragensea-story__eyebrow {
    gap: 10px;
    margin-bottom: 15px;
    font-size: 9px;
    letter-spacing: 3px;
    line-height: 12px;
  }

  .maragensea-story__eyebrow::before {
    width: 26px;
  }

  .maragensea-story h1 {
    font-size: 42px;
    line-height: 42px;
  }

  .maragensea-story__panel--vision h2,
  .maragensea-story__panel--mission h2 {
    margin-bottom: 21px;
    font-size: 11px;
    letter-spacing: 4px;
    line-height: 13px;
  }

  .maragensea-story__motto {
    margin: 20px 0 17px;
    font-size: 11px;
    line-height: 16px;
  }

  .maragensea-story__copy {
    max-width: 315px;
    font-size: 9px;
    letter-spacing: 0.35px;
    line-height: 14px;
  }

  .maragensea-story__strapline {
    max-width: 315px;
    margin-top: 22px;
    padding-top: 12px;
    padding-left: 36px;
    font-size: 6px;
    letter-spacing: 2px;
    line-height: 12px;
  }

  .maragensea-story__strapline::before {
    top: 11px;
    width: 24px;
  }

  .maragensea-story__ghost {
    bottom: 58px;
    font-size: 28vw;
  }

  .maragensea-story__rail {
    right: 4px;
    gap: 10px;
  }

  .maragensea-story__rail button {
    width: 34px;
    gap: 5px;
    font-size: 6px;
  }

  .maragensea-story__rail button.is-active::before {
    width: 13px;
  }

  .maragensea-story__scroll-hint,
  .maragensea-story__continue {
    bottom: 78px;
    font-size: 5.5px;
  }

  .maragensea-story__scroll-hint i {
    height: 22px;
  }
}

@media (max-height: 720px) and (min-width: 768px) {
  .maragensea-story__content {
    padding-top: 30px;
    padding-bottom: 75px;
  }

  .maragensea-story__eyebrow {
    margin-bottom: 18px;
  }

  .maragensea-story__motto {
    margin-top: 20px;
    margin-bottom: 18px;
  }

  .maragensea-story__strapline {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maragensea-story__viewport {
    scroll-behavior: auto;
  }

  .maragensea-story *,
  .maragensea-story *::before,
  .maragensea-story *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

.maragensea-brokers-extension,
.maragensea-brokers-extension * {
  box-sizing: border-box;
}

.maragensea-brokers-extension {
  --brokers-gold: #a68862;
  --brokers-ivory: #f7f7df;
  --brokers-grey: #8d8585;
  position: absolute;
  z-index: 12;
  top: clamp(156px, 18.5vh, 178px);
  right: clamp(40px, 4.4vw, 84px);
  width: min(42vw, 620px);
  margin: 0;
  background: linear-gradient(105deg, rgba(5, 14, 15, 0.91), rgba(5, 14, 15, 0.64));
  color: var(--brokers-ivory);
  font-family: Montserrat, sans-serif;
  backdrop-filter: blur(3px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.maragensea-brokers-extension::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) left top / 92px 1px no-repeat,
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) left top / 1px 84px no-repeat,
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) right top / 92px 1px no-repeat,
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) right top / 1px 84px no-repeat,
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) left bottom / 92px 1px no-repeat,
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) left bottom / 1px 84px no-repeat,
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) right bottom / 92px 1px no-repeat,
    linear-gradient(var(--brokers-gold), var(--brokers-gold)) right bottom / 1px 84px no-repeat;
  opacity: 0.88;
}

.maragensea-brokers-extension.is-mounted {
  opacity: 1;
  transform: none;
}

.maragensea-brokers-extension__content {
  position: relative;
  z-index: 2;
  padding: clamp(52px, 4.2vw, 62px) clamp(30px, 3vw, 44px) clamp(27px, 2.6vw, 38px);
}

.maragensea-brokers-extension__eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
  position: absolute;
  top: 23px;
  right: clamp(30px, 3vw, 44px);
  margin: 0;
  color: var(--brokers-gold);
  font-family: Montserrat, sans-serif !important;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2.1px;
  line-height: 12px;
  text-transform: uppercase;
}

.maragensea-brokers-extension__eyebrow span {
  width: 21px;
  height: 1px;
  background: var(--brokers-gold);
}

.maragensea-brokers-extension__eyebrow i {
  color: rgba(247, 247, 223, 0.48);
  font-size: 7px;
  font-style: normal;
  font-weight: 300;
}

.maragensea-brokers-extension h2 {
  position: absolute;
  top: -18px;
  left: 0;
  display: flex;
  align-items: center;
  min-width: min(265px, 51%);
  min-height: 39px;
  margin: 0;
  padding: 9px 29px;
  background: #b29269;
  color: #050e0f;
  font-family: Montserrat, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.15;
  text-transform: uppercase;
}

.maragensea-brokers-extension__lead {
  margin: 0;
  color: var(--brokers-ivory);
  font-family: Montserrat, sans-serif !important;
  font-size: clamp(10px, 0.83vw, 12px);
  font-weight: 400;
  letter-spacing: 1.25px;
  line-height: 1.52;
  text-transform: uppercase;
}

.maragensea-brokers-extension__rule {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 18px 0 18px;
  background: linear-gradient(90deg, rgba(166, 136, 98, 0.22) 0 calc(50% - 14px), transparent calc(50% - 14px) calc(50% + 14px), rgba(166, 136, 98, 0.22) calc(50% + 14px));
}

.maragensea-brokers-extension__rule::before,
.maragensea-brokers-extension__rule::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.maragensea-brokers-extension__rule::before {
  width: 11px;
  height: 11px;
  border: 1px solid var(--brokers-gold);
}

.maragensea-brokers-extension__rule::after {
  width: 3px;
  height: 3px;
  background: var(--brokers-gold);
}

.maragensea-brokers-extension__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
}

.maragensea-brokers-extension__copy p {
  margin: 0;
  color: var(--brokers-ivory);
  font-family: Montserrat, sans-serif !important;
  position: relative;
  padding-left: 19px;
  font-size: clamp(8.2px, 0.68vw, 9.8px);
  font-weight: 300;
  letter-spacing: 0.35px;
  line-height: 1.5;
}

.maragensea-brokers-extension__copy p::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--brokers-gold);
  content: "✓";
  font-size: 12px;
  line-height: 1;
}

.maragensea-brokers-extension__copy p + p {
  padding-left: clamp(34px, 3.2vw, 46px);
  border-left: 1px solid rgba(166, 136, 98, 0.18);
}

.maragensea-brokers-extension__copy p + p::before {
  left: clamp(17px, 1.65vw, 24px);
}

@media (max-width: 1024px) {
  .maragensea-brokers-extension {
    top: 162px;
    right: 24px;
    width: 47vw;
  }
}

@media (max-width: 767px) {
  #brokers.maragensea-brokers-enhanced {
    height: auto !important;
  }

  .maragensea-brokers-extension {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 8px 27px 0;
    background: linear-gradient(115deg, rgba(5, 14, 15, 0.76), rgba(5, 14, 15, 0.28));
    backdrop-filter: none;
  }

  .maragensea-brokers-extension::before {
    background:
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) left top / 62px 1px no-repeat,
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) left top / 1px 62px no-repeat,
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) right top / 62px 1px no-repeat,
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) right top / 1px 62px no-repeat,
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) left bottom / 62px 1px no-repeat,
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) left bottom / 1px 62px no-repeat,
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) right bottom / 62px 1px no-repeat,
      linear-gradient(var(--brokers-gold), var(--brokers-gold)) right bottom / 1px 62px no-repeat;
  }

  .maragensea-brokers-extension__content {
    padding: 55px 23px 104px;
  }

  .maragensea-brokers-extension__eyebrow {
    top: 22px;
    right: 23px;
    font-size: 8px;
  }

  .maragensea-brokers-extension h2 {
    top: -16px;
    left: -1px;
    min-width: 225px;
    min-height: 36px;
    padding: 8px 21px;
    font-size: 11px;
  }

  .maragensea-brokers-extension__lead {
    font-size: 10.5px;
    letter-spacing: 1px;
    line-height: 16px;
  }

  .maragensea-brokers-extension__rule {
    margin: 20px 0 18px;
  }

  .maragensea-brokers-extension__copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .maragensea-brokers-extension__copy p {
    padding-left: 18px;
    font-size: 9.5px;
    line-height: 15.5px;
  }

  .maragensea-brokers-extension__copy p + p {
    padding-top: 16px;
    padding-left: 18px;
    border-top: 1px solid rgba(166, 136, 98, 0.18);
    border-left: 0;
  }

  .maragensea-brokers-extension__copy p + p::before {
    top: 16px;
    left: 0;
  }
}

/* Company profile call-to-action */
.prof-btn .elementor-button {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 294px;
  min-height: 54px;
  padding: 17px 26px !important;
  overflow: hidden;
  border: 1px solid rgba(178, 146, 105, 0.82) !important;
  border-radius: 0 !important;
  background: rgba(5, 14, 15, 0.62) !important;
  box-shadow: 0 0 0 0 rgba(178, 146, 105, 0.28);
  color: #f7f7df !important;
  isolation: isolate;
  animation: maragensea-presentation-beacon 3.4s ease-in-out infinite;
  transition: color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease !important;
}

.prof-btn .elementor-button::before {
  position: absolute;
  z-index: 0;
  top: -60%;
  bottom: -60%;
  left: -42%;
  width: 24%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(247, 247, 223, 0.24), transparent);
  pointer-events: none;
  transform: skewX(-18deg);
  animation: maragensea-presentation-sweep 4.2s ease-in-out infinite;
}

.prof-btn .elementor-button-content-wrapper {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 13px;
  align-items: center;
}

.prof-btn .elementor-button-content-wrapper::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border: 1px solid #b29269;
  border-radius: 50%;
  background: #b29269;
  box-shadow: 0 0 0 4px rgba(178, 146, 105, 0.12);
  content: "";
  animation: maragensea-presentation-signal 1.8s ease-in-out infinite;
}

.prof-btn .elementor-button-text {
  color: inherit !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 18px;
  text-transform: uppercase;
}

.prof-btn .elementor-button-icon {
  color: #b29269;
  transition: color 0.35s ease, transform 0.35s ease;
}

.prof-btn .elementor-button:hover,
.prof-btn .elementor-button:focus-visible {
  border-color: #b29269 !important;
  background: #b29269 !important;
  box-shadow: 0 13px 35px rgba(0, 0, 0, 0.28), 0 0 24px rgba(178, 146, 105, 0.2);
  color: #050e0f !important;
  outline: none;
  transform: translateY(-3px);
}

.prof-btn .elementor-button:hover .elementor-button-icon,
.prof-btn .elementor-button:focus-visible .elementor-button-icon {
  color: #050e0f;
  transform: translateX(4px);
}

@keyframes maragensea-presentation-beacon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(178, 146, 105, 0.24); }
  50% { box-shadow: 0 0 0 7px rgba(178, 146, 105, 0), 0 0 24px rgba(178, 146, 105, 0.14); }
}

@keyframes maragensea-presentation-sweep {
  0%, 36% { left: -42%; opacity: 0; }
  44% { opacity: 1; }
  68%, 100% { left: 118%; opacity: 0; }
}

@keyframes maragensea-presentation-signal {
  0%, 100% { opacity: 0.58; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 767px) {
  .prof-btn .elementor-button {
    min-width: min(282px, calc(100vw - 54px));
    min-height: 50px;
    padding: 15px 20px !important;
  }

  .prof-btn .elementor-button-text {
    font-size: 11px;
    letter-spacing: 1.6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prof-btn .elementor-button,
  .prof-btn .elementor-button::before,
  .prof-btn .elementor-button-content-wrapper::before {
    animation: none !important;
  }
}

/* Teamwork, styled like its neighbours: the same textured sea background as Ship & Crew and Partners, the
   propeller as a feathered photo panel on the right (mirroring Ship & Crew's panel on the left), the section
   title top-left like Brokers / Ship & Crew, and the three columns along the bottom.
   Photo: the original site's propeller (uploads/2023/05/testaya.png) made opaque (the upload faded to transparent
   on the left), trimmed 40px, desaturated to a steel tone, lightly sharpened, with its own transparent feathered
   left/top/bottom edges so it blends into the texture: teamwork-propeller-panel.webp.
   shortcut: the only original is 800x600, so it is upscaled on large screens; swap in a larger original if one turns up. */
.elementor-1348 #crew {
  /* Remove the legacy tablet gap before the shared dark section boundary. */
  margin-bottom: 0 !important;
}

.elementor-1348 #team.elementor-element-78a6d7e {
  background-color: #020505;
  background-image:
    /* Soft hand-over from Ship & Crew's dark ink above. */
    linear-gradient(180deg, #040b0d 0%, rgba(4,11,13,.7) 6%, rgba(4,11,13,0) 18%),
    /* Darkens only behind the three columns, then hands over to Partners below. */
    linear-gradient(180deg, rgba(2,5,5,0) 42%, rgba(2,5,5,.5) 66%, rgba(2,5,5,.62) 88%, rgba(2,5,5,.75) 100%),
    url("teamwork-propeller-panel.webp"),
    /* The textured sea used by Ship & Crew and Partners. */
    url("/wp-content/uploads/2023/02/new-about-bg.png");
  background-size: cover, cover, auto 82%, cover;
  background-position: center, center, right 0 top 40%, center top;
  background-repeat: no-repeat;
}

/* Title at the top, the three columns at the bottom, on the same margins as the other sections. */
@media (min-width: 768px) {
  .elementor-1348 #team > .elementor-container {
    align-items: stretch !important;
    padding: calc(var(--maragensea-header-height, 176px) + 24px) 0 calc(var(--maragensea-newsbar-height, 80px) + 32px) !important;
  }

  .elementor-1348 #team > .elementor-container > .elementor-column > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap !important; /* Elementor's wrap would put the columns beside the title in short sections */
    justify-content: space-between;
    gap: 24px;
    height: 100%;
  }

  /* Never squeeze (and clip) the title or the columns to fit; the section grows instead if it must. */
  .elementor-1348 #team > .elementor-container > .elementor-column > .elementor-widget-wrap > * {
    flex-shrink: 0;
  }

  .elementor-1348 #team .shadow-txt-team {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    margin: 0 0 0 clamp(40px, 5vw, 96px) !important;
    text-align: left;
  }

  .elementor-1348 #team .shadow-txt-team .elementor-widget-container {
    position: static !important;
  }
}

/* Remove the legacy gold wash that lifted the lower text panels away from black. */
.elementor-1348 #team .career-colm > .elementor-widget-wrap {
  background: linear-gradient(180deg, transparent, rgba(2,5,5,.04) 50%, rgba(2,5,5,.08));
}

/* Same oversized, muted title as Brokers / Ship & Crew (64px, 36px up to 1600px wide); a little more
   opacity than theirs keeps it legible over the photo. */
.elementor-1348 #team .shadow-txt-team {
  opacity: 1 !important;
  transform: none !important;
}

.elementor-1348 #team .shadow-txt-team h2 {
  color: #8d8585 !important;
  opacity: .2 !important;
  font: 800 64px/1 Montserrat, sans-serif !important;
  letter-spacing: normal;
  text-align: left !important;
  text-transform: uppercase;
  text-shadow: none;
}

@media (max-width: 1600px) and (min-width: 768px), (min-width: 1601px) and (max-height: 800px) {
  .elementor-1348 #team .shadow-txt-team h2 { font-size: 36px !important; }
  /* Same tighter spacing Brokers uses at these sizes. */
  .elementor-1348 #team > .elementor-container {
    padding-top: calc(var(--maragensea-header-height, 176px) + 12px) !important;
    padding-bottom: calc(var(--maragensea-newsbar-height, 80px) + 16px) !important;
  }
}

@media (max-width: 767px) {
  .elementor-1348 #team.elementor-element-78a6d7e {
    /* Photo panel across the top 460px (583px wide, so its feathered left edge falls off a phone screen). */
    background-size: 100% 500px, 100% 500px, auto 460px, cover;
    background-position: center top, center top, 62% top, center top;
    padding-top: calc(var(--maragensea-header-height, 94px) + 28px) !important;
  }

  .elementor-1348 #team .shadow-txt-team {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    margin: 0 0 28px !important;
    text-align: center;
  }

  .elementor-1348 #team .shadow-txt-team h2 {
    font-size: clamp(28px, 8vw, 40px) !important;
    text-align: center !important;
  }
}

/* Minimal footer brand mark: retain only the official wings. */
.logo-footer .elementor-widget-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-footer img {
  width: 82px !important;
  height: auto !important;
  max-width: 82px !important;
  content: url("footer-wings.png");
  opacity: 0.9;
}

@media (max-width: 767px) {
  .logo-footer img {
    width: 70px !important;
    max-width: 70px !important;
  }
}
