/* Rite of Passage at Sea: the continuing Piratas do Amor identity.
   Voyage credits sit with their passage. Existing hero artwork stays untouched. */

.v39.v-brand-platform .v-nav .v-brand-home {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  text-decoration: none;
}

.v39.v-brand-platform .v-nav .v-nav-logo {
  display: block;
  flex: 0 0 auto;
  width: 144px !important;
  height: auto !important;
  max-height: 50px !important;
  object-fit: contain;
}

.v39.v-brand-platform .v-brand-kicker {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* A compact invitation into the current voyage. */
.v39.v-brand-platform .v-current-passage {
  position: relative;
  margin: 0;
  padding: 26px var(--v-pad);
  background: #161616;
  color: #fff;
}

.v39.v-brand-platform .v-current-passage-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  max-width: 1360px;
  margin: 0 auto;
}

.v39.v-brand-platform .v-current-passage-inner > div {
  flex: 1 1 440px;
  min-width: 0;
}

.v39.v-brand-platform .v-current-passage .v-brand-kicker {
  margin-bottom: 6px;
  color: #ff9c89;
}

.v39.v-brand-platform .v-current-passage h2 {
  margin: 0 !important;
  color: #fff;
  font-size: clamp(24px, 2.75vw, 38px) !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
  text-wrap: balance;
}

.v39.v-brand-platform .v-current-passage-detail {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.5;
}

.v39.v-brand-platform .v-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.v39.v-brand-platform .v-brand-link > span {
  flex: 0 0 auto;
  font-size: 21px;
  line-height: 1;
}

.v39.v-brand-platform .v-current-passage .v-brand-link {
  flex: 0 0 auto;
  color: #fff;
}

.v39.v-brand-platform .v-current-passage .v-brand-link:hover {
  color: #ff9c89;
}

.v39.v-brand-platform .v-brand-link:focus-visible,
.v39.v-brand-platform .v-brand-home:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

/* Tilvera is credited where the first crossing is introduced. */
.v39.v-brand-platform #route .v-voyage h2 {
  font-size: clamp(34px, 4.6vw, 70px) !important;
  line-height: 1.04 !important;
}

.v39.v-brand-platform .v-voyage-partner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(22, 22, 22, .2);
  color: #161616;
}

.v39.v-brand-platform .v-voyage-partner > img {
  display: block;
  flex: 0 0 110px;
  width: 110px;
  height: 46px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0);
}

.v39.v-brand-platform .v-voyage-partner > div {
  min-width: 0;
}

.v39.v-brand-platform .v-voyage-partner .v-brand-kicker {
  margin-bottom: 5px;
  color: #626262;
  font-size: 9px;
  letter-spacing: .08em;
}

.v39.v-brand-platform .v-voyage-partner p {
  margin: 0 0 5px !important;
  color: #161616;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: -.015em !important;
}

.v39.v-brand-platform .v-voyage-partner > div > span:last-child {
  display: block;
  color: #626262;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
}

.v39.v-brand-platform .v-brand-voyage-note {
  max-width: 58ch;
  margin: 12px 0 0 !important;
  color: #626262 !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Three movements of a passage, distinct from the Pirate Journey method. */
.v39.v-brand-platform .v-invitation-purpose {
  max-width: 30ch;
  margin: 32px 0 0;
  color: #161616;
  font-family: var(--font-body);
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.v39.v-brand-platform .v-invitation-purpose span {
  color: #9c4231;
}

.v39.v-brand-platform .v-passage-course {
  --course-gap: clamp(24px, 4vw, 60px);
  position: relative;
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 104px;
}

.v39.v-brand-platform .v-passage-boat {
  position: absolute;
  top: 0;
  left: 50%;
  width: 90px;
  height: 80px;
  transform: translateX(-50%);
}

.v39.v-brand-platform .v-passage-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--course-gap);
  margin: 0;
  padding: 32px 0 0;
  list-style: none;
  text-align: center;
}

.v39.v-brand-platform .v-passage-stages li {
  position: relative;
  min-width: 0;
}

.v39.v-brand-platform .v-passage-stages li::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -38px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 1.5px solid #161616;
  border-radius: 50%;
  background: #ff9c89;
  transform: translateX(-50%);
}

.v39.v-brand-platform .v-passage-stages li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  width: calc(100% + var(--course-gap));
  border-top: 1px dashed #161616;
}

.v39.v-brand-platform .v-passage-number {
  display: block;
  color: #161616;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .1em;
}

.v39.v-brand-platform .v-passage-stages h4 {
  margin: 8px 0 12px;
  color: #161616;
  font-family: var(--font-body);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.v39.v-brand-platform .v-passage-stages p {
  max-width: 30ch;
  margin: 0 auto;
  color: #161616;
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .v39.v-brand-platform .v-passage-course {
    --course-gap: 34px;
    margin-top: 32px;
    padding-top: 0;
  }

  .v39.v-brand-platform .v-passage-boat {
    display: none;
  }

  .v39.v-brand-platform .v-passage-stages {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    text-align: left;
  }

  .v39.v-brand-platform .v-passage-stages li {
    padding-left: 36px;
  }

  .v39.v-brand-platform .v-passage-stages li::before {
    top: 3px;
    left: 0;
    transform: none;
  }

  .v39.v-brand-platform .v-passage-stages li:not(:last-child)::after {
    top: 16px;
    left: 6px;
    width: 0;
    height: calc(100% + var(--course-gap) - 12px);
    border-top: 0;
    border-left: 1px dashed #161616;
  }

  .v39.v-brand-platform .v-passage-stages p {
    max-width: 38ch;
    margin-left: 0;
    font-size: 16px;
  }
}

/* An open invitation, deliberately quieter than the voyage sections. */
.v39.v-brand-platform .v-future-passages {
  margin: 0;
  padding: clamp(40px, 4.5vw, 64px) var(--v-pad);
  border-top: 1px solid rgba(22, 22, 22, .12);
  background: #ffebe6;
  color: #161616;
}

.v39.v-brand-platform .v-future-passages-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 5.5vw, 80px);
  max-width: 1360px;
  margin: 0 auto;
}

.v39.v-brand-platform .v-future-passages-inner > div {
  min-width: 0;
}

.v39.v-brand-platform .v-future-passages h2 {
  max-width: 15ch;
  margin: 0 !important;
  color: #161616;
  font-size: clamp(30px, 3.4vw, 46px) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

.v39.v-brand-platform .v-future-passages-inner > div:last-child > p {
  max-width: 60ch;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.6;
}

.v39.v-brand-platform .v-future-passages .v-brand-link:hover {
  opacity: .65;
}

@media (max-width: 820px) {
  .v39.v-brand-platform .v-nav .v-nav-logo {
    width: 116px !important;
    max-height: 40px !important;
  }

  .v39.v-brand-platform .v-current-passage {
    padding: 26px 24px;
  }

  .v39.v-brand-platform .v-current-passage-inner {
    gap: 18px;
  }

  .v39.v-brand-platform .v-future-passages {
    padding: 40px 24px;
  }

  .v39.v-brand-platform .v-future-passages-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .v39.v-brand-platform .v-future-passages-inner > div:last-child > p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .v39.v-brand-platform .v-voyage-partner {
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .v39.v-brand-platform .v-voyage-partner > img {
    flex-basis: 82px;
    width: 82px;
    height: 42px;
  }
}

@media (max-width: 360px) {
  .v39.v-brand-platform .v-nav {
    gap: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v39.v-brand-platform .v-brand-link,
  .v39.v-brand-platform .v-brand-home {
    transition: none !important;
  }
}

/* A photographic pause before coming aboard, without another manifesto. */
.v39.v-brand-platform .v-sea-pause {
  margin: 0;
  background: #161616;
  overflow: hidden;
}

.v39.v-brand-platform .v-sea-pause img {
  display: block;
  width: 100%;
  height: clamp(320px, 46vw, 860px);
  object-fit: cover;
  object-position: 50% 55%;
  filter: grayscale(1);
}

/* The offer states the verified berth choice and the existing joining process. */
.v39.v-brand-platform .v-berth-details {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(22, 22, 22, .2);
  text-align: left;
}

.v39.v-brand-platform .v-berth-details p:last-child {
  max-width: 55ch;
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.55;
}

.v39.v-brand-platform .v-application-next {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(22, 22, 22, .2);
}

.v39.v-brand-platform .v-application-next .v-brand-kicker,
.v39.v-brand-platform .v-berth-details .v-brand-kicker {
  margin: 0 0 8px !important;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
  letter-spacing: .08em !important;
}

.v39.v-brand-platform .v-application-next p:last-child {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* A useful action label needs room before the navigation becomes crowded. */
@media (max-width: 1100px) {
  .v39.v-brand-platform .rp-nav-links {
    display: none !important;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    margin: 0 !important;
    padding: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, .27);
    background: #161616;
  }

  .v39.v-brand-platform .v-nav.nav-open .rp-nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .v39.v-brand-platform .v-nav.nav-open .rp-nav-links a {
    min-height: 50px !important;
    padding: 12px 0;
    font-size: 18px !important;
  }

  .v39.v-brand-platform .v-nav > div:first-child {
    margin-right: auto !important;
  }

  .v39.v-brand-platform .v-nav > a {
    margin-left: 0 !important;
  }

  .v39.v-brand-platform .v-menu {
    display: block;
  }
}

@media (max-width: 820px) {
  .v39.v-brand-platform .rp-nav-links {
    top: 68px;
  }

  .v39.v-brand-platform .v-sea-pause img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* On phones the title arrives sooner; the bird still crosses the photo/pink seam. */
@media (max-width: 640px) {
  .v39.v-brand-platform .v-hero {
    --v-mobile-photo-height: clamp(345px, 108cqw, 600px);
  }

  .v39.v-brand-platform .v-hero-photo {
    height: var(--v-mobile-photo-height) !important;
  }

  .v39.v-brand-platform .v-hero-photo image-slot::part(image) {
    object-fit: cover;
    object-position: 50% 55%;
  }

  .v39.v-brand-platform .v-hero-chart {
    height: var(--v-mobile-photo-height);
  }

  .v39.v-brand-platform .v-hero-bird {
    top: calc(var(--v-mobile-photo-height) - var(--bird-width) * 1.3 + 44px);
  }

  .v39.v-brand-platform .v-hero-info {
    padding-top: 24px !important;
  }
}

/* At tablet widths a split opening keeps the portrait photograph and title together. */
@media (min-width: 641px) and (max-width: 820px) {
  .v39.v-brand-platform .v-hero {
    grid-template-columns: 48% 52%;
    grid-template-rows: auto;
  }

  .v39.v-brand-platform .v-hero-info {
    grid-column: 1;
    grid-row: 1;
    padding: 32px 24px !important;
  }

  .v39.v-brand-platform .v-hero h1 {
    font-size: clamp(46px, 7.1vw, 58px) !important;
  }

  .v39.v-brand-platform .v-hero-photo {
    grid-column: 2;
    grid-row: 1;
    height: 100% !important;
    min-height: 100%;
  }

  .v39.v-brand-platform .v-hero-photo image-slot::part(image) {
    object-fit: cover;
    object-position: 50% 50%;
  }

  .v39.v-brand-platform .v-hero-chart {
    inset: 0 0 0 48%;
    height: auto;
  }

  .v39.v-brand-platform .v-hero-bird {
    width: 140px;
    left: calc(48% - 36px);
    right: auto;
    top: 24%;
  }

  .v39.v-brand-platform .v-hero-photo .v-sunset-coordinate {
    left: 16px;
    bottom: 18px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 440px) {
  .v39.v-brand-platform .v-nav {
    padding: 0 16px !important;
    gap: 10px !important;
  }

  .v39.v-brand-platform .v-nav .v-nav-logo {
    width: 109px !important;
  }

  .v39.v-brand-platform .v-nav > a {
    padding: 10px !important;
    font-size: 9px !important;
    letter-spacing: .02em !important;
    min-height: 44px;
  }
}

/* On small screens the route frame fits its chart, and the closing sections
   share a compact rhythm without stacking their desktop-sized blank space. */
@media (max-width: 820px) {
  .v39.v-brand-platform #route .v-route-heading {
    margin-bottom: 16px !important;
  }

  .v39.v-brand-platform #route .v-route-chart-frame {
    height: auto !important;
    aspect-ratio: 1680 / 900;
    overflow: hidden !important;
  }

  .v39.v-brand-platform #route .v-route-chart-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .v39.v-brand-platform #route .v-route-map .rp-grid-3 {
    margin-top: 20px;
  }

  .v39.v-brand-platform #apply .v-apply-content {
    padding: 40px 24px 24px !important;
    gap: 32px;
  }

  .v39.v-brand-platform #apply .rp-berths {
    margin-bottom: 0;
  }

  .v39.v-brand-platform #apply .v-investment-invitation h2 {
    margin-bottom: 16px !important;
  }

  .v39.v-brand-platform #apply .v-investment-mermaid {
    margin-top: 16px;
  }

  .v39.v-brand-platform .v-apply-course {
    padding-top: 8px;
    padding-bottom: 0;
  }

  .v39.v-brand-platform .v-apply-course svg {
    height: auto;
    aspect-ratio: 1000 / 58;
  }

  .v39.v-brand-platform #faq {
    padding: 32px 24px 40px !important;
  }

  .v39.v-brand-platform #faq > div:first-child {
    margin-bottom: 20px !important;
  }
}

/* The identity and closing words share the upper footer; legal links end it. */
.v39.v-brand-platform .v-footer-identity {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 40px;
  max-width: 1360px;
  margin: 0 auto 40px;
}

.v39.v-brand-platform .v-footer-credit {
  min-width: 0;
}

.v39.v-brand-platform .v-footer .v-footer-claim {
  justify-self: end;
  max-width: none;
  margin: 0 !important;
  color: #fff;
  font: 500 clamp(32px, 4vw, 54px)/1.06 var(--font-body) !important;
  letter-spacing: -.04em;
  text-align: left;
}

.v39.v-brand-platform .v-footer .v-footer-love {
  display: block;
  color: #ff9c89;
}

@media (max-width: 820px) {
  .v39.v-brand-platform .v-footer-identity {
    gap: 28px;
    margin-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .v39.v-brand-platform .v-footer-identity {
    grid-template-columns: clamp(100px, 28vw, 124px) minmax(0, 1fr);
    gap: 16px;
  }

  .v39.v-brand-platform .v-footer-identity .v-footer-logos img {
    width: 100% !important;
    height: auto !important;
  }

  .v39.v-brand-platform .v-footer-identity .v-footer-logos a {
    width: 100%;
    max-width: 124px;
  }

  .v39.v-brand-platform .v-footer .v-footer-claim {
    font-size: clamp(20px, 6vw, 28px) !important;
  }
}
